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

certleader.com

Q1. DRAG DROP - (Topic 9) 

You are developing a Windows Store app that provides users with the ability to make short audio recordings if an audio device is available. 

You need to ensure that the users can replay the audio recording before they save the recording. 

You have the following code: (Line numbers are included for reference only.) 

Which code segments should you insert at lines 02, 07 and 10? (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:  

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

Q3. HOTSPOT - (Topic 2) 

You need to verify whether the app conforms to the Windows Store requirements. 

What command should you run? (To answer, select the appropriate options in the answer area.) 

Answer:  

Q4. - (Topic 9) 

You are developing a Windows Store app. The app has the following requirements: 

. Files must be stored on a device's file system so other Windows Store apps can access them. 

. Additional configuration must be performed to make the location of the files available to other Windows Store apps. 

You need to meet the requirements. 

Where should you store the files? (Each correct answer presents a complete solution. Choose all that apply.) 

A. Removable devices 

B. App data locations 

C. User's download folder 

D. Documents library 

E. App install directory 

Answer: A,E 

Q5. HOTSPOT - (Topic 9) 

You are developing a Windows Store app. 

The app will use certificates issued by a standalone certification authority (CA) for authentication. The standalone CA certificate is stored in a file named Ca.cer. You need to configure the app manifest to ensure that the app can use certificates issued by the standalone CA. 

You have the following XAML markup in the app manifest: 

Which code snippets should you insert in Target 1 and Target 2 to complete the XAML markup? (To answer, select the correct code snippet from each drop-down list in the answer area.) 

Answer:  

Q6. - (Topic 9) 

You are developing a Windows Store app. 

The app will access several web resources that use an OAuth 2.0 authentication provider. 

You need to recommend in which class to store user credentials so that users do not have 

to reenter their credentials when they access the web resources. 

Which class should you recommend? 

A. System.Net.AuthenticationManager 

B. System.Net.NetworkCredential 

C. Windows.Security.Credentials.WebAccount 

D. Windows.Security.Credentials.PasswordVault 

Answer:

Explanation: The task of storing and retrieving user credentials securely and allowing user credentials roam at no cost with the user’s Microsoft account is simplified with the Credential Locker. Storing user credentials in the Credential Locker is a quick, two-step process. 1.Obtain a reference to the Credential Locker using the PasswordVault object from the Windows.Security.Credentials namespace. 2.Create a PasswordCredential object that contains an identifier for your app, the username and the password, and pass that to the PasswordVault.Add method to add the credential to the locker. 

Q7. DRAG DROP - (Topic 9) 

You are developing a Windows Store app. 

You need to create and run unit tests for the app. 

Which three 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:  

Q8. DRAG DROP - (Topic 9) 

You are developing a Windows Store app. 

The app has the following accessibility requirements: . The automation name of each text box must be the same as the text box caption. . Each Label element must be associated with its corresponding text box. You need to create an interface that meets the requirements. 

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:  

Q9. - (Topic 9) 

You are developing a Windows Store app. 

You declare a Search declaration in the app manifest and you add a search results page. 

You plan to display search results by using a Query Text property that derives from EventArgs, 

You need to ensure that users can use the Search charm to search for content within the app. 

What should you do? 

A. Add an event handler for the SearchPane.QuerySubmitted event to App.xaml.cs. Register the event handler in the constructor of the page. 

B. Add an event handler for the SearchPane.QueryChanged event to MainPage.xaml.es. Register the event handler in the OnWindowCreated method in MainPage.xaml.es. 

C. Add an event handler for the SearchPane.QuerySubmitted event to MainPage.xaml.es. Register the event handler in the OnWindowCreated method in MainPage.xaml.es. 

D. Add an event handler for the SearchPane.QuerySubmitted event to App.xaml.cs. Register the event handler in the OnWindowCreated method of the page. 

Answer:

Q10. - (Topic 9) 

You are developing a Windows Store app. You have the following requirements: 

. Enable the app to receive shared data. 

. Save the sharing settings for future use. 

You need to ensure that the requirements are met. 

What should you implement? 

A. a play to charm 

B. a Share target 

C. a share charm 

D. a QuickLink 

Answer:

Explanation: * When people swipe from the side of the screen and tap the Share charm, 

the Share pane appears with a list of apps people can use to share their content. This list 

includes any installed apps that are “share targets” for a particular data format. 

The links at the top of the image, called QuickLinks, allow users to complete specific share 

tasks directly. 

* QuickLink class Applies to Windows and Windows Phone Represents shortcuts that help users share content with the apps they use most.