Microsoft 70-491 - Recertification for MCSD: Windows Store Apps using C# Exam

Question #6 (Topic: Topic 2)
You need to verify whether the app conforms to the Windows Store requirements.
What command should you run? (To answer, select the appropriate options in the answer
area.)
[Microsoft-70-491-6.0/Microsoft-70-491-16_3.png]
[Microsoft-70-491-6.0/Microsoft-70-491-17_2.png]
Answer: [Microsoft-70-491-6.0/Microsoft-70-491-17_3.png]
Question #7 (Topic: Topic 3)
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 GetLocationAsync() 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 ReportInterval property of the Compass object to 16. C. set the ReportInterval 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 #8 (Topic: Topic 3)
You need to allow users to capture video instead of photos.
You have the following code:
[Microsoft-70-491-6.0/Microsoft-70-491-23_2.png]
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.)
[Microsoft-70-491-6.0/Microsoft-70-491-23_3.png]
Answer: [Microsoft-70-491-6.0/Microsoft-70-491-24_2.png]
Question #9 (Topic: Topic 3)
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 #10 (Topic: Topic 4)
You need to create the ButtonForegroundColor resource.
Which code segment should you insert at line XA09?
[Microsoft-70-491-6.0/Microsoft-70-491-28_3.png]
A. Option A B. Option B C. Option C D. Option D
Answer: A
Download Exam
Page: 2 / 19
Total 91 questions