Microsoft 70-491 Actual Free Exam Questions & Community Discussion
You create a mobile service to send push notifications to the app.
You configure the service and the app to work with Windows Push Notification Services
(WNS).
You add the following code to the App.xaml.cs file:

You need to ensure that the app can access the push notification channel.
What should you do first?
You configure the service and the app to work with Windows Push Notification Services
(WNS).
You add the following code to the App.xaml.cs file:

You need to ensure that the app can access the push notification channel.
What should you do first?
Correct Answer: B
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
DRAG DROP
You are developing a Windows Store app.
The app has the following requirements:
- Open the Search charm.
- Provide query suggestions by using the GetSuggestions() method-
You need to ensure that the app meets 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, 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.
The app has the following requirements:
- Open the Search charm.
- Provide query suggestions by using the GetSuggestions() method-
You need to ensure that the app meets 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, 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:

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

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

Correct Answer:

DRAG DROP
You are developing a Windows Store app.
You need to identify the effects of applying Microsoft design principles to the user interface.
Which effects result from the design principles? (To answer, drag the appropriate effects to the correct locations in the answer area. Each effect 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.
You need to identify the effects of applying Microsoft design principles to the user interface.
Which effects result from the design principles? (To answer, drag the appropriate effects to the correct locations in the answer area. Each effect 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:

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 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: B
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
You need to create the ButtonForegroundColor resource. Which code segment should you insert at line XA09?


Correct Answer: D
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
You are developing a Windows Store app.
You create a custom control named AppSettingsFlyout, which is inherited from the
SettingsFlyout control.
You need to ensure that the Settings flyout of the app is available from the charm bar.
When the flyout is dismissed, users must be returned to the Settings pane. You have the following code. (Line numbers are included for reference only.)

Which code segment should you insert at line 05?
You create a custom control named AppSettingsFlyout, which is inherited from the
SettingsFlyout control.
You need to ensure that the Settings flyout of the app is available from the charm bar.
When the flyout is dismissed, users must be returned to the Settings pane. You have the following code. (Line numbers are included for reference only.)

Which code segment should you insert at line 05?
Correct Answer: B
Vote an answer
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.)

Correct Answer:

A photo competition is ending.
You need to meet the requirements when a user clicks the toast notification.
Which code segment should you use?

You need to meet the requirements when a user clicks the toast notification.
Which code segment should you use?

Correct Answer: B
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
HOTSPOT
You are developing a Windows Store app.
You configure the app to support AutoPlay when a portable media player is connected to a
Windows 8.1 device.
You need to verify whether the app was initiated from AutoPlay.
What code should you add to the OnActivated event handler? (To answer, select the
appropriate options in the answer area.)


You are developing a Windows Store app.
You configure the app to support AutoPlay when a portable media player is connected to a
Windows 8.1 device.
You need to verify whether the app was initiated from AutoPlay.
What code should you add to the OnActivated event handler? (To answer, select the
appropriate options in the answer area.)


Correct Answer:

0
0
0
10
