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.
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.https://msdn.microsoft.com/en-us/library/system.windows.input.commandbinding.canexecute(v=vs.110).aspx
Wrote it today and finally passed in Washington Dc. Questions here are not valid already here in my city. Anyway, just come to share some questions in my test:
QUESTION
Drag and Drop Question
You are developing a Universal Windows Platform (UWR) 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.
image_thumb
Answer:
image_thumb[1]
QUESTION
You are developing a Universal Windows Platform (UWP) app.
In MainPage.xaml, you have the following markup.
image_thumb[2]
You plan to implement localization for the following cultures:
de-DE
fr-CA
en-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.
You need 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”.
Answer: BE
QUESTION
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.
From the Diagnostic Tools, click Take Snapshot when each breakpoint is hit.
B. From the Debug tab in Visual Studio, click Start Diagnostic Tools Without Debugging, select Application Timeline, and then click Start.
From the Windows Performance Analyzer, record the memory consumption.
C. From Windows Performance Monitor, create a Data Collector Set (DCS).
Start the DCS, run the app, and then stop the DCS.
Answer: A
QUESTION
You are developing a Universal Windows Platform (UWP) app that will support two displays.
The primary display will have a maximum resolution of 1080 p.
The secondary 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.
D. Set the AutoScaleMode property for the app.
Answer: C
QUESTION
Drag and Drop Question
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.
image_thumb[3]
Answer:
image_thumb[4]
QUESTION
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
QUESTION
Drag and Drop Question
You 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 not at all. You may need to drag the split bar between panes or scroll to view content.
image_thumb[5]
Answer:
image_thumb[6]
QUESTION
You 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?
A. windbg.exe
B. msvsmon.exe
C. al.exe
D. msbuild.exe
Answer: A
QUESTION
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: D
QUESTION
Drag and Drop Question
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.
image_thumb[7]
Answer:
image_thumb[8]
QUESTION
Drag and Drop Question
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.
image_thumb[9]
Answer:
image_thumb[10]
QUESTION
Your 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.
Answer: C
So sorry guys, it seems that pics are not supported here, full version check here: http://www.itcertvce.com/?s=70-354