Microsoft Advanced Windows Store App Development using C# (070-485) Free Practice Test
Question 1
DRAG DROP
You are collecting metrics from a Windows Store app that has been deployed to the Windows Store.
You need to collect data to analyze the quality and success of the app.
Which tool should you use for each statistic? (To answer, drag the appropriate metrics to the correct location or locations in the answer area. Each metric 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.)

You are collecting metrics from a Windows Store app that has been deployed to the Windows Store.
You need to collect data to analyze the quality and success of the app.
Which tool should you use for each statistic? (To answer, drag the appropriate metrics to the correct location or locations in the answer area. Each metric 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.)

Correct Answer:

Question 2
You need to ascertain whether the device that the app is running on has a compass.
Which line of code should you insert at line CE43?
Which line of code should you insert at line CE43?
Correct Answer: D
Question 3
HOTSPOT
You are developing a Windows store app that requires text documents. The documents are loaded from a web service and are often larger than 5 MB. The users of the app travel between offices that are located on different continents.
The app must support thousands of documents and use as little local storage as possible.
You need to store the documents to meet the requirements.
You have the following code:

Which code snippets should you insert in Target 1 and Target 2 to complete the code? (To answer, select the correct code snippet from each drop-down list in the answer area.)

You are developing a Windows store app that requires text documents. The documents are loaded from a web service and are often larger than 5 MB. The users of the app travel between offices that are located on different continents.
The app must support thousands of documents and use as little local storage as possible.
You need to store the documents to meet the requirements.
You have the following code:

Which code snippets should you insert in Target 1 and Target 2 to complete the code? (To answer, select the correct code snippet from each drop-down list in the answer area.)

Correct Answer:

Question 4
You are developing a Windows Store app.
The app will support multiple languages. The app has a page named MainPage. The resource file of the page is named MainPage.resw and is located in a folder named /Resources/en-us/.
MainPage.resw contains the data shown in the following table.

You need to parameterize a TextBlock control by using the data in the resource file.
Which XAML markup should you use?
The app will support multiple languages. The app has a page named MainPage. The resource file of the page is named MainPage.resw and is located in a folder named /Resources/en-us/.
MainPage.resw contains the data shown in the following table.

You need to parameterize a TextBlock control by using the data in the resource file.
Which XAML markup should you use?
Correct Answer: B
Question 5
The app metadata logic must be available to other Windows Store apps. You need to register the reusable WinMD component.
What should you do?

What should you do?

Correct Answer: C
Question 6
You are developing a Windows Store app that accesses a USB Human Interface Device (HID). The app has a default page and a settings page.
You need to ensure that when a user connects the USB device, the app starts automatically and opens the settings page.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
You need to ensure that when a user connects the USB device, the app starts automatically and opens the settings page.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: C,E
Question 7
DRAG DROP
You are developing a Windows Store app that caches user application data in the local data store.
The app must create a setting named UserName within a container named UserSettings. The app must store the user name in the local store.
You need to meet the requirements.
How should you complete the code segment? (To answer, drag the appropriate options to the correct location or locations. Each option 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.)

You are developing a Windows Store app that caches user application data in the local data store.
The app must create a setting named UserName within a container named UserSettings. The app must store the user name in the local store.
You need to meet the requirements.
How should you complete the code segment? (To answer, drag the appropriate options to the correct location or locations. Each option 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.)

Correct Answer:

Question 8
DRAG DROP
You need to implement the photo viewer page to meet the business requirements. You have the following code:

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

You need to implement the photo viewer page to meet the business requirements. You have the following code:

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

Correct Answer:

Topic 2, Scenario Geese
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.
BusinessRequirements
The app must adhere to the following requirements:
----
Create and store photographs of migrating geese.
Record the location and weather conditions where the photograph was taken.
Record the heading and time that the photograph was taken.
Allow the user to display the information on any device that supports the PlayTo
feature.
TechnicalRequirements
General:
The app must meet the following technical requirements:
-- -
The app must store images and image metadata in the Pictures Library.
The metadata logic must be encapsulated within a reusable component named
LogicComponent1.
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.





Question 9
HOTSPOT
You are developing a Windows Store app that displays and prints information. You have the following code.

You need to enable printing. How should you complete the initialization of the print functionality? (To answer, select the appropriate element from the drop-down list in the answer area.)

You are developing a Windows Store app that displays and prints information. You have the following code.

You need to enable printing. How should you complete the initialization of the print functionality? (To answer, select the appropriate element from the drop-down list in the answer area.)

Correct Answer:

Question 10
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 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?
Correct Answer: C
Question 11
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:
- If a value for the check box was NOT set, the check box must display
indeterminateGlyph.
- When the check box is selected, the check box must display checkedGlyph.
- If the check box is cleared, the check box must NOT display any glyphs.
You have the following XAML markup: 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.)



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:
- If a value for the check box was NOT set, the check box must display
indeterminateGlyph.
- When the check box is selected, the check box must display checkedGlyph.
- If the check box is cleared, the check box must NOT display any glyphs.
You have the following XAML markup: 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.)



Correct Answer:

Question 12
DRAG DROP
You are developing a Windows Store app.
You need to create and run unit tests for the app.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order,)

You are developing a Windows Store app.
You need to create and run unit tests for the app.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order,)

Correct Answer:
