70-491 Exam Questions
60 real 70-491 exam questions with expert-verified answers and explanations. Page 1 of 2.
- Question #6Develop Windows Store Apps
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 followin...
push notificationsWNSGetChannelOnLaunched - Question #7
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....
- Question #9Develop Windows Store Apps
Users report performance issues when getting the location information associated with a photo. You suspect the app is encountering performance issues in the GetLocationAsync() meth...
performance optimizationasync locationsensor managementclass-level variable - Question #10Create user interfaces
You need to localize the Picture Sharer app in the required language. Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)
localizationXAML Uid attributeresource files .reswlocale folders - Question #11
You need to configure the Picture Sharer app to support only the required device orientations. What should you do?
- Question #12Create user interfaces
You need to create the ButtonForegroundColor resource. Which code segment should you insert at line XA09?
XAML resourcesResourceDictionarySolidColorBrushforeground color - Question #13Create user interfaces
You need to track the screen orientation and page size. Which code segment should you insert at line CS09?
screen orientationpage sizeSizeChanged eventDisplayProperties - Question #14Prepare for deployment
You need to enable the capabilities that allow communication according to the technical requirements. Which capabilities should you enable? (Each correct answer presents part of th...
app capabilitiesSSL certificatesInternet (Client)networking - Question #15Manage data
You need to protect the metadata for the secure documents. Which protection descriptor should you use for the DataProtectionProvider object?
DataProtectionProviderprotection descriptorLOCAL=userdata encryption - Question #17Manage data
You need to implement storage for the user preferences. Which storage solutions can you use to meet the specification for the app? (Each correct answer presents a complete solution...
user preferencesRoamingSettingsLocalFolderApplicationData - Question #18
You need to make available the content that is provided by the design team. Which markup segment should you use?
- Question #19
You need to create a custom template for a Listview control that will be located on a page that has the NewsSource object bound to the DataContext property. Which code segment shou...
- Question #20Implement program flow
You need to authenticate to a social networking site. Which code segments should you insert at line SR40? (Each correct answer presents part of the solution. Choose all that apply....
WebAuthenticationBrokerOAuthSilentModeSecureString - Question #21
You need to implement the photo viewer control to meet the requirements. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
- Question #22
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.)
- Question #23Create user interfaces
You need to implement a custom control to display thumbnail images of video clips. Which code segment should you use?
custom controlthumbnail imagesvideo clipsXAML templating - Question #24
You need to access the remote image data according to the requirements. Which data storage methods should you use?
- Question #25Implement program flow
A photo competition is ending. You need to meet the requirements when a user clicks the toast notification. Which code segment should you use?
toast notificationOnLaunchedactivation argumentsapp lifecycle - Question #26
You need to configure toast notifications for the photo competition. Which code segment should you use?
- Question #27
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 functionalit...
- Question #29Prepare for deployment
You are developing a Windows Store app that will provide users with the ability to create photos by using the hardware on a device. Once the users create the photos, they can save...
app capabilitieswebcampictures libraryinternet client server - Question #30Create user interfaces
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...
toast notification templatesToastImageAndText02bold textnotification UI - Question #31
You are developing a Windows Store app. You need to create a service for the app to receive push notifications from Windows Push Notification Services (WNS). Which tool should you...
- Question #33
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...
- Question #34Manage data
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 write...
data encryptionIBuffersymmetric encryptionsystem resources - Question #36Manage data
You are developing a Windows Store app named VideoPlayer. The app will provide user with the ability to select video files by using the file picker and to play the video. You need...
StorageApplicationPermissionsMostRecentlyUsedListfile access cacheapp termination - Question #38
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 we...
- Question #39
You are developing a Windows Store app. The app will store user names and passwords by using Windows Azure. You need to recommend a method to store the passwords. The solution must...
- Question #40
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...
- Question #41
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. Whi...
- Question #43
You are designing a Windows Store app that creates large amounts of temporary binary data each time it is run. You need to ensure that data is persisted while the app is running bu...
- Question #44
You are developing a Windows Store app that will provide users with the ability to save annotations to text files. You have the following code segment: (Line numbers are included f...
- Question #46
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...
- Question #47Implement program flow
You are developing a Windows Store multi-player game. You need to ensure that the game can authenticate users by using the credentials of a third-party social networking site. Whic...
WebAuthenticationBrokerOAuthsocial networkingthird-party authentication - Question #49
You are developing a Windows Store app. You create a custom control named AppSettingsFlyout, which is inherited from the SettingsFlyout control. You need to ensure that the Setting...
- Question #50Implement program flow
You are developing an app that will be used to purchase and share music. Users will be allowed to share only content that they have purchased. You need to display a message within...
Share charmDataRequestFailWithDisplayTextcontent sharing - Question #53
You are developing a Windows Store app that accesses a USB Human Interface Device (HID). The app has a default page and a settings page. You need to ensure that when a user connect...
- Question #61Implement program flow
You are developing a Windows Store app. The app contains a page named MainPage. The page contains a media element named videoPlayer and a button named btnPlayTo. You need to provid...
Play ToPlayToManagerdevice selectionmedia streaming - Question #63
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. - Addi...
- Question #65Implement program flow
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 p...
Devices charmPlayToManagermedia elementOnNavigatedTo - Question #66Manage data
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...
data cachinglocal storageimage filesmetadata - Question #71Implement program flow
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...
OAuth credentialsPasswordVaultWebAccountcredential storage - Question #73Implement program flow
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...
Share targetQuickLinksharing settingsdata sharing - Question #75
You are developing a Windows Store app that beeps when a device is turned upside down. You need to identify which type of sensor to use for the app. Which sensor should you identif...
- Question #76
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...
- Question #77
You are developing a Windows Store app that allows users to record audio and video files and save them to their devices. You have the following requirements: - The audio and video...
- Question #82Prepare for deployment
You are developing a Windows Store app named GeoLoc. You have the following code: When you run the app on some devices, you receive the following error message: "An exception of ty...
Package.appxmanifestapp capabilitiesUnauthorizedAccessExceptionlocation permissions - Question #83
You are developing a Windows Store app. The app will access a web service. You need to declare the web service Uniform Resource Identifier (URI). Which file should you modify?
- Question #86
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 n...
- Question #92
You are developing a Windows Store app that has four pages. Page 1 and page 2 share a set of styles. Page 3 and page 4 share a different set of styles. You need to recommend a solu...