Free PL-400 Exam Braindumps (page: 18)

Page 18 of 89
View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You need to correct the portal query issues.

Which code should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Scenario: The query for all registered users must return the data categorized by division. Queries must return only the Name and Sport fields. Queries return all fields. The query is as follows:


Box 1: GET ..$select=name, sport
Use select to return only the Name and Sport fields.

Box 2: $apply(groupby(sport ne null) Categorize by division, that is to sports.



A client requires that the system send an email from a button on their customer contact form.
You need to call the action from JavaScript.

Which two functions achieve this result? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. Xrm.WebApi.online.executeMultiple()
  2. Xrm.WebApi.online.updateRecord()
  3. Xrm.WebApi.online.createRecord()
  4. Xrm.WebApi.online.execute()

Answer(s): A,D

Explanation:

Xrm.WebApi.online.executeMultiple executes a collection of action, function, or CRUD operations. Xrm.WebApi.online.execute executes a single action, function, or CRUD operation.


Reference:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/executemultiple
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/execute



A company has two development instances, two test instances, two staging instances, and one production instance.
The test team reports connection issues with the test and staging instances.
You need to identify which of the instances the testing team currently has access.
Which two URLs can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. https://globaldisco.crm.dynamics.com/api/discovery/v9.1/instances
  2. https://myorg.api.crm.dynamics.com/api/data/v9.1/
  3. https://dev.crm.dynamics.com/api/discovery/v9.1/instances
  4. https://disco.crm.dynamics.com/api/discovery/v9.1/
  5. https://dev.crm.dynamics.com/api/discovery/v9.1/instances(UniqueName=’myorg’)

Answer(s): C,E

Explanation:

Organization information is stored in the Instance entity of the Discovery service. To see the kind of information contained in that entity, send an HTTP GET request to the service for one of your instances.

GET https://dev.{servername}/api/discovery/v9.0/Instances(UniqueName='myorg')

Example: Get the details of a specific instance. If you leave out the GUID, all instances that the authenticated user has access to are returned.
GET https://dev.{servername}/api/discovery/v9.0/Instances(<guid>)


Reference:

https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/webapi/discover-url-organization-web-api



You are a Dynamics 365 developer working on a model-driven app.

You add a button to an entity form and to the view for the entity that calls a JavaScript function. When you click the button, it results in an error.

You determine that the JavaScript function is calling another JavaScript function in a different web resource. You need to resolve the error.
What should you do?

  1. In the JavaScript web resource, add the missing web resource as a dependency.
  2. Add &ribbondebug=true to the app URL and run the Command Checker tool.
  3. From the Ribbon Workbench, add the missing JavaScript web resource as a CustomRule in
    EnableRules.

Answer(s): A

Explanation:

Web resource dependencies -
You can define dependencies between other web resources. The primary purpose of this feature is to allow association of String (RESX) web resources with the
JavaScript web resources that will use them. This is also the way that web resources required by HTML web resources for use offline can be configured to also be available offline.
Within a solution you can define dependencies within solution components. Up until Mode-driven Apps the main purpose of these dependencies was to prevent the deletion of a solution component when another solution component depended on it. With Model-driven apps the behavior for JavaScript web resources is enhanced so that any other web resource listed as a dependency to the JavaScript web resource will be loaded along with the JavaScript web resource.

Incorrect:
Not B: &ribbondebug=true is used for debugging.
Not C: When configuring ribbon elements, you can define specific rules to control when the ribbon elements are enabled.
Custom Rule uses the <CustomRule> element. Use this kind of rule to call a function in a Script (JScript) web resource that returns a Promise (Unified Interface) or boolean (Unified Interface and web client).


Reference:

https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/web-resource-dependencies
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/define-ribbon-enable-rules



Page 18 of 89



Post your Comments and Discuss Microsoft PL-400 exam with other Community members:

Jawad commented on August 30, 2024
Just passed this PL-400 exam.
Anonymous
upvote

Chiranthaka commented on September 20, 2023
very useful.
Anonymous
upvote

Jeya commented on September 13, 2023
its very useful
INDIA
upvote

Chiranthaka commented on September 20, 2023
very useful!
Anonymous
upvote

Chiranthaka commented on September 20, 2023
Very useful!
Anonymous
upvote

Chiranthaka commented on September 20, 2023
Very useful.
Anonymous
upvote

Jeya commented on September 13, 2023
It's Very Useful
INDIA
upvote

HEBA commented on August 06, 2023
MORE QUESTION
EGYPT
upvote

Gurpret commented on May 12, 2022
I just got a 82% on the exam. Passing is 75%.
UNITED STATES
upvote

Armeen commented on April 18, 2022
Did the online exam this morning and passed.
CANADA
upvote

Mona commented on July 06, 2021
I am posting to let everyone know I passed my certification exam ysterday.
INDIA
upvote

Eva commented on May 19, 2021
I found the practice questions very helpful.
NEW ZEALAND
upvote