70-355 | Up to the immediate present Microsoft 70-355 braindumps


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

You discover that the app uses more memory than expected. You suspect that a method named Method1 is consuming most of the memory. You need to identify the changes in memory that are a direct result of executing Method1.

What should you do?

A. From Visual Studio, set a breakpoint on the method and immediately after the method.Fromthe Diagnostic Tools, clickTake Snapshotwhen each breakpoint is hit.

B. From the Debug tab in Visual Studio, clickStart Diagnostic Tools Without Debugging,selectApplication Timeline,and then clickStart.

C. From the Windows Performance Analyzer, record the memory consumption.

D. From Windows Performance Monitor, create a Data Collector Set (DCS). Start the DCS, run the app, and then stop the DCS.

Correct 

Answer:

Explanation:

Find memory leaks and inefficient memory while you’re debugging with the debugger-integrated Memory Usage diagnostic tool. The Memory Usage tool lets you take one or more snapshots of the managed and native memory heap.

Although you can collect memory snapshots at any time in the Memory Usage tool, you can use the Visual Studio debugger to control how your application executes while investigating performance issues. Setting breakpoints, stepping, Break All, and other debugger actions can help you focus your performance investigations on the code paths that are most relevant.

References:

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

Q12. Your company uses the Agile methodology for software development.

You need to recommend a tool that provides you with the ability to manage the sprint backlog and to link the work items to the source code. What should you recommend?

A. Microsoft Visual Studio Online

B. Microsoft Excel Online

C. Microsoft Visual Studio Release Management

D. Git

Answer: A

Explanation:

Microsoft Visual Studio Team Services/ Microsoft Visual Studio Online is a cloud-based solution let teams share code, track work, and ship software. Teams use the work item types (WITs) provided with the Agile process template to plan and track progress of software projects.

Q13. DRAG DROP

You are developing a Universal Windows Platform (UWP) app. In MainPage.xaml, you have the following markup.

You need to create an event handler for the app. 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:

Example: Peer-to-peer navigation between two pages

private void HyperlinkButton_Click(object sender, RoutedEventArgs e)

{

this.Frame.Navigate(typeof(Page2),    name.Text);

}

References:

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

Q14. You are developing a cross-platform app by using Microsoft Visual Studio 2015. The app will be available to Windows, Android, and iOS devices.

You need to gather usage telemetry for the app across all three platforms. What should you use?

A. Code Coverage

B. Diagnostic Tools

C. IntelliTrace

D. Application Insights

Correct 

Answer:

Explanation:

Application Insights works by adding an SDK into your app, which sends telemetry to the Azure portal. Application Insights support iOS, Android, and Windows apps, J2EE and ASP.NET web applications, and WCF services.

References:

https://azure.microsoft.com/en-us/documentation/articles/app-insights-get-started/

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

In MainPage.xaml, you have the following markup.

You plan to implement localization for the following cultures: 

de-DE

fr-CA 

en-US

You create a folder within the project named Strings that contains a subfolder for each culture. Each subfolder contains a resource file named Greetings.resw. You need to ensure that TextBlock appears by using the appropriate localization.

Which two modifications should you make to MainPage.xaml? Each correct answer presents part of the solution.

A. Replace x:Name with x:Phase.

B. Change "Greeting" to "Resources/Greeting".

C. Change "Greeting" to "Greetings/Greeting".

D. Replace x:Name with x:FieldModifier.

E. Replace x:Name with x:Uid.

F. Change "Greeting" to "Greetings.resw/Greeting".

Correct 

Answer: BE 

Explanation:

E: The keys of the key-value pairs are x:Uid values that are placed by the developer in the original XAML. These x:Uid values enable the API to track and merge changes that happen between the developer and the localizer during localization.

References:

http://stackoverflow.com/questions/14929590/resource-localization-use-of-xuid-refering-to-another-assemblys-resource

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

Q17. You need to provide license metadata to the current app.

Which class should you use?

A. ListingInformation

B. LicenseInformation

C. ProductListing

D. ProductLicense

Correct 

Answer:

Explanation:

TheLicenseInformationproperty (not a class) of theCurrentApp classgets the license metadata for the current app.

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

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

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