microsoft.selftesttraining.70-355.v2016-12-23.by.gita · intellitest explores your .net code to...

66
http://www.gratisexam.com/ 70-355.exam Number : 70-355 Passing Score : 800 Time Limit : 120 min File Version : 1.1 http://www.gratisexam.com/ 70-355 Universal Windows Platform - App Data, Services, and Coding Patterns Version 1.1

Upload: others

Post on 20-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

70-355.exam

Number: 70-355Passing Score: 800Time Limit: 120 minFile Version: 1.1

http://www.gratisexam.com/

70-355

Universal Windows Platform - App Data, Services, and Coding Patterns

Version 1.1

Page 2: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Question Set 1

QUESTION 1HOTSPOTYou 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.

http://www.gratisexam.com/

Hot Area:

Page 3: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Page 4: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference: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 allof the goodness that the .net framework provides.REST stands for ‘Representational State Transfer’ and it is an architectural pattern for creating an API that usesHTTP as its underlying communication method.

Incorrect:Not: Microsoft AzureDocumentDBDocumentDB 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 storageAzure Table storage is a service that stores unstructured NoSQL(not relational)data in the cloud.

Page 5: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

References:

QUESTION 2You 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: CSection: [none]Explanation

Explanation/Reference:Explanation:

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

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

QUESTION 3You are developing a Universal Windows Platform (UWP) app that will support two displays. The primary display will have a maximum resolution of 1080 p. Thesecondary 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.

Page 6: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

D. Set the AutoScaleMode property for the app.

Correct Answer: CSection: [none]Explanation

Explanation/Reference: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

QUESTION 4You 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?

http://www.gratisexam.com/

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: ASection: [none]Explanation

Explanation/Reference:

Page 7: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Explanation:

Find memory leaks and inefficient memory while you’re debugging with the debugger-integrated Memory Usage diagnostic tool. The Memory Usage tool lets youtake 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 executeswhile investigating performance issues. Setting breakpoints, stepping, Break All, and other debugger actions can help you focus your performance investigations onthe code paths that are most relevant.

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

QUESTION 5You 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: CSection: [none]Explanation

Explanation/Reference: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 andthe average daily number of crashes per symbol.

References:

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

Page 8: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

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 elementB. the Application elementC. the DisplayName attribute in the VisualElements elementD. the DisplayName element

Correct Answer: CSection: [none]Explanation

Explanation/Reference: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

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

The app will use the AdMediatorControl control.

You need to select the ad providers that will be used by the app.

What should you add to the app?

A. Connected ServiceB. Service ReferenceC. Azure API App ClientD. Reference

Page 9: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer: ASection: [none]Explanation

Explanation/Reference:Explanation:

If you an AdMediatorControl, you need to configure it through Connected Services. Connected Services should be added after you’ve added all the controls.

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

QUESTION 8You need to provide license metadata to the current app.

Which class should you use?

http://www.gratisexam.com/

A. ListingInformationB. LicenseInformationC. ProductListingD. ProductLicense

Correct Answer: CSection: [none]Explanation

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

References:

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

Page 10: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

You plan to perform unit testing.

You need to automate the creation of the unit tests.

What should you use?

A. IntelliTestB. Application InsightsC. Code CoverageD. Test Explorer

Correct Answer: ASection: [none]Explanation

Explanation/Reference: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 thatstatement.

References:

QUESTION 10You 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 CoverageB. Diagnostic ToolsC. IntelliTraceD. Application Insights

Correct Answer: DSection: [none]Explanation

Explanation/Reference:Explanation:

Page 11: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

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

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

QUESTION 11You 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 thatletter. 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. ViewChangeStartedB. LoadedC. TappedD. ManipulationStarted

Correct Answer: ASection: [none]Explanation

Explanation/Reference: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.

References:

QUESTION 12DRAG DROPYou are developing a Universal Windows Platform (UWP) app.

Page 12: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

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 ofthe 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 notat all. You may need to drag the split bar between panes or scroll to view content.

Select and Place:

Correct Answer:

Page 13: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference: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 thatcan 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"/>

Page 14: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

<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

QUESTION 13You 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-DEfr-CAen-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. Youneed 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: BESection: [none]Explanation

Explanation/Reference: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 mergechanges that happen between the developer and the localizer during localization.

Page 15: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

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

QUESTION 14DRAG DROPYou 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. Eachelement 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:

Page 16: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Page 17: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:Example: Peer-to-peer navigation between two pagesprivate 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

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

The app will contain the following method.

Page 18: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

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: ASection: [none]Explanation

Explanation/Reference: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 aWindows Store app that's built by using JavaScript.

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

QUESTION 16You 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?

Page 19: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

http://www.gratisexam.com/

A. windbg.exeB. msvsmon.exeC. al.exeD. msbuild.exe

Correct Answer: ASection: [none]Explanation

Explanation/Reference:Explanation:Remote Debugging Using WinDbg

References:

QUESTION 17Your 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 OnlineB. Microsoft Excel OnlineC. Microsoft Visual Studio Release ManagementD. Git

Correct Answer: ASection: [none]Explanation

Explanation/Reference:Explanation:

Page 20: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

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 thework item types (WITs) provided with the Agile process template to plan and track progress of software projects.

QUESTION 18You 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 PublisherB. Microsoft PowerPointC. Adobe PhotoshopD. Microsoft Sway

Correct Answer: BSection: [none]Explanation

Explanation/Reference:Explanation:You can bring your ideas to life with storyboard shapes, text, animation, and all the other features that PowerPoint Storyboarding provides. Open Power PointStoryboarding 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

QUESTION 19Your 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.

Correct Answer: DSection: [none]Explanation

Page 21: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Explanation/Reference: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 yourchanges 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/

QUESTION 20Your 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.

Correct Answer: CSection: [none]Explanation

Explanation/Reference: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, fileattachments, audio narration and screen video.

References:

QUESTION 21DRAG DROPYou 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.

Page 22: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

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

Select and Place:

Correct Answer:

Section: [none]Explanation

Explanation/Reference:Explanation:Box 1: Create a Microsoft Account

Page 23: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Box 2: Create a Visual Studio Online account.Box 3: Create a team Project in Visual Studio

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

Note: Create your first team project1. 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

QUESTION 22DRAG DROPYou are developing a Universal Windows Platform (UWP) app.

The app manipulates accounts by using a class named Account that you developed.

You need to automate tests for the debit method of the Account class.

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 notat all. You may need to drag the split bar between panes or scroll to view content.

http://www.gratisexam.com/

Select and Place:

Page 24: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Page 25: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:Test methods marked with the TestMethod Attribute are unavailable if the class that contains them is not marked with the TestClass Attribute. The test class is notvalid without the TestClass Attribute.

References:

QUESTION 23DRAG DROPYou are developing a Universal Windows Platform (UWP) app. All of the code sources are hosted in GitHub.

You need to create a new branch in GitHub.

What commands should you run? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. Youmay need to drag the split bar between panes or scroll to view content.

Page 26: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Select and Place:

Correct Answer:

Page 27: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:Box 1:The git checkout command switch branches or restore working tree files.Specifying -b causes a new branch to be created as if git-branch[1] were called and then checked out.

Box 2:The git push command push changes to a remote repository.

Example: git push originWithout additional configuration, pushes the current branch to the configured upstream

References:http://git-scm.com/docs

QUESTION 24DRAG DROPYou are developing a Universal Windows Platform (UWP) app. You have the following XAML markup:

Page 28: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

You need to develop the code for Button_Click that displays the date that the user entered by using the selected culture.

You write the following code.

Which code should you insert at line 03? Develop the solution by selecting and arranging the required code blocks in the correct order.

NOTE: You will not need all of the code segments.

Select and Place:

Page 29: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Page 30: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:

QUESTION 25You are building a Universal Windows Platform (UWP) app that will be used to view images.

When a user clicks an image by using a mouse, the image will increase in size by 20 percent, and then return to its original size when the user releases the mouse.

You create event handlers to handle the PointerPressed and PointerReleased events for the image.

Page 31: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

The user reports that occasionally, the image fails to return to its original size.

You need to ensure that the image returns to its original size.

Which three events should you handle? Each correct answer presents part of the solution.

A. PointerExitedB. PointerCaptureLostC. LostFocusD. PointerCanceledE. PointerMovedF. LostMouseCappture

Correct Answer: BDESection: [none]Explanation

Explanation/Reference:Explanation:B:PointerCaptureLost might fire instead of PointerReleased. Don't rely on PointerPressed and PointerReleased events always occurring in pairs. To functionproperly, your app must listen for and handle all events that represent likely conclusions to the Press action, and that includes PointerCaptureLost.

BD:Other events instead of PointerReleased may fire at the end of the action—for example, PointerCanceled or PointerCaptureLost.

E:Mouse input is associated with a single pointer assigned when mouse input is first detected. Clicking a mouse button (left, wheel, or right) creates a secondaryassociation between the pointer and that button through the PointerPressed event. The PointerReleased event is fired only when that same mouse button isreleased (no other button can be associated with the pointer until this event is complete). Because of this exclusive association, other mouse button clicks arerouted through the PointerMoved event.

References:https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.pointerreleased.aspx

QUESTION 26DRAG DROPYou are developing a Universal Windows Platform (UWP) app that will be used on desktop computers and phones. The app will use facial recognition.

You need to develop a method that verifies whether a camera is present.

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 notat all. You may need to drag the split bar between panes or scroll to view content.

Page 32: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Select and Place:

Correct Answer:

Section: [none]

Page 33: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Explanation

Explanation/Reference:Explanation:Capture photos and video with MediaCapture.To get available devices for capturing pictures you can use the following code:

var allVideoDevices = await DeviceInformation.FindAllAsync(DeviceClass.VideoCapture);

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

QUESTION 27DRAG DROPYou are building a Universal Windows Platform (UWP) app.

You need to ensure that users can start the app by using voice command in Cortana.

Which four 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 thecorrect order.

Select and Place:

Page 34: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Page 35: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:These are the basic steps to add voice-command functionality and integrate Cortana with your app using speech or keyboard input:1. Create a VCD file. This is an XML document that defines all the spoken commands that the user can say to initiate actions or invoke commands when activating

your app. 2. Register the command sets in the VCD file when the app is launched.3. Handle the activation-by-voice-command, navigation within the app, and execution of the command.

Box 1: Create a VCD file. This is an XML document that defines all the spoken commands that the user can say to initiate actions or invoke commands whenactivating your app.

Box 2: Register the command sets in the VCD file when the app is launched.

Here's an example that shows how to install the commands specified by a VCD file (vcd.xml).C#

Page 36: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

var storageFile =await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///AdventureWorksCommands.xml"));awaitWindows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager.InstallCommandDefinitionsFromStorageFileAsync(storageFile);

Box 3:Once your app has been launched and the voice command sets installed, specify how your app responds to subsequent voice command activations.Example:protected override void OnActivated(IActivatedEventArgs e){// Was the app activated by a voice command?if (e.Kind != Windows.ApplicationModel.Activation.ActivationKind.VoiceCommand){return;}

Etc.

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

QUESTION 28HOTSPOTYou have the following code:

event1 += new PointerEventHandler(Target_PointerPressed);event2 += new PointerEventHandler(Target_PointerWheelChange);event3 += new PointerEventHandler(Target_PointerReleased);

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

Hot Area:

Page 37: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Section: [none]Explanation

Explanation/Reference:Explanation:*PointerPressed occurs when a single finger touches the screen.*PointerWheelChanged occurs when the delta value of a mouse wheel changes.*PointerReleased occurs when that same touch contact is lifted.ThePointerReleased eventoccurs when the pointer device that previously initiated a Press action is released, while within this element. Note that the end of a Pressaction is not guaranteed to fire a PointerReleased event; other events may fire instead.

References:

QUESTION 29DRAG DROPYou are developing a Universal Windows Platform (UWP) app that will provide users with the ability to assign tasks to their contacts. The app will have a button thatusers click to display their contact list.

You need to develop the click event handler for the button.

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 notat all. You may need to drag the split bar between panes or scroll to view content.

Page 38: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

http://www.gratisexam.com/

Select and Place:

Correct Answer:

Page 39: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:Example:private async void PickAContactButton_Click(object sender, RoutedEventArgs e){ContactPicker contactPicker = new ContactPicker();

Contact contact = await contactPicker.PickContactAsync();}

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

QUESTION 30DRAG DROPYou are developing an app in Microsoft Visual Studio 2015. The source code is stored in a team project in Visual Studio Online. Visual Studio Online is configured touse Team Foundation version control. The team project is configured to use a Builds check-in policy.

Page 40: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

After you make some changes to the code, the project fails to build because of code errors.

You need to provide another developer with the ability to review the code changes.

Which four 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 thecorrect order.

Select and Place:

Correct Answer:

Page 41: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:Box 1, Box 2:From the web portal home page, start a feedback request by clicking the Request feedback button.Box 3:Add the feedback reviewers.Box 4:Reviewers launch your application and provide feedback through the free Microsoft Feedback Client which they need to install.

References:https://msdn.microsoft.com/en-us/library/vs/alm/work/connect/get-feedback

Page 42: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

QUESTION 31You need to perform exploratory testing of a Universal Windows Platform (UWP) app.

What are two possible products that you can use? Each correct answer presents a complete solution.

A. Microsoft Visual StudioB. Microsoft Visual Studio OnlineC. Microsoft Test ManagerD. the Microsoft Platform Ready Test ToolE. Microsoft Blend for Visual Studio

Correct Answer: BCSection: [none]Explanation

Explanation/Reference:Explanation:

B: Exploratory testing using Microsoft's new Chrome extension, Perfecto's Microsoft Visual Studio (VSO) extension has the capability to perform manual tests andreport bugs directly from within the browser to VSO.C: Exploratory testing using Microsoft Test ManagerWhile you work with your application, Microsoft Test Manager (MTM) can record your actions, comments, screenshots and other data. The recording makes it easyto reproduce bugs. And you can quickly play back your tests whenever the application is updated.

Incorrect Answers:D: The Microsoft Platform Ready (MPR) Test Tool is used for platform application readiness and to validate compliance with certification requirements for WindowsServer 2012 and Windows Server 2012 R2 applications.E: Microsoft Blend for Visual Studio is a user interface design tool developed and sold by Microsoft for creating graphical interfaces.

References:https://msdn.microsoft.com/en-us/library/hh191621.aspxhttp://blog.perfectomobile.com/product-news/perfecto-announces-integration-with-microsoft-visual-studio-online/

QUESTION 32You are developing a Universal Windows Platform (UWP) app that has the following unit test.

Page 43: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

You need to ensure that TestMethod1 appears in the Test Explorer window of Microsoft Visual Studio.

What should you add?

A. [TestCategory("Enabled")]before the UnitTest1 declarationB. [TestProperty("Enabled","True")]before the TestMethod1 declarationC. [TestClass]before the UnitTest1 declarationD. [TestProperty("AutoStart","True")] before the TestMethod1 declaration

Correct Answer: CSection: [none]Explanation

Explanation/Reference:Explanation:

The [TestClass] attribute is required in the Microsoft unit testing framework for managed code for any class that contains unit test methods that you want to run inTest Explorer.

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

QUESTION 33Your company uses Git repositories with topic branches and Microsoft Visual Studio for Universal Windows Platform (UWP) app development.

You are developing a new feature for an app named App1.

Page 44: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

You need to provide three developers with the ability to review the code and provide comments in the code.

Which action should you use from Visual Studio?

A. CommitB. New Pull RequestC. Request feedbackD. Code Review

Correct Answer: BSection: [none]Explanation

Explanation/Reference:Explanation:

You can use Git pull requests to review code. You can add comments to the pull request as both author and as a reviewer of the pull request. Comments can beassociated with a specific code change or at a general discussion level of the pull request.

References:https://msdn.microsoft.com/en-us/library/vs/alm/code/git/pull-requests

QUESTION 34HOTSPOTYou have the following code:

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

Hot Area:

Page 45: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Section: [none]Explanation

Explanation/Reference:

Page 46: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Explanation:Box 1: NoThe SuggestedStartLocation gets or sets the initial location where the file open picker looks for files to present to the user. Here is just gets the location.

Box 2: NoFileOpenPicker.PickMultipleFilesAndContinue method shows the file picker so that the user can pick multiple files, deactivating and the app and reactivating it whenthe operation is complete.

To get asynchcronous execution use the PickMultipleFilesAsync method.

Box 3: YesThe line filePicker.ViewMode = PickerViewMode.List specifies that a list will be accepted.

References:https://msdn.microsoft.com/library/windows/apps/br207847

http://www.gratisexam.com/

QUESTION 35DRAG DROPYou are developing a Universal Windows Platform (UWP) app.

You have the following XAML code.

You need to localize the app so that it displays "Bonjour" if the current language in Windows is set to French.

Which four 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 thecorrect order.

Select and Place:

Page 47: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Page 48: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:Box 1, Box 2:The localized Resources.resw files should be put into subfolders of a folder named Strings.

Box 3:The Resources.resw files contain localized text.

Box 4:In Visual Studio you can set “Build Action” for a project item to ‘Resource’ or ‘Embedded Resource’ A “.resx” file is a special kind of embedded resource.

Page 49: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

References:https://msdn.microsoft.com/library/aa992030(v=vs.100).aspx

QUESTION 36DRAG DROPYou are developing a Universal Windows Platform (UWP) app.

You need to ensure that the app can respond to speech.

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 notat all. You may need to drag the split bar between panes or scroll to view content.

Select and Place:

Correct Answer:

Page 50: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:Similar example:private async void StartRecognizing_Click(object sender, RoutedEventArgs e){// Create an instance of SpeechRecognizer.var speechRecognizer = new Windows.Media.SpeechRecognition.SpeechRecognizer();

// Compile the dictation grammar by default.await speechRecognizer.CompileConstraintsAsync();

// Start recognition.Windows.Media.SpeechRecognition.SpeechRecognitionResult speechRecognitionResult = await speechRecognizer.RecognizeWithUIAsync();

Page 51: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

// Do something with the recognition result.var messageDialog = new Windows.UI.Popups.MessageDialog(speechRecognitionResult.Text, "Text spoken");await messageDialog.ShowAsync();}

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

QUESTION 37DRAG DROPYou are developing a Universal Windows Platform (UWP) app named App1.

App1 can be started by using Cortana. To start the app, users must be able to say “App1 play my music" or "App1 play music".

You need to write the Voice Command Definition (VCD) file to meet the requirement.

How should you complete the code? Tо answer, drag the appropriate code elements to the correct targets. Each element may be used once, more than once, or notat all. You may need to drag the split bar between panes or scroll to view content.

Select and Place:

Correct Answer:

Page 52: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:To specify where the app name can be spoken in the voice command.The ListenFor element has a RequireAppName attribute that specifies where the app name can appear in the voice command. The BeforePhrase indicates thatusers must say your app name before the command phrase.

Example: Here, Cortana listens for "Adventure Works when is my trip to Las Vegas".<ListenFor RequireAppName="BeforePhrase"> when is [my] trip to {destination} </ListenFor>

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

QUESTION 38You 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? Select two.

Page 53: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

A. Data storage type: SQL ServerB. Data storage type: SQL AzureC. Data storage type: Oracle Data ProviderD. Data storage type: XMLE. Data access method: ASMX ServicesF. Data access method: WCF ServicesG. Data access method: ODataH. Data access method: JSON

Correct Answer: BGSection: [none]Explanation

Explanation/Reference:Explanation:OData is the built-in data access protocol for tables in Microsoft's Windows Azure, and it's supported for access to relational data in SQL Azure as well. ODataprovides an abstract data model. An OData client accesses data provided by an OData service using standard HTTP. The OData protocol largely follows theconventions defined by REST, which define how HTTP verbs are used. OData is being used to expose data from a variety of sources, from relational databases likeSQL Azure and file systems to content management systems and traditional websites. References:https://msdn.microsoft.com/en-us/data/hh237663.aspx

QUESTION 39DRAG DROPYou are developing a Universal Windows Platform (UWP) app that will take photos. The app will be used across Windows 10 device families.

You need to ensure that when the app runs on a phone, the app can use the built-in features of the phone.

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 notat all. You may need to drag the split bar between panes or scroll to view content.

Select and Place:

Page 54: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Page 55: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:Box 1, box 2:Example code:Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.Phone.UI.Input.HardwareButtons");

if (isHardwareButtonsAPIPresent){Windows.Phone.UI.Input.HardwareButtons.CameraPressed +=HardwareButtons_CameraPressed;}

Box 3:Example: Making the Back button appear requires just one line of code:

Page 56: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible;

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

QUESTION 40DRAG DROPYou are developing a Universal Windows Platform (UWP) app.

While testing the app, you discover performance issues.

You need to profile the performance of the app as the app runs.

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

Select and Place:

Correct Answer:

Page 57: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Visual Studio diagnostic tools help you analyze the performance of your programs .Click Debug / Start Diagnostic Tools Without Debugging. Change the target toyour project, and then select which Tool you want to run, such as Code Analysis.

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

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

You plan to publish the app to the Microsoft Store. The app will have a 30-day trial mode.

During the trial mode, you need to limit the number of exposed features.

Which object should you use to ascertain whether the app is running in trial mode?

A. CurrentAppB. ListingInformation

Page 58: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

C. CurrentD. Application

Correct Answer: BSection: [none]Explanation

Explanation/Reference:Explanation:

Exclude or limit features in a trial version by using the current license state of your app, that is stored as properties of the LicenseInformation class.

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

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

You need to ensure that the app can access removable storage drives.

Which file should you modify?

http://www.gratisexam.com/

A. Package.appxmanifestB. Project.jsonC. Project.csprojD. App.xaml.cs

Correct Answer: ASection: [none]Explanation

Explanation/Reference:Explanation:

Page 59: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

The removableStorage capability provides programmatic access to files on removable storage, like USB keys and external hard drives, filtered to the file-typeassociations declared in the package manifest Package.appxmanifest.

Note: Capabilities must be declared in your Universal Windows Platform (UWP) app's package manifest, Package.appxmanifest, to access certain API or resourceslike pictures, music, or devices like the camera, the microphone, or removable storage devices.The package manifest, Package.appxmanifest, is an XML document that contains the info the system needs to deploy, display, or update a Windows app.

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

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

You need to change the name of the app that will be displayed in the Store.

Which file should you modify?

A. App.xaml.csB. Package.appxmanifestC. AssemblyInfo.csD. Project.json

Correct Answer: BSection: [none]Explanation

Explanation/Reference:Explanation:

The removableStorage capability provides programmatic access to files on removable storage, like USB keys and external hard drives, filtered to the file-typeassociations declared in the package manifest Package.appxmanifest.

Note: Capabilities must be declared in your Universal Windows Platform (UWP) app's package manifest, Package.appxmanifest, to access certain API or resourceslike pictures, music, or devices like the camera, the microphone, or removable storage devices.The package manifest, Package.appxmanifest, is an XML document that contains the info the system needs to deploy, display, or update a Windows app.

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

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

Page 60: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

You need to convert a .resx file to a .resources file

Which tool should you use?

A. ResgenB. RegasmC. WinresD. Regsvcs

Correct Answer: ASection: [none]Explanation

Explanation/Reference:Explanation:

The Resource File Generator (Resgen.exe) converts text (.txt or .restext) files and XML-based resource format (.resx) files to common language runtime binary(.resources) files that can be embedded in a runtime binary executable or satellite assembly.

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

QUESTION 45DRAG DROPYou are developing a Universal Windows Platform (UWP) app.

You need to create a grid that has three rows and two columns. The grid must contain a button located at the first row and the second column.

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 notat all. You may need to drag the split bar between panes or scroll to view content.

Select and Place:

Page 61: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Page 62: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:

http://www.gratisexam.com/

QUESTION 46What is the best control to use for the top-level navigation? More than one answer choice may achieve this goal. Select the BEST answer.

Page 63: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

A. SemanticZoomB. PivotC. SplitViewD. ListView

Correct Answer: BSection: [none]Explanation

Explanation/Reference:Explanation:

Tabs and pivots are used for navigating frequently accessed, distinct content categories. Tabs/pivots can be used for top-level or sub-level navigation, and can bestacked in a top-level/sub-level pattern.

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

QUESTION 47DRAG DROPOn the details page, you render the picture of the computer inside an object of the Rectangle type.

You need to implement the ability to rotate the rectangle that contains the picture.

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 notat all. You may need to drag the split bar between panes or scroll to view content.

Select and Place:

Page 64: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Correct Answer:

Page 65: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

Section: [none]Explanation

Explanation/Reference:Explanation:Box 1, Box 2: Get the Rectangle and its RenderTransform matrix:Rectangle rectToMove = e.OriginalSource as Rectangle;Matrix rectsMatrix = ((MatrixTransform)rectToMove.RenderTransform).Matrix;

Box 3, box 4, box 5: Rotate the Rectangle:rectsMatrix.RotateAt(e.DeltaManipulation.Rotation,e.ManipulationOrigin.X,e.ManipulationOrigin.Y);

References:https://msdn.microsoft.com/library/ee649090(v=vs.100).aspx

Page 66: Microsoft.selftesttraining.70-355.v2016-12-23.by.Gita · IntelliTest explores your .NET code to generate test data and a suite of unit tests. For every statement in the code, a test

http://www.gratisexam.com/

http://www.gratisexam.com/