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

certleader.com

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

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

Q3. - (Topic 1) 

You need to debug the error that is displayed in the warning message. What should you do? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q4. - (Topic 6) 

You need to update the status of the map pinpoints for the Print Near Me control. Which code segment should you insert at line PM34? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q5. - (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:

Q6. - (Topic 3) 

You need to implement the file storage solution for equipment drivers and updates. 

What should you do? 

A. Map a KnownFolder as the local default file storage location. 

B. Map the inspector's OneDrive folder as the default file storage location. 

C. Use the Live Connect REST API to map a default file storage location. 

D. Map the inspector's Documents folder as the default file storage location. 

Answer:

Q7. - (Topic 7) 

You are developing two Windows Store apps by using JavaScript. A Source app will store sensitive customer information. A Target app will retrieve the stored information for validation and further processing. 

The Source app must secure data by using a private-public key pair. Only the Target app must be able to consume data that has been secured by the Source app. 

You need to ensure that the security of the data is not compromised. 

What should you do? 

A. Encrypt and decrypt data by using an asymmetric algorithm. 

B. Encrypt and decrypt data by using a symmetric algorithm. 

C. Encrypt data by using an asymmetric algorithm. Decrypt data by using a symmetric algorithm. 

D. Encode data to and decode data from a Base64 string. 

Answer:

Q8. - (Topic 3) 

You need to ensure that inspectors can manage tasks that are assigned to them. Which code segment should you insert at line BT22? 

A. BackgroundTask.unregisterBackgroundTasks(e.BackgroundTaskName); 

B. BackgroundTask.unregisterBackgroundTasks(sender.BackgroundTaskName); 

C. BackgroundTask.unregisterBackgroundTasks(BackgroundTask.TaskName); 

D. BackgroundTask.unregisterBackgroundTasks(BackgroundTask.BackgroundTaskName); 

Answer:

Q9. - (Topic 7) 

You are creating a Windows Store app for a retail business. You must enumerate the available human interface devices (HIDs) on the client computer. 

You need to use the Windows.Devices.HumanInterfaceDevice namespace to detect the available devices. 

What types of devices can you detect? 

A. A Bluetooth-enabled joystick that uses a native Windows 8.1 device driver 

B. The built-in GPS on a mobile device 

C. An internal camera device 

D. A wireless router 

Answer:

Explanation: * The Windows.Devices.HumanInterfaceDevice API lets your Windows Store app access devices that support the Human Interface Device (HID) protocol. When it was first developed, the protocol targeted devices like: keyboards, mice, and joysticks. It was initially designed to run over the USB transport. Today the protocol supports a significantly larger set of devices. In addition, for Windows 8.1, Microsoft includes support for the USB, Bluetooth, Bluetooth LE, and I2C transports. 

Q10. - (Topic 5) 

You add an element with an ID of MyFlexbox to newsPage.html. 

You need to ensure that the layout for MyFlexbox meets the requirements. 

Which layout should you choose? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: flex-wrap property (Windows)