Top 18 secret 70-491 for IT engineers (37 to 54)

Realistic of 70-491 practice question materials and interactive bootcamp for Microsoft certification for consumer, Real Success Guaranteed with Updated 70-491 pdf dumps vce Materials. 100% PASS Recertification for MCSD: Windows Store Apps using C# exam Today!

2016 Apr 70-491 Study Guide Questions:

Q37. DRAG DROP - (Topic 9) 

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: 



Q38. HOTSPOT - (Topic 9) 

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


Answer: 



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



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



Q41. - (Topic 3) 

Users report performance issues when getting the location information associated with a photo. You suspect the app is encountering performance issues in the GetLocationAsync() method of the Environment class. 

You need to enhance the performance of the GetLocationAsync() method of the app. 

What should you do? 

A. Remove the Compass initialization from the LoadSensors() method and initialize it within the GetLocationAsync() method. 

B. set the ReportInterval property of the Compass object to 16. 

C. set the ReportInterval property of the Compass object to 0. 

D. Move the locator variable to a class level variable and initialize it in the Environment constructor. 

Answer: D 


Q42. - (Topic 9) 

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. 


70-491 free exam

Most recent 70-491 exam question:

Q43. DRAG DROP - (Topic 9) 

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: 



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


Q45. - (Topic 9) 

You are developing a Windows Store app that will display a toast notification. 

You need to ensure that when a toast notification is displayed, the first line of the notification is bold. 

Which template should you use? 

A. TileSquareText03 

B. ToastText01 

C. TileSquarePeeklmageAndText01 

D. ToastImageAndText02 

Answer: D 

Explanation: ToastImageAndText02 A large image, one string of bold text on the first line, one string of regular text wrapped across the second and third lines. 


Q46. - (Topic 5) 

You need to enable the capabilities that allow communication according to the technical requirements. 

Which capabilities should you enable? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Shared User Certificates 

B. SSL Certificates 

C. Internet (Client) 

D. Default Windows Credentials 

Answer: B,C 

Explanation: B: From scenario: 

Communication between the app and e-book vendors must occur over an encrypted 

communication channel. 

Communication must use certificates to enable the SSL connection. 

C: 


http://msdn.microsoft.com/en-us/library/windows/apps/Hh770532.aspx http://msdn.microsoft.com/en-us/library/windows/apps/Hh986970.aspx 


Q47. DRAG DROP - (Topic 9) 

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: 



Q48. - (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: F 


70-491 exam cost

Validated 70-491 :

Q49. DRAG DROP - (Topic 9) 

You are creating a Windows Store app that contains a StackPanel named myltemPanel. You need to ensure that myltemPanel displays contents horizontally when the device is in landscape mode and vertically when the device is in portrait mode. 

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: 



Q50. - (Topic 9) 

You are developing a Windows Store app named GeoLoc. You have the following code: 


When you run the app on some devices, you receive the following error message: "An exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll but was not handled in user code." 

You need to resolve the issue that causes the exception to occur. 

Which file should you modify? 

A. Package.appxmanifest 

B. Assemblyinfo.es 

C. App.xaml 

D. Geoloc.csproj 

Answer: A 


Q51. - (Topic 9) 

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 


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


Q53. - (Topic 9) 

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. 


Q54. DRAG DROP - (Topic 9) 

You are developing a Windows Store app that uses the Windows Push Notification Service (WNS) to provide real-time updates to users. The app uses an HTTP request to authenticate a cloud service to interact with WNS. 

The Package Security Identifier (SID) prefix is app://. 

Parameter values must be URL encoded. 

You need to ensure that the authentication request provides the required parameters. 

Which parameters should you use? (To answer, drag the appropriate parameters to the correct location or locations. Each parameter 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: