getcertified4sure.com

Shortcuts To 70-357(1 to 10)




Our pass rate is high to 98.9% and the similarity percentage between our 70-357 study guide and real exam is 90% based on our seven-year educating experience. Do you want achievements in the Microsoft 70-357 exam in just one try? I am currently studying for the Microsoft 70-357 exam. Latest Microsoft 70-357 Test exam practice questions and answers, Try Microsoft 70-357 Brain Dumps First.

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


Q2. DRAG DROP

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

Select and Place:

Answer: 

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 origin

Without additional configuration, pushes the current branch to the configured upstream

http://git-scm.com/docs


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


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


Q5. HOTSPOT

You have the following code:

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

Hot Area:

Answer: 

Explanation: 

Box 1: No

The 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: No

FileOpenPicker.PickMultipleFilesAndContinue method shows the file picker so that the user can pick multiple files, deactivating and the app and reactivating it when the operation is complete.

To get asynchcronous execution use the PickMultipleFilesAsync method.

Box 3: Yes

The line filePicker.ViewMode = PickerViewMode.List specifies that a list will be accepted.

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


Q6. DRAG DROP

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

Select and Place:

Answer: 

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.

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


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


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


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


Q10. DRAG DROP

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

panes or scroll to view content.

Select and Place:

Answer: 

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

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