aiotestking uk

70-491 Exam Questions - Online Test


70-491 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

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

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

Q3. HOTSPOT - (Topic 9) 

You are developing a Windows Store app to check the weather. 

You need to ensure the app polls an external web service once per hour for tile updates. 

You have the following code: 

Which code snippet should you insert in Target 1 to complete the code? (To answer, select the correct code snippet from the dropdown list in the answer area.) 

Answer:  

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

Q5. - (Topic 8) 

A photo competition is ending. 

You need to meet the requirements when a user clicks the toast notification. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

From scenario: 

When a user clicks a toast notification that indicates the end of the photo competition, the 

app must display the details of the photo competition that triggered the toast notification. 

Q6. DRAG DROP - (Topic 9) 

You are developing a Windows Store app. 

The following code segment defines an event procedure. (Line numbers are included for reference only.) 

You need to define a custom help setting in the event procedure. 

Which three code segments should you insert in sequence at line 03? (To answer, move 

the appropriate code segments to the answer area and arrange them in the correct order.) 

Answer:  

Q7. DRAG DROP - (Topic 9) 

You are developing a page for a Windows Store app. 

You have the following requirements for the page: 

. Display a button on the bottom app bar that allows the user to insert a picture. This button must be bound to the Insert command in the view model. . Display a button in the main content area of the page that allows the user to open documents. This button must be bound to the Open command in the view model. 

You need to ensure that the requirements are met. 

How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. 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:  

Q8. DRAG DROP - (Topic 9) 

You are developing a Windows Store app. 

You need to implement claims according to their appropriate use. 

Which claim is appropriate for each purpose? (To answer, drag the appropriate claims to the correct locations in the answer area. Each claim 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. HOTSPOT - (Topic 9) 

You are developing a Windows Store app. 

The app receives badge notifications from Windows Push Notification Services (WNS). 

You configure the app to establish a communication channel with WNS. You use a variable named pushChannel to store the notification channel object used for communication. You add the following line of code to the app: 

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

Answer:  

Q10. DRAG DROP - (Topic 9) 

You are developing a Windows Store app that uses a light sensor to detect and respond to light changes. An object named lightSensor is an instance of the sensor service. 

The light sensor must detect changes once per second. If the sensor is unable to record as fast as once per second, then it must use the fastest interval possible. 

You need to ensure that the app 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: