Ensurepass

QUESTION 1

You are developing a Windows Store app. Users must be able to initiate searches by using the Search charm. The app must display the search text in a DIV element named statusMessage. You need to add code to meet this requirement. Which code segment should you add?

A. clip_image001

B. clip_image002

C. clip_image003

D. clip_image004

Correct Answer: B

QUESTION 2

You are developing a Windows Store app. The app includes a handler for the datarequested event. A portion of the code for the event handler is shown in the following code segment:

clip_image005

The app must meet the following requirements:

· The app must share an order tracking link with target apps.

· The app must share URI-type data only.

You need to ensure that the app meets the requirements. Which code segment should you insert at line 05?

A. e.request.data.setData(url);

B. e.request.data.setText(url);

C. var link = new Windows.Foundation.Uri(url); e.request.data.setUri(link);

D. var link = new Windows.Foundation.Uri(url); e.request.setLink(link);

Correct Answer: C

QUESTION 3

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 4

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 5

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

QUESTION 6

You are developing a Windows Store app by using HTML5 and JavaScript. The app will support both the English and French languages.

The app must meet the following requirements:

· Automatically load language-specific string resources from a resource file, and access the resources from within the HTML by using data-win res attributes.

· Use the base.js file from the Windows Library for JavaScript.

You need to ensure that the correct language-specific resources are used. What should you do?

A. Specify both the element properties and the resource names of data-win-res attributes, and process the data-win-res attributes in the onactivated event.

B. Specify only the properties of data-win-res attributes, and process the data-win-res attributes prior to the DOMContentLoaded event.

C. Specify both the element properties and the resource names of data-win-res attributes, and process the data-win-res attributes immediately after the DOMContentLoaded event.

D. Specify only the resource names of data-win-res attributes, and process the data-win-res attributes in the onactivated event.

Correct Answer: C

QUESTION 7

You are developing a Windows Store app that will be used to display daily high temperatures and other weather conditions for five cities.

The app must meet the following requirements:

· A splash screen is displayed on the device until the data is retrieved from the Internet.

· The user must be able to view weather information as soon as the data is fully available.

You need to ensure that the splash screen is displayed at startup until the app has completed loading updated data.

Which actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose all that apply.)

A. Configure settings in the app manifest to display the splash screen until the data is fully available.

B. Create an image that duplicates the splash screen, load the image from the dismissed event of the splash screen, and display the image until the data is fully available.

C. Create an image that duplicates the splash screen, and display the image by using fragment loading until the data is fully available.

D. Configure settings in the app manifest to display the splash screen for 10 seconds.

Correct Answer: CD

QUESTION 8

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

clip_image006

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

clip_image007

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

B. clip_image009

C. clip_image010

D.clip_image011

Correct Answer: D

QUESTION 9

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 copy the text.

You need to enable the copy feature. Which code segments should you use? (Each correct answer presents part of the solution. Choose all that apply.)

A. clip_image012

B. clip_image013

C. clip_image014

D. clip_image015

E. clip_image016

F. clip_image017

Correct Answer: BE

QUESTION 10

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

clip_image018

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

· The paragraph must be divided between two columns.

· Columns must be separated by vertical lines that are two pixels wide.

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

A.clip_image019

B.clip_image020

C. clip_image021

D.clip_image022

Correct Answer: D

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

Comments are closed.