getcertified4sure.com

Aug 2021 updated: Actualtests Microsoft 70-357 exam 1-10




Pinpoint of 70-357 practice exam materials and secret for Microsoft certification for IT specialist, Real Success Guaranteed with Updated 70-357 pdf dumps vce Materials. 100% PASS Developing Mobile Apps exam Today!

Q1. DRAG DROP

You 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 the correct order.

Select and Place:

Answer: 

Explanation: 

Visual Studio diagnostic tools help you analyze the performance of your programs .Click Debug / Start

Diagnostic Tools Without Debugging. Change the target to your project, and then select which Tool you want to run, such as Code Analysis.

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


Q2. DRAG DROP

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

Select and Place:

Answer: 

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:

SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility =

AppViewBackButtonVisibility.Visible;

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


Q3. DRAG DROP

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

Select and Place:

Answer: 

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();

// Do something with the recognition result.

var messageDialog = new Windows.UI.Popups.MessageDialog(speechRecognitionResult.Text, “Text spoken”);

await messageDialog.ShowAsync();

}

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


Q4. DRAG DROP

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

Select and Place:

Answer: 


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

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

Which tool should you use?

A. Resgen

B. Regasm

C. Winres

D. Regsvcs

Answer: A

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.

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


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

B. Package.appxmanifest

C. AssemblyInfo.cs

D. Project.json

Answer: B

Explanation: 

The removableStorage capability provides programmatic access to files on removable storage, like USB keys and external hard drives, filtered to the file-type associations 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 resources like 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.

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


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

B. ListingInformation

C. Current

D. Application

Answer: B

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.

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


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

A. Package.appxmanifest

B. Project.json

C. Project.csproj

D. App.xaml.cs

Answer: A

Explanation: 

The removableStorage capability provides programmatic access to files on removable storage, like USB keys and external hard drives, filtered to the file-type associations 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 resources like 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.

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


Q9. DRAG DROP

You 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 not at all. You may need to drag the split bar between

panes or scroll to view content.

Select and Place:

Answer: 


Q10. You 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?

A. Package.appxmanifest

B. Project.json

C. Project.csproj

D. App.xaml.cs

Answer: A

Explanation: 

The removableStorage capability provides programmatic access to files on removable storage, like USB keys and external hard drives, filtered to the file-type associations 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 resources like 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.

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