70-491 Exam - Recertification for MCSD: Windows Store Apps using C#

certleader.com

Q1. - (Topic 4) 

You need to configure the Picture Sharer app to support only the required device orientations. 

What should you do? 

A. In the App.xaml file, configure the Portrait and Portrait-flipped orientations. 

B. In the Package.appxmanifest file, configure the Snapped and Filled orientations. 

C. In the PictureSharerMainPage.xaml file, configure the Landscape and Landscape-flipped orientations. 

D. In the App.xaml file, configure the Portrait and Landscape orientations. 

E. In the App.manifest file, configure the Portrait and Portrait-flipped orientations. 

F. In the Package.appxmanifest file, configure the Landscape and Landscape-flipped orientations. 

Answer:

Q2. - (Topic 9) 

You are developing a Windows Store app that will be used to access large files stored 

online. 

The files will be shared between users worldwide. 

You need to recommend a solution to ensure that the users can download the files as quickly as possible. 

Which storage solution should you recommend? 

A. OneDrive 

B. Microsoft Azure Mobile Services 

C. A roaming folder 

D. Microsoft Azure Content Delivery Network (CDN) 

Answer:

Q3. - (Topic 9) 

You plan to create a custom panel that displays a pie chart. Each value of the pie chart will 

have a control. 

You need to register a custom dependency property to the panel. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q4. - (Topic 9) 

You plan to develop a Windows Store app to create pictures. 

Users of the app will be able to save the pictures that they create and to share the pictures with friends by using a web link. 

You need to ensure that the friends can makes comments on the shared pictures. 

Which storage technology should you use? (More than one answer choice may achieve the goal. Select the BEST answer.) 

A. Roaming storage 

B. Microsoft Azure blob storage 

C. Microsoft Azure Mobile Services 

D. One Drive 

Answer:

Q5. - (Topic 9) 

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? 

A. Windows.Storage.ApplicationData.Current.LocalFolder 

B. Windows.Storage.ApplicationData.Current.LiveSyncFolder 

C. Windows.Storage.ApplicationData.Current.RoaimingFolder 

D. Windows.Storage.ApplicationData.DefaultRemoteFolder 

Answer:

Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.aspx 

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

Q7. - (Topic 4) 

You need to create the ButtonForegroundColor resource. 

Which code segment should you insert at line XA09? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

* Create a resource named ButtonForegroundColor to implement the button foreground color so that it can be referenced in XAML by using the following standard syntax: Foreground-"{StaticResourceButtonForegroundColor}" 

* SolidColorBrush 

Q8. DRAG DROP - (Topic 1) 

You need to write code for the method that will be called when a user takes a picture. (Develop the solution by arranging the code snippets. You will need all of the code snippets.) 

Answer:  

Q9. - (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 

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