web analytics

How to pass 70-491 exam easily? Are you struggling for the 70-491 exam? Good news, GreatExam Microsoft technical experts have collected all the questions and answers which are updated to cover the knowledge points and enhance candidates’ abilities. We offer the latest 70-491 PDF and VCE dumps with new version VCE player for free download, and the new 70-491 practice test ensures your 70-491 exam 100% pass.

QUESTION 61
You are developing a Windows Store app.
The app contains a page named MainPage.
The page contains a media element named videoPlayer and a button named btnPlayTo.
You need to provide users with the ability to select a device that will display the contents of videoPlayer when they click btnPlayTo.
Which code segment should you add to the Click event handler of btnPlayTo?

611

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.media.playto.playtomanager.showplaytoui.aspx

QUESTION 62
Drag and Drop Question
You are developing a page for a Windows Store app.
You have the following requirements for the page:
– Display a button on the bottom app bar that allows the user to insert a picture. This button must be bound to the Insert command in the view model.
– Display a button in the main content area of the page that allows the user to open documents. This button must be bound to the Open command in the view model.
You need to ensure that the requirements are met.
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.)
621
Answer:
622

QUESTION 63
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: AE
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/hh967755.aspx

QUESTION 64
Drag and Drop Question
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.)
641
Answer:
642

QUESTION 65
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.)
651

A.    Option A
B.    Option B
C.    Option C
D.    Option D
E.    Option E

Answer: BD
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

QUESTION 66
You are designing a Windows Store app to manage image and video files.
The app must meet the following requirements:
– Video files must be stored locally on each device.
– The app must use local storage for data caching.
– User settings must be shared across multiple devices.
– Image files must be available across multiple devices.
– Metadata for images must be stored in a central database.
– Image files, video files, and their associated metadata must load as quickly as possible.
You need to identify which data must be cached based on the app requirements.
Which two types of data should you identify? (Each correct answer presents part of the solution. Choose two.)

A.    User settings
B.    Video files
C.    Image files
D.    Metadata

Answer: CD
Explanation:
Image files, video files, and their associated metadata must load as quickly as possible.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365201(v=vs.85).aspx

QUESTION 67
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:
671
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.)
672
Answer:
673

QUESTION 68
Drag and Drop Question
You are developing a Windows Store app that caches user application data in the local data store.
The app must create a setting named UserName within a container named UserSettings.
The app must store the user name in the local store.
You need to meet the requirements.
How should you complete the code segment? (To answer, drag the appropriate options to the correct location or locations. Each option 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.)
681
Answer:
682

QUESTION 69
Hotspot Question
You are developing a Windows Store app that allows users to copy music from their local computers to removable storage.
The app displays songs grouped by the month the song was downloaded and allows individual songs to be copied to the removable storage device.
The user interface for selecting and copying songs uses data binding.
You need to load and return songs in a format appropriate for data binding.
How should you complete the code segment? (To answer, select the appropriate line of code from each drop-down list in the answer area.)
691
Answer:
692

QUESTION 70
Hotspot Question
You are developing a Windows Store app.
The app will use certificates issued by a standalone certification authority (CA) for authentication. The standalone CA certificate is stored in a file named Ca.cer.
You need to configure the app manifest to ensure that the app can use certificates issued by the standalone CA.
You have the following XAML markup in the app manifest:
701
Which code snippets should you insert in Target 1 and Target 2 to complete the XAML markup? (To answer, select the correct code snippet from each drop-down list in the answer area.)
702
Answer:
703

QUESTION 71
You are developing a Windows Store app.
The app will access several web resources that use an OAuth 2.0 authentication provider.
You need to recommend in which class to store user credentials so that users do not have to reenter their credentials when they access the web resources.
Which class should you recommend?

A.    System.Net.AuthenticationManager
B.    System.Net.NetworkCredential
C.    Windows.Security.Credentials.WebAccount
D.    Windows.Security.Credentials.PasswordVault

Answer: D
Explanation:
The task of storing and retrieving user credentials securely and allowing user credentials roam at no cost with the user’s Microsoft account is simplified with the Credential Locker.
Storing user credentials in the Credential Locker is a quick, two-step process.
1.Obtain a reference to the Credential Locker using the PasswordVault object from the Windows.Security.Credentials namespace.
2.Create a PasswordCredential object that contains an identifier for your app, the username and the password, and pass that to the PasswordVault.Add method to add the credential to the locker.

QUESTION 72
Drag and Drop Question
You are developing a Windows Store app.
The following code segment defines an event procedure. (Line numbers are included for reference only.)
721
You need to define a custom help setting in the event procedure.
Which three code segments should you insert in sequence at line 03? (To answer, move the appropriate code segments to the answer area and arrange them in the correct order.)
722
Answer:
723

QUESTION 73
You are developing a Windows Store app.
You have the following requirements:
– Enable the app to receive shared data.
– Save the sharing settings for future use.
You need to ensure that the requirements are met.
What should you implement?

A.    a play to charm
B.    a Share target
C.    a share charm
D.    a QuickLink

Answer: D
Explanation:
– When people swipe from the side of the screen and tap the Share charm, the Share pane appears with a list of apps people can use to share their content. This list includes any installed apps that are “share targets” for a particular data format. The links at the top of the image, called QuickLinks, allow users to complete specific share tasks directly.
– QuickLink class
Applies to Windows and Windows Phone
Represents shortcuts that help users share content with the apps they use most.

QUESTION 74
Drag and Drop Question
You are developing a Windows Store app that provides users with the ability to make short audio recordings if an audio device is available.
You need to ensure that the users can replay the audio recording before they save the recording.
You have the following code: (Line numbers are included for reference only.)
741
Which code segments should you insert at lines 02, 07 and 10? (To answer, drag the appropriate code segments to the correct locations. 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.)
742
Answer:
743

QUESTION 75
You are developing a Windows Store app that beeps when a device is turned upside down.
You need to identify which type of sensor to use for the app.
Which sensor should you identify?

A.    GPS
B.    Inclinometer
C.    Accelerometer
D.    Gyrometer

Answer: B

QUESTION 76
You are developing a Windows Store app.
You declare a Search declaration in the app manifest and you add a search results page.
You plan to display search results by using a Query Text property that derives from EventArgs,
You need to ensure that users can use the Search charm to search for content within the app.
What should you do?

A.    Add an event handler for the SearchPane.QuerySubmitted event to App.xaml.cs.
Register the event handler in the constructor of the page.
B.    Add an event handler for the SearchPane.QueryChanged event to MainPage.xaml.es.
Register the event handler in the OnWindowCreated method in MainPage.xaml.es.
C.    Add an event handler for the SearchPane.QuerySubmitted event to MainPage.xaml.es.
Register the event handler in the OnWindowCreated method in MainPage.xaml.es.
D.    Add an event handler for the SearchPane.QuerySubmitted event to App.xaml.cs.
Register the event handler in the OnWindowCreated method of the page.

Answer: D

QUESTION 77
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

QUESTION 78
Hotspot Question
You are developing a Windows Store app that detects and displays users’ geographic location details.
During the unit testing of the app, the location details are not displayed.
You need to ensure that the user’s location data is displayed.
Which tab in Visual Studio should you use to reconfigure the app to display the location data? (To answer, select the appropriate object in the answer area.)
781
Answer:
782

QUESTION 79
Drag and Drop Question
You are developing an app that converts text to speech.
You need to ensure that the app can read text from open documents.
You have the following code for the reading function of the app. (Line numbers are included for reference only.)
791
Which code segments should you insert at lines 03, 05, and 08? (To answer, drag the appropriate code segments to the correct locations. 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.)
792
Answer:
793

QUESTION 80
Drag and Drop Question
You need to develop an app to measure whether a surface is level.
The app will be used on devices that have a gyrometer.
You have the following code:
801
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.)
802
Answer:

803

GreatExam Microsoft 70-491 exam dumps are audited by our certified subject matter experts and published authors for development. GreatExam Microsoft 70-491 exam dumps are one of the highest quality Microsoft 70-491 Q&As in the world. It covers nearly 96% real questions and answers, including the entire testing scope. GreatExam guarantees you pass Microsoft 70-491 exam at first attempt.

http://www.greatexam.com/70-491-exam-questions.html

By admin