PL-400 Exam Question 136

An online store has a custom web page that allows customers to place their orders against a Microsoft Dataverse database that uses custom products. The custom web page uses Web API patterns to create and update records.
Customers report that orders can be placed for out-of-stock items.
You need to update the page code to ensure that inventory is available before confirming an order.
Which pattern should you use for each step? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

PL-400 Exam Question 137

A manufacturing company takes online orders.
The company requires automatic validation of order changes. Requirements are as follows:
* If validation is successful, the order changes must be submitted.
* If exceptions are encountered, a message must be shown to the customer and the order changes must not be submitted.
You need to set up and deploy a plug-in that encapsulates the rules.
Which options should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

PL-400 Exam Question 138

You are creating a model-driven app for a company Sales team members will use the app to manage leads. The app will interact with the Microsoft Dataverse Leads table. You must configure the app to meet the following requirements:
* If the estimated value for a lead is greater than $10,000 the app must
* Send an email to a manager.
Display a field named Sponsor on the lead form.
* If the estimated value for a lead is greater than $100.000 the app must:
* Send an email to the company s vice president.
* Display the following message as a notification while the lead record is open: High value customer, handle will care.
You need to configure the app. The solution must minimize the use of code.
Which options should you use? To answer, drag the appropriate options to the correct requirements. Each option 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.
NOTE: Each correct selection is worth one point.

PL-400 Exam Question 139

You are creating an app for a school.
You need to implement client-side logic that uses the Microsoft Dataverse web API to evaluate the class type associated with a class record. The code must hide the School Schedule tab if no value is entered for Class Type.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

PL-400 Exam Question 140

A company implementsDynamics 365 Customer Service. The company deploys synchronous plug-ins for the PreOperation and PostOperation stages on create and for the PostOperation stage on update for processing different case type.
Users experience errors when updating cases. The plug-in trace log files show that the PostOperation plug-in update of case times out after two minutes.
You perform basic testing and discover that this plug-in is triggered on every update of a case. You examine the code and discover that the plug-in retrieves all columns for the updated case record performing its work.
You need to reduce the number of errors. You need to achieve this goal with the test amount of changes.
Solution:
* In the Plug-in Registration tool, add a post Image to the plug-in step and include the Fields that the plug-in needs.
* Remove the retrieves statement from the plug-in code and reference the post image.
Does the solution meet the goal?