Microsoft Recertification for MCSD: Windows Store Apps using C# Sample Questions:
1. 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 Landscape orientations.
B) In the App.manifest file, configure the Portrait and Portrait-flipped orientations.
C) In the App.xaml file, configure the Portrait and Portrait-flipped orientations.
D) In the PictureSharerMainPage.xaml file, configure the Landscape and Landscape-flipped orientations.
E) In the Package.appxmanifest file, configure the Snapped and Filled orientations.
F) In the Package.appxmanifest file, configure the Landscape and Landscape-flipped orientations.
2. 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) At line MP10, change the code segment to the following line of code. read if(cameraUI != null)
B) Wrap lines CE43 through CE46 in a try-catch statement.
C) At line PA25, insert the following line of code. <Capability Name="picturesLibrary"/>
D) Move line CE09 to CE16.
3. You need to access the remote image data according to the requirements.
Which data storage methods should you use?
A) SaveDataToRemoteStorage() and GetDataFromRemoteStorage()
B) SaveDataToSqlAzureStorage() and GetDataFromSqlAzureStorage()
C) SaveDataToAzureStorage() and GetDataFromAzureStorage()
D) SaveDataToWebService() and GetDataFromWebService()
4. You are developing a Windows Store app.
The app contains a page named MainPage. The page contains a media element named videoPlayer.
You need to provide users with the ability to play the contents of videoPlayer on different devices by using the Devices charm.
Which two code segments should you add to the OnNavigateTo event handler on MainPage? (Each correct answer presents part of the solution. Choose two.)
A) Option B
B) Option E
C) Option D
D) Option A
E) Option C
5. 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.)

Solutions:
| Question # 1 Answer: F | Question # 2 Answer: C | Question # 3 Answer: D | Question # 4 Answer: A,C | Question # 5 Answer: Only visible for members |
We're so confident of our products that we provide no hassle product exchange.


By Noah

