Pass 70-491 exam with the latest GreatExam 70-491 dumps: GreatExam 70-491 exam questions and answers in PDF are prepared by our experts. Moreover, they are based on the recommended syllabus that covering all the 70-491 exam objectives.
QUESTION 46
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
QUESTION 47
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.
QUESTION 48
Drag and Drop Question
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:
QUESTION 49
You are developing a Windows Store app.
You create a custom control named AppSettingsFlyout, which is inherited from the SettingsFlyout control.
You need to ensure that the Settings flyout of the app is available from the charm bar.
When the flyout is dismissed, users must be returned to the Settings pane.
You have the following code. (Line numbers are included for reference only.)
Which code segment should you insert at line 05?
A. updatesFlyout.Show();
B. ApplicationSettings.SettingsPane.GetForCurrentView();
C. ApplicationSettings.SettingsPane.Show();
D. updatesFlyout.Showlndependent();
Answer: A
QUESTION 50
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.
QUESTION 51
Drag and Drop Question
You are developing an augmented reality app.
You need to retrieve the direction to which the device points.
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:
QUESTION 52
Drag and Drop Question
You are developing a Windows Store app.
The app has the following requirements:
– Open the Search charm.
– Provide query suggestions by using the GetSuggestions() method-
You need to ensure that the app meets the requirements.
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:
QUESTION 53
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: AD
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.application.aspx
QUESTION 54
Drag and Drop Question
You are developing a Windows Store app that uses a light sensor to detect and respond to light changes.
An object named lightSensor is an instance of the sensor service.
The light sensor must detect changes once per second.
If the sensor is unable to record as fast as once per second, then it must use the fastest interval possible.
You need to ensure that the app meets the requirements.
You have the following code:
Which code snippets should you include 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:
QUESTION 55
Drag and Drop Question
You are developing a Windows Store app.
The app includes the following event procedure:
Void OnSettingsPaneOpened(SettingsPanesettingsPane, SettingsPaneCommandsRequestedEventArgseventArga)
You need to call the event procedure when the user opens the settings pane.
Which three code segments should you use in sequence? (To answer, move the appropriate code segments to the answer area and arrange them in the correct order.)
Answer:
QUESTION 56
Hotspot Question
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:
QUESTION 57
Hotspot Question
You are developing a Windows Store app.
You define an app bar named BottomAppBar.
You need to ensure that you can open the app bar programmatically.
You have the following code:
Which code snippets should you insert in Target 1 and Target 2 to complete the code? (To answer, select the correct code snippet from each drop-down list in the answer area.)
Answer:
QUESTION 58
Drag and Drop Question
You are developing a Windows Store app named App1.
You need to ensure that App1 meets the following requirements:
– Must be able to display a list of items in rows and columns.
– Must be able to display items one at a time.
What should you use for each requirement? (To answer, drag the appropriate elements to the correct requirements. 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 59
Drag and Drop Question
You are developing a Windows Store app that includes three objects.
A data template named SceneTemplate provides the correct view for all of the objects.
The objects must be rendered as full-screen scenes that users can navigate between by swiping.
You need to create the content of a page that renders each object to meet the requirement.
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:
QUESTION 60
Hotspot Question
You are developing a Windows Store app.
The app receives badge notifications from Windows Push Notification Services (WNS).
You configure the app to establish a communication channel with WNS.
You use a variable named pushChannel to store the notification channel object used for communication.
You add the following line of code to the app:
Which code snippets should you insert in Target 1, Target 2 and Target 3 to complete the code? (To answer, select the correct code snippet from each drop-down list in the answer area.)
Answer:
Comparing with others’, you will find our 70-491 exam questions are more helpful and precise since all the 70-491 exam content is regularly updated and has been checked for accuracy by our team of Microsoft expert professionals.