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

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 an augmented reality app.
You need to retrieve the direction to which the device points.
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:
DRAG DROP
You are developing a Windows Store app.
The app has the following accessibility requirements: - The automation name of each text box must be the same as the text box caption. - Each Label element must be associated with its corresponding text box. You need to create an interface that meets the requirements.
You have the following code:

Which code snippets should you include 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:
DRAG DROP
You need to write code for the method that will be called when a user takes a picture. (Develop the solution by arranging the code snippets. You will need all of the code snippets.)
Correct Answer:
You need to implement storage for the user preferences.
Which storage solutions can you use to meet the specification for the app? (Each correct answer presents a complete solution. Choose all that apply.)
Correct Answer: A,D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
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:
HOTSPOT
You are developing a Windows Store app.
You need to encrypt data.
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 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:
DRAG DROP
You are developing a Windows Store app that includes three objects. A data template named SceneTemplate provides the correct view for all of the objects.
The objects must be rendered as full-screen scenes that users can navigate between by
swiping.
You need to create the content of a page that renders each object to meet the requirement.
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:
DRAG DROP
You are developing a Windows Store app named App1.
You need to ensure that App1 meets the following requirements:
- Must be able to display a list of items in rows and columns.
- Must be able to display items one at a time.
What should you use for each requirement? (To answer, drag the appropriate elements to the correct requirements. Each element 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:
0
0
0
0