Easily Pass 70-485 Exam By Training Lead2pass New Microsoft Practice Materials VCE Dumps (151-160)

Good news, Lead2pass has updated the 70-485 exam preparation material. With all the questions and answers in your hands, you will pass the Microsoft 70-485 exam easily. We make our promise that Lead2pass is your best choice.

QUESTION 151
Hotspot Question
You are developing a Windows Store app.
You configure the app to support AutoPlay when a portable media player is connected to a Windows 8.1 device.

You need to verify whether the app was initiated from AutoPlay.
What code should you add to the OnActivated event handler? (To answer, select the appropriate options in the answer area.)

image_thumb_thumb

Answer:

image_thumb1_thumb

QUESTION 152
Drag and Drop Question
You are developing a Windows Store app to capture video.
You need to ensure that a record button only appears if the camera is enabled and is located on the back of the device.
You have the following code:

image_thumb2_thumb

Which code segments should you insert at lines 10 and 13? (To answer, drag the appropriate code segments to the correct locations. Each code segment 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.)

image_thumb3_thumb

Answer:

image_thumb4_thumb

QUESTION 153
You are developing a Windows Store app that will provide users with the ability to save annotations to text files.
You have the following code segment: (Line numbers are included for reference only.)

image_thumb5_thumb

You need to add the contents of data to the beginning of file.
Which code segment should you insert at line 03?

image_thumb6_thumb

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: C

QUESTION 154
Hotspot Question
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:

image_thumb7_thumb

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

image_thumb8_thumb

Answer:

image_thumb9_thumb

QUESTION 155
Drag and Drop Question
You are developing a Windows store app.
The app will use Windows Push Notification Services (WNS).
The app will execute a background task when a notification is pushed from the Windows Azure Mobile Services.
You need to develop the code for the Windows Azure Mobile Services.
You have the following code: (Line numbers are included for reference only.)

image_thumb10_thumb

Which code segments should you insert at lines 08, 10, 12 and 14? (To answer, drag the appropriate code segments to the correct locations. Each code segment 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.)

image_thumb11_thumb

Answer:

image_thumb12_thumb

QUESTION 156
Drag and Drop Question
You are developing a Windows Store game.
You need to profile the game’s performance.
Which three 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.)

image_thumb13_thumb

Answer:

image_thumb14_thumb

QUESTION 157
Drag and Drop Question
You are developing a Windows Store app.
You need to profile the app performance.
Which three 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.)

image_thumb15_thumb

Answer:

image_thumb16_thumb

QUESTION 158
You are developing a Windows Store app named GeoLoc.
You have the following code:

image_thumb17_thumb

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: A
Explanation:
http://stackoverflow.com/questions/22753843/an-exception-of-type-system-unauthorizedaccessexception-occurred-in-mscorlib-d

QUESTION 159
You are developing a Windows Store app.
The app contains a page named MainPage.
The page contains a media element named videoPlayer and a button named btnPlayTo.
You need to provide users with the ability to select a device that will display the contents of videoPlayer when they click btnPlayTo.
Which code segment should you add to the Click event handler of btnPlayTo?

A.    PlayToManager.ShowPlayToUI ();
B.    PlayToReceiver ptr = new PlayToReceiver();await ptr.NotifyPlaying()”
C.    PlayToReceiver ptr = new PlayToReceiver();await ptr.StartAsync();
D.    PlayToManager.GetForCurrentView();

Answer: A

QUESTION 160
Drag and Drop Question
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:

image_thumb18_thumb

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

image_thumb19_thumb

Answer:

 image_thumb20_thumb

If you want to get more 70-485 exam preparation material,you can download the free demos in PDF files on Lead2pass.It would be great help for you exam.Wish you pass the exam successfully.

www.lead2pass.com/70-485.html