[Free] Get all latest Microsoft 70-485 Actual Tests 101-110

Ensurepass

QUESTION 101

You are designing a Windows Store app to manage image and video files.

 

The app must meet the following requirements:

 

clip_image002Video files must be stored locally on each device.

clip_image002[1]The app must use local storage for data caching.

clip_image002[2]User settings must be shared across multiple devices.

clip_image002[3]Image files must be available across multiple devices.

clip_image002[4]Metadata for images must be stored in a central database.

clip_image002[5]Image files, video files, and their associated metadata must load as quickly as possible.

 

You need to identify which data must be cached based on the app requirements.

 

Which two types of data should you identify? (Each correct answer presents part of the solution. Choose two.)

 

A.

User settings

B.

Video files

C.

Image files

D.

Metadata

 

Correct Answer: CD

Explanation:

Image files, video files, and their associated metadata must load as quickly as possible.

 

 

QUESTION 102

You are developing a Windows Store app for devices connected to AC power.

 

The app must meet the following requirements:

 

clip_image002[6]The app must download movie reviews from a web service once per hour.

clip_image002[7]The app must have new movie reviews ready for the user when the user interacts with the app.

clip_image002[8]The app cannot interact with the lock screen.

 

You need to ensure that the web service is called periodically whether the app is running or suspended.

 

What should you do?

 

A.

Use the ThreadPoolTimer.CreatePeriodicTimer() static method to periodically call the web service to get new movie reviews for display.

B.

Implement the IBackgroundTask interface to make the service call and then register a PushNotificationTrigger object to run the background task when the new reviews are available.

C.

Implement the IBackgroundTask interface to make the service call and then register a TimeTrigger object to run the background task every hour.

D.

Implement the IBackgroundTask interface to make the service call and then register a MaintenanceTrigger object to run the background task every hour.

 

Correct Answer: D

 

 

QUESTION 103

You are developing a Windows Store app. The app will receive push notifications from the Windows Push Notification Services (WNS). You store the secret for authentication in a variable named encodedSecret. You store the security ID for authentication in a variable named encdedSid. Both variables contain string data encoded for use in a Uniform Resource Identifier (URI). You create a WebClient object named client. You need to use the client object to retrieve an OAuth token as a string and to store the string in a variable named response. Which code segment should you use?

 

clip_image004

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: A

 

 

 

 

QUESTION 104

You are developing a Windows Store app that will provide users with the ability to create photos by using the hardware on a device. Once the users create the photos, they can save the photos to the Pictures library. If the users sign in by using a Microsoft account, they can grant other users remote access to the photos. You need to identify which capabilities must be enabled for the app. Which three capabilities should you identify? (Each correct answer presents part of the solution. Choose three.)

 

A.

Webca

B.

Pictures Library

C.

Proximity

D.

Internet (Client & Server)

E.

Private Networks (Client & Server)

F.

Enterprise Authentication

 

Correct Answer: ABD

Explanation:

A: The webcam capability provides access to the webcam’s video feed, which allows the app to capture snapshots and movies from a connected webcam.

B: The picturesLibrary capability provides programmatic access to the user’s Pictures, allowing the app to enumerate and access all files in the library without user interaction. This capability is typically used in photo playback apps that need to access the entire Pictures library.

D: Internet and public networks

The internetClient capability provides outbound access to the Internet and public networks through the firewall. Almost all web apps use this capability. The internetClientServer capability provides inbound and outbound access to the Internet and public networks through the firewall.

 

 

QUESTION 105

You are developing a Windows Store app. You need to ensure that the app can run only if the device is located in a specified location. If the device is moved from the location while the app is running, the app must be disabled. What should you use? (More than one answer choice may achieve the goal. Select the BEST answer.)

 

A.

the Networklnfomation.GetlnternetConnectionProfileQ method in the OnLaunched event handler

B.

the GeoLocator.PositionChanged event handler

C.

the GeofenceMonitor.GeofenceStateChanged event handler

D.

the GeoLocator.GetGeopositionAsync() method in the OnLaunched event handler

 

Correct Answer: C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 106

You plan to create a custom panel that displays a pie chart. Each value of the pie chart will have a control. You need to register a custom dependency property to the panel. Which code segment should you use?

 

clip_image006

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 107

HOTSPOT

You are developing a Windows Store app.

 

A file named Test.csv contains the following content:

 

clip_image007

 

You have a project that contains the following code:

 

clip_image009

 

The Test1 function is the only test in the project.

 

For each of the following statements, select Yes if the statement is true. Otherwise select No. Each correct selection is worth one point.

 

clip_image010

 

Correct Answer:

clip_image011

 

 

QUESTION 108

You develop several Windows Store apps.

 

You need to use a control to display multiple elements.

 

The control has the following requirements:

 

clip_image002[9]Each item must be displayed as a button.

clip_image002[10]When a user clicks a button, the button must show that it was clicked.

clip_image002[11]Developers must be able to bind the control to a collection.

clip_image002[12]Developers must be able to handle an event when items are selected.

clip_image002[13]Developers must be able to specify whether the control provides users with the ability to select either one or multiple items.

 

What should you use? (More than one answer choice may achieve the goal. Select the BEST answer.)

 

A.

A custom control that inherits from ListBox

B.

A control template for the ComboBox control

C.

A custom control that inherits from ComboBox

D.

A control template for the ListBox control

 

Correct Answer: D

 

 

 

 

 

 

 

 

 

QUESTION 109

HOTSPOT

You plan to develop several Windows Store apps.

 

You plan to use a CheckBox control in all of the apps. The CheckBox control will use a custom visual display.

 

You create XAML markup to customize the control. The code contains all of the necessary visual components for the control, including elements named checkedGlyph and indeterminateGlyph.

 

You need to ensure that the check box meets the following requirements:

 

clip_image002[14]If a value for the check box was NOT set, the check box must display indeterminateGlyph.

clip_image002[15]When the check box is selected, the check box must display checkedGlyph.

clip_image002[16]If the check box is cleared, the check box must NOT display any glyphs.

 

You have the following XAML markup:

 

clip_image012

 

Which code snippets should you insert in Target 1, Target 2, Target 3, Target 4, Target 5 and Target 6 to complete the XAML markup?

 

To answer, select the correct code snippet from each drop-down list in the answer area.

 

clip_image013

 

Correct Answer:

clip_image014

 

 

QUESTION 110

DRAG DROP

You are developing a Windows Store app that allows users to take and edit pictures.

 

The user interface must remain responsive while the user works with pictures.

 

You need to ensure that the app allows users to crop captured pictures.

 

You have the following code: private async void CapturePhoto()

 

clip_image015

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

 

clip_image017

 

Correct Answer:

clip_image019

 

 

Instant Access to Download Testing Software & PDF File for Microsoft 70-485 Real Exam

Instant Access to Try Microsoft 70-485 Free Demo

This entry was posted in 70-485 Actual Tests and tagged , , , , , . Bookmark the permalink.