How should you complete the code segment?
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.)
How should the app save the work in progress?
You are developing a Windows Store app that allows users to compose musical beats and rhythms.
The app must meet the following requirements:
The app must save the work in progress in case the app suspends or terminates before users save
their work.
If the app closes before the work is complete, work in progress should be automatically reloaded so
that users can continue seamlessly from where they left off.
Users should be able to resume work on another device with the app installed, provided that the
user supplies the same credentials on both machines.
You need to ensure that the app meets the requirements.
How should the app save the work in progress?
Which declaration should you use?
Which app data storage mechanism should you use?
You are designing a Windows Store app that creates large amounts of temporary binary data each
time it is run.
You need to ensure that data is persisted while the app is running but deleted when the app is
closed.
Which app data storage mechanism should you use? (Each correct answer presents a complete
solution. Choose all that apply.)
Where should you store the files?
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.)
Which three actions should you perform in sequence?
DRAG DROP
You are developing a Windows Store game that downloads virtual store information from two
servers. Store information from Server1 is sent as a hex string. Store information from Server2 is
sent as Base64 encoding.
Data from Server1 is configuration data and must be captured before data from Server2 is captured.
You need to compare the strings from each server to verify that the cryptographic buffers match.
Which three 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,)
How should you complete the code segment?
DRAG DROP
You are developing a Windows Store app that caches user application data in the local data store.
The app must create a setting named UserName within a container named UserSettings. The app
must store the user name in the local store.
You need to meet the requirements.
How should you complete the code segment? (To answer, drag the appropriate options to the
correct location or locations. Each option 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.)
How should you complete the code segment?
Which push notification mechanism should you use?
You are developing a Windows Store app that displays notifications on the lock screen.
The app must execute a background task when the notification arrives. In addition, the app must
receive push notifications from Windows Push Notification Service (WNS).
You need to use a push notification mechanism that meets the requirements.
Which push notification mechanism should you use?
Which three actions should you perform in sequence?
DRAG DROP
You are developing a Windows Store app that downloads large files from the Internet by using
background tasks.
The app includes the following:
TaskInstance is an instance of the IBackgroundTask interface that provides access to a background
task instance.
DownloadFilesAsync() is the asynchronous method that performs the download.
You need to ensure that the app performs the download operation asynchronously in a background
task.
Which three 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,)