exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 4 question 28 discussion

Actual exam question from Microsoft's PL-400
Question #: 28
Topic #: 4
[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. Configure the formula to calculate the sum of values from policy records.
  • B. Create a plug-in that uses the update method for the rollup field. Configure a step on the Create event for the policy entity for this plug-in.
  • C. Create new fields on the customer entity for insurance exposure and risk. Write a plug-in that is triggered whenever a new policy is created.
  • D. Create new fields on the customer entity for insurance exposure and risk. Write a workflow process that is triggered when a new policy record is created to calculate the sum of values from policy records.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Kovval
2 months ago
Selected Answer: C
It's C - chat gpt
upvoted 1 times
...
Juan0414
5 months ago
Selected Answer: C
B is not the answer because it says "Create a plug-in that uses the UPDATE method for the ROLLUP field". That statement is wrong because using the standard update method on rollup fields will generate an error because they are read-only fields (https://learn.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.iorganizationservice.update?view=dataverse-sdk-latest#remarks) So, the only possible answer is C as it is the only other option that mentions a plug-in and that is the way that we can ensure a synchronous immediate recalculation of the field (And we assume that this plug-in uses CalculateRollupFieldRequest)
upvoted 2 times
...
jkaur
11 months, 3 weeks ago
Should be B
upvoted 1 times
...
Kline
1 year ago
Selected Answer: B
Yep 100%
upvoted 2 times
...
Chewpacker
1 year, 1 month ago
Selected Answer: B
Surely you don't need to create fields, you only need to manually fire an update on the existing rollup field on create?
upvoted 1 times
...
whiteblack
1 year, 2 months ago
The answer is C
upvoted 2 times
chiari_do
1 year, 2 months ago
Why create a new field?
upvoted 2 times
...
...
chiari_do
1 year, 2 months ago
Selected Answer: B
link for discussion: https://www.examtopics.com/discussions/microsoft/view/54488-exam-pl-400-topic-2-question-9-discussion/
upvoted 3 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 ...