Q1. HOTSPOT - (Topic 9)
You are developing a Windows Store app to check the weather.
You need to ensure the app polls an external web service once per hour for tile updates.
You have the following code:
Which code snippet should you insert in Target 1 to complete the code? (To answer, select the correct code snippet from the dropdown list in the answer area.)
Answer:
Q2. DRAG DROP - (Topic 9)
You are developing your first Windows Store app and submitting it to the Windows Store.
The app uses a cloud server to send notifications by using Windows Push Notification
Service (WNS).
You need to authenticate the cloud server with WNS.
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:
Q3. - (Topic 8)
You need to access the remote image data according to the requirements.
Which data storage methods should you use?
A. SaveDataToSqlAzureStorage() and GetDataFromSqlAzureStorage()
B. SaveDataToRemoteStorage() and GetDataFromRemoteStorage()
C. SaveDataToAzureStorage() and GetDataFromAzureStorage()
D. SaveDataToWebService() and GetDataFromWebService()
Answer: D
Q4. DRAG DROP - (Topic 9)
You are developing a page for a Windows Store app.
You have the following requirements for the page:
. Display a button on the bottom app bar that allows the user to insert a picture. This button must be bound to the Insert command in the view model. . Display a button in the main content area of the page that allows the user to open documents. This button must be bound to the Open command in the view model.
You need to ensure that the requirements are met.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment 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:
Q5. - (Topic 6)
You need to create a custom template for a Listview control that will be located on a page that has the NewsSource object bound to the DataContext property.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Q6. HOTSPOT - (Topic 9)
You are developing a Windows Store app that detects and displays users' geographic
location details.
During the unit testing of the app, the location details are not displayed.
You need to ensure that the user's location data is displayed.
Which tab in Visual Studio should you use to reconfigure the app to display the location data? (To answer, select the appropriate object in the answer area.)
Answer:
Q7. - (Topic 9)
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?
A. OneDrive
B. Microsoft Azure Mobile Services
C. A roaming folder
D. Microsoft Azure Content Delivery Network (CDN)
Answer: D
Q8. - (Topic 9)
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.)
A. Modify the Package.appxmanifest file.
B. Use the CurrentAppSimulator class.
C. Modify the App.xaml file.
D. Modify the Windowsstoreproxy.xml file.
E. Use the CurrentApp class.
Answer: B,E
Q9. - (Topic 9)
You are developing a Windows Store app that will be used as an IT support ticket system.
You need to ensure that user settings are available to only a single device.
Which property should you use?
A. Windows.Storage.ApplicationData.Current.LocalFolder
B. Windows.Storage.ApplicationData.Current.LiveSyncFolder
C. Windows.Storage.ApplicationData.Current.RoaimingFolder
D. Windows.Storage.ApplicationData.DefaultRemoteFolder
Answer: A
Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.aspx
Q10. DRAG DROP - (Topic 9)
You are developing a Windows Store app that uses the Windows Push Notification Service (WNS) to provide real-time updates to users. The app uses an HTTP request to authenticate a cloud service to interact with WNS.
The Package Security Identifier (SID) prefix is app://.
Parameter values must be URL encoded.
You need to ensure that the authentication request provides the required parameters.
Which parameters should you use? (To answer, drag the appropriate parameters to the correct location or locations. Each parameter 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: