70-355 Exam - Universal Windows Platform – App Data, Services, and Coding Patterns

certleader.com

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

Q2. HOTSPOT

You are designing a Universal Windows Platform (UWP) app that will access external data sources. The data sources have the following requirements:

The data must be stored in a relational database. 

The data sources must be stored in a public cloud. 

The app must not connect directly to the database.

The app must access the data sources by using HTTP verbs.

You need to identify the appropriate data storage type and the appropriate method to use to access the data sources. What should you identify? To answer, select the appropriate options in the answer area.

Hot Area:

Answer:

Explanation:

Microsoft Azure SQL database is a relationaldatabase-as-a-servicein the cloud.

Through the .NET Web API you can access relational database through HTTP verbs..Net’s Web API is an easy way to implement a RESTful web service using all of the goodness that the .net framework provides.REST stands for ‘Representational State Transfer’ and it is an architectural pattern for creating an API that uses HTTP as its underlying communication method.

Incorrect:

Not: Microsoft AzureDocumentDB

DocumentDB is a NoSQL(not relational)document database for big data solutions handling JSON data that require easy scaling and high availability.

Not: Microsoft Azure Table storage

Azure Table storage is a service that stores unstructured NoSQL(not relational)data in the cloud.

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

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

You need to implement remote debugging of the app on a tablet device. What should you run on the tablet?

A. windbg.exe

B. msvsmon.exe

C. al.exe

D. msbuild.exe

Correct 

Answer: A

Explanation:

Remote Debugging Using WinDbg

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

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

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

You need to implement remote debugging of the app on a tablet device. What should you run on the tablet?

A. windbg.exe

B. msvsmon.exe

C. al.exe

D. msbuild.exe

Correct 

Answer: A

Explanation:

Remote Debugging Using WinDbg

Q8. 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/

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

Q10. You develop a Universal Windows Platform (UWP) app that is available in the Microsoft Store.

Some users report that the app occasionally crashes.

You review the health reports from the Windows Dev Center dashboard and you discover that there are no Failure logs for the app. You need to ensure that the app failure information is available in the health reports from the Windows Dev Center dashboard.  What should you do before you republish the app?

A. Create a custom logging event in the app.

B. Create a Windows Push Notification Services (WNS) service, and then add the cloud service URI to the client application.

C. Create a new app package that includes the .pdb symbol files.

D. Enable the code generation capability, and then create a new app package.

Correct 

Answer:

Explanation:

If you have included PDB symbol files, the Failure log chart will show details related to occurrences of specific symbols, including the total number of crashes and the average daily number of crashes per symbol.