You need to ensure that the web service is called periodically whether the app is running or suspended
You are developing a Windows Store app for devices connected to AC power.
The app must meet the following requirements:
The app must download movie reviews from a web service once per hour.
The app must have new movie reviews ready for the user when the user interacts with the app.
The app cannot interact with the lock screen.
You need to ensure that the web service is called periodically whether the app is running or
suspended. What should you do?
Which code segment should you use?
You are developing a Windows Store app. The app will receive push notifications from the Windows
Push Notification Services (WNS).
You store the secret for authentication in a variable named encodedSecret. You store the security ID
for authentication in a variable named encdedSid. Both variables contain string data encoded for use
in a Uniform Resource Identifier (URI).
You create a WebClient object named client.
You need to use the client object to retrieve an OAuth token as a string and to store the string in a
variable named response.
Which code segment should you use?
Which three capabilities should you identify?
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.)
You need to ensure that the app can run only if the device is located in a specified location
You are developing a Windows Store app.
You need to ensure that the app can run only if the device is located in a specified location. If the
device is moved from the location while the app is running, the app must be disabled.
What should you use? (More than one answer choice may achieve the goal. Select the BEST answer.)
Which code segment should you use?
For each of the following statements, select Yes if the statement is true…
HOTSPOT
You are developing a Windows Store app.
A file named Test.csv contains the following content:
You have a project that contains the following code:
The Test1 function is the only test in the project.
For each of the following statements, select Yes if the statement is true. Otherwise select No. Each
correct selection is worth one point.
You need to use a control to display multiple elements
You develop several Windows Store apps.
You need to use a control to display multiple elements.
The control has the following requirements:
• Each item must be displayed as a button.
• When a user clicks a button, the button must show that it was clicked.
• Developers must be able to bind the control to a collection.
• Developers must be able to handle an event when items are selected.
• Developers must be able to specify whether the control provides users with the ability to
select either one or multiple items.
What should you use? (More than one answer choice may achieve the goal. Select the BEST answer.)
Which code snippets should you insert in Target 1, Target 2, Target 3, Target 4, Target 5 and Target 6 to comp
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.)
Which code snippets should you include in Target 1 and Target 2 to complete the code?
DRAG DROP
You are developing a Windows Store app that logs error information to be used for troubleshooting.
You need to create a log that will contain the events to be used by Event Tracing for Windows (ETW).
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.)
Which code snippets should you include in Target 1, Target 2 and Target 3 to complete the code?
DRAG DROP
You need to develop an app to measure whether a surface is level. The app will be used on devices
that have a gyrometer.
You have the following code:
Which code snippets should you include in Target 1, Target 2 and Target 3 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.)