Latest MCSD 70-481 Dumps Real Exam Download 21-30

Ensurepass

QUESTION  21

You are developing a Windows Store app for purchasing school supplies. The app has the following storage requirements:

· Inventory data must be accessible to the app and over the Internet to external suppliers. Suppliers will access the data over HTTP by using OData.

· App storage for the high volume sales periods must be able to scale rapidly, but at the lowest possible cost.

· Color preferences for the user must be stored on the host device.

You need to choose the appropriate data access strategy for each requirement. Which data access strategies should you use? (To answer, select the correct option from each drop-down list in the answer area.)

Hot Area:

clip_image002

Correct Answer:

clip_image004

 

 

QUESTION  22

You are developing a Windows Store app. The app will format a paragraph of text to resemble the following image.

clip_image006

The app must format the paragraph to meet the following requirements:

· The paragraph must be divided among three columns.

· Columns must be separated by vertical lines that are one pixel wide.

You need to ensure that the format of the paragraph meets the requirements. Which code segment should you add?

 

A.   clip_image008

B.   clip_image010

C.  clip_image012

D.  clip_image014

 

Correct Answer: C

 

 

QUESTION  23

You are developing a Windows Store text editor app by using HTML5 and JavaScript. Users must be able to select text within the app and then cut the text. You need to enable the Cut feature. Which code segments should you use?

(Each correct answer presents part of the solution. Choose all that apply.)

 

A.   clip_image016

B.   clip_image018

C.  clip_image020

D.  clip_image022

E.   clip_image024

F.   clip_image026

 

Correct Answer: AE

 

 

QUESTION  24

You are developing a Windows Store app by using HTML5 and JavaScript. The app has HEADER, NAV, and SECTION elements. The SECTION element displays a list of records.

The app will allow users to sort records multiple times. The app must meet the following requirements:

 

– Each time the user performs a sort, replace the content in the SECTION element with the sorted records.

– Animate the updated content by sliding the sorted records into the SECTION element.

You need to use the WinJS library to apply the animation to the SECTION element. Which function should you use?

 

A. enterPage()

B. enterContent()

C. createExpandAnimation()

D. createExpandAnimation()

 

Correct Answer: B

 

 

QUESTION  25

You are debugging a Windows Store app that another developer created by using HTML5 and JavaScript. The default.js file contains the following code segment:

clip_image028

The app has a screen that plays video files. The HTML5 video control on the screen has an ID of video1. You need to identify the effect of firing the source requested event. What will occur when the event fires?

 

A. The app will prompt the user to select a local video file for viewing in the video1 control.

B. The video will play in Windows Media Player on the host device.

C. The application will prompt the user to select a target device for streaming the video by using the video1 control.

D. The selected video file will play in the video1 control on the app screen.

 

Correct Answer: C

Section: [none]

Explanation

 

 

QUESTION  26

You are developing two Windows Store style 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.

 

Correct Answer: A

 

 

QUESTION  27

You are developing a Windows Store app. You configure the app to allow a free trial period.

You need to prompt the user to purchase the full version of the app when the trial period expires.

What should you do?

 

A. Call the getAppReceiptAsync() method of the Windows.ApplicationModel.Store.CurrentApp object.

B. Call the getProductReceiptAsync() method of the Windows.ApplicationModel.Store.CurrentApp object and provide the app’s product ID as an argument.

C. Call the requestProductPurchaseAsync() method of the Windows.ApplicationModel.Store.CurrentApp object and provide the app’s product ID as an argument.

D. Call the requestAppPurchaseAsync() method of the Windows.ApplicationModel.Store.CurrentApp object.

 

Correct Answer: B

 

 

QUESTION  28

You are developing two Windows Store apps named PhotoApp and PictureAlbum. The apps must meet the following requirements:

· PhotoApp must have access to images on the local computer on which PhotoApp is running.

· PictureAlbum must be able to access the images from PhotoApp.

You need to configure the deployment package settings for both apps to ensure that the requirements are met. What should you do?

 

A. Add the Pictures Library setting to the list of declarations for PhotoApp, and add the Share Target setting to the list of capabilities for PictureAlbum.

B. Add the Share Target setting to the list of declarations for PictureAlbum, and add the Pictures Library setting to the list of capabilities for PhotoApp.

C. Add the Pictures Library setting to the list of capabilities for PictureAlbum, and add the Share Target setting to the list of declarations for PictureAlbum.

D. Add the URI of PhotoApp to the Content URIs list for PictureAlbum, and add the URI of PictureAlbum to the Content URIs list for PhotoApp.

 

Correct Answer: A

 

 

QUESTION  29

You are planning to deploy a Windows Store app to a large number of users. The size of the app is approximately 5 GB. You need to package the app to prepare it for deployment to the Windows Store.

How many packages should you use?

 

A. 3

B. 1

C. 2

D. 4

 

Correct Answer: A

 

 

QUESTION  30

You are developing a Windows Store app by using HTML5. The app will be optimized for accessibility. The app must meet the following accessibility requirements:

· Provide support for navigating all user interface elements.

· Provide support for invoking default functionality on the user interface.

· Provide support for use of a computer keyboard.

You need to ensure that the app meets the accessibility requirements. Which actions should you perform?

(Each correct answer presents part of the solution. Choose all that apply.)

 

A. Set the tabIndex attribute for interactive elements. Dynamically manage the tabIndex attribute for composite elements.

B. Set the aria-live attribute of user interface elements to polite for important content that changes dynamically.

C. Ensure that visible text has a minimum luminosity contrast ratio of 1:1 against the background.

D. Implement event handlers for invoking default functionality.

 

Correct Answer: AB

 

 

Download Latest MCSD 70-481 Real Free Tests , help you to pass exam 100%.