70-490 | What Highest Quality 70-490 vce Is?


Q41. - (Topic 5) 

You need to implement the code to retrieve news items according to the requirements. Which code segment should you add to newsPage.js? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: WinJS.xhr function (Windows) 

Topic 6, Scenario 6 

Application Information 

You are developing a Windows Store app by using JavaScript. The app is named Print 

Near Me. The app will allow mobile users to find printers in their local area that subscribe to the Print Near Me network. 

The Print Near Me app collects status data from subscribed networks, coordinates this data with the status of printers that are listed in the central Print Near Me service, and displays the closest locations that meet a user's printing requirements. The locations are identified by pinpoints on a map. The app uses a Printer Survey background task to populate the map. 

The Print Here feature communicates with the central Print Near Me web server and nearby printers, and generates custom printer interfaces based on the available printers. The printer interfaces require complex calculations that involve repeated communications between the app and the central web server, and may result in high memory usage. 

Printer providers may indicate whether a subscribed printer is available to the network or unavailable at any time. 

Business Requirements 

You have the following business requirements: 

. . .. ... 

Printer providers must have the option to approve users for each printer through 

instant messaging or email. 

When a user launches the Print Near Me app, the Printer Survey task must initiate 

communication between the app and the central web server to populate the map. 

Map pinpoints must be displayed as follows: 

If the printer is available and does not require permission to print, display a green 

pinpoint. 

If the printer is available and requires permission to print, display a yellow pinpoint. 

If there is a printer or network status error, display a red pinpoint. 

Users must be able to initiate printing to a nearby printer by clicking or tapping the 

printer's pinpoint and then clicking Print Here. 

Technical Requirements 

You have the following technical requirements: 

.... .. . 

The Print Here feature must run in a background process. 

The Printer Support feature must log and dispatch error messages. 

Log error messages locally. 

When the network is available, synchronize data with the central Print Near Me 

web server. 

Background task events must be logged locally. 

The printer interface calculations must use the Printer Survey task for 

communication to all sources. 

The Printer Survey task must push data to the app when the app is available. 

Testing Requirements 

You have the following testing requirements: . Simulate user interactions in the app as part of the tests. . Test the app performance on a variety of devices that have different capabilities, such as processing speed and screen resolution. . Generate a file on each device for analysis in Microsoft Visual Studio. (Devices will not have Visual Studio installed.) . Generate a file on each device for analysis in Microsoft Visual Studio. {Devices will not have Visual Studio installed.) . Identify the app components that are called most frequently and that use the most CPU resources. . Ensure that the app detects the location of all printers and consistently reports loss of connection. 

printNearMe.js 

printerSurvey.js 

printDriver.js 

27. - (Topic 6) 

You need to test connection reliability. 

What should you do? 

A. Display the status of the tap gesture after the Start event. Test wireless connections by calling the ConnectAsync method. 

B. Display the status of the tap gesture after the Start event. Test wireless connections by calling the FindAllPeersAsync method. 

C. Display the status of the tap gesture after the TriggeredConnectionStateChanged event. Test wireless connections by calling the ConnectAsync method. 

D. Display the status of the tap gesture after the TriggeredConnectionStateChanged event. Test wireless connections by calling the FindAllPeersAsync method. 

Answer:

Q42. - (Topic 7) 

You are developing a newsreader app that provides users with daily aggregated articles from popular news sites. 

You must allow users to share the URI of the articles. The app must allow at least one of the following ways to share the URI: 

. With another Windows Store app 

. With the user's default web browser 

You need to implement the sharing functionality. 

Which property of the StandardDataFormats class should you use? 

A. ApplicationLink 

B. Html 

C. ContentSourceWebLink 

D. Storageltems 

Answer:

Reference: 

http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.datatransfer.standarddataformats.appli cationlink.aspx 

Q43. - (Topic 7) 

You are developing a Windows Store photography app by using JavaScript. The app includes the following code segment. (Line numbers are included for reference only.) 

You need to ensure that the app captures all pictures as landscape-oriented photos at the maximum resolution. 

Which code segment should you insert at line 03? 

A. Option A B. Option B 

C. Option C 

D. Option D 

Answer:

Q44. DRAG DROP - (Topic 7) 

You are developing a Windows Store app that uses a CredentialPicker control to collect the user's user name and password credentials. 

The CredentialPicker control has the following requirements: 

.. 

The Remember my credentials check box must be selected by default. 

The text "Enter user name and password" must be displayed in the message 

header of the dialog box. 

You need to ensure that the requirements are met. 

Which properties should you use? (To answer, drag the appropriate properties to the correct locations in the answer area. Each property 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: 

Q45. - (Topic 5) 

You need to implement the code to meet the requirements regarding the display of the newsPage.html page. 

Which HTML element should you insert at line NH06? 

A. <h2 class ="news-item-title win-type-ellipses" data-win-bind="textContent: title"></ h2> 

B. <h2 class="news-item-title win-type-large" data-win-bind="textContent: title"></h2> 

C. <h2 class="news-item-titlewin-type-xx-large" data-win-bind="textContent: title"></ h2> 

D. <h2 class="news-item-title win-type-x-large" data-win-bind="textContent: title"></ h2> 

Answer:

Explanation: WinJS CSS classes for typography (Windows) ListView.itemTemplate property (Windows) 

Q46. DRAG DROP - (Topic 7) 

You are developing a Windows Store style app that uses RESTful services. 

You need to ensure that the RESTful web service sends form information to the remote server. You have the following code: 

Which HTTP verb and HTTP header should you include in Target 1 and Target 2 to complete the code? (To answer, drag the appropriate verb and header to the correct targets in the answer area. 

Each verb and header 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: 

Q47. - (Topic 7) 

You develop a Windows Store app that allows users to modify images by using filters and image-processing algorithms. 

The app must meet the following requirements: 

. Use a web worker to initiate the image-processing algorithms on a separate thread. . Clean up the web worker after processing the algorithms. 

You need to ensure that the web worker releases memory after processing the algorithms. What should you do? 

A. From the calling page, call the closet) command. 

B. From the calling page, call the postMessage() command with the terminate parameter. 

C. From the web worker, call the GC.Collect method. 

D. From the web worker, call the close() command. 

Answer:

58. HOTSPOT - (Topic 7) 

The following image depicts three apps. App1 and App3 have been launched by App2. 

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

Answer: 

Q48. DRAG DROP - (Topic 2) 

You need to configure the app to receive push notifications. 

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: 

Q49. 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 

Answer:

Explanation: WinJS.xhr function (Windows)