nerdexam
Microsoft

PL-400 · Question #314

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…

The correct answer is B. Create a plug-in that uses the update method for the rollup field. Configure a step on the Create. To ensure Dataverse rollup fields immediately recalculate after a related record is created, a plug-in should be used to trigger an update on the parent record.

Submitted by devops_kid· Apr 18, 2026

Question

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?

Options

  • ACreate new calculated fields on the customer entity for insurance exposure and risk. Configure
  • BCreate a plug-in that uses the update method for the rollup field. Configure a step on the Create
  • CCreate new fields on the customer entity for insurance exposure and risk. Write a plug-in that is
  • DCreate new fields on the customer entity for insurance exposure and risk. Write a workflow

How the community answered

(28 responses)
  • A
    18% (5)
  • B
    71% (20)
  • C
    7% (2)
  • D
    4% (1)

Why each option

To ensure Dataverse rollup fields immediately recalculate after a related record is created, a plug-in should be used to trigger an update on the parent record.

ACreate new calculated fields on the customer entity for insurance exposure and risk. Configure

Calculated fields are derived from formulas on the same record or related records, but they do not actively force the recalculation of existing rollup fields when new child records are added.

BCreate a plug-in that uses the update method for the rollup field. Configure a step on the CreateCorrect

A plug-in registered on the `Create` event of the policy entity can programmatically trigger an `Update` operation on the parent customer entity; this action forces the Dataverse rollup field to re-evaluate and update its value immediately.

CCreate new fields on the customer entity for insurance exposure and risk. Write a plug-in that is

While a plug-in is the correct approach, this option is too vague and does not specify the critical action of using the `update method for the rollup field` or its parent record.

DCreate new fields on the customer entity for insurance exposure and risk. Write a workflow

Standard workflows do not provide the direct capability to force an immediate recalculation of rollup fields in response to a child record's creation; their capabilities are generally declarative or use limited actions.

Concept tested: Dataverse rollup field immediate recalculation

Source: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/create-update-delete-entities-using-sdk-for-net#trigger-recalculation-of-rollup-fields

Community Discussion

No community discussion yet for this question.

Full PL-400 Practice