Microsoft PL-400 Practice Test 26
Question 250
A nightly integration silently stops after a deployment because the trigger schedule is in the wrong timezone. Which Power Platform extension or architecture change BEST addresses the core requirement?
- Configure timer or queue triggers with schedule, delivery guarantees, failure behavior and concurrency suited to the Power Platform job.
- Use supported Power Platform managed identity for eligible plug-in outbound access and publish business events through configured secure contracts.
- Use child flows inside solutions to share reusable logic with declared inputs, outputs and correct run-only connection behavior.
- Use Azure Functions to offload expensive work from synchronous Dataverse plug-ins while authenticating separately and tracking completion.
Explanation
Correct Answer
A:Configure timer or queue triggers with schedule, delivery guarantees, failure behavior and concurrency suited to the Power Platform job. This choice implements the controlling platform requirement rather than masking the symptom. Queue-trigger delivery can be repeated; timer schedule state and host execution require monitoring. Verify the change using: Inspect cron schedule timezone, trigger binding, retry policy, poison queue, idempotent key and host instance scaling.
Incorrect Answers
B:Use supported Power Platform managed identity for eligible plug-in outbound access and publish business events through configured secure contracts. That action addresses Plug-in managed identity and business events instead. Managed identities reduce secret management but do not grant target resource permissions automatically. For this case, the targeted action is: Configure timer or queue triggers with schedule, delivery guarantees, failure behavior and concurrency suited to the Power Platform job.
C:Use child flows inside solutions to share reusable logic with declared inputs, outputs and correct run-only connection behavior. That action addresses Child flows and solution connection references instead. An arbitrary standalone flow cannot always be used directly as a solution child flow without the correct trigger and context. For this case, the targeted action is: Configure timer or queue triggers with schedule, delivery guarantees, failure behavior and concurrency suited to the Power Platform job.
D:Use Azure Functions to offload expensive work from synchronous Dataverse plug-ins while authenticating separately and tracking completion. That action addresses Azure Functions for long-running Dataverse work instead. Function execution is not automatically atomic with the Dataverse operation that queued it. For this case, the targeted action is: Configure timer or queue triggers with schedule, delivery guarantees, failure behavior and concurrency suited to the Power Platform job.
Question 251
A shared OnLoad handler receives undefined when moved to a second form because the execution context was not passed. Which observable test result BEST confirms that the intended Power Platform component behaves correctly?
- A confirmation can be cancelled safely without accidental update, and accessible feedback appears on the intended form.
- Only entitled users see and can execute the command, while the operation is still protected by server authorization.
- The same handler safely reads its form fields without depending on browser-global state or a particular record form.
- The UX reports a specific failed flow run and permits safe retry rather than claiming the business operation succeeded.
Explanation
Correct Answer
C:The same handler safely reads its form fields without depending on browser-global state or a particular record form. This is an observable application, data or security outcome, not merely a successful build message. The Client API formContext comes from the event context; standalone Web API calls do not expose a form object.
Incorrect Answers
A:A confirmation can be cancelled safely without accidental update, and accessible feedback appears on the intended form. This result validates Client notifications dialogs and navigation instead of the component in question. Here the specific acceptance check is: The same handler safely reads its form fields without depending on browser-global state or a particular record form.
B:Only entitled users see and can execute the command, while the operation is still protected by server authorization. This result validates Command bar Power Fx and JavaScript rules instead of the component in question. Here the specific acceptance check is: The same handler safely reads its form fields without depending on browser-global state or a particular record form.
D:The UX reports a specific failed flow run and permits safe retry rather than claiming the business operation succeeded. This result validates Code app use of Power Automate cloud flow instead of the component in question. Here the specific acceptance check is: The same handler safely reads its form fields without depending on browser-global state or a particular record form.
Question 252
A custom event payload omits the record ID and subscribers cannot identify which Dataverse row changed. Which observable test result BEST confirms that the intended Power Platform component behaves correctly?
- The connector surfaces callable typed actions that send valid requests to the intended backend.
- An incremental sync catches updates and deletions without rescanning every row or missing changes during paging.
- The business event arrives with enough immutable identifier and operation context for safe downstream handling.
- Two systems identify the same business record by stable external key without depending on environment-specific GUIDs.
Explanation
Correct Answer
C:The business event arrives with enough immutable identifier and operation context for safe downstream handling. This is an observable application, data or security outcome, not merely a successful build message. Event publication timing and transaction boundaries require care; a queued event is not proof a consumer processed it.
Incorrect Answers
A:The connector surfaces callable typed actions that send valid requests to the intended backend. This result validates Custom connector OpenAPI and operation identifiers instead of the component in question. Here the specific acceptance check is: The business event arrives with enough immutable identifier and operation context for safe downstream handling.
B:An incremental sync catches updates and deletions without rescanning every row or missing changes during paging. This result validates Dataverse change tracking incremental synchronization instead of the component in question. Here the specific acceptance check is: The business event arrives with enough immutable identifier and operation context for safe downstream handling.
D:Two systems identify the same business record by stable external key without depending on environment-specific GUIDs. This result validates Alternate keys for external identifiers instead of the component in question. Here the specific acceptance check is: The business event arrives with enough immutable identifier and operation context for safe downstream handling.
Question 253
An app reuses an expired ETag after a background flow updated the row and treats HTTP 412 as a network outage. Which Power Platform extension or architecture change BEST addresses the core requirement?
- Use a stable correlation/business key, durable receipt and bounded retry logic in Azure Functions consuming Power Platform events.
- Use Dataverse row ETags and If-Match for concurrency-sensitive updates rather than silently overwriting newer edits.
- Use the Dataverse Web API with logical names, $select, encoded $filter and @odata.nextLink pagination instead of retrieving unrestricted rows.
- Use child flows inside solutions to share reusable logic with declared inputs, outputs and correct run-only connection behavior.
Explanation
Correct Answer
B:Use Dataverse row ETags and If-Match for concurrency-sensitive updates rather than silently overwriting newer edits. This choice implements the controlling platform requirement rather than masking the symptom. Optimistic concurrency protects a versioned row but does not itself merge conflicting business values. Verify the change using: Check returned @odata.etag, match header, error on precondition failure and business conflict policy.
Incorrect Answers
A:Use a stable correlation/business key, durable receipt and bounded retry logic in Azure Functions consuming Power Platform events. That action addresses Azure Function idempotent integration recovery instead. At-least-once messages and function retries require idempotency at the actual business operation. For this case, the targeted action is: Use Dataverse row ETags and If-Match for concurrency-sensitive updates rather than silently overwriting newer edits.
C:Use the Dataverse Web API with logical names, $select, encoded $filter and @odata.nextLink pagination instead of retrieving unrestricted rows. That action addresses Dataverse OData Web API select filter and pagination instead. A page-size hint or first result set does not guarantee the entire data collection has been returned. For this case, the targeted action is: Use Dataverse row ETags and If-Match for concurrency-sensitive updates rather than silently overwriting newer edits.
D:Use child flows inside solutions to share reusable logic with declared inputs, outputs and correct run-only connection behavior. That action addresses Child flows and solution connection references instead. An arbitrary standalone flow cannot always be used directly as a solution child flow without the correct trigger and context. For this case, the targeted action is: Use Dataverse row ETags and If-Match for concurrency-sensitive updates rather than silently overwriting newer edits.
Question 254
An Update plug-in fires for every note-field edit because no filtering attributes were configured. Which observable test result BEST confirms that the intended Power Platform component behaves correctly?
- The C# extension updates only intended Dataverse attributes while surfacing actionable service faults.
- The handler reliably detects a value transition even when the incoming Update contains only changed columns.
- An agent answer is attributable to current permitted records and does not expose inaccessible employee data.
- The operation succeeds using its intended identity and forbidden tables remain denied to that principal.
Explanation
Correct Answer
B:The handler reliably detects a value transition even when the incoming Update contains only changed columns. This is an observable application, data or security outcome, not merely a successful build message. A Target entity can be sparse and an image only contains registered attributes; images do not automatically include all fields.
Incorrect Answers
A:The C# extension updates only intended Dataverse attributes while surfacing actionable service faults. This result validates Dataverse Organization Service SDK operations instead of the component in question. Here the specific acceptance check is: The handler reliably detects a value transition even when the incoming Update contains only changed columns.
C:An agent answer is attributable to current permitted records and does not expose inaccessible employee data. This result validates Work IQ grounded Dataverse access for agents instead of the component in question. Here the specific acceptance check is: The handler reliably detects a value transition even when the incoming Update contains only changed columns.
D:The operation succeeds using its intended identity and forbidden tables remain denied to that principal. This result validates OAuth delegated vs client credential in Dataverse instead of the component in question. Here the specific acceptance check is: The handler reliably detects a value transition even when the incoming Update contains only changed columns.
Question 255
Two teams implement the same address visibility rule in separate JavaScript files although the native rule supports it. Which Power Platform extension or architecture change BEST addresses the core requirement?
- Keep declarative form logic in business rules when possible and use a client script only when complex supported custom behavior is required.
- Use PCF context.webAPI, device and utility features only where supported by the intended host; fall back gracefully when unavailable.
- Use asynchronous Xrm.WebApi.retrieveMultipleRecords with encoded OData queries, selected columns, paging and proper error handling.
- Use Power Apps Monitor and browser developer tools to reproduce request errors, isolate code failures and distinguish host from API issues.
Explanation
Correct Answer
A:Keep declarative form logic in business rules when possible and use a client script only when complex supported custom behavior is required. This choice implements the controlling platform requirement rather than masking the symptom. Client-only rules cannot guarantee integrity for SDK/API writes; a complex callback may also increase form latency. Verify the change using: Compare available business-rule scopes, related-row access, API restrictions, field change triggers and testability.
Incorrect Answers
B:Use PCF context.webAPI, device and utility features only where supported by the intended host; fall back gracefully when unavailable. That action addresses PCF WebAPI Device and Utility usage instead. Device features and Web API capabilities can differ across hosts and platforms; test the actual target. For this case, the targeted action is: Keep declarative form logic in business rules when possible and use a client script only when complex supported custom behavior is required.
C:Use asynchronous Xrm.WebApi.retrieveMultipleRecords with encoded OData queries, selected columns, paging and proper error handling. That action addresses Dataverse Xrm.WebApi asynchronous lookups instead. Client API Web API operations are asynchronous and respect Dataverse security; querying every field is inefficient. For this case, the targeted action is: Keep declarative form logic in business rules when possible and use a client script only when complex supported custom behavior is required.
D:Use Power Apps Monitor and browser developer tools to reproduce request errors, isolate code failures and distinguish host from API issues. That action addresses Code app Monitor and browser troubleshooting instead. A failed HTTP call may be denied by authorization or an invalid query rather than an application crash. For this case, the targeted action is: Keep declarative form logic in business rules when possible and use a client script only when complex supported custom behavior is required.
Question 256
A telemetry ingestion app creates millions of short-lived device readings every week and queries by device partition. Which TWO complementary steps provide the intended implementation AND the evidence needed to validate it? Select TWO.
- Apply Dataverse security roles, teams and business-unit ownership plus application-user permissions to authorize the component at the correct data scope.
- Compare data throughput, TTL, partition strategy, supported relationship behavior and required plug-in or query features.
- Inspect client session diagnostics, plug-in trace logs, flow run IDs, app request headers, telemetry sampling and alert thresholds.
- Evaluate an elastic table for high-volume partitioned Dataverse workloads only after confirming partition keys, feature limits and transactional requirements.
- The custom agent and Power Platform app exchange only explicitly authorized structured requests and log outcomes.
Explanation
Correct Answers
B:Compare data throughput, TTL, partition strategy, supported relationship behavior and required plug-in or query features. These observations separate this failure from adjacent capabilities or permissions. Elastic tables differ from standard tables; their scale benefits do not eliminate data-model and partition tradeoffs. The relevant implementation is: Evaluate an elastic table for high-volume partitioned Dataverse workloads only after confirming partition keys, feature limits and transactional requirements. This is the diagnostic/verification half of the required two-step answer.
D:Evaluate an elastic table for high-volume partitioned Dataverse workloads only after confirming partition keys, feature limits and transactional requirements. This choice implements the controlling platform requirement rather than masking the symptom. Elastic tables differ from standard tables; their scale benefits do not eliminate data-model and partition tradeoffs. Verify the change using: Compare data throughput, TTL, partition strategy, supported relationship behavior and required plug-in or query features. This is the implementation half of the required two-step answer.
Incorrect Answers
A:Apply Dataverse security roles, teams and business-unit ownership plus application-user permissions to authorize the component at the correct data scope. This step belongs to Least-privilege technical authorization design rather than the complementary pair here. The required action is: Evaluate an elastic table for high-volume partitioned Dataverse workloads only after confirming partition keys, feature limits and transactional requirements. And its evidence is: Compare data throughput, TTL, partition strategy, supported relationship behavior and required plug-in or query features.
C:Inspect client session diagnostics, plug-in trace logs, flow run IDs, app request headers, telemetry sampling and alert thresholds. This step belongs to Cross-service monitoring and alert design rather than the complementary pair here. The required action is: Evaluate an elastic table for high-volume partitioned Dataverse workloads only after confirming partition keys, feature limits and transactional requirements. And its evidence is: Compare data throughput, TTL, partition strategy, supported relationship behavior and required plug-in or query features.
E:The custom agent and Power Platform app exchange only explicitly authorized structured requests and log outcomes. This step belongs to Microsoft Foundry versus Power Platform agent boundary rather than the complementary pair here. The required action is: Evaluate an elastic table for high-volume partitioned Dataverse workloads only after confirming partition keys, feature limits and transactional requirements. And its evidence is: Compare data throughput, TTL, partition strategy, supported relationship behavior and required plug-in or query features.
Question 257
An account activation plug-in must notify a downstream audit system without blocking users on remote service latency. Which Power Platform extension or architecture change BEST addresses the core requirement?
- Use Dataverse UpsertRequest or Web API upsert with alternate-key addressing for create-or-update synchronization while handling conflicts explicitly.
- Create a custom connector to a governed Azure Function API with documented OpenAPI schema, bounded response transforms and monitored errors.
- Choose Service Bus for enterprise queued commands/durable message handling and Event Hub for high-throughput event streaming when the consumer pattern warrants it.
- Publish Dataverse operation events to an approved endpoint using supported execution context and IOrganizationService or service endpoint integration contracts.
Explanation
Correct Answer
D:Publish Dataverse operation events to an approved endpoint using supported execution context and IOrganizationService or service endpoint integration contracts. This choice implements the controlling platform requirement rather than masking the symptom. Event publication timing and transaction boundaries require care; a queued event is not proof a consumer processed it. Verify the change using: Inspect message pipeline stage, endpoint configuration, event payload, caller identity, service bus connectivity and logs.
Incorrect Answers
A:Use Dataverse UpsertRequest or Web API upsert with alternate-key addressing for create-or-update synchronization while handling conflicts explicitly. That action addresses Dataverse UpsertRequest idempotent load instead. An upsert uses an identity key; it does not automatically validate every business rule or reconcile conflicting systems of record. For this case, the targeted action is: Publish Dataverse operation events to an approved endpoint using supported execution context and IOrganizationService or service endpoint integration contracts.
B:Create a custom connector to a governed Azure Function API with documented OpenAPI schema, bounded response transforms and monitored errors. That action addresses Azure Function-backed connector transformation instead. Adding an Azure Function shifts complexity out of a low-code app but does not remove authorization, quotas or API contract maintenance. For this case, the targeted action is: Publish Dataverse operation events to an approved endpoint using supported execution context and IOrganizationService or service endpoint integration contracts.
C:Choose Service Bus for enterprise queued commands/durable message handling and Event Hub for high-throughput event streaming when the consumer pattern warrants it. That action addresses Azure Service Bus and Event Hub endpoint selection instead. Event Hub event-stream semantics differ from Service Bus queue/topic message handling; neither implies exactly-once effects. For this case, the targeted action is: Publish Dataverse operation events to an approved endpoint using supported execution context and IOrganizationService or service endpoint integration contracts.
Question 258
A flow includes a service API key in a Compose action and exposes it to everyone who can review run history. Which observable test result BEST confirms that the intended Power Platform component behaves correctly?
- The operation succeeds using its intended identity and forbidden tables remain denied to that principal.
- Optional fields do not crash the run and required dates or numbers are validated before updates.
- The unattended flow continues after an employee leaves and fails safely on permission or data errors.
- Secrets stay out of ordinary run logs while operations retain auditable success and failure metadata.
Explanation
Correct Answer
D:Secrets stay out of ordinary run logs while operations retain auditable success and failure metadata. This is an observable application, data or security outcome, not merely a successful build message. Marking one action secure does not automatically protect every downstream string containing the secret.
Incorrect Answers
A:The operation succeeds using its intended identity and forbidden tables remain denied to that principal. This result validates OAuth delegated vs client credential in Dataverse instead of the component in question. Here the specific acceptance check is: Secrets stay out of ordinary run logs while operations retain auditable success and failure metadata.
B:Optional fields do not crash the run and required dates or numbers are validated before updates. This result validates Power Automate expressions null coalesce and safe parsing instead of the component in question. Here the specific acceptance check is: Secrets stay out of ordinary run logs while operations retain auditable success and failure metadata.
C:The unattended flow continues after an employee leaves and fails safely on permission or data errors. This result validates Dataverse connector service principal and retry policies instead of the component in question. Here the specific acceptance check is: Secrets stay out of ordinary run logs while operations retain auditable success and failure metadata.
Question 259
A price handler calls fireOnChange on the same field each time it updates a calculated total. Which Power Platform extension or architecture change BEST addresses the core requirement?
- Register OnChange handlers once, target supported events and prevent event-recursion when setting attribute values programmatically.
- Use asynchronous Xrm.WebApi.retrieveMultipleRecords with encoded OData queries, selected columns, paging and proper error handling.
- Keep declarative form logic in business rules when possible and use a client script only when complex supported custom behavior is required.
- Use PCF context.webAPI, device and utility features only where supported by the intended host; fall back gracefully when unavailable.
Explanation
Correct Answer
A:Register OnChange handlers once, target supported events and prevent event-recursion when setting attribute values programmatically. This choice implements the controlling platform requirement rather than masking the symptom. Setting an attribute value does not always trigger OnChange automatically; explicit event invocation can create loops. Verify the change using: Check handler registration, setValue calls, fireOnChange usage, event order, duplicate registration and execution depth.
Incorrect Answers
B:Use asynchronous Xrm.WebApi.retrieveMultipleRecords with encoded OData queries, selected columns, paging and proper error handling. That action addresses Dataverse Xrm.WebApi asynchronous lookups instead. Client API Web API operations are asynchronous and respect Dataverse security; querying every field is inefficient. For this case, the targeted action is: Register OnChange handlers once, target supported events and prevent event-recursion when setting attribute values programmatically.
C:Keep declarative form logic in business rules when possible and use a client script only when complex supported custom behavior is required. That action addresses Form business rule versus custom client JavaScript instead. Client-only rules cannot guarantee integrity for SDK/API writes; a complex callback may also increase form latency. For this case, the targeted action is: Register OnChange handlers once, target supported events and prevent event-recursion when setting attribute values programmatically.
D:Use PCF context.webAPI, device and utility features only where supported by the intended host; fall back gracefully when unavailable. That action addresses PCF WebAPI Device and Utility usage instead. Device features and Web API capabilities can differ across hosts and platforms; test the actual target. For this case, the targeted action is: Register OnChange handlers once, target supported events and prevent event-recursion when setting attribute values programmatically.
Question 260
A business agent creates a refund whenever a user writes Please refund without checking entitlement and approval. Which TWO complementary steps provide the intended implementation AND the evidence needed to validate it? Select TWO.
- Evaluate agent tool-choice quality with representative test cases and require human approval for high-impact data writes.
- Inspect execution depth, parent context, plugin registration stages, update attributes and processing marker.
- Transient throttling recovers without overwhelming Dataverse or creating duplicate rows.
- Choose supported Dataverse batch or ExecuteTransaction patterns only when their atomicity, limits and error semantics fit the workload.
- Inspect evaluator cases, tool traces, policy refusal tests, human approval status, error rates and rollback evidence.
Explanation
Correct Answers
A:Evaluate agent tool-choice quality with representative test cases and require human approval for high-impact data writes. This choice implements the controlling platform requirement rather than masking the symptom. LLM reasoning is probabilistic; prompt-only prohibitions are not a substitute for enforced tool permissions. Verify the change using: Inspect evaluator cases, tool traces, policy refusal tests, human approval status, error rates and rollback evidence. This is the implementation half of the required two-step answer.
E:Inspect evaluator cases, tool traces, policy refusal tests, human approval status, error rates and rollback evidence. These observations separate this failure from adjacent capabilities or permissions. LLM reasoning is probabilistic; prompt-only prohibitions are not a substitute for enforced tool permissions. The relevant implementation is: Evaluate agent tool-choice quality with representative test cases and require human approval for high-impact data writes. This is the diagnostic/verification half of the required two-step answer.
Incorrect Answers
B:Inspect execution depth, parent context, plugin registration stages, update attributes and processing marker. This step belongs to Plug-in recursion depth and idempotent registration rather than the complementary pair here. The required action is: Evaluate agent tool-choice quality with representative test cases and require human approval for high-impact data writes. And its evidence is: Inspect evaluator cases, tool traces, policy refusal tests, human approval status, error rates and rollback evidence.
C:Transient throttling recovers without overwhelming Dataverse or creating duplicate rows. This step belongs to Dataverse API service-protection throttle retry rather than the complementary pair here. The required action is: Evaluate agent tool-choice quality with representative test cases and require human approval for high-impact data writes. And its evidence is: Inspect evaluator cases, tool traces, policy refusal tests, human approval status, error rates and rollback evidence.
D:Choose supported Dataverse batch or ExecuteTransaction patterns only when their atomicity, limits and error semantics fit the workload. This step belongs to ExecuteMultiple transactions and batch scope rather than the complementary pair here. The required action is: Evaluate agent tool-choice quality with representative test cases and require human approval for high-impact data writes. And its evidence is: Inspect evaluator cases, tool traces, policy refusal tests, human approval status, error rates and rollback evidence.