getcertified4sure.com

[Virtual] 70-491 Microsoft sample question 1-10 (Dec 2021)




Act now and download your Microsoft 70-491 test today! Do not waste time for the worthless Microsoft 70-491 tutorials. Download Abreast of the times Microsoft Recertification for MCSD: Windows Store Apps using C# exam with real questions and answers and begin to learn Microsoft 70-491 with a classic professional.

Q1. - (Topic 9) 

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:


Q2. HOTSPOT - (Topic 2) 

You need to verify whether the app conforms to the Windows Store requirements. 

What command should you run? (To answer, select the appropriate options in the answer area.) 

Answer: 


Q3. - (Topic 9) 

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

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 


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


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


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


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


Q8. DRAG DROP - (Topic 2) 

You add a MediaElement named VideoTour and a button named playToButton to the 

properties details page. 

You need to ensure that video tours can be played to other devices. 

You have the following code: (Line numbers are included for reference only.) 

Which elements should you include in Target 1, Target 2 and Target 3 to complete the code? (To answer, drag the appropriate elements to the correct targets in the answer area. 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: 


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


Q10. - (Topic 3) 

You place a breakpoint at line MP31 in the app. 

When you debug the app, the debugger continuously catches a 

System.UnauthorizedAccess exception. 

You need to resolve the exception. 

What should you do? 

A. Wrap lines CE43 through CE46 in a try-catch statement. 

B. At line MP10, change the code segment to the following line of code. 

read if(cameraUI != null) 

C. Move line CE09 to CE16. 

D. At line PA25, insert the following line of code. <Capability Name="picturesLibrary"/> 

Answer:

Explanation: 

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