Free Download Lead2pass Microsoft 70-485 Brain Dumps (151-160)

The Microsoft 70-485 PDF, 70-485 practice exam and 70-485 questions and answers at Lead2pass are written and prepared by Microsoft affiliated trainers and lecturers with decades of experience in the IT field. This ensures that you are equipped with the latest and most current information to give you a better chance of passing the Microsoft 70-485 exam.

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

Answer:

image_thumb[1]

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_thumb[2]

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_thumb[3]

Answer:

image_thumb[4]

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_thumb[5]

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

image_thumb[6]

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_thumb[7]

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_thumb[8]

Answer:

image_thumb[9]

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_thumb[10]

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_thumb[11]

Answer:

image_thumb[12]

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_thumb[13]

Answer:

image_thumb[14]

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_thumb[15]

Answer:

image_thumb[16]

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

image_thumb[17]

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_thumb[18]

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_thumb[19]

Answer:

 image_thumb[20]

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