getcertified4sure.com

Renovate Microsoft 70-355 - An Overview 1 to 10




Actualtests offers free demo for 70-355 exam. "Universal Windows Platform – App Data, Services, and Coding Patterns", also known as 70-355 exam, is a Microsoft Certification. This set of posts, Passing the Microsoft 70-355 exam, will help you answer those questions. The 70-355 Questions & Answers covers all the knowledge points of the real exam. 100% real Microsoft 70-355 exams and revised by experts!

Q1. DRAG DROP

You are developing a Universal Windows Platform (UWP) app.

The app will display a text box named TextBox1 and a button named Button2.

If a user types in the text box, you need to ensure that the box is resized dynamically based on the size of the text. The buttons must always remain to the right of the text box and must always remain aligned.

How should you complete the code? To answer, drag the appropriate code elements to the correct targets. Each element 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.

Select and Place:

Answer:

Explanation:

The new RelativePanel implements a style of layout that is defined by the relationships between its child elements. It's intended for use in creating app layouts that can adapt to changes in screen resolution.

Example:

<RelativePanel>

<TextBox x:Name="textBox1" Text="textbox" Margin="5"/>

<Button x:Name="blueButton" Margin="5" Background="LightBlue" Content="ButtonRight" RelativePanel.RightOf="textBox1"/>

<Button x:Name="orangeButton" Margin="5" Background="Orange" Content="ButtonBelow" RelativePanel.RightOf="textBox1" RelativePanel.Below="blueButton"/>

</RelativePanel>

References: https://msdn.microsoft.com/library/windows/apps/dn894631.aspx#device_families


Q2. You are developing a Universal Windows Platform (UWP) app. The application architecture uses the Model-View-ViewModel (MVVM) pattern.

You are designing a form to add new contacts to the app. The form contains an input field named LastName and a Save button. You need to ensure that when LastName is empty, the Save button is disabled.

What should you use?

A. On the Save button, change the IsDefaulted property and the IsDefault property.

B. Use an InputType enumeration that has a Command member.

C. Use a CommandBinding object that contains a CanExecute event.

D. On the Save button, change the IsSealed value.

Correct 

Answer:

Explanation:

The CommandBinding.CanExecute event occurs when the command associated with this CommandBinding initiates a check to determine whether the command can be executed on the command target.

References:

https://msdn.microsoft.com/en-us/library/system.windows.input.commandbinding.canexecute(v=vs.110).aspx


Q3. You are developing a Universal Windows Platform (UWP) app that will display a list of contacts.

When the app loads, it will display the alphabet and provide users with the ability to zoom in on a letter to display all of the contacts whose name starts with that letter. The app will use a SemanticZoom control.

You need to identify which event you must use in the app. Which event should you identify?

A. ViewChangeStarted

B. Loaded

C. Tapped

D. ManipulationStarted

Correct 

Answer:

Explanation:

TheSemanticZoom.ViewChangeStarted eventoccurs when a view change is requested.

Incorrect:

Not B: Loaded occurs when a FrameworkElement has been constructed and added to the object tree, and is ready for interaction. Not C: Tapped occurs when an otherwise unhandled Tap interaction occurs over the hit test area of this element.

Not D: ManipulationStarted represents that the manipulation recognition logic has detected pointer movement.


Q4. You are developing a Universal Windows Platform (UWP) app that will be published to the Microsoft Store.

The app will contain the following method.

JavaScript in the app will call the method. You need to implement the method. What should you do first?

A. Create a Windows Runtime Component project.

B. Add a class file to the project.

C. Create a portable class project.

D. Add the method to the App.xaml.cs file.

Correct 

Answer: A

Explanation:

By using the Windows Runtime, you can create components (essentially DLLs) in C++, C#, or Visual Basic, and call into them in a simple and natural way from a Windows Store app that's built by using JavaScript.

References:

https://msdn.microsoft.com/en-us/library/hh441572.aspx


Q5. Your company uses Microsoft Visual Studio Team Services.

You are testing a Universal Windows Platform (UWP) app.

You need to record the actions performed in the app and record user comments. The test must not use a predefined set of steps. What should you do?

A. From Visual Studio Team Services, create a new test plan.

B. From Visual Studio Team Services, create a new test case.

C. From Microsoft Test Manager, perform exploratory testing.

D. From Microsoft Test Manager, create a new test.

Answer: C

Explanation:

Exploratory testing means testing an application without a set of tests defined in advance, and without a script of predetermined steps.

Microsoft Test Manager (MTM) helps you by recording the actions you perform as you work with your application. You can also record screenshots, comments, file attachments, audio narration and screen video.


Q6. DRAG DROP

You plan to use Microsoft Visual Studio Online for version control.

You need to identify which actions must be performed before you can use Visual Studio Online for version control.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Select and Place:

Answer:

Explanation:

Box 1: Create a Microsoft Account

Box 2: Create a Visual Studio Online account. 

Box 3: Create a team Project in Visual Studio

Connect to Visual Studio Team Services

You can use a Microsoft account to create a Visual Studio Online account (Team Services account). After you create your Team Services account, create your first team project. There you set which type of version control you will use: either Team Foundation Server Control or Git.

Note: Create your first team project

1. If you haven't already, sign in to your Team Services account (http://{youraccount}.visualstudio.com).

1a. If you haven't already, create a Microsoft account.

1b. Sign in to Visual Studio Team Services with your Microsoft account (for example, @outlook.com or @hotmail.com). 

1c. Give your account a memorable name. Then choose your version control provider to manage your code.

1d. Confirm your account's location.

2. Name your team project. Select a process template to manage your work. Then choose your version control provider.

Here's how to choose your version control:

Git: Work in a decentralized version control system that provides lightweight branches and a good experience when working offline.

Team Foundation Version Control (TFVC): Work in a centralized version control system that provides a good experience, even with a massive codebase.

3. Connect and share your code from Visual Studio, Eclipse, or Xcode.

References:

https://www.visualstudio.com/get-started/setup/connect-to-visual-studio-online-vs#connectvs


Q7. Your company has a private GitHub repository.

A new developer needs to make a change to a project in the repository. What should the developer do first?

A. Create a new local branch of the repository.

B. Create a new remote branch of the repository.

C. Commit the remote repository.

D. Clone the repository locally.

Answer: D

Explanation:

With distributed version control systems like Git, if you want to make a change to a project you copy the whole repository to your own system. You make your changes on your local copy, then you “check in” the changes to the central server.

References:

http://techcrunch.com/2012/07/14/what-exactly-is-github-anyway/


Q8. You are developing a Universal Windows Platform (UWP) app that will support two displays. The primary display will have a maximum resolution of 1080 p. The secondary display will support a maximum resolution of 4 К and will not support interactivity.

Your need to ensure that the app can use the full resolution of each display.

What is the best approach to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer.

A. Set the AutoSizeMode property for the app.

B. Enable multiple display support by using the ApplicationView API.

C. Enable multiple display support by using the ProjectionManager API.

D. Set the AutoScaleMode property for the app.

Correct 

Answer:

Explanation:

Projection manager lets you project a separate window of your app on another screen.

When the second window is for display only, not for interaction then it is recommended that you use the projection manager.

References:

https://msdn.microsoft.com/en-us/library/windows/apps/dn495078.aspx


Q9. You are developing a Universal Windows Platform (UWP) app that will support two displays. The primary display will have a maximum resolution of 1080 p. The secondary display will support a maximum resolution of 4 К and will not support interactivity.

Your need to ensure that the app can use the full resolution of each display.

What is the best approach to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer.

A. Set the AutoSizeMode property for the app.

B. Enable multiple display support by using the ApplicationView API.

C. Enable multiple display support by using the ProjectionManager API.

D. Set the AutoScaleMode property for the app.

Correct 

Answer:

Explanation:

Projection manager lets you project a separate window of your app on another screen.

When the second window is for display only, not for interaction then it is recommended that you use the projection manager.

References:

https://msdn.microsoft.com/en-us/library/windows/apps/dn495078.aspx


Q10. You are developing a Universal Windows Platform (UWP) app by using Microsoft Visual Studio 2015.

You plan to perform unit testing.

You need to automate the creation of the unit tests. What should you use?

A. IntelliTest

B. Application Insights

C. Code Coverage

D. Test Explorer

Correct 

Answer:

Explanation:

IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test input is generated that will execute that statement.