Actualtests offers free demo for 70-491 exam. "Recertification for MCSD: Windows Store Apps using C#", also known as 70-491 exam, is a Microsoft Certification. This set of posts, Passing the Microsoft 70-491 exam, will help you answer those questions. The 70-491 Questions & Answers covers all the knowledge points of the real exam. 100% real Microsoft 70-491 exams and revised by experts!
Q1. 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:
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. DRAG DROP - (Topic 9)
You are developing a Windows Store app that includes three objects. A data template
named SceneTemplate provides the correct view for all of the objects.
The objects must be rendered as full-screen scenes that users can navigate between by
swiping.
You need to create the content of a page that renders each object to meet the requirement. 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:
Q4. - (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: A
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
Q5. - (Topic 5)
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 the solution. Choose all that apply.)
A. Shared User Certificates
B. SSL Certificates
C. Internet (Client)
D. Default Windows Credentials
Answer: B,C
Explanation: B: From scenario:
Communication between the app and e-book vendors must occur over an encrypted
communication channel.
Communication must use certificates to enable the SSL connection.
C:
http://msdn.microsoft.com/en-us/library/windows/apps/Hh770532.aspx http://msdn.microsoft.com/en-us/library/windows/apps/Hh986970.aspx
Q6. - (Topic 9)
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 but deleted when the app is closed.
Which app data storage mechanism should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. a temporary app data store
B. the app files of the local app data store
C. the app settings of the local app data store
D. a roaming app data store
Answer: A,B,C
Explanation: http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx
Q7. - (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: D
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.
Q8. - (Topic 9)
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 for reference only.)
You need to add the contents of data to the beginning of file. Which code segment should you insert at line 03?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q9. DRAG DROP - (Topic 9)
You are developing a Windows Store app.
The app consumes data from a business layer.
You need to develop a unit test.
The test method must ensure that the collection of person objects returned by the business
layer meets the following requirements:
. Always contains elements
. Orders elements consistently between calls
You have the following code:
Which code snippets should you include in Target 1, Target 2, Target 3 and Target 4 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:
Q10. - (Topic 3)
Users report performance issues when getting the location information associated with a photo. You suspect the app is encountering performance issues in the GetLocationAsync() method of the Environment class.
You need to enhance the performance of the GetLocationAsync() method of the app.
What should you do?
A. Remove the Compass initialization from the LoadSensors() method and initialize it within the GetLocationAsync() method.
B. set the ReportInterval property of the Compass object to 16.
C. set the ReportInterval property of the Compass object to 0.
D. Move the locator variable to a class level variable and initialize it in the Environment constructor.
Answer: D