70-490 Premium Bundle

70-490 Premium Bundle

Recertification for MCSD: Windows Store Apps using HTML5 Certification Exam

4.5 
(18795 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

Microsoft 70-490 Free Practice Questions

Q1. DRAG DROP - (Topic 7) 

You are developing a Windows Store app that uses a CredentialPicker control to collect the user's user name and password credentials. 

The CredentialPicker control has the following requirements: 

.. 

The Remember my credentials check box must be selected by default. 

The text "Enter user name and password" must be displayed in the message 

header of the dialog box. 

You need to ensure that the requirements are met. 

Which properties should you use? (To answer, drag the appropriate properties to the correct locations in the answer area. Each property 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 1) 

You need to retrieve the background task collection for the iteration loop. Which code segment should you insert at line BG14? 

A. var tasks = Windows.ApplicationModel.Background.BackgroundTaskRegistration.first(); 

B. var tasks = Windows.ApplicationModel.Background.BackgroundTaskRegistration.allTasks.first(); 

C. var tasks = Windows.ApplicationModel.Background.BackgroundTaskBuilder.allTasks.first(); 

D. var tasks = Windows.ApplicationModel.Background.BackgroundTaskRegistration.allTasks(); 

Answer:

Q3. - (Topic 7) 

You are developing a newsreader app that provides users with daily aggregated articles from popular news sites. 

You must allow users to share the URI of the articles. The app must allow at least one of the following ways to share the URI: 

. With another Windows Store app 

. With the user's default web browser 

You need to implement the sharing functionality. 

Which property of the StandardDataFormats class should you use? 

A. ApplicationLink 

B. Html 

C. ContentSourceWebLink 

D. Storageltems 

Answer:

Reference: 

http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.datatransfer.standarddataformats.appli cationlink.aspx 

Q4. - (Topic 7) 

You are developing a Windows Store app by using JavaScript. 

You need to ensure that the user can capture a photograph with the built-in camera and then process the resulting file. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q5. - (Topic 7) 

You develop a Windows Store app that allows users to modify images by using filters and image-processing algorithms. 

The app must meet the following requirements: 

. Use a web worker to initiate the image-processing algorithms on a separate thread. . Clean up the web worker after processing the algorithms. 

You need to ensure that the web worker releases memory after processing the algorithms. What should you do? 

A. From the calling page, call the closet) command. 

B. From the calling page, call the postMessage() command with the terminate parameter. 

C. From the web worker, call the GC.Collect method. 

D. From the web worker, call the close() command. 

Answer:

58. HOTSPOT - (Topic 7) 

The following image depicts three apps. App1 and App3 have been launched by App2. 

Select the correct answer from each list based on the information presented in the image. Each correct selection is worth one point. 

Q6. DRAG DROP - (Topic 7) 

You are developing a Windows Store game that requires access to a Bluetooth-enabled 

human interface device (HID). 

You need to implement access to the HID device. 

Which code elements should you include? To answer, drag the appropriate code or markup segments to the correct targets. Each code or markup 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:  

Q7. - (Topic 7) 

You are developing a Windows Store app. The app includes the following HTML markup: 

You are creating a Flexible Box layout for the application. The layout must be configured as shown in the following display. 

The Flexible Box layout must conform to the following requirements: 

. The Child2 DIV element must appear on the right side of the layout. . The Child1 DIV element must appear immediately to the left of Child2. 

You need to add CSS to ensure that the requirements are met. Which CSS segment should you add to the style sheet? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q8. - (Topic 7) 

You are developing a Windows Store app by using JavaScript. 

The app contains the following code. (Line numbers are included for reference only). 

You need to ensure that the app will handle any possible event for a media connection in a Play To streaming operation. 

How should you complete the relevant code? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

E. Option E 

F. Option F 

Answer: A,B,F 

Q9. - (Topic 4) 

You need to implement the getStoredCredentialsFull method. Which code segment should you insert at line CM13? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: PasswordVault class (Windows) 

Q10. - (Topic 3) 

You need to enable the loading of the daily schedule when the inspector launches the application. 

Which class should you use? 

A. BackgroundExecutionManager 

B. BackgroundTaskRegistration 

C. SystemCondition 

D. BackgroundWorkCost 

Answer:

Q11. DRAG DROP - (Topic 7) 

You are developing a Windows Store app that will display photos that are stored on various services including Microsoft OneDrive and third-party social media sites. 

You must use the WebAuthenticationBroker class to manage and provide authentication across all services. The app must support single sign-on (SSO). 

You need to implement an authentication strategy for the app. 

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

Q12. - (Topic 7) 

You are developing a Windows Store app. 

You need to adjust the size of the on-screen text based on the current app window size by using media queries. 

What media query feature should you listen for? 

A. Device-width 

B. Width 

C. Resolution 

D. Aspect-ratio 

Answer:

Q13. - (Topic 4) 

You need to ensure that the settings for the About page meet the business requirements. Which attribute should you add to the DIV element in line AB07? 

A. data-win-options="{width:'narrow'}" 

B. data-win-options="{width:'346'}" 

C. data-win-options="{size:'narrow'}" 

D. data-win-options={size:'346'}" 

Answer:

Explanation: SettingsFlyout.width property (Windows) 

Q14. - (Topic 7) 

You are developing a Windows Store app by using JavaScript. The app will be installed on five devices. The app will use certificates to secure communications between the five devices. 

Information sent through the app must be decrypted only by the intended recipient device. 

You need to complete the certificate enrollment. 

What should you do? 

A. Create a single certificate enrollment request on one device and import the certificate to the other four devices. 

B. Create a single group certificate enrollment request on one device and share the public and private keys with the other four devices. 

C. Create a certificate enrollment request on each device and install the respective response on each device. 

D. Create a single certificate enrollment request on one device and share only the public key with the other four devices. 

Answer:

Q15. - (Topic 7) 

You are developing a fitness app for distribution through the Windows Store. The app must interact with the following USB device classes: 

.... 

Webcam Infrared thermometer Scale Printer 

You need to modify the app manifest file as required to support the devices. 

Which two device classes should you include? Each correct answer presents part of the solution. 

A. Printer 

B. AudioVideo 

C. IrDa 

D. PersonalHealthcare 

Answer: C,D 

Q16. - (Topic 7) 

In the following code segment, three functions return WinJS.Promise objects. 

You need to chain the promise operations to optimize error handling. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

START 70-490 EXAM