Microsoft Recertification for MCSD: Windows Store Apps using C# - 70-491 模擬練習
You are developing a Windows Store multi-player game.
You need to ensure that the game can authenticate users by using the credentials of a third-party social networking site.
Which class should you use?
You need to ensure that the game can authenticate users by using the credentials of a third-party social networking site.
Which class should you use?
正解: D
解説: (PassTest メンバーにのみ表示されます)
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.)
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.)
正解: A,C,F
解説: (PassTest メンバーにのみ表示されます)
You are developing a Windows Store app that will be used as an IT support ticket system.
You need to ensure that user settings are available to only a single device.
Which property should you use?
You need to ensure that user settings are available to only a single device.
Which property should you use?
正解: A
解説: (PassTest メンバーにのみ表示されます)
DRAG DROP
You are developing a Windows Store app that includes three objects. A data template named SceneTemplate provides the correct view for all of the objects.
The objects must be rendered as full-screen scenes that users can navigate between by
swiping.
You need to create the content of a page that renders each object to meet the requirement.
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.)

You are developing a Windows Store app that includes three objects. A data template named SceneTemplate provides the correct view for all of the objects.
The objects must be rendered as full-screen scenes that users can navigate between by
swiping.
You need to create the content of a page that renders each object to meet the requirement.
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.)

正解:

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



正解:

DRAG DROP
You are developing a Windows Store app.
The following code segment defines an event procedure. (Line numbers are included for reference only.)

You need to define a custom help setting in the event procedure.
Which three code segments should you insert in sequence at line 03? (To answer, move the appropriate code segments to the answer area and arrange them in the correct order.)

You are developing a Windows Store app.
The following code segment defines an event procedure. (Line numbers are included for reference only.)

You need to define a custom help setting in the event procedure.
Which three code segments should you insert in sequence at line 03? (To answer, move the appropriate code segments to the answer area and arrange them in the correct order.)

正解:

You need to create the ButtonForegroundColor resource. Which code segment should you insert at line XA09?


正解: A
解説: (PassTest メンバーにのみ表示されます)
You are developing a Windows Store app.
The app will store user names and passwords by using Windows Azure.
You need to recommend a method to store the passwords. The solution must minimize the likelihood that the passwords will be compromised.
Which algorithm should you recommend using?
The app will store user names and passwords by using Windows Azure.
You need to recommend a method to store the passwords. The solution must minimize the likelihood that the passwords will be compromised.
Which algorithm should you recommend using?
正解: B
解説: (PassTest メンバーにのみ表示されます)
DRAG DROP
You are developing a page for a Windows Store app.
You have the following requirements for the page:
- Display a button on the bottom app bar that allows the user to insert a picture. This button must be bound to the Insert command in the view model. - Display a button in the main content area of the page that allows the user to open documents. This button must be bound to the Open command in the view model.
You need to ensure that the requirements are met.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment 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 page for a Windows Store app.
You have the following requirements for the page:
- Display a button on the bottom app bar that allows the user to insert a picture. This button must be bound to the Insert command in the view model. - Display a button in the main content area of the page that allows the user to open documents. This button must be bound to the Open command in the view model.
You need to ensure that the requirements are met.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment 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.)

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

正解:
