Ensurepass


QUESTION 26

You are developing a Windows Store style app.

You need to ensure that the app meets the requirements for Windows Store certification. Which requirement must be met?

A. The app must not display ads on tiles.

B. The app must have a short name and a long name.

C. The app must conform to the rating system E, Y-7, Y-14, MA.

D. Ads that do not comply with the standard content policies must supply a content agreement.

Correct Answer: A


QUESTION 27

You are developing a Windows Store app that will read billing information from a CSV file that is stored in local storage. The app will display the billing data on the screen.

You need to ensure that portions of the app can be reused in WinRT, Windows Presentation Foundation (WPF), Microsoft Silverlight, and Windows Phone apps.

What should you do?

A. Create a page and a BillingViewModel object. Set the page’s DataContext property to reference the BillingViewModel object. Program the page so that its Loaded event reads data from the file and populates the properties of the Billing ViewModel object with that file’s data. Program the page to consume the data by using data binding.

B. Create a page and a BillingViewModel object. Program the page to use the Loaded event to load data from the file and then update the page contents to reflect the billing data from the file.

Program the Billing ViewModel object to use the Windows.Data.FileLoader class to populate its properties from the file.

C. Create a page, a BillingViewModel object, and a FileHelper class. Set the page’s DataContext property to reference the BillingViewModel object. Program the BillingViewModel object to use the FileHelper class to load data from the file, and populate its properties with billing data. Program the page to consume the data by using data binding.

D. Create a page and a BillingViewModel object. Set the page’s DataContext property to reference the BillingViewModel object. Program the Billing ViewModel object to load data from the file and populate its properties with that data. Program the page to consume the data by using data binding.

Correct Answer: C


QUESTION 28

You are developing a Windows Store app.

You need to create a toast notification that will display an image and text. Which code segment should you use?

clip_image001

A. Option A

B. Option B

C. Option C

D. Option D

Correct Answer: A


QUESTION 29

You are developing a Windows Store app.

You need to find out whether an HTTP request has completed with a BadRequest result.

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

A. HttpResponseMessage.StatusCode

B. HttpResponseMessage.IsSuccessStatusCode

C. HttpResponseMessage.ReasonPhrase

D. HttpResponseMessage.IsBadRequest

Correct Answer: AC


QUESTION 30

You are developing an app that will be used to purchase and share music. Users will be allowed to share only content that they have purchased.

You need to display a message within the Share charm when users attempt to share content that they have not purchased.

What should you do?

A. Set the LegalInformation property of the Data Package object.

B. Use the SetText() method of the Data Package object.

C. Use the FailWithDisplayText() method of the DataRequest object.

D. Use a toast notification.

Correct Answer: C


QUESTION 31

You are developing a Windows Store app.

You need to ensure that context-sensitive choices are provided while the user is entering text in the search pane.

Which event should you handle?

A. SuggestionsRequested

B. QueryChanged

C. ResultSuggestionChosen

D. QuerySubmitted

Correct Answer: A


QUESTION 32

You are developing a Windows Store app. You have the following requirements:

– Enable the app to receive shared data.

– Save the sharing settings for future use.

You need to ensure that the requirements are met. What should you implement?

A. A Play To source

B. A Share source

C. At QuickLink

D. A Share link

Correct Answer: C


QUESTION 33

You are developing a Windows Store app.

You need to find out whether an HTTP request has completed with an Unauthorized result.

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

A. HttpResponseMessage.StatusCode

B. HttpResponseMessage.IsUnauthorized

C. HttpResponseMessage.ReasonPhrase

D. HttpResponseMessage.IsSuccessStatusCode

Correct Answer: AC


QUESTION 34

You are developing a Windows Store style app.

You need to ensure that the app meets the requirements for Windows Store certification. Which requirement must be met?

A. The app must be created in c#.

B. The app must support Internet communication.

C. Ads that do not comply with the standard content policies must supply a content agreement.

D. The app must not display ads on tiles.

Correct Answer: D


QUESTION 35

You are developing a Windows Store file transfer app that will allow the user to download files.

When Windows Internet Explorer encounters a hyperlink of the form myftp://<hostname>/<path>/<file>, the app must download the corresponding file.

You need to ensure that the app implements the correct contract. Which contract should you use?

A. Cached File Updater

B. Protocol Activation

C. File Activation

D. App to App Picking

Correct Answer: B


QUESTION 36

You need to update the app tile images.

With which four code segments in sequence should you replace line AX23?

Scenario 1 (exhibit):

clip_image002

Technical Requirements (exhibit):

clip_image003

App.xaml.cs (exhibit):

clip_image004

DataStoreBase.cs (exhibit):

clip_image005

Select and Place:

clip_image006

Correct Answer:

clip_image007


QUESTION 37

You need to display the appropriate app tile badge for each image.

Which four code segments in sequence should you insert at line AX28? (To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.)

clip_image008

Scenario 1 (exhibit):

clip_image002[1]

Technical Requirements (exhibit):

clip_image003[1]

App.xaml.cs (exhibit):

clip_image004[1]

DataStoreBase.cs (exhibit):

clip_image005[1]

Select and Place:

clip_image009

Correct Answer:

clip_image010


QUESTION 38

You need to refactor the code so that more than one contact can be selected by using the ContactPicker class.

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

Scenario 2 (exhibit):

clip_image011

Technical Requirements (exhibit):

clip_image012

PictureSharerMainPage.xaml (exhibit):

clip_image013

PictureSharerMainPage.xaml.cs (exhibit):

clip_image014

PictureChooserPage.xaml (exhibit):

clip_image015

Select and Place:

clip_image016

Correct Answer:

clip_image017


QUESTION 39

You are planning the architecture of a new Windows Store style e-commerce app. You need to maximize reusability by breaking app components into logical layers.

To which logical layers should you assign the components? (To answer, drag the appropriate components to the correct layers in the answer area. Each component 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.)

clip_image018

Select and Place:

clip_image019

Correct Answer:

clip_image020


QUESTION 40

You are developing a Windows Store app.

You are using the Model-View-ViewModel (MVVM) architectural pattern to design the app. You need to identify the type of code to place in each layer.

How should you distribute the 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.

clip_image021

Select and Place:

clip_image022

Correct Answer:

clip_image023

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

Comments are closed.