Exam Code: 70-485 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Advanced Metro style App Development using C#
Certification Provider: Microsoft
Free Today! Guaranteed Training- Pass 70-485 Exam.
Q31. You need to set the WhiteBalance property for the app. Which line of code should you insert at line CA10?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Q32. 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
Answer: ABD
Q33. 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
Q34. You are developing a Windows Store app that requires access to a user's location.
A user denies the app access to the location service.
You need to handle the error that results when the app calls the GetGeopositionAsync() method.
What should you do?
A. Modify the app manifest to enable Location services and query the user.
B. Display an interface for the user to enable location and rerun the method.
C. Catch the exception using a try-catch statement.
D. Modify the app.config file to enable Location services and query the user.
E. Catch the exception using a try-catch async statement.
Answer: C
Q35. You need to set the PlayTo source in the LoadFile() method. Which line of code should you insert at line PT30?
A. element.SetSource(videoFile, contentType);
B. playToManager.SetSource(stream, contentType);
C. dispatcher.SetSource(stream, contentType);
D. element.SetSource(stream, contentType);
Answer: D
Q36. 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
Q37. You create the following method in a Utility class: (Line numbers are included for reference only.)
You need to complete the code to meet the requirement for displaying the last 10 viewed pictures.
What code should you add to line 04? (More than one answer choice may achieve the goal. Select the BEST answer.)
A. StorageApplicationPermissions.FutureAccessList.Add(file, file.Name);
B. StorageApplicationPermissions.MostlyRecentlyUsedl_ist.Add(file, file.Name);
C. StorageItemMostRecentlyUsedList.Entries.Add(file, file.Name);
D. StorageItemAccessList.Entries.Add(file, file.Name);
Answer: A
Q38. 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. DevicelnformationWatcher
B. EnclosureLocation
C. DeviceWatcher
D. DevicelnformationCollection
Answer: C
Q39. 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
Q40. You are developing a Windows Store app.
The app has the following requirements:
. The app must print from the Devices charm.
. In-app printing must be invoked by using a Print button on the user interface.
You need to ensure that the user can print documents successfully.
Which code segments should you use? (Each answer presents part of the solution. Choose all that apply.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: BD