
Microsoft Recertification for MCSD: Windows Store Apps using C# - 70-491 Exam Questions
QUESTION NO: 1
You need to track the screen orientation and page size. Which code segment should you insert at line CS09?

You need to track the screen orientation and page size. Which code segment should you insert at line CS09?

Correct Answer: A
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 2
You are developing a Windows Store app that will provide users with the ability to save annotations to text files.
You have the following code segment: (Line numbers are included for reference only.)

You need to add the contents of data to the beginning of file. Which code segment should you insert at line 03?

You are developing a Windows Store app that will provide users with the ability to save annotations to text files.
You have the following code segment: (Line numbers are included for reference only.)

You need to add the contents of data to the beginning of file. Which code segment should you insert at line 03?

Correct Answer: C
QUESTION NO: 3
You need to implement the photo viewer control to meet the requirements.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
You need to implement the photo viewer control to meet the requirements.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
Correct Answer: B,C,D
QUESTION NO: 4
You are developing a Windows Store app named GeoLoc. You have the following code:

When you run the app on some devices, you receive the following error message: "An exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll but was not handled in user code."
You need to resolve the issue that causes the exception to occur.
Which file should you modify?
You are developing a Windows Store app named GeoLoc. You have the following code:

When you run the app on some devices, you receive the following error message: "An exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll but was not handled in user code."
You need to resolve the issue that causes the exception to occur.
Which file should you modify?
Correct Answer: D
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 5
You need to implement a custom control to display thumbnail images of video clips. Which code segment should you use?

You need to implement a custom control to display thumbnail images of video clips. Which code segment should you use?

Correct Answer: B
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 6
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,)

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

Correct Answer:

QUESTION NO: 7
You are developing an app that will be used to purchase and share music. Users will be allowed to share only content that they have purchased.
You need to display a message within the Share charm when users attempt to share content that they have not purchased.
What should you do?
You are developing an app that will be used to purchase and share music. Users will be allowed to share only content that they have purchased.
You need to display a message within the Share charm when users attempt to share content that they have not purchased.
What should you do?
Correct Answer: A
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 8
You need to configure toast notifications for the photo competition. Which code segment should you use?

You need to configure toast notifications for the photo competition. Which code segment should you use?

Correct Answer: D
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 9
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 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.)
Correct Answer: A,B
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 10
DRAG DROP
You are developing your first Windows Store app and submitting it to the Windows Store.
The app uses a cloud server to send notifications by using Windows Push Notification
Service (WNS).
You need to authenticate the cloud server with WNS.
Which five 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.)

DRAG DROP
You are developing your first Windows Store app and submitting it to the Windows Store.
The app uses a cloud server to send notifications by using Windows Push Notification
Service (WNS).
You need to authenticate the cloud server with WNS.
Which five 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:





