2016 timesaving comprehensive guides for Microsoft 70-491 exam: Using latest released GreatExam 70-491 practice tests questions, quickly pass 70-491 exam 100%! Following questions and answers are all new published by Microsoft Official Exam Center!
QUESTION 31
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
QUESTION 32
Hotspot Question
You plan to develop several Windows Store apps.
You plan to use a CheckBox control in all of the apps.
The CheckBox control will use a custom visual display.
You create XAML markup to customize the control.
The code contains all of the necessary visual components for the control, including elements named checkedGlyph and indeterminateGlyph.
You need to ensure that the check box meets the following requirements:
If a value for the check box was NOT set, the check box must display indeterminateGlyph.
When the check box is selected, the check box must display checkedGlyph.
If the check box is cleared, the check box must NOT display any glyphs.
You have the following XAML markup:
Which code snippets should you insert in Target 1, Target 2, Target 3, Target 4, Target 5 and Target 6 to complete the XAML markup? (To answer, select the correct code snippet from each drop-down list in the answer area.)
Answer:
QUESTION 33
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
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.dependencyproperty.aspx
QUESTION 34
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
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.core.symmetrickeyalgorithmprovid er.aspx
QUESTION 35
Drag and Drop Question
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:
QUESTION 36
You are developing a Windows Store app named VideoPlayer.
The app will provide user with the ability to select video files by using the file picker and to play the video.
You need to recommend a solution for the app that meets the following requirements:
– If the app is terminated while playing a video, the next time the app starts, the video must play.
– The app must minimize the amount of storage space used.
– The app must NOT request any capabilities.
What should you include in the recommendation?
A. Add the file to AccessCache.StorageApplicationPermissions.MostRecentlyUsedList.
B. Store the StorageFile.Path property in ApplicationData.Current.LocalSettings.
C. Store the video in ApplicationData.Current.RoamingFolder.
D. Store the video in ApplicationData.Current.LocalFolder.
Answer: A
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.accesscache.storageapplicationpermissions.mos trecentlyusedlist.aspx
QUESTION 37
Hotspot Question
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:
QUESTION 38
You plan to develop a Windows Store app to create pictures.
Users of the app will be able to save the pictures that they create and to share the pictures with friends by using a web link.
You need to ensure that the friends can makes comments on the shared pictures.
Which storage technology should you use? (More than one answer choice may achieve the goal. Select the BEST answer.)
A. Roaming storage
B. Microsoft Azure blob storage
C. Microsoft Azure Mobile Services
D. One Drive
Answer: D
QUESTION 39
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
Explanation:
Reference:
http://apps.microsoft.com/windows/en-us/app/sha-512-encoder/6be865f2-4673-47c6-9354-1865c2ef82fe
QUESTION 40
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
QUESTION 41
You are developing a Windows Store app to view MP4 videos.
You need to ensure that when a user double-clicks an MP4 file, the app starts and plays back the video automatically.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Add the Videos Library capability to the Appxmanifest file.
B. Modify the OnActivated event of the App.xaml.cs file to pass ProtocolActivatedEventArgs to
the page if ActivatedEventArgs.Kind == ProtocolActivatedEventArgs.
C. Add a File Type Associations declaration to the Appxmanifest file.
D. Add an OnFileActivated event handler to the App.xaml.cs file.
E. Add an AutoPlay Content declaration to the Appxmanifest file.
Answer: CD
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj191724.aspx
QUESTION 42
Drag and Drop Question
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:
QUESTION 43
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.)
A. a temporary app data store
B. the app files of the local app data store
C. the app settings of the local app data store
D. a roaming app data store
Answer: ABC
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx
QUESTION 44
You are developing a Windows Store app that will provide users with the ability to save annotations to text files.
You have the following code segment: (Line numbers are included for reference only.)
You need to add the contents of data to the beginning of file.
Which code segment should you insert at line 03?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
QUESTION 45
Drag and Drop Question
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:
GreatExam is confident that our NEW UPDATED 70-491 exam questions and answers are changed with Microsoft Official Exam Center. If you cannot pass 70-491 exam, never mind, we will return your full money back! Visit GreatExam exam dumps collection website now and download 70-491 exam dumps instantly today!