70-490 Exam - Recertification for MCSD: Windows Store Apps using HTML5

certleader.com

Q1. HOTSPOT - (Topic 3) 

You need to enable the connection to the equipment. 

Which app capability should you declare? To answer, select the appropriate check box in the dialog box in the answer area. 

Answer:  

Topic 4, Scenario 4 

Background 

You are developing a Windows Store app by using HTML5, JavaScript, and CSS3. The app will be used to access details about products that your company sells. 

Business Requirements 

The app must do all of the following: Be available to customers in many different countries. Display a list of product categories. Display the products for a selected category. Display details of a selected product. Display images of each product one at a time in a vertical presentation. Provide a link to an About section in the Settings pane. Update product data on a daily basis. Allow the user to view the last selected product while the app is offline. Be deployed in the Windows Store. 

Technical Requirements 

......... 

General 

. .. 

When the user restarts the app, the app must start in the state it was in when it 

was last used. 

App settings controls must be 346 pixels wide. 

The app must optimize bandwidth use and performance. 

Security 

.... 

The app must use an enterprise certificate. 

The user must provide valid credentials to access the app. 

After user authentication, the app must use stored credentials. 

User accounts will be validated against a pre-existing enterprise service. 

App Architecture 

Service calls must be separated from the user interface. 

The app must follow the MVC design pattern. 

Service classes can be written in C++, C#, VB, or JavaScript. 

The app must communicate with pre-existing enterprise services. 

Application Structure 

Relevant portions of the app files are shown below. (Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.) 

Default.js 

CredentialManager.js 

About.html 

Q2. - (Topic 3) 

You need to implement the storage policy for secure documents. Which code segment should you insert at line PF12? 

A. Windows.Security.EnterpriseData.FileRevocationManager.getStatusAsync 

B. Windows.Security.EnterpriseData.FileRevocationManager.protectAsync 

C. Windows.Security.EnterpriseData.FileRevocationManager.Revoke 

D. Windows.Security.EnterpriseData.FileRevocationManager.copyProtectAsync 

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. Rtf 

B. WebLink 

C. Html 

D. ContentSourceApplication Link 

Answer:

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

Q5. DRAG DROP - (Topic 7) 

You develop a Windows Store app. 

You need to implement a testing strategy for the app. 

Which actions should you perform? To answer, drag the appropriate actions to the correct targets. Each answer 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:  

Q6. HOTSPOT - (Topic 7) 

You are developing a Windows Store app that will include a <div> element. 

You are applying animation to the app. The animation must provide visual feedback that 

the <div> element has been tapped or clicked. 

You need to implement the animation by using a JavaScript library. 

How should you complete the relevant code? (To answer, select the correct code segment 

from each drop-down list in the answer area.) 

Answer:  

Q7. DRAG DROP - (Topic 7) 

You are designing a testing strategy for a Windows Store app by using HTML5, JavaScript, and CSS3. 

You need to use testing strategies that validate for the best performance. 

Which testing strategies should you select? (To answer, drag the appropriate actions to the correct locations in the answer area. Each action 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. - (Topic 7) 

You are developing a Windows Store app. 

The app must provide single sign-on (SSO) to a Microsoft account and to social networks. The SSO feature must be accessible from any device. 

You need to implement SSO. 

Which authentication strategy should you use? 

A. Fingerprint authentication 

B. Credential Locker 

C. Smart card authentication 

D. Credential Picker 

Answer:

Reference: 

http://msdn.microsoft.com/en-us/library/windows/apps/dn448918.aspx 

Q9. DRAG DROP - (Topic 7) 

You are developing a Windows Store app. 

You plan to use Windows Push Notification Services (WNS) in the app. 

You need to identify whether the system has disabled notifications globally. 

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:  

Q10. - (Topic 7) 

You are developing a Windows Store enterprise app. 

The app must retrieve data from other apps asynchronously across domains by using the 

XMLHttpRequest object. 

You need to retrieve the data. 

What should you use? 

A. WinJS.xhr 

B. HttpWebRequest 

C. HTTPClient 

D. GetResponseStream() 

Answer:

Explanation: C# and the Web: Writing a Web Client Application with Managed Code in the Microsoft .NET Framework