getcertified4sure.com

70-355 ebook(1 to 10) for examinee: Oct 2021 Edition




Actual of 70-355 free draindumps materials and class for Microsoft certification for IT examinee, Real Success Guaranteed with Updated 70-355 pdf dumps vce Materials. 100% PASS Universal Windows Platform – App Data, Services, and Coding Patterns exam Today!

Q1. You are packaging a Universal Windows Platform (UWP) app for the Microsoft Store.

You need to set the name of the app that will appear in the Store. Which element should you define in Package.appxmanifest?

A. the Name attribute in the Identity element

B. the Application element

C. the DisplayName attribute in the VisualElements element

D. the DisplayName element

Correct 

Answer:

Explanation:

In the .appxmanifest file, the entry for an app must specify certain attributes of the VisualElements element. Example:

<VisualElements DisplayName="My App" Description="A useful description." Logo="images\icon.png"     SmallLogo="images\small_icon.png" ForegroundText="dark" BackgroundColor="#FFFFFF" >

References:

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


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


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


Q4. You need to create a storyboard for a Universal Windows Platform (UWP) app that you are designing.

For which application does Microsoft provide design templates for UWP apps?

A. Microsoft Publisher

B. Microsoft PowerPoint

C. Adobe Photoshop

D. Microsoft Sway

Answer: B

Explanation:

You can bring your ideas to life with storyboard shapes, text, animation, and all the other features that PowerPoint Storyboarding provides. Open Power Point Storyboarding and start with a blank slide. You should see the Storyboarding ribbon and Storyboard Shapes library.

References:https://msdn.microsoft.com/en-us/library/hh409276(v=vs.120).aspx


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


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


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


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


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