Testking 70-491 Questions are updated and all 70-491 answers are verified by experts. Once you have completely prepared with our 70-491 exam prep kits you will be ready for the real 70-491 exam without a problem. We have Refresh Microsoft 70-491 dumps study guide. PASSED 70-491 First attempt! Here What I Did.
Q41. - (Topic 9)
You are developing a Windows Store app that accesses a USB Human Interface Device (HID). The app has a default page and a settings page.
You need to ensure that when a user connects the USB device, the app starts automatically and opens the settings page.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Override the OnLaunched method in the Application class and use the ApplicationViewEventArgs interface.
B. Add a File Type Associations declaration to the app manifest.
C. Add a Removable Storage capability to the app manifest.
D. Override the OnActivated method in the Application class and use the ActivatedEventArgs interface.
E. Add an AutoPlay Device declaration to the app manifest.
Answer: A,D
Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.application.aspx
Q42. - (Topic 9)
You are developing an app that will be used to purchase and share music. Users will be allowed to share only content that they have purchased.
You need to display a message within the Share charm when users attempt to share content that they have not purchased.
What should you do?
A. Use a toast notification.
B. Use the SetText() method of the DataPackage object.
C. Set the LegalInformation property of the DataPackage object.
D. Use the FailWithDisplayText() method of the DataRequest object.
Answer: D
Explanation: Use the FailWithDisplayText method when your app is unable to supply a DataPackage to a target app. This method cancels the share operation and supplies a text message to the target app. The target app can then display this text to the user to explain why the share operation failed.
Q43. DRAG DROP - (Topic 9)
You are creating a Windows Store app that contains a StackPanel named myltemPanel. You need to ensure that myltemPanel displays contents horizontally when the device is in landscape mode and vertically when the device is in portrait mode.
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.)
Answer:
Q44. DRAG DROP - (Topic 1)
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.)
Answer:
Q45. - (Topic 8)
You need to configure toast notifications for the photo competition. Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Q46. HOTSPOT - (Topic 9)
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.)
Answer:
Q47. - (Topic 9)
You are developing a Windows Store app that allows users to record audio and video files and save them to their devices.
You have the following requirements:
. The audio and video files must be shorter than three minutes in duration.
. The app must finalize recording automatically when the time limit is reached.
. You cannot use continuous polling to test when the time limit is reached.
You need to ensure that the app meets the requirements.
What should you do?
A. Handle the RecordLimitationExceeded event.
B. Assign a handler lo the DefaultAudioCaptureDeviceChanged event.
C. Handle the AudioTransferRequested event.
D. Call the StopRecordAsyncO method.
Answer: C
Q48. - (Topic 9)
You are developing a Windows Store multi-player game.
You need to ensure that the game can authenticate users by using the credentials of a third-party social networking site.
Which class should you use?
A. PassportAuthenticationModule
B. WindowsAuthenticationModule
C. WebAuthenticationBroker
D. FormsAuthentication
Answer: C
Explanation: How can you take protocol modeled for the web and make it work in an app that is running on a Windows 8 device? The answer is the WebAuthenticationBroker component in the Windows Runtime.
The web authentication broker is designed to assist you with single sign-on scenarios by emulating a fully web-based experience.
Q49. - (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
Q50. - (Topic 9)
You are developing a Windows Store app.
The app will store user names and passwords by using Windows Azure.
You need to recommend a method to store the passwords. The solution must minimize the likelihood that the passwords will be compromised.
Which algorithm should you recommend using?
A. 3DES
B. DES
C. AES
D. SHA512
Answer: D
Reference:
http://apps.microsoft.com/windows/en-us/app/sha-512-encoder/6be865f2-4673-47c6-9354-1865c2ef82fe