getcertified4sure.com

Finding Leading 70-491 preparation labs




Your success in Microsoft 70-491 is our sole target and we develop all our 70-491 braindumps in a way that facilitates the attainment of this target. Not only is our 70-491 study material the best you can find, it is also the most detailed and the most updated. 70-491 Practice Exams for Microsoft 70-491 are written to the highest standards of technical accuracy.

Q11. - (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:


Q12. - (Topic 9) 

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: C,D 

Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj191724.aspx 


Q13. - (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:

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. 


Q14. - (Topic 9) 

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:

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. 


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


Q16. - (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 


Q17. - (Topic 9) 

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:


Q18. DRAG DROP - (Topic 9) 

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.) 

Answer: 


Q19. - (Topic 8) 

A photo competition is ending. 

You need to meet the requirements when a user clicks the toast notification. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

From scenario: 

When a user clicks a toast notification that indicates the end of the photo competition, the 

app must display the details of the photo competition that triggered the toast notification. 


Q20. - (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: