aiotestking uk

70-491 Exam Questions - Online Test


70-491 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

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

Q2. - (Topic 9) 

You are developing a Windows Store app. 

The app will store data in a text file. 

You create the following method to store encrypted text in the text file: 

The WriteData method writes the contents of an IBuffer object to a StorageFile object. 

You need to recommend a solution to encrypt the data. The solution must minimize the use 

of system resources and must ensure that the app can decrypt the data. 

Which code segment should you recommend adding to line 06? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q3. - (Topic 6) 

You need to create a custom template for a Listview control that will be located on a page that has the NewsSource object bound to the DataContext property. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

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

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

Q6. - (Topic 9) 

You plan to develop a Windows Store app to create pictures. 

Users of the app will be able to save the pictures that they create and to share the pictures with friends by using a web link. 

You need to ensure that the friends can makes comments on the shared pictures. 

Which storage technology should you use? (More than one answer choice may achieve the goal. Select the BEST answer.) 

A. Roaming storage 

B. Microsoft Azure blob storage 

C. Microsoft Azure Mobile Services 

D. One Drive 

Answer:

Q7. - (Topic 9) 

You are developing a Windows Store app that includes the following controls: 

. The ApplicationView control, which is entirely opaque, displays content that the app displays under normal circumstances. 

. The MessageView control, parts of which are transparent displays information messages in exceptional circumstances. 

You are creating an app page that includes the ApplicationView and MessageView controls. 

When both controls are visible, you have the following requirements: 

. The controls must expand to fill the entire page. . The ApplicationView control must be recognizable through the transparent portions of the MessageView control. 

You need to create the page content. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

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

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

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