Microsoft 70-357 Developing Mobile Apps Exam Practice Test

Page: 1 / 14
Total 51 questions
Question 1

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

The app must be available on Windows Phone, Windows tablet devices, and Xbox.

When the app is running on a device, you need to determine which members of a specific class you can use.

Which of the following methods should you use?



Answer : D

The AppExtensionCatalog class represents a device. This class allows access to well-known device properties as well as additional properties specified during device enumeration.

A Successful completion of FindAllAsync results in a DeviceInformationCollection containing DeviceInformation objects.


Question 2

Note: This question is part of a series of questions that present the same scenario. Each

question in the series contains n unique solution. Determine whether the solution meets the stated goals.

You need to implement the appropriate XAML layout for the Timeline app.

Solution: You create an instance of a SplitView control.

Does this meet the goal?



Answer : B

A split view control has an expandable/collapsible pane and a content area.

Here is an example of the Microsoft Edge app using SplitView to show its Hub.


Question 3

Note: This question It part of a series of that present the tame scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.

You must create a project for shared code.

Solution: You implement the shared code in a .NET class library.

Does this meet goal?



Answer : B

The .NET Framework Portable Class Library, not a .NET class library, project type in Visual Studio helps you build cross-platform apps and libraries for Microsoft platforms quickly and easily.

Portable class libraries can help you reduce the time and costs of developing and testing code. Use this project type to write and build portable .NET Framework assemblies, and then reference those assemblies from apps that target multiple platforms such as Windows and Windows Phone.

Even after you create a Portable Class Library project in Visual Studio and start developing it, you can change the target platforms. Visual Studio will compile your library with the new assemblies, which helps you identify the changes you need to make in your code.

From scenario:

The app must be compatible with current and future XBOX apps that use C++.


Question 4

You need to ensure that the Timeline app meets the XAML coding requirements.

In Settings.xaml, which markup segment should you select to replace the markup segment at line

AS06?



Answer : A

From scenario: All code and markup must conform to the following style guidelines:

Use resource dictionaries for styles that are used more than once.

Use built-in properties of existing panels instead of using separate style objects.

XAML resources are objects that are referenced from markup more than once. Resources are defined in a ResourceDictionary, typically in a separate file or at the top of the markup page. In this scenario the ResourceDictionary is defined in the ResourceDictionery.xaml file.

You access members of the resource dictionary like any other dictionary.


Question 5

You have two Universal Windows Platform (UWP) apps named Catalog and Research, respectively.

You need to create a service in the Catalog app that can be queried by the Research app.

Which three tasks should you perform? Each correct answer presents part of the solution.



Answer : B, C, F

F: Example: Add an app service extension to package.appxmanifest

In the AppServiceProvider project's Package.appxmanifest file, add the following AppService extension to the <Application> element. This example advertises the com.Microsoft.Inventory service and is what identifies this app as an app service provider. The actual service will be implemented as a background task. The app service app exposes the service to other apps

B: Create the app service

An app service is implemented as a background task. This enables a foreground application to invoke an app service in another application to perform tasks behind the scenes. Add a new Windows Runtime Component project to the solution.

C: Deploy the service app and get the package family name

The app service provider app must be deployed before you can call it from a client. You will also need the package family name of the app service app in order to call it.


Question 6

You are developing a Universal Windows Platform (UWP) app that allows users to lake photos and record videos. The photos and videos must be stored in the user's Photos library and Videos library, respectively. The app must not display a user interface for saving files.

You need to configure the app.

Which set of capabilities should you declare in the app manifest?



Answer : B

You must specify the webcam or microphone capabilities in your app manifest file if you are using MediaCapture to capture audio, photos, or video programmatically.


Question 7

You need to configure the app to meet the load time requirements.

What should you do?



Answer : C

Scenario: You must optimize the app using the following guidelines:

You must minimize the time it takes to display content when an item on the timeline is selected.

The app must respect memory and resource constraints for all devices.

You use the NavigationCacheMode property to specify whether a new instance of the page is created for each visit to the page or if a previously constructed instance of the page that has been saved in the cache is used for each visit.

The default value for the NavigationCacheMode property is Disabled. Set the NavigationCacheMode property to Enabled or Required when a new instance of the page is not essential for each visit. By using a cached instance of the page, you can improve the performance of your application and reduce the load on your server.


Page:    1 / 14   
Total 51 questions