Microsoft Recertification for MCSD: Windows Store Apps using C# - 070-491 Exam Practice Test

You need to track the screen orientation and page size. Which code segment should you insert at line CS09?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
You are developing a Windows Store app that will be used to access large files stored online.
The files will be shared between users worldwide.
You need to recommend a solution to ensure that the users can download the files as quickly as possible.
Which storage solution should you recommend?
Correct Answer: D Vote an answer
You need to enable the capabilities that allow communication according to the technical requirements.
Which capabilities should you enable? (Each correct answer presents part of the solution. Choose all that apply.)
Correct Answer: C,D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
You are developing a Windows Store app that will provide users with the ability to subscribe to content by using in-app purchases.
You need to test the in-app purchase functionality of the app before you deploy the app to the Windows Store.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: B,C Vote an answer
DRAG DROP
You need to develop an app to measure whether a surface is level. The app will be used on devices that have a gyrometer.
You have the following code: Which code snippets should you include in Target 1, Target 2 and Target 3 to complete the code? (To answer, drag the appropriate code snippets to the correct targets in the answer area. Each code snippet 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.)

Correct Answer:
You need to create the ButtonForegroundColor resource. Which code segment should you insert at line XA09?
Correct Answer: B Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
You are developing a Windows Store app. The app has the following requirements:
- Files must be stored on a device's file system so other Windows Store apps can access them. - Additional configuration must be performed to make the location of the files available to other Windows Store apps.
You need to meet the requirements.
Where should you store the files? (Each correct answer presents a complete solution. Choose all that apply.)
Correct Answer: B,D Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
HOTSPOT
You are developing a Windows Store app that allows users to copy music from their local computers to removable storage.
The app displays songs grouped by the month the song was downloaded and allows individual songs to be copied to the removable storage device. The user interface for selecting and copying songs uses data binding.
You need to load and return songs in a format appropriate for data binding.
How should you complete the code segment? (To answer, select the appropriate line of code from each drop-down list in the answer area.)
Correct Answer:
DRAG DROP
You are developing a Windows Store social media app. The app communicates with the
server by using a secure web service.
You need to ensure that users can securely store and retrieve web service credentials.
You have the following code:

Which code snippets should you insert in target 1 and target 2 to complete the code? (To answer, drag the appropriate code snippets to the correct targets in the answer area. Each code snippet 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.)
Correct Answer:
You are developing a Windows Store app.
The app will store data in a text file.
You create the following method to store encrypted text in the text file:

The WriteData method writes the contents of an IBuffer object to a StorageFile object.
You need to recommend a solution to encrypt the data. The solution must minimize the use
of system resources and must ensure that the app can decrypt the data.
Which code segment should you recommend adding to line 06?
Correct Answer: A Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).