Exam Code: 70-491 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Recertification for MCSD: Windows Store Apps using C#
Certification Provider: Microsoft
Free Today! Guaranteed Training- Pass 70-491 Exam.

Q9. - (Topic 9) 

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:


Q10. - (Topic 9) 

You are developing a Windows Store app. 

The app will access a web service. 

You need to declare the web service Uniform Resource Identifier (URI). 

Which file should you modify? 

A. AppxManifest 

B. AppConfig 

C. WebConfig 

D. Wsp 

E. xap 

Answer:


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

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. 


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


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


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


Q15. - (Topic 9) 

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

A. Option A 

B. Option B 

C. Option C 

D. Option D 

E. Option E 

Answer: B,D 

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 


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