Your success in Microsoft 70-491 is our sole target and we develop all our 70-491 braindumps in a way that facilitates the attainment of this target. Not only is our 70-491 study material the best you can find, it is also the most detailed and the most updated. 70-491 Practice Exams for Microsoft 70-491 are written to the highest standards of technical accuracy.
Q31. 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:
Q32. 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:
Q33. - (Topic 9)
You are developing a Windows Store app.
You need to create a service for the app to receive push notifications from Windows Push Notification Services (WNS).
Which tool should you use?
A. The Manifest Designer
B. The Developer Dashboard
C. The Microsoft Visual Studio XML Editor
D. The Windows App Certification Kit
Answer: A
Q34. HOTSPOT - (Topic 9)
You are developing a Windows Store app.
You configure the app to support AutoPlay when a portable media player is connected to a
Windows 8.1 device.
You need to verify whether the app was initiated from AutoPlay.
What code should you add to the OnActivated event handler? (To answer, select the
appropriate options in the answer area.)
Answer:
Q35. DRAG DROP - (Topic 9)
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.)
Answer:
Q36. - (Topic 5)
You need to protect the metadata for the secure documents.
Which protection descriptor should you use for the DataProtectionProvider object?
A. SID
B. WEBCREDENTIALS=userrpassword
C. LOCAL=user
D. USER=current
Answer: C
Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.dataprotection.dataprotectionprovi der.aspx
Q37. - (Topic 9)
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.)
A. Removable devices
B. App data locations
C. User's download folder
D. Documents library
E. App install directory
Answer: A,E
Q38. - (Topic 4)
You need to create the ButtonForegroundColor resource.
Which code segment should you insert at line XA09?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
Explanation:
* Create a resource named ButtonForegroundColor to implement the button foreground color so that it can be referenced in XAML by using the following standard syntax: Foreground-"{StaticResourceButtonForegroundColor}"
* SolidColorBrush
Q39. - (Topic 9)
You are developing a Windows Store app.
The app contains a page named MainPage. The page contains a media element named videoPlayer.
You need to provide users with the ability to play the contents of videoPlayer on different devices by using the Devices charm.
Which two code segments should you add to the OnNavigateTo event handler on MainPage? (Each correct answer presents part of the solution. Choose two.)
A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
Answer: B,D
Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.media.playto.playtosource.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/windows.media.playto.playtosourceselectedeventargs.aspx
Q40. - (Topic 9)
You plan to create a custom panel that displays a pie chart. Each value of the pie chart will
have a control.
You need to register a custom dependency property to the panel.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C