PrepAway - Latest Free Exam Questions & Answers

Category: 70-485 (v.1)

Exam 70-485: Advanced Windows Store App Development Using C# (update December 26th, 2014)

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 code segment should you insert at line 07?

You are developing a Windows Store app that will provide users with the ability to perform price
comparisons between online retailers.
You build a user interface (UI) that has a button. The button is used to perform the price
comparisons.
You write an event handler that contains the following code:

You need to ensure that once the button is clicked, the button is disabled until the comparison
completes. The solution must prevent the app from blocking access to the UI.
Which code segment should you insert at line 07?

Which three actions should you perform in sequence?

DRAG DROP
You are developing a Windows Store app that uploads large files to the Internet by using background tasks.
uploadTask is an instance of the IBackgroundTask interface that provides access to a background
task instance. UploadFilesAsync() is the asynchronous method that performs the upload.
You need to ensure that the app performs the upload operation asynchronously in a background task.
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 o^de-“.)

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

DRAG DROP
You are developing a Windows Store app.
The app consumes data from a business layer.
You need to develop a unit test. The test method must ensure that the collection of person objects
returned by the business layer meets the following requirements:
• Always contains elements
• Orders elements consistently between calls
You have the following code:

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

What should you do?

You are developing a Windows Store app that targets customers who travel frequently. The app
allows users to record audio and video files and save them to their local devices.
You have the following traveler-friendly requirements:
• The audio and video files must be shorter than three minutes in duration.
• The app must finalize recording automatically when the time limit is reached.
• You cannot use continuous polling to test when the time limit is reached.
vou need to ensure that the app meets the requirements. What should you do?

Which file should you modify?

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?

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

HOTSPOT
You are developing a Windows Store app.
You nave the following resource table.

You need to bind the text resource to a XAML text block.
You have the following code:
<Texc31ock Target 1 =”AppNamenTarget 2=””/>
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.)


Page 10 of 16« First...89101112...Last »