We provide real 70-491 exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass Microsoft 70-491 Exam quickly & easily. The 70-491 PDF type is available for reading and printing. You can print more and practice many times. With the help of our Microsoft 70-491 dumps pdf and vce product and material, you can easily pass the 70-491 exam.

Q1. DRAG DROP - (Topic 9) 

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:


Q2. - (Topic 4) 

You need to configure the Picture Sharer app to support only the required device orientations. 

What should you do? 

A. In the App.xaml file, configure the Portrait and Portrait-flipped orientations. 

B. In the Package.appxmanifest file, configure the Snapped and Filled orientations. 

C. In the PictureSharerMainPage.xaml file, configure the Landscape and Landscape-flipped orientations. 

D. In the App.xaml file, configure the Portrait and Landscape orientations. 

E. In the App.manifest file, configure the Portrait and Portrait-flipped orientations. 

F. In the Package.appxmanifest file, configure the Landscape and Landscape-flipped orientations. 

Answer:


Q3. DRAG DROP - (Topic 9) 

You are developing a Windows Store app. 

You need to ensure that the app meets the following requirements: 

. When the app is started, the app bar must appear at the top of the app. . When the app is resized, if the new width of the app is less than 400 pixels, the app bar must be hidden. Users must be able to show the app bar by right-clicking. 

. When the app is resized, if the new width is greater than 400 pixels, the app bar must be visible. Users must be able to hide the app bar by right-clicking, pressing Windows + Z, or swiping in from the top edge of the screen. 

You have the following XAML markup in a file named MainPage.xaml. (Line numbers are included for reference only.) 

You have the following code in a file named MainPage.xaml.es. {Line numbers are included for reference only.) 

Which code segments should you insert in MainPage.xaml and MainPage.xaml.cs? (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: 


Q4. DRAG DROP - (Topic 9) 

You are developing a Windows Store app. 

You need to identify the effects of applying Microsoft design principles to the user interface. 

Which effects result from the design principles? (To answer, drag the appropriate effects to the correct locations in the answer area. Each effect 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: 


Q5. 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: 


Q6. DRAG DROP - (Topic 9) 

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: 


Q7. - (Topic 9) 

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:

Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.aspx 


Q8. - (Topic 9) 

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: