| Exam Code/Number: | 70-491Join the discussion |
| Exam Name: | Recertification for MCSD: Windows Store Apps using C# |
| Certification: | Microsoft |
| Question Number: | 91 |
| Publish Date: | Aug 21, 2026 |
|
Rating
100%
|
|
DRAG DROP
You are developing a Windows Store app that uses a light sensor to detect and respond to light changes. An object named lightSensor is an instance of the sensor service.
The light sensor must detect changes once per second. If the sensor is unable to record as fast as once per second, then it must use the fastest interval possible.
You need to ensure that the app meets the 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.)

HOTSPOT
You are developing a Windows Store app.
The app receives badge notifications from Windows Push Notification Services (WNS).
You configure the app to establish a communication channel with WNS. You use a variable named pushChannel to store the notification channel object used for communication. You add the following line of code to the app:
Which code snippets should you insert in Target 1, Target 2 and Target 3 to complete the code? (To answer, select the correct code snippet from each drop-down list in the answer area.)

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?
DRAG DROP
You are developing a Windows Store social media app. The app communicates with the server by using a secure web service.
You need to ensure that users can securely store and retrieve web service credentials. You have the following code:
Which code snippets should you insert 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.)

DRAG DROP
You are developing a Windows Store app.
The app will provide users with the ability to play music remotely on another user's device
and then the other users will guess the name of the song.
You need to access the music storage and to retrieve files and folders.
You have the following code:
Which elements should you include in Target 1, Target 2, Target 3 and Target 4 to complete the code? (To answer, drag the appropriate elements to the correct targets in the answer area. Each element 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.)
