PL 400 Configure Microsoft Dataverse 5 — Questions and Answers
Question 1: A developer is using the Dataverse Web API and needs to create a record only if one does not already exist, using an alternate key. Which HTTP operation should they use?
- POST to the entity set
- PATCH with If-None-Match: * header
- PUT to the entity set
- PATCH with the alternate key in the URL (Correct answer)
Correct answer: PATCH with the alternate key in the URL
Using PATCH with the alternate key value in the URL performs an upsert—creating the record if it doesn't exist or updating it if it does.
Question 2: Which Dataverse capability allows developers to define a set of columns that are automatically populated with a sequential number when a record is created?
- Calculated column
- Autonumber column (Correct answer)
- Formula column
- Default value column
Correct answer: Autonumber column
Autonumber columns generate sequential or custom-formatted numbers automatically when records are created.
Question 3: In Dataverse, what is the function of 'pre-entity images' in a plug-in?
- They store the record state after the operation completes
- They provide a snapshot of the record's attribute values before the operation (Correct answer)
- They cache the record for performance optimization
- They define the default values for new records
Correct answer: They provide a snapshot of the record's attribute values before the operation
Pre-entity images capture the state of the record before the triggering operation, useful for comparing old vs. new values.
Question 4: A developer wants to prevent users from entering duplicate account names in a Dataverse table. Which is the most appropriate Dataverse-native approach?
- Business rule with validation condition
- Duplicate detection rule (Correct answer)
- Alternate key on the name column
- Plug-in with custom validation
Correct answer: Duplicate detection rule
Duplicate detection rules in Dataverse identify and warn users or block creation of records with matching field values.
Question 5: Which Dataverse permission is required to publish customizations like table and column changes made in a managed or unmanaged solution?
- System Administrator
- System Customizer (Correct answer)
- Environment Maker
- Delegate
Correct answer: System Customizer
The System Customizer role has the Publish Customizations privilege required to push changes live in the environment.
Question 6: A developer needs to expose Dataverse table data to an external reporting tool that requires incremental data loads. Which feature should they configure on the table?
- Auditing
- Change tracking (Correct answer)
- Alternate key
- Elastic table mode
Correct answer: Change tracking
Enabling change tracking on a table allows external tools to retrieve only rows that have changed since the last retrieval using a delta token.
Question 7: When registering a Dataverse plug-in step, what does setting the execution mode to 'Asynchronous' mean?
- The plug-in runs before the database transaction commits
- The plug-in runs in the background after the main operation completes (Correct answer)
- The plug-in can cancel the operation if it throws an exception
- The plug-in runs synchronously on the server thread
Correct answer: The plug-in runs in the background after the main operation completes
Asynchronous plug-ins are queued and executed by the asynchronous processing service after the main transaction has completed.
A developer is using the Dataverse Web API and needs to create a record only if one does not already exist, using an alternate key.
Which HTTP operation should they use?