Accurate of 70-490 exam cost materials and pdf for Microsoft certification for consumer, Real Success Guaranteed with Updated 70-490 pdf dumps vce Materials. 100% PASS Recertification for MCSD: Windows Store Apps using HTML5 exam Today!
Q1. - (Topic 7)
You are developing two Windows Store apps by using JavaScript. A Source app will store sensitive customer information. A Target app will retrieve the stored information for validation and further processing.
The Source app must secure data by using a private-public key pair. Only the Target app must be able to consume data that has been secured by the Source app.
You need to ensure that the security of the data is not compromised.
What should you do?
A. Encrypt and decrypt data by using an asymmetric algorithm.
B. Encrypt and decrypt data by using a symmetric algorithm.
C. Encrypt data by using an asymmetric algorithm. Decrypt data by using a symmetric algorithm.
D. Encode data to and decode data from a Base64 string.
Answer: A
Q2. - (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: B
Q3. - (Topic 3)
You need to implement the file storage solution for equipment drivers and updates.
What should you do?
A. Map a KnownFolder as the local default file storage location.
B. Map the inspector's OneDrive folder as the default file storage location.
C. Use the Live Connect REST API to map a default file storage location.
D. Map the inspector's Documents folder as the default file storage location.
Answer: B
Q4. 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: D
Explanation: WinJS.xhr function (Windows)
Q5. 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:
Q6. - (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: A
Explanation: Managing application data in a Windows Store business app using C#,
XAML, and Prism (Windows)
PasswordVault class (Windows)
Q7. - (Topic 1)
You need to set the default storage location for the client profiles. Which code segment should you insert at line CD04?
A. fop.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.documents Library;
B. fop.defaultFolder = Windows.Storage.Piekers.PickerLocationId.documents Library;
C. fop.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.videosLibrary;
D. fop.suggestedStartLocation = "%AppData%";
Answer: B
Q8. DRAG DROP - (Topic 7)
You are developing a Windows Store enterprise app that will send status messages to a
user's device.
The app must display a toast notification whenever it receives a new message.
You need to implement the toast notification.
Develop the solution by selecting and arranging the required code segments in the correct
order. You may not need all of the code segments.
Answer:
Q9. - (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: D
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:
Q10. - (Topic 3)
You need to enable the loading of the daily schedule when the inspector launches the application.
Which class should you use?
A. BackgroundExecutionManager
B. BackgroundTaskRegistration
C. SystemCondition
D. BackgroundWorkCost
Answer: A
Q11. - (Topic 1)
You need to retrieve the background task collection for the iteration loop. Which code segment should you insert at line BG14?
A. var tasks = Windows.ApplicationModel.Background.BackgroundTaskRegistration.first();
B. var tasks = Windows.ApplicationModel.Background.BackgroundTaskRegistration.allTasks.first();
C. var tasks = Windows.ApplicationModel.Background.BackgroundTaskBuilder.allTasks.first();
D. var tasks = Windows.ApplicationModel.Background.BackgroundTaskRegistration.allTasks();
Answer: B
Q12. DRAG DROP - (Topic 7)
You are developing a Windows Store app that will display photos that are stored on various services including Microsoft OneDrive and third-party social media sites.
You must use the WebAuthenticationBroker class to manage and provide authentication across all services. The app must support single sign-on (SSO).
You need to implement an authentication strategy for the app.
Which five 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:
Q13. - (Topic 5)
You need to implement the code to meet the search requirements. Which code segment should you insert at line NP11?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.search.searchsuggestioncollection.asp
Q14. HOTSPOT - (Topic 7)
You are developing a Windows Store app by using JavaScript.
You plan to add an animation to the navigation button. The animation must do the following:
. Show motion when tapped.
. Move to the next app screen after completing the animation sequence.
You need to add the animation to the button.
How should you complete the relevant code? (To answer, select the correct code segment in each drop-down list in the answer area.)
Answer:
Q15. - (Topic 7)
You are developing a Windows Store app by using JavaScript. The app will be installed on five devices. The app will use certificates to secure communications between the five devices.
Information sent through the app must be decrypted only by the intended recipient device.
You need to complete the certificate enrollment.
What should you do?
A. Create a single certificate enrollment request on one device and import the certificate to the other four devices.
B. Create a single group certificate enrollment request on one device and share the public and private keys with the other four devices.
C. Create a certificate enrollment request on each device and install the respective response on each device.
D. Create a single certificate enrollment request on one device and share only the public key with the other four devices.
Answer: C
Q16. - (Topic 7)
You are developing a Windows Store app by using JavaScript.
You need to ensure that the user can capture video with the built-in camera and then
process the resulting file.
Which code segment should you use?
A. Option A
B. Option B
C. Option C D. Option D
Answer: A