Achieve New Updated (September) Microsoft 70-491 Examination Questions 31-40

Ensurepass

QUESTION 31

You are designing a Windows Store app that creates large amounts of temporary binary data each time it is run.

 

You need to ensure that data is persisted while the app is running but deleted when the app is closed.

 

Which app data storage mechanism should you use? (Each correct answer presents a complete solution. Choose all that apply.)

 

A.

a temporary app data store

B.

the app files of the local app data store

C.

the app settings of the local app data store

D.

a roaming app data store

 

Correct Answer: ABC

Explanation:

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

 

 

QUESTION 32

You are developing a Windows Store app. You have the following requirements:

 

clip_image002Enable the app to receive shared data.

clip_image002[1]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

 

Correct Answer: D

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.

 

 

 

 

 

 

QUESTION 33

HOTSPOT

You are developing a Windows Store app to check the weather.

 

You need to ensure the app polls an external web service once per hour for tile updates.

 

You have the following code:

 

clip_image004

 

Which code snippet should you insert in Target 1 to complete the code?

 

To answer, select the correct code snippet from the dropdown list in the answer area.

 

clip_image005

 

Correct Answer:

clip_image006

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 34

DRAG DROP

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.

 

clip_image008

 

Correct Answer:

clip_image010

 

 

 

 

 

 

 

 

QUESTION 35

DRAG DROP

You are developing a Windows Store app named App1.

 

You need to ensure that App1 meets the following requirements:

 

clip_image002[2]Must be able to display a list of items in rows and columns.

clip_image002[3]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.

 

clip_image011

 

Correct Answer:

clip_image012

 

 

QUESTION 36

You are developing a Windows Store app named VideoPlayer.

 

The app will provide user with the ability to select video files by using the file picker and to play the video.

 

You need to recommend a solution for the app that meets the following requirements:

 

clip_image002[4]If the app is terminated while playing a video, the next time the app starts, the video must play.

clip_image002[5]The app must minimize the amount of storage space used.

clip_image002[6]The app must NOT request any capabilities.

 

What should you include in the recommendation?

 

A.

Add the file to AccessCache.StorageApplicationPermissions.MostRecentlyUsedList.

B.

Store the StorageFile.Path property in ApplicationData.Current.LocalSettings.

C.

Store the video in ApplicationData.Current.RoamingFolder.

D.

Store the video in ApplicationData.Current.LocalFolder.

 

Correct Answer: A

Explanation:

http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.accesscache.storageapplicationpermissions.mos trecentlyusedlist.aspx

 

 

 

 

 

 

QUESTION 37

You are developing a Windows Store app that will provide users with the ability to create photos by using the hardware on a device.

 

Once the users create the photos, they can save the photos to the Pictures library.

 

If the users sign in by using a Microsoft account, they can grant other users remote access to the photos.

 

You need to identify which capabilities must be enabled for the app.

 

< span style="font-family: ; mso-font-kerning: 0pt; mso-no-proof: yes" lang="EN-US">Which three capabilities should you identify? (Each correct answer presents part of the solution. Choose three.)

 

A.

Webcam

B.

Pictures Library

C.

Proximity

D.

Internet (Client & Server)

E.

Private Networks (Client & Server)

F.

Enterprise Authentication

 

Correct Answer: ABD

Explanation:

A: The webcam capability provides access to the webcam’s video feed, which allows the app to capture snapshots and movies from a connected webcam.

B: The picturesLibrary capability provides programmatic access to the user’s Pictures, allowing the app to enumerate and access all files in the library without user interaction. This capability is typically used in photo playback apps that need to access the entire Pictures library.

D: Internet and public networks

The internetClient capability provides outbound access to the Internet and public networks through the firewall. Almost all web apps use this capability. The internetClientServer capability provides inbound and outbound access to the Internet and public networks through the firewall.

 

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

 

 

QUESTION 38

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

 

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

 

 

QUESTION 39

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

 

Correct Answer: B

 

 

QUESTION 40

DRAG DROP

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.

 

clip_image014

 

Correct Answer:

clip_image016

 

 

Free VCE & PDF File for Microsoft 70-491 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…