You can prepare for Microsoft 70-485 with little effort because Lead2pass is now at your service to act as a guide in helping you pass 70-485 exam. Now get that necessary competitive edge that comes with preparing with the help of Lead2pass.
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.)
Answer:
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:
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.)
Answer:
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.)
You need to add the contents of data to the beginning of file.
Which code segment should you insert at line 03?
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:
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.)
Answer:
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.)
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.)
Answer:
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.)
Answer:
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.)
Answer:
QUESTION 158
You are developing a Windows Store app named GeoLoc.
You have the following code:
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:
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.)
Answer:
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.