nerdexam
Microsoft

PL-400 · Question #332

You are creating a plug-in for an app that helps government employees get a proof of vaccination card. You must add the following information to a vaccination record before a proof of vaccination…

The correct answer is D. PreOperation. To add required information to a vaccination record before it is created in Dataverse, the plug-in must be registered to execute in the PreOperation stage of the event pipeline.

Submitted by saadiq_pk· Apr 18, 2026

Question

You are creating a plug-in for an app that helps government employees get a proof of vaccination card. You must add the following information to a vaccination record before a proof of vaccination card is created: - Vaccination type - Date of vaccination - Name of person administering the vaccine You need to register the plug-in. In which stage should you register the plug-in?

Options

  • APreValidation
  • BPostOperation
  • CMainOperation
  • DPreOperation

How the community answered

(55 responses)
  • A
    5% (3)
  • B
    2% (1)
  • C
    11% (6)
  • D
    82% (45)

Why each option

To add required information to a vaccination record before it is created in Dataverse, the plug-in must be registered to execute in the PreOperation stage of the event pipeline.

APreValidation

PreValidation is the earliest stage, primarily for validating data or cancelling operations, not for modifying the entity's data prior to creation.

BPostOperation

PostOperation occurs after the main database transaction has completed, making it too late to modify data before the record's initial creation.

CMainOperation

MainOperation is the core platform operation itself (e.g., actual database write), where custom plug-in code cannot directly execute as a separate step in the event pipeline.

DPreOperationCorrect

The PreOperation stage allows custom logic to modify data before the main platform operation (like record creation) executes, but after initial validation. Registering the plug-in at this stage ensures that the vaccination type, date, and administrator's name are added to the record before it is officially committed to Dataverse.

Concept tested: Power Platform plug-in execution pipeline stages

Source: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/event-framework

Community Discussion

No community discussion yet for this question.

Full PL-400 Practice