2019 Free Microsoft EnsurePass 70-357 Dumps VCE and PDF Download Case Study 1

EnsurePass Dumps

70-357 Dumps

http://www.ensurepass.com/70-357.html

 

Topic 1, Case Study 1

 

Background

Business requirements

In this section, you will see one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem, and you must determine whether the solution meets the slated goals. Any of the solutions might solve the problem. It is also possible that none o’ the solutions solve the problem.

 

Technical requirements

Application structure

Once you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appe.ir in the review screen.

 

The timeline element of the app has the following layout requirements:

 

clip_image002The timeline must adapt to the screen size and orientation of the device.

clip_image002[1]The timeline size must dynamically change if the window containing the content is resized by the user.

clip_image002[2]The user must be able to scroll through the timeline horizontally when the device is in landscape mode.

clip_image002[3]The user must be able to scroll through the timeline vertically when the device is in portrait mode.

clip_image002[4]The timeline must begin scrolling as soon as a scroll is detected. Scrolling must continue for a short distance after the scroll input has stopped.

clip_image002[5]Scroll bars or panning controls must always be visible.

 

The following image depicts the layout for the timeline section of the app when the device is using landscape orientation:

 

clip_image004

 

the following image depicts the layout tor the timeline section of the app when the device is using portrait orientation:

 

clip_image006

 

The content element of the app has the following layout requirements:

 

clip_image002[6]When a user selects an item on the timeline, the details for that item must display beneath or to the right of the timeline

clip_image002[7]The content section must display one page of information. The element must be a child of the selected item in the timeline.

clip_image002[8]Users must be able to return to a previously selected event by pressing the Back button.

 

The user must be able to navigate the application using the interface below:

 

clip_image008

clip_image002[9]The Favorite button mark the Current content to he displayed in a Favorites panel.

clip_image002[10]The Back and Forward buttons navigate through the app selection history. Both buttons must available on all device.

clip_image002[11]The Note button allows the use to manage notes about the current content.

clip_image002[12]The app must support touch, mouse, and stylus input.

clip_image002[13]The app layout must automatically adapt to the screen size and orientation.

 

Layout Requirement:

You identify the following layout requirements:

 

General

All user interface (Ul) elements must continuously scale when a user resizes the window.

UI controls must be smaller and spaced closet together if there is a mouse 01 stylus available

UI controls must be larger and spaced farther apart if the device supports touch and there is no mouse or pointer available

 

Timeline

The timeline must be displayed In a horizontal layout when the device is in a landscape orientation or When the horizontal width is greater than the vertical height.

The timeline must be displayed in a vertical layout when the device- is m a portrait orientation or when the vertical height is greater than the horizontal width.

Each item in the past must be linked to the next item in the future

User must be able to scroll from past events to future events 01 from future events to past events.

The app must only allow one level of detail to be linked to each item in the timeline

 

New Tab:

You must optimize the app using the following guidelines:

 

clip_image002[14]You must minimize the lime n takes to display content when an item on the timeline is selected.

clip_image002[15]The app must respect memory and resource constraints for all devices.

 

XML coding style:

All code and markup must conform to the following style guidelines:

 

clip_image002[16]Use resource dictionaries for styles that are used more than once.

clip_image002[17]Limit the use of nested panels.

clip_image002[18]Use built-in properties of existing panels instead of using separate style objects.

clip_image002[19]Use the navigation structure that best models the data without exceeding the requirements of the app.

 

MainPage.xaml

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

 

clip_image010

 

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

 

clip_image012

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

 

clip_image014

 

New Tab:

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

 

clip_image016

 

 

QUESTION 1

You need to configure the app to meet the load time requirements. What should you do?

 

A.

Set the value of the CacheSize to 0.

B.

Set the value of the CacheMode property to BitmapCache.

C.

Set the value of the NavigationCacheMode property to Enabled.

D.

Set the value of the NavigationCacheMode property to Disabled.

 

Correct Answer: C

Explanation:

Scenario: You must optimize the app using the following guidelines:

 

You must minimize the time it takes to display content when an item on the timeline is selected.

The app must respect memory and resource constraints for all devices.

 

You use the NavigationCacheMode property to specify whether a new instance of the page is created for each visit to the page or if a previously constructed instance of the page that has been saved in the cache is used for each visit. The default value for the NavigationCacheMode property is Disabled. Set the NavigationCacheMode property to Enabled or Required when a new instance of the page is not essential for each visit. By using a cached instance of the page, you can improve the performance of your application and reduce the load on your server.

 

 

QUESTION 2

HOTSPOT

You need to properly handle the size of the user interface objects.

 

How should you complete the method?

 

To answer, select the appropriate code segment from each list in the answer area.

 

NOTE: Each correct selection is worth one point.

 

clip_image018

 

Correct Answer:

clip_image020

 

 

QUESTION 3

Note: This question is part of a series of questions that present the same scenario. Each

 

question in the series contains n unique solution. Determine whether the solution meets the stated goals.

 

You need to implement the appropriate XAML layout for the Timeline app.

 

Solution: You create an instance of a StackPanel class.

 

Does this meet the goal?

 

A.

Yes

B.

No

 

Correct Answer: B

Explanation:

StackPanel is a simple layout panel that arranges its child elements into a single line that can be oriented horizontally or vertically. StackPanel controls are typically used in scenarios where you want to arrange a small subsection of the UI on your page.

 

The following XAML shows how to create a vertical StackPanel of items.

XAML

 

<StackPanel>

<Rectangle Fill=”Red” Height=”44″/>

<Rectangle Fill=”Blue” Height=”44″/>

<Rectangle Fill=”Green” Height=”44″/>

<Rectangle Fill=”Orange” Height=”44″/>

</StackPanel>

The result looks like this.

 

clip_image021

 

 

QUESTION 4

Note: This question is part of a series of questions that present the same scenario. Each

 

question in the series contains n unique solution. Determine whether the solution meets the stated goals.

 

You need to implement the appropriate XAML layout for the Timeline app.

 

Solution: You create an instance of a SplitView control.

 

Does this meet the goal?

 

A.

Yes

B.

No

 

Correct Answer: B

Explanation:

A split view control has an expandable/collapsible pane and a content area.

 

Here is an example of the Microsoft Edge app using SplitView to show its Hub.

 

clip_image023

 

 

QUESTION 5

DRAG DROP

You need to create the user interface for the timeline.

 

Which four markup segments should you use to develop the solution?

 

To answer, move the appropriate markup segments from the list of markup segments to the answer area and arrange them in the correct order.

 

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

 

clip_image025

 

Correct Answer:

clip_image027

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 6

HOTSPOT

You are reviewing the App_BackRequested method in the MainPage.xaml.cs file.

 

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

 

NOTE: Each correct selection is worth one point.

 

clip_image029

 

Correct Answer:

clip_image031

 

 

 

 

 

 

QUESTION 7

You need to design the navigation tor the timeline. What navigation should you use?

 

A.

hierarchy

B.

peer

C.

hub

D.

master/details

 

Correct Answer: A

Explanation:

From scenario:

Here we can use a hierarchy with each parent node having only one single child node.

 

Hierarchical structures are good for organizing complex content that spans lots of pages or when pages should be viewed in a particular order. The downside is that hierarchical pages introduce some navigation overhead: the deeper the structure, the more clicks it takes for users to get from page to page.

We recommend a hiearchical structure when:

You expect the user to traverse the pages in a specific order. Arrange the hierarchy to enforce that order.

There is a clear parent-child relationship between one of the pages and the other pages in the group.

There are more than 7 pages in the group.

When there are more than 7 pages in the group, it might be difficult for users to understand how the pages are unique or to understand their current location within the group. If you don’t think that’s an issue for your app, go ahead and make the pages peers

 

 

QUESTION 8

Note: This question is part of a series of questions that present the same scenario. Each

 

question in the series contains n unique solution. Determine whether the solution meets the stated goals.

 

You need to implement the appropriate XAML layout (or the Timeline app.

 

Solution: You create an instance of a RelativePanel class.

 

Does this meet the goal?

 

A.

Yes

B.

No

 

Correct Answer: A

Explanation:

RelativePanel lets you layout UI elements by specifying where they go in relation to other elements and in relation to the panel. By default, an element is positioned in the upper left corner of the panel.

 

 

 

 

 

 

 

QUESTION 9

You need to ensure that the Timeline app meets the XAML coding requirements.

 

In Settings.xaml, which markup segment should you select to replace the markup segment at line AS06?

 

clip_image033

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: A

Explanation:

From scenario: All code and markup must conform to the following style guidelines:

Use resource dictionaries for styles that are used more than once. Use built-in properties of existing panels instead of using separate style objects. XAML resources are objects that are referenced from markup more than once. Resources are defined in a ResourceDictionary, typically in a separate file or at the top of the markup page. In this scenario the ResourceDictionary is defined in the ResourceDictionery.xaml file.

You access members of the resource dictionary like any other dictionary.