exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 8 question 7 discussion

Actual exam question from Microsoft's PL-400
Question #: 7
Topic #: 8
[All PL-400 Questions]

A company uses Microsoft Dataverse rollup fields to calculate insurance exposure and risk profiles for customers.
Users report that the system does not update values for the rollup fields when new insurance policies are written.
You need to recalculate the value of the rollup fields immediately after a policy is created.
What should you do?

  • A. Create new calculated fields on the customer entity for insurance exposure and risk. Create a formula to calculate the sum of values from policy records.
  • B. Change the frequency of the Calculate Rollup Field recurring job from every hour to every five minutes.
  • C. Create a plug-in that uses the update method for the rollup fields. Configure a step on the Create event for the policy entity for this plug-in.
  • D. Create a plug-in that uses the CalculateRollupFieldRequest method for the rollup field. Configure a step on the Create event for the policy entity for this plug-in.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Retrieve a calculated rollup column value immediately
Rollup columns support a CalculateRollupField message that developers can use to calculate a rollup column value on demand. The request and response, along with the members, are shown in the following table.

This message is a synchronous operation for just the column identified in the request. If the value of that record is included as part of other rollup columns, the values of those columns won't take the possible value change caused by calling this method into consideration until the regularly scheduled asynchronous jobs that perform those calculations occur.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Juan0414
3 months, 3 weeks ago
Selected Answer: D
Correct! Same question here: https://www.examtopics.com/discussions/microsoft/view/79525-exam-pl-400-topic-4-question-20-discussion/
upvoted 1 times
...
dacruzfe
9 months, 2 weeks ago
D. Create a plug-in that uses the CalculateRollupFieldRequest method for the rollup field. Configure a step on the Create event for the policy entity for this plug-in. This solution involves creating a plug-in that will trigger immediately after a new insurance policy is created. The plug-in will use the CalculateRollupFieldRequest method to recalculate the rollup field values for insurance exposure and risk profiles, ensuring they are updated immediately after a policy is created.
upvoted 3 times
...
[Removed]
10 months, 3 weeks ago
I think C
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...