Q1. - (Topic 4)
You need to track the screen orientation and page size. Which code segment should you insert at line CS09?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
Q2. - (Topic 8)
A photo competition is ending.
You need to meet the requirements when a user clicks the toast notification. Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Explanation:
From scenario:
When a user clicks a toast notification that indicates the end of the photo competition, the
app must display the details of the photo competition that triggered the toast notification.
Q3. 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:
Q4. - (Topic 9)
You are developing a Windows Store app.
The app will access a web service.
You need to declare the web service Uniform Resource Identifier (URI).
Which file should you modify?
A. AppxManifest
B. AppConfig
C. WebConfig
D. Wsp
E. xap
Answer: E
Q5. - (Topic 2)
You create a mobile service to send push notifications to the app.
You configure the service and the app to work with Windows Push Notification Services
(WNS).
You add the following code to the App.xaml.cs file:
You need to ensure that the app can access the push notification channel.
What should you do first?
A. Add a call to GetChannel in the OnLaunched event handler of the app.
B. Set the Uri property of pushChannel in the OnActivated event handler of the app.
C. Set the Uri property of pushChannel in the OnLaunched event handler of the app.
D. Add a call to GetChannel in the OnActivated event handler of the app.
Answer: A
Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.application.onlaunched.aspx
Q6. - (Topic 9)
You are developing a Windows Store app that will display a toast notification.
You need to ensure that when a toast notification is displayed, the first line of the notification is bold.
Which template should you use?
A. TileSquareText03
B. ToastText01
C. TileSquarePeeklmageAndText01
D. ToastImageAndText02
Answer: D
Explanation: ToastImageAndText02 A large image, one string of bold text on the first line, one string of regular text wrapped across the second and third lines.
Q7. DRAG DROP - (Topic 9)
You are developing a Windows Store app.
You need to implement claims according to their appropriate use.
Which claim is appropriate for each purpose? (To answer, drag the appropriate claims to the correct locations in the answer area. Each claim 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:
Q8. DRAG DROP - (Topic 9)
You are developing a Windows Store app.
The app will provide users with the ability to play music remotely on another user's device
and then the other users will guess the name of the song.
You need to access the music storage and to retrieve files and folders.
You have the following code:
Which elements should you include in Target 1, Target 2, Target 3 and Target 4 to complete the code? (To answer, drag the appropriate elements to the correct targets in the answer area. 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.)
Answer:
Q9. - (Topic 9)
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?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q10. DRAG DROP - (Topic 9)
You are developing a Windows Store game. The game allows for interactive online play between users.
The game authenticates users by using the credentials of a third-party site that provides OAuth2 authentication.
You need to implement authentication that uses an implicit grant authorization.
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: