Achieve New Updated (September) Microsoft 70-491 Examination Questions Topic 3, Scenario 3

Ensurepass

Topic 3, Scenario 3

 

Background

You are developing a Windows Store app. The app will allow ornithologists to photograph migrating geese, taking note of the location, heading, and weather conditions at the time each photo is taken.

 

Business Requirements

The app must adhere to the following requirements:

 

clip_image002Create and store photographs of migrating geese.

clip_image002[1]Record the location and weather conditions where the photograph was taken.

clip_image002[2]Record the heading and time that the photograph was taken.

clip_image002[3]Allow the user to display the information on any device that supports the PlayTo feature.

 

Technical Requirements

General:

The app must meet the following technical requirements:

 

clip_image002[4]The app must store images and image metadata in the Pictures Library.

clip_image002[5]The metadata logic must be encapsulated within a reusable component named LogicComponent1.

clip_image002[6]The metadata logic must be available to Windows Store apps written in Visual Basic, C#, JavaScript, and C++.

 

Hardware:

The app requires a device with camera, compass, and GPS features. The app requires a device with Internet capabilities.

 

CurrentEnvironment.es

clip_image004

clip_image006

 

MainPage.xaml.es

clip_image008

 

Package.appxmanifest

clip_image010

 

GooseTracker.csproj

clip_image012

 

GoosePlayTo.es

clip_image014

 

Camera.cs

clip_image016

 

 

QUESTION 1

DRAG DROP

You need to allow users to capture video instead of photos.

 

You have the following code:

 

clip_image017

 

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_image019

 

Correct Answer:

clip_image021

 

 

QUESTION 2

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”/>

 

Correct Answer: D

Explanation:

http://msdn.microsoft.com/en-us/library/windows/apps/hh464936.aspx

 

QUESTION 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.

 

Correct Answer: D

 

Free VCE & PDF File for Microsoft 70-491 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…