It is impossible to pass Microsoft 70-491 exam without any help in the short term. Come to Actualtests soon and find the most advanced, correct and guaranteed Microsoft 70-491 practice questions. You will get a surprising result by our Down to date Recertification for MCSD: Windows Store Apps using C# practice guides.

Q17. - (Topic 9) 

You are developing a Windows Store app that includes the following controls: 

. The ApplicationView control, which is entirely opaque, displays content that the app displays under normal circumstances. 

. The MessageView control, parts of which are transparent displays information messages in exceptional circumstances. 

You are creating an app page that includes the ApplicationView and MessageView controls. 

When both controls are visible, you have the following requirements: 

. The controls must expand to fill the entire page. . The ApplicationView control must be recognizable through the transparent portions of the MessageView control. 

You need to create the page content. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q18. - (Topic 9) 

You are developing a Windows Store app that will display a toast notification. 

You need to ensure that when a toast notification is displayed, the first line of the notification is bold. 

Which template should you use? 

A. TileSquareText03 

B. ToastText01 

C. TileSquarePeeklmageAndText01 

D. ToastImageAndText02 

Answer:

Explanation: ToastImageAndText02 A large image, one string of bold text on the first line, one string of regular text wrapped across the second and third lines. 


Q19. - (Topic 3) 

You place a breakpoint at line MP31 in the app. 

When you debug the app, the debugger continuously catches a 

System.UnauthorizedAccess exception. 

You need to resolve the exception. 

What should you do? 

A. Wrap lines CE43 through CE46 in a try-catch statement. 

B. At line MP10, change the code segment to the following line of code. 

read if(cameraUI != null) 

C. Move line CE09 to CE16. 

D. At line PA25, insert the following line of code. <Capability Name="picturesLibrary"/> 

Answer:

Explanation: 

http://msdn.microsoft.com/en-us/library/windows/apps/hh464936.aspx 


Q20. - (Topic 9) 

You are designing a Windows Store app to manage image and video files. 

The app must meet the following requirements: 

Video files must be stored locally on each device. 

The app must use local storage for data caching. 

User settings must be shared across multiple devices. 

Image files must be available across multiple devices. 

Metadata for images must be stored in a central database. 

Image files, video files, and their associated metadata must load as quickly as 

possible. 

You need to identify which data must be cached based on the app requirements. 

Which two types of data should you identify? (Each correct answer presents part of the solution. Choose two.) 

A. User settings 

B. Video files 

C. Image files 

D. Metadata 

Answer: C,D 

Explanation: Image files, video files, and their associated metadata must load as quickly as possible. http://msdn.microsoft.com/en-us/library/windows/desktop/aa365201(v=vs.85).aspx 


Q21. - (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:

Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.application.onlaunched.aspx 


Q22. DRAG DROP - (Topic 9) 

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

Answer: 


Q23. 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: 


Q24. - (Topic 4) 

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

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: