Free Download Microsoft 70-485 Exam Question with PDF & VCE (11-20)

QUESTION 11
You are developing a Windows store game that allows players to save friend information for other players they meet in the game. The app must meet the following requirements: The app must save all friend information when the app suspends or terminates. When the app is restarted, friend information should be automatically reloaded. Players should be able to view friend information on other devices with the app installed, provided that the user supplies the same credentials on both machines. You need to ensure that the app meets the requirements. How should the app save the friend information?

A.    by saving friend information to a temporary app store
B.    by saving friend information to the roaming app store
C.    by saving friend information to the local app store
D.    by saving friend information in a memory-mapped file

Answer: B

QUESTION 12
You are developing a Windows Store app for geocaching competitions that displays locationaware tips. You need to capture device location events periodically to determine if a tip should be displayed. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Enable the Proximity capability in the Package.appxmanifest file.
B.    Create an instance of the Windows.Devices.Sensors.OrientationSensor class.
Use the Reportlnterval property to set the interval for getting the position data.
Then attach an event handler to the PositionChanged event to capture position and decide if tips should
be shown,
C.    Create an instance of the Windows.Devices.Sensors.Gps class.
Use the Reportlnterval property to set the interval for getting the position data.
Then attach an event handler to the PositionChanged event to capture position and decide if tips should
be shown.
D.    Enable the Location capability in the Package.appxmanifest file.
E.    Create an instance of the Windows.Devices.Geolocation.
Geolocator class, Use the Reportlnterval property to set the interval for getting the position data.
Then attach an event handler to the PositionChanged event to capture position and decideif tips should
be shown.

Answer: DE

QUESTION 13
Users report performance issues when getting the location information associated with a photo. You suspect the app is encountering performance issues in the GetLocationAsync() method of the Environment class. You need to enhance the performance of the Getl_ocationAsync() method of the app. What should you do?

A.    Remove the Compass initialization from the LoadSensors() method and initialize it within the
GetLocationAsync() method.
B.    set the Reportlnterval property of the Compass object to 16.
C.    set the Reportlnterval property of the Compass object to 0.
D.    Move the locator variable to a class level variable and initialize it in the Environment constructor.

Answer: D

QUESTION 14
You need to modify the GetWeatherData() method in the WinMD component at line CE38. Which interface should you use for the return type of the method?

A.    IVectorView
B.    IVector
C.    IList
D.    IMap

Answer: A

QUESTION 15
You place a breakpoint at line MP31 in the app. When you debug the app, the debugger continuously catches a System.UnauthorizedAccess exception. You need to resolve the exception.
What should you do?

A.    Wrap lines CE43 through CE46 in a try-catch statement.
B.    At line MP10, change the code segment to the following line of code. read if(cameraUI != null)
C.    Move line CE09 to CE16.
D.    At line PA25, insert the following line of code. <Capability Name=”picturesLibrary”/>

Answer: D

QUESTION 16
You need to create a SupportsBacklightCompensation property to accommodate morning and evening photography. Which line of code should you insert at line CA19?

A.    return (video.BacklightCompensation.Capabilities.Min == 0);
B.    return video.BacklightCompensation.Capabilities.Supported;
C.    return (media.BacklightCompensation.Capabilities.Min == 0);
D.    return media.BacklightCompensation.Capabilities.Supported;

Answer: B

QUESTION 17
Hotspot Question
You are developing a Windows Store app that uses location services. You need to indicate that a user has blocked location services. How should you complete the code segment? (To answer, select the appropriate line of code from the drop-down list in the answer area.)

image
Answer:

image

QUESTION 18
You are developing a Windows Store app that uses a webcam. You need to be notified if new webcams are connected to the system. Which class should you use?

A.    ManagementObjectFinder
B.    FileSystemWatcher
C.    DeviceWatcher
D.    ServiceDevice

Answer: C

QUESTION 19
You are developing a Windows Store app that invokes asynchronous methods to keep the app responsive to user actions. The app must handle exceptions gracefully, so they are never displayed to the user. Which code segment should you use?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: A

QUESTION 20
You are preparing a Windows Store game update for deployment. Game performance must be analyzed by using a profiling tool. You need to ensure that you collect the most accurate performance data for the analysis. Which Visual Studio project configuration options should you use? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Choose the Simulator deployment target for the game.
B.    Use the Release build of the game.
C.    Use the Debug build of the game.
D.    Choose the Local Machine deployment target for the game.

Answer: BD

If you want to pass Microsoft 70-485 successfully, donot missing to read latest lead2pass Microsoft 70-485 practice exams.
If you can master all lead2pass questions you will able to pass 100% guaranteed.

http://www.lead2pass.com/70-485.html

         

Comments are closed.