70-490 Premium Bundle

70-490 Premium Bundle

Recertification for MCSD: Windows Store Apps using HTML5 Certification Exam

4.5 
(27765 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

Microsoft 70-490 Free Practice Questions

Q1. DRAG DROP - (Topic 7) 

You are designing a testing strategy for a Windows Store app by using HTML5, JavaScript, and CSS3. 

You need to use testing strategies that validate for the best performance. 

Which testing strategies should you select? (To answer, drag the appropriate actions to the correct locations in the answer area. Each action may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.) 

Answer:  

Q2. - (Topic 4) 

You need to implement the getStoredCredentialsFull method. Which code segment should you insert at line CM13? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: PasswordVault class (Windows) 

Topic 5, Scenario 5 

Background 

Southridge Video rents and sells video games, movies, and other multimedia content. The company is currently expanding its operations. Southridge video is developing a Windows Store news reader and social media app. Users will be able to view and interact with news stories that are related to the video game, entertainment, and related industries. Southridge Video employees will also use the app to manage sales leads, order fulfillment, and customer-service related activities. 

Business Requirements 

The app has the following requirements. 

Email 

Users must be able to email news items to their contacts. 

Navigation 

.. 

Easy navigation access must be available to move to the next and previous pages. Users searching for specific news items must be able to navigate directly to an item from the search results pane. 

News items 

. .... 

When a user selects a news item on newsPage.html, the news item should be 

displayed in the newsltem.html page. 

The app must periodically retrieve new news items on the newsPaae.html page. 

The app must periodically retrieve new news items on the newsPage.html page. 

The app must allow the user to save annotated news. 

The app must display a short title for each news item. 

Search capabilities 

.. 

The app must allow users to search within available news items to locate articles 

of interest. 

The app must provide search suggestions for users. 

Authentication 

. .. . 

Employees must be able to view the sales leads, order fulfillment, and customer-

service related pages. 

Authenticated users must be able to save news items to read at a later time. 

Authenticated users must be able to add and save handwritten notes to the news 

items. 

The app must allow users to choose whether their credentials will be saved after 

they first log in. User credentials must be saved by default. 

Technical Requirements Email 

.. 

When a user clicks the To button to email news items, only contacts that have 

email addresses should be displayed. 

When multiple contacts are selected, the email addresses must be displayed in the 

To text box as a semi-colon-delimited string. 

News items 

. . .. 

The app must periodically retrieve new items from a web service. The app must display a progress indicator while retrieving new items. The news feed service must respond to all requests within 15 seconds. The app must not throw an error if the service does not respond within the allotted time. Titles for news items must not overflow into other elements on the page. Authenticated users must be able to add handwritten notes to the news items by using a stylus or the mouse. The app must support saving annotations along with the news item.The app must cancel the navigation from newsltem.html to newsPage.html if there are unsaved changes in the annotations area. 

Search capabilities 

The app must retrieve a list of phrases from the news service and provide them as search suggestions to users. 

Authentication 

. Users connected to the corporate network must authenticate against an Active Directory server. . Users outside of the corporate network must authenticate by using forms-based authentication. . User credentials must not be transmitted in plain text. 

Application Structure 

Relevant portions of the app files are shown below. (Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.) 

emailPage.html 

emailPage.js 

getCredential.js newsItem.html 

newsItem.js 

newsPage.html 

newsPage.js 

Q3. - (Topic 4) 

You need to implement the saveCredentials method. 

Which code segment should you insert at line CM06? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: Managing application data in a Windows Store business app using C#, 

XAML, and Prism (Windows) 

PasswordVault class (Windows) 

Q4. - (Topic 7) 

You are developing a Windows Store app. The app includes a handler for the suggestions requested event. The empty event handler is shown in the following code. (Line numbers are included for reference only.) 

The app must meet the following requirements: 

. Provide an app-defined list of choices in the Search pane that responds to user query text changes. . Provide suggested search topics only when the user enters a query that contains the text "products". 

You need to add code to meet the requirements. 

Which code segment should you insert at line 02? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: SearchSuggestionCollection class (Windows) 

Q5. - (Topic 7) 

You are developing a Windows Store app that will allow users to take photos by using the built-in device camera. The app will immediately open the photo for editing. 

You need to programmatically specify the location from which to open the most recent photo taken by the app. 

What is the best option to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer. 

A. KnownFolders.pictureslibrary 

B. SkyDrive.Pictures 

C. KnownFolders.savedPictures 

D. KnownFolders.cameraRoll 

Answer:

Q6. DRAG DROP - (Topic 7) 

You are developing a Windows Store app. The app includes an alarm clock and also displays weather information. 

When the alarm activates, the app must fetch weather data, including the appropriate weather icon, from a predetermined online data source. The app must display an on-screen notification that presents data in the format shown in the following image. 

You need to implement the on-screen notification. Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. 

Answer:  

Q7. HOTSPOT - (Topic 7) 

You develop a Windows Store app by using JavaScript. The current environment is shown in the following diagram. 

A central cloud server must be able to push notifications to all mobile platforms including, but not limited to, Windows 8.x devices and Windows 8 Phones. 

You need to configure the environment. 

Select the correct answer from each list based on the information presented in the diagram. Each correct selection is worth one point. 

Answer:  

Q8. - (Topic 7) 

You are developing a Windows Store enterprise app. 

The app must retrieve data from other apps asynchronously across domains by using the 

XMLHttpRequest object. 

You need to retrieve the data. 

What should you use? 

A. WinJS.xhr 

B. HttpWebRequest 

C. HTTPClient 

D. GetResponseStream() 

Answer:

Explanation: C# and the Web: Writing a Web Client Application with Managed Code in the Microsoft .NET Framework 

Q9. HOTSPOT - (Topic 7) 

You are developing a Windows Store app. The app contains the following HTML markup segment: 

The app must stream video to available devices by using the Play to feature. 

You need to implement the Play to contract for the app. 

How should you complete the relevant code? To answer, select the appropriate code 

segments from the lists in the answer area. 

Answer:  

74. - (Topic 7) 

You are developing a Windows Store app by using JavaScript. The app will be used to retrieve data from a web service. 

The app must retrieve the current date and time in UTC format from the web service by using the URL http://www.treyresearch.net/ GetDateTimeinUTC.asmx. Errors must be handled. 

You must ensure that data is retrieved successfully. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Q10. HOTSPOT - (Topic 7) 

You are developing an app that provides sports statistics updates to a Windows tile. You are using Windows Push Notification Services (WNS) to provide updates to the app. You must implement the steps to request a notification channel as illustrated in the following image. 

You need to ensure that the app implementation follows current Windows Store requirements and guidelines. 

Select the correct answer from each list based on the information presented in the screenshot. Each correct selection is worth one point. 

Answer:  

Q11. - (Topic 1) 

You need to debug the error that is displayed in the warning message. What should you do? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q12. - (Topic 6) 

You need to ensure that the PrintNearMeCall function meets the technical requirements. Which code segment should you insert at line PS24? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/br229727.aspx http://msdn.microsoft.com/en-us/library/windows/apps/br229728.aspx 

Q13. - (Topic 7) 

You are developing a Windows Store app. 

The app must store data locally. When the app terminates, it must destroy the stored data. 

You need to choose the appropriate data storage location. 

Which storage location should you use? 

A. sessionStorage 

B. localStorage 

C. indexedDB 

D. roamingStorage 

Answer:

Reference: http://msdn.microsoft.com/en-us/magazine/jj991982.aspx 

Q14. DRAG DROP - (Topic 7) 

You are developing a Windows Store app. The app will enable users to read e-books. 

Users must be able to lock the app orientation so that rotating the device does not change 

the app display. 

You need to implement the code for locking and unlocking the orientation. 

How should you complete the relevant code? To answer, drag the appropriate code 

segments to the correct targets. Each code segment may be used once, more than once, 

or not at all. You may need to drag the split bar between panes or scroll to view content. 

Answer:  

Q15. - (Topic 7) 

You are developing a Windows Store app by using HTML5 and JavaScript. The app has HEADER, NAV, and SECTION elements. The SECTION element displays a list of records. 

The app will allow users to sort records multiple times. The app must meet the following requirements: 

. Each time the user performs a sort, replace the content in the SECTION element with the sorted records. . Animate the updated content by sliding the sorted records into the SECTION element. 

You need to use the WinJS library to apply the animation to the SECTION element. Which function should you use? 

A. createExpandAnimation() 

B. enterContent() 

C. createPeekAnimation() 

D. enterPage() 

Answer:

Q16. - (Topic 7) 

You are developing a Windows Store app. A page in the app contains the following HTML code: 

The app must style a container element and two child elements to resemble the following image. 

The grid layout must meet the following requirements: 

. The Top section must be half the width of the Bottom section. . The solution must retain the proportions of the child sections in the event that the dimensions of any of the grid sections change. 

You need to ensure that the proportions of the sections of the image are retained. 

Which CSS segment should you add to your style sheet? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: Grid Layout (Windows) 

START 70-490 EXAM