Achieve New Updated (September) Microsoft 70-491 Examination Questions 41-50

Ensurepass

QUESTION 41

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

 

 

Correct Answer: D

 

 

QUESTION 42

DRAG DROP

You are developing a Windows Store app.

 

The app will provide users with the ability to play music remotely on another user’s device and then the other users will guess the name of the song.

 

You need to access the music storage and to retrieve files and folders.

 

You have the following code:

 

clip_image001

 

Which elements should you include in Target 1, Target 2, Target 3 and Target 4 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.

 

clip_image003

 

Correct Answer:

clip_image005

 

 

 

 

 

QUESTION 43

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.

Roaming storage

B.

Microsoft Azure blob storage

C.

Microsoft Azure Mobile Services

D.

One Drive

A.

TileSquareText03

B.

ToastText01

C.

TileSquarePeeklmageAndText01

D.

ToastImageAndText02

 

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

 

 

QUESTION 44

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:

 

clip_image006

 

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?

 

clip_image008

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: D

Explanation:

http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.core.symmetrickeyalgorithmprovid er.aspx

 

 

QUESTION 45

HOTSPOT

You are developing a Windows Store app.

 

The app will use certificates issued by a standalone certification authority (CA) for authentication. The standalone CA certificate is stored in a file named Ca.cer.

 

You need to configure the app manifest to ensure that the app can use certificates issued by the standalone CA.

 

You have the following XAML markup in the app manifest:

 

clip_image009

 

Which code snippets should you insert in Target 1 and Target 2 to complete the XAML markup?

 

To answer, select the correct code snippet from each drop-down list in the answer area.

 

clip_image010

 

Correct Answer:

clip_image011

 

 

QUESTION 46

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

nd == 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.

 

Correct Answer: CD

Explanation:

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

QUESTION 47

HOTSPOT

You are developing a Windows Store app.

 

You define an app bar named BottomAppBar.

 

You need to ensure that you can open the app bar programmatically.

 

You have the following code:

 

clip_image012

 

Which code snippets should you insert in Target 1 and Target 2 to complete the code?

 

To answer, select the correct code snippet from each drop-down list in the answer area.

 

clip_image013

 

Correct Answer:

clip_image014

 

 

 

 

 

QUESTION 48

DRAG DROP

You are developing a Windows Store app.

 

The following code segment defines an event procedure. (Line numbers are included for reference only.)

 

clip_image015

 

You need to define a custom help setting in the event procedure.

 

Which three code segments should you insert in sequence at line 03?

 

To answer, move the appropriate code segments to the answer area and arrange them in the correct order.

 

clip_image017

 

Correct Answer:

clip_image019

 

 

 

 

 

QUESTION 49

DRAG DROP

You are developing a Windows Store app.

 

The app has the following requirements:

 

clip_image021Open the Search charm.

clip_image021[1]Provide query suggestions by using the GetSuggestions() method-

 

You need to ensure that the app meets the requirements. You have the following code:

 

clip_image022

 

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.

 

clip_image023

 

Correct Answer:

clip_image024

 

 

QUESTION 50

You are developing a Windows Store app.

 

You create a custom control named AppSettingsFlyout, which is inherited from the SettingsFlyout control.

 

You need to ensure that the Settings flyout of the app is available from the charm bar. When the flyout is dismissed, users must be returned to the Settings pane.

 

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

 

clip_image025

 

Which code segment should you insert at line 05?

 

A.

updatesFlyout.Show();

B.

ApplicationSettings.SettingsPane.GetForCurrentView();

C.

ApplicationSettings.SettingsPane.Show();

D.

updatesFlyout.Showlndependent();

 

Correct Answer: A

 

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…