PrepAway - Latest Free Exam Questions & Answers

Category: 70-485 (v.2)

Exam 70-485: Advanced Windows Store App Development Using C# (update June 2nd, 2016)

Which code segment should you recommend adding to line 06?

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:

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?

Which two code segments should you add to the OnNavigateTo event handler on MainPage?

You are developing a Windows Store app.
The app contains a page named MainPage. The page contains a media element named videoPlayer.
You need to provide users with the ability to play the contents of videoPlayer on different devices by
using the Devices charm.
Which two code segments should you add to the OnNavigateTo event handler on MainPage? (Each
correct answer presents part of the solution. Choose two.)

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

HOTSPOT
You are developing a Windows Store app.
The app receives badge notifications from Windows Push Notification Services (WNS).
You configure the app to establish a communication channel with WNS. You use a variable named
pushChannel to store the notification channel object used for communication. You add the following
line of code to the app:

Which code snippets should you insert in Target 1, Target 2 and Target 3 to complete the code? (To
answer, select the correct code snippet from each drop-down list in the answer area.)

What code should you add to the OnActivated event handler?

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

Which code segments should you insert at lines 10 and 13?

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

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

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:

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

Which code segments should you insert at lines 08, 10, 12 and 14?

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


Page 16 of 17« First...10...1314151617