Want to know Exambible 70-491 Exam practice test features? Want to lear more about Microsoft Recertification for MCSD: Windows Store Apps using C# certification experience? Study Breathing Microsoft 70-491 answers to Renew 70-491 questions at Exambible. Gat a success with an absolute guarantee to pass Microsoft 70-491 (Recertification for MCSD: Windows Store Apps using C#) test on your first attempt.
Q21. DRAG DROP - (Topic 5)
You need to meet the app caching requirements.
Which caching technique should you use in each scenario? (To answer, drag the appropriate technique to the correct scenario. Each technique 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.)
Answer:
Q22. DRAG DROP - (Topic 9)
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.)
Answer:
Q23. DRAG DROP - (Topic 3)
You need to allow users to capture video instead of photos.
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.)
Answer:
Q24. - (Topic 2)
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?
A. Add a call to GetChannel in the OnLaunched event handler of the app.
B. Set the Uri property of pushChannel in the OnActivated event handler of the app.
C. Set the Uri property of pushChannel in the OnLaunched event handler of the app.
D. Add a call to GetChannel in the OnActivated event handler of the app.
Answer: A
Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.application.onlaunched.aspx
Q25. - (Topic 9)
You are developing a Windows Store app to view MP4 videos.
You need to ensure that when a user double-clicks an MP4 file, the app starts and plays
back the video automatically.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)
A. Add the Videos Library capability to the Appxmanifest file.
B. Modify the OnActivated event of the App.xaml.cs file to pass ProtocolActivatedEventArgs to the page if ActivatedEventArgs.Kind == ProtocolActivatedEventArgs.
C. Add a File Type Associations declaration to the Appxmanifest file.
D. Add an OnFileActivated event handler to the App.xaml.cs file.
E. Add an AutoPlay Content declaration to the Appxmanifest file.
Answer: C,D
Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj191724.aspx
Q26. - (Topic 9)
You are developing a Windows Store app.
The app will store data in a text file.
You create the following method to store encrypted text in the text file:
The WriteData method writes the contents of an IBuffer object to a StorageFile object.
You need to recommend a solution to encrypt the data. The solution must minimize the use
of system resources and must ensure that the app can decrypt the data.
Which code segment should you recommend adding to line 06?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q27. HOTSPOT - (Topic 9)
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.)
Answer:
Q28. DRAG DROP - (Topic 9)
You are developing an app that converts text to speech.
You need to ensure that the app can read text from open documents.
You have the following code for the reading function of the app. (Line numbers are included
for reference only.)
Which code segments should you insert at lines 03, 05, and 08? (To answer, drag the appropriate code segments to the correct locations. 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.)
Answer:
Q29. - (Topic 9)
You are developing a Windows Store app that will provide users with the ability to subscribe to content by using in-app purchases.
You need to test the in-app purchase functionality of the app before you deploy the app to the Windows Store.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Modify the Package.appxmanifest file.
B. Use the CurrentAppSimulator class.
C. Modify the App.xaml file.
D. Modify the Windowsstoreproxy.xml file.
E. Use the CurrentApp class.
Answer: B,E
Q30. - (Topic 7)
You need to implement the requirements for the playback of media.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Add the following line of code at line MC02.
private void ShowPlayTo()
{
Windows.Media.PlayTo.PlayToManager.ShowPlayToUI();
}
B. Add the following line of code at line MC06.
ptMgr.DefauitSourceSelection = false;
C. Add the following line of code at line MC10.
ptMgr.PlayRequested += SourceRequestHandler;
D. Add the following line of code at line MC05.
ptMgr.SourceRequested += SourceRequestHandler;
Answer: B,D
Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.media.playto.playtomanager.aspx