Microsoft PL-400 Practice Test 58
Question 570
A flow writes a sync flag to its own source row and repeatedly invokes itself because there is no trigger guard. Which evidence should the developer inspect FIRST to distinguish the root cause or verify the prerequisite?
- Inspect MCP tool descriptions, allowed identity, read/write separation, approval gates, payload validation and agent run logs.
- Inspect flow run-history exposure, connector permissions, secret rotation, Key Vault policy and accidental logging.
- Inspect execution depth, parent context, plugin registration stages, update attributes and processing marker.
- Inspect trigger type, filtering attributes, change type, OData row filter, trigger condition and run history.
Explanation
Correct Answer
D:Inspect trigger type, filtering attributes, change type, OData row filter, trigger condition and run history. These observations separate this failure from adjacent capabilities or permissions. A trigger's filtering columns govern which changed fields matter; an expression still needs the correct internal names. The relevant implementation is: Configure Dataverse trigger conditions, select columns, scope and filter expressions to avoid unnecessary flow runs.
Incorrect Answers
A:Inspect MCP tool descriptions, allowed identity, read/write separation, approval gates, payload validation and agent run logs. These checks are relevant to Microsoft Foundry agent tool access via MCP servers, but are not the most discriminating first evidence for this case. Inspect instead: Inspect trigger type, filtering attributes, change type, OData row filter, trigger condition and run history.
B:Inspect flow run-history exposure, connector permissions, secret rotation, Key Vault policy and accidental logging. These checks are relevant to Secure inputs outputs Key Vault and secret handling, but are not the most discriminating first evidence for this case. Inspect instead: Inspect trigger type, filtering attributes, change type, OData row filter, trigger condition and run history.
C:Inspect execution depth, parent context, plugin registration stages, update attributes and processing marker. These checks are relevant to Plug-in recursion depth and idempotent registration, but are not the most discriminating first evidence for this case. Inspect instead: Inspect trigger type, filtering attributes, change type, OData row filter, trigger condition and run history.
Question 571
A flow runs for every account modification although it should fire only when the approval status changes. Which observable test result BEST confirms that the intended Power Platform component behaves correctly?
- Optional fields do not crash the run and required dates or numbers are validated before updates.
- Only relevant table changes start the flow and a self-update does not cause unbounded reentry.
- The operation succeeds using its intended identity and forbidden tables remain denied to that principal.
- The unattended flow continues after an employee leaves and fails safely on permission or data errors.
Explanation
Correct Answer
B:Only relevant table changes start the flow and a self-update does not cause unbounded reentry. This is an observable application, data or security outcome, not merely a successful build message. A trigger's filtering columns govern which changed fields matter; an expression still needs the correct internal names.
Incorrect Answers
A: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: Only relevant table changes start the flow and a self-update does not cause unbounded reentry.
C: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: Only relevant table changes start the flow and a self-update does not cause unbounded reentry.
D: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: Only relevant table changes start the flow and a self-update does not cause unbounded reentry.
Question 572
An embedded agent suggests changing a customer's credit limit and the code app automatically executes it without consent. Which evidence should the developer inspect FIRST to distinguish the root cause or verify the prerequisite?
- Inspect control manifest property of-type, usage, component namespace, platform libraries and compiled resource paths.
- Inspect agent ID, environment, session, identity, permitted tools, response handling and escalation flow.
- Inspect build output, managed solution version, component registration, table field compatibility and app publication.
- Inspect manifest features, host capabilities, API permissions, dataset type and PCF solution lifecycle.
Explanation
Correct Answer
B:Inspect agent ID, environment, session, identity, permitted tools, response handling and escalation flow. These observations separate this failure from adjacent capabilities or permissions. Agent output is untrusted user-facing content; it cannot override application authorization or approval. The relevant implementation is: Connect a code app to an authorized Copilot Studio agent through a supported client interface while validating user consent and action permissions.
Incorrect Answers
A:Inspect control manifest property of-type, usage, component namespace, platform libraries and compiled resource paths. These checks are relevant to PCF ControlManifest inputs and resources, but are not the most discriminating first evidence for this case. Inspect instead: Inspect agent ID, environment, session, identity, permitted tools, response handling and escalation flow.
C:Inspect build output, managed solution version, component registration, table field compatibility and app publication. These checks are relevant to Packaging and deploying PCF in solution, but are not the most discriminating first evidence for this case. Inspect instead: Inspect agent ID, environment, session, identity, permitted tools, response handling and escalation flow.
D:Inspect manifest features, host capabilities, API permissions, dataset type and PCF solution lifecycle. These checks are relevant to PCF WebAPI Device and Utility usage, but are not the most discriminating first evidence for this case. Inspect instead: Inspect agent ID, environment, session, identity, permitted tools, response handling and escalation flow.
Question 573
A mobile app and a flow both require a single reusable pricing operation with controlled transaction semantics. Which observable test result BEST confirms that the intended Power Platform component behaves correctly?
- An agent answer is attributable to current permitted records and does not expose inaccessible employee data.
- Multiple callers invoke one stable server-side command that validates inputs and applies consistent authorization.
- A record update yields one intended side effect even when another plug-in or flow touches the same row.
- External calls obtain short-lived authorized credentials without embedded client secrets and generate attributable events.
Explanation
Correct Answer
B:Multiple callers invoke one stable server-side command that validates inputs and applies consistent authorization. This is an observable application, data or security outcome, not merely a successful build message. A custom API defines a formal operation; creating only a plug-in assembly does not expose the message contract.
Incorrect Answers
A: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: Multiple callers invoke one stable server-side command that validates inputs and applies consistent authorization.
C:A record update yields one intended side effect even when another plug-in or flow touches the same row. This result validates Plug-in recursion depth and idempotent registration instead of the component in question. Here the specific acceptance check is: Multiple callers invoke one stable server-side command that validates inputs and applies consistent authorization.
D:External calls obtain short-lived authorized credentials without embedded client secrets and generate attributable events. This result validates Plug-in managed identity and business events instead of the component in question. Here the specific acceptance check is: Multiple callers invoke one stable server-side command that validates inputs and applies consistent authorization.
Question 574
A support agent can read case status but must ask for approval before writing a customer credit. Which Power Platform extension or architecture change BEST addresses the core requirement?
- Use Power Platform Pipelines or supported Build Tools with connection/environment settings, solution checker and approvals to release repeatable artifacts.
- Design a custom connector for an external REST capability and a Dataverse custom API for a supported reusable business operation inside Dataverse.
- Use managed solutions with controlled upgrades and inspect component layers to understand why a target customization overrides a release.
- Select Copilot Studio for an agent integrated into Power Platform and define governed actions, identity, channels and Dataverse access before adding external models.
Explanation
Correct Answer
D:Select Copilot Studio for an agent integrated into Power Platform and define governed actions, identity, channels and Dataverse access before adding external models. This choice implements the controlling platform requirement rather than masking the symptom. Agentic logic must be constrained by permissions and tool design; natural-language prompts are not authorization. Verify the change using: Inspect agent environment, authenticated action connector, knowledge scope, approval policy, human escalation and telemetry.
Incorrect Answers
A:Use Power Platform Pipelines or supported Build Tools with connection/environment settings, solution checker and approvals to release repeatable artifacts. That action addresses Power Platform pipelines and CI deployment gates instead. CI/CD automates deploys but does not supply missing permissions, connection references or application acceptance tests. For this case, the targeted action is: Select Copilot Studio for an agent integrated into Power Platform and define governed actions, identity, channels and Dataverse access before adding external models.
B:Design a custom connector for an external REST capability and a Dataverse custom API for a supported reusable business operation inside Dataverse. That action addresses Custom connector boundary versus plug-in endpoint instead. A connector exposes external services while a custom API defines a Dataverse operation; they are not interchangeable transaction models. For this case, the targeted action is: Select Copilot Studio for an agent integrated into Power Platform and define governed actions, identity, channels and Dataverse access before adding external models.
C:Use managed solutions with controlled upgrades and inspect component layers to understand why a target customization overrides a release. That action addresses Managed solution layers and upgrade behavior instead. An unmanaged layer in production can override managed app changes even after a technically successful import. For this case, the targeted action is: Select Copilot Studio for an agent integrated into Power Platform and define governed actions, identity, channels and Dataverse access before adding external models.
Question 575
A CRM sync queries modifiedon each night and never removes records deleted from Dataverse. Which observable test result BEST confirms that the intended Power Platform component behaves correctly?
- The intended webhook listener receives authenticated events and rejects unrelated sources without exposing credentials.
- Callers authenticate through the intended identity and connector policies modify only approved request fields.
- A failed run resumes from a safe checkpoint without overwriting newer edits or resurrecting deleted rows.
- An incremental sync catches updates and deletions without rescanning every row or missing changes during paging.
Explanation
Correct Answer
D:An incremental sync catches updates and deletions without rescanning every row or missing changes during paging. This is an observable application, data or security outcome, not merely a successful build message. Change tracking returns a change history token; ordinary modified-on filtering cannot reliably capture deletions.
Incorrect Answers
A:The intended webhook listener receives authenticated events and rejects unrelated sources without exposing credentials. This result validates Webhook integration endpoint authentication and registration instead of the component in question. Here the specific acceptance check is: An incremental sync catches updates and deletions without rescanning every row or missing changes during paging.
B:Callers authenticate through the intended identity and connector policies modify only approved request fields. This result validates Custom connector OAuth and policy templates instead of the component in question. Here the specific acceptance check is: An incremental sync catches updates and deletions without rescanning every row or missing changes during paging.
C:A failed run resumes from a safe checkpoint without overwriting newer edits or resurrecting deleted rows. This result validates Incremental sync conflict and deletion recovery instead of the component in question. Here the specific acceptance check is: An incremental sync catches updates and deletions without rescanning every row or missing changes during paging.
Question 576
A custom connector imports but its create-ticket operation is invisible because operationId is missing. Which TWO complementary steps provide the intended implementation AND the evidence needed to validate it? Select TWO.
- Create a custom connector to a governed Azure Function API with documented OpenAPI schema, bounded response transforms and monitored errors.
- Inspect Swagger/OpenAPI version, base URL, parameter types, request/response schema and missing operation IDs.
- Define a supported OpenAPI contract with stable operationIds, schemas, types and authentication before importing a custom connector.
- Events are consumed through the correct broker behavior with detectable retries and intentional retention.
- Inspect source authoritative field, version/ETag, deleted marker, reprocessing window and recovery checkpoint.
Explanation
Correct Answers
B:Inspect Swagger/OpenAPI version, base URL, parameter types, request/response schema and missing operation IDs. These observations separate this failure from adjacent capabilities or permissions. A REST endpoint existing does not mean its OpenAPI contract describes the required payload or result. The relevant implementation is: Define a supported OpenAPI contract with stable operationIds, schemas, types and authentication before importing a custom connector. This is the diagnostic/verification half of the required two-step answer.
C:Define a supported OpenAPI contract with stable operationIds, schemas, types and authentication before importing a custom connector. This choice implements the controlling platform requirement rather than masking the symptom. A REST endpoint existing does not mean its OpenAPI contract describes the required payload or result. Verify the change using: Inspect Swagger/OpenAPI version, base URL, parameter types, request/response schema and missing operation IDs. This is the implementation half of the required two-step answer.
Incorrect Answers
A:Create a custom connector to a governed Azure Function API with documented OpenAPI schema, bounded response transforms and monitored errors. This step belongs to Azure Function-backed connector transformation rather than the complementary pair here. The required action is: Define a supported OpenAPI contract with stable operationIds, schemas, types and authentication before importing a custom connector. And its evidence is: Inspect Swagger/OpenAPI version, base URL, parameter types, request/response schema and missing operation IDs.
D:Events are consumed through the correct broker behavior with detectable retries and intentional retention. This step belongs to Azure Service Bus and Event Hub endpoint selection rather than the complementary pair here. The required action is: Define a supported OpenAPI contract with stable operationIds, schemas, types and authentication before importing a custom connector. And its evidence is: Inspect Swagger/OpenAPI version, base URL, parameter types, request/response schema and missing operation IDs.
E:Inspect source authoritative field, version/ETag, deleted marker, reprocessing window and recovery checkpoint. This step belongs to Incremental sync conflict and deletion recovery rather than the complementary pair here. The required action is: Define a supported OpenAPI contract with stable operationIds, schemas, types and authentication before importing a custom connector. And its evidence is: Inspect Swagger/OpenAPI version, base URL, parameter types, request/response schema and missing operation IDs.
Question 577
A plug-in creates an Entity with the display name instead of a logical table name and receives a fault. Which TWO complementary steps provide the intended implementation AND the evidence needed to validate it? Select TWO.
- Inspect connection reference, authentication type, app-user table rights, retry count and 429 handling.
- Use IOrganizationService Retrieve/Update/ExecuteRequest operations from a supported server-side context and handle typed Entity logical names.
- Inspect service proxy context, column sets, record IDs, OrganizationRequest type and fault codes.
- Use delegated OAuth for a signed-in user's work and client credentials with a constrained application user for unattended integration.
- External calls obtain short-lived authorized credentials without embedded client secrets and generate attributable events.
Explanation
Correct Answers
B:Use IOrganizationService Retrieve/Update/ExecuteRequest operations from a supported server-side context and handle typed Entity logical names. This choice implements the controlling platform requirement rather than masking the symptom. The Organization service runs against Dataverse business rules and caller permissions; object assignments are not yet persisted updates. Verify the change using: Inspect service proxy context, column sets, record IDs, OrganizationRequest type and fault codes. This is the implementation half of the required two-step answer.
C:Inspect service proxy context, column sets, record IDs, OrganizationRequest type and fault codes. These observations separate this failure from adjacent capabilities or permissions. The Organization service runs against Dataverse business rules and caller permissions; object assignments are not yet persisted updates. The relevant implementation is: Use IOrganizationService Retrieve/Update/ExecuteRequest operations from a supported server-side context and handle typed Entity logical names. This is the diagnostic/verification half of the required two-step answer.
Incorrect Answers
A:Inspect connection reference, authentication type, app-user table rights, retry count and 429 handling. This step belongs to Dataverse connector service principal and retry policies rather than the complementary pair here. The required action is: Use IOrganizationService Retrieve/Update/ExecuteRequest operations from a supported server-side context and handle typed Entity logical names. And its evidence is: Inspect service proxy context, column sets, record IDs, OrganizationRequest type and fault codes.
D:Use delegated OAuth for a signed-in user's work and client credentials with a constrained application user for unattended integration. This step belongs to OAuth delegated vs client credential in Dataverse rather than the complementary pair here. The required action is: Use IOrganizationService Retrieve/Update/ExecuteRequest operations from a supported server-side context and handle typed Entity logical names. And its evidence is: Inspect service proxy context, column sets, record IDs, OrganizationRequest type and fault codes.
E:External calls obtain short-lived authorized credentials without embedded client secrets and generate attributable events. This step belongs to Plug-in managed identity and business events rather than the complementary pair here. The required action is: Use IOrganizationService Retrieve/Update/ExecuteRequest operations from a supported server-side context and handle typed Entity logical names. And its evidence is: Inspect service proxy context, column sets, record IDs, OrganizationRequest type and fault codes.
Question 578
A code app runs correctly in dev but its production connection still points at a personal sandbox tenant. 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.
- Avoid redundant network calls, unnecessary re-rendering and leaked listeners; use pagination, memoization and cleanup when appropriate.
- Use supported code-app Dataverse data APIs to perform CRUD and read table metadata with correct logical names, permissions and paging.
- Configure a code app's Power Platform connections and permissions using supported connection references rather than direct embedded API secrets.
Explanation
Correct Answer
D:Configure a code app's Power Platform connections and permissions using supported connection references rather than direct embedded API secrets. This choice implements the controlling platform requirement rather than masking the symptom. Code apps still require appropriate app and data-source authorization even with a custom React frontend. Verify the change using: Inspect selected connection ID, connector operation, signed-in user's rights, environment binding and app host context.
Incorrect Answers
A:Register OnChange handlers once, target supported events and prevent event-recursion when setting attribute values programmatically. That action addresses OnChange handlers and loop prevention instead. Setting an attribute value does not always trigger OnChange automatically; explicit event invocation can create loops. For this case, the targeted action is: Configure a code app's Power Platform connections and permissions using supported connection references rather than direct embedded API secrets.
B:Avoid redundant network calls, unnecessary re-rendering and leaked listeners; use pagination, memoization and cleanup when appropriate. That action addresses Code app render performance and resource cleanup instead. More client-side code and data preloading are not always faster than a filtered delegated server query. For this case, the targeted action is: Configure a code app's Power Platform connections and permissions using supported connection references rather than direct embedded API secrets.
C:Use supported code-app Dataverse data APIs to perform CRUD and read table metadata with correct logical names, permissions and paging. That action addresses Code app Dataverse metadata and table operations instead. Display labels can differ from Dataverse logical names and a successful connection does not imply every table privilege. For this case, the targeted action is: Configure a code app's Power Platform connections and permissions using supported connection references rather than direct embedded API secrets.
Question 579
A dashboard refreshes all Dataverse records whenever one text field changes and becomes unresponsive. Which evidence should the developer inspect FIRST to distinguish the root cause or verify the prerequisite?
- Inspect selected connection ID, connector operation, signed-in user's rights, environment binding and app host context.
- Inspect control manifest property of-type, usage, component namespace, platform libraries and compiled resource paths.
- Inspect console stack traces, browser network requests, response statuses, connector run history and request correlation IDs.
- Inspect render counts, API request volume, bundle size, memory usage, stale closures and page-size defaults.
Explanation
Correct Answer
D:Inspect render counts, API request volume, bundle size, memory usage, stale closures and page-size defaults. These observations separate this failure from adjacent capabilities or permissions. More client-side code and data preloading are not always faster than a filtered delegated server query. The relevant implementation is: Avoid redundant network calls, unnecessary re-rendering and leaked listeners; use pagination, memoization and cleanup when appropriate.
Incorrect Answers
A:Inspect selected connection ID, connector operation, signed-in user's rights, environment binding and app host context. These checks are relevant to Power Apps code app connectors and environment binding, but are not the most discriminating first evidence for this case. Inspect instead: Inspect render counts, API request volume, bundle size, memory usage, stale closures and page-size defaults.
B:Inspect control manifest property of-type, usage, component namespace, platform libraries and compiled resource paths. These checks are relevant to PCF ControlManifest inputs and resources, but are not the most discriminating first evidence for this case. Inspect instead: Inspect render counts, API request volume, bundle size, memory usage, stale closures and page-size defaults.
C:Inspect console stack traces, browser network requests, response statuses, connector run history and request correlation IDs. These checks are relevant to Code app Monitor and browser troubleshooting, but are not the most discriminating first evidence for this case. Inspect instead: Inspect render counts, API request volume, bundle size, memory usage, stale closures and page-size defaults.
Question 580
An app release references a departed employee's connection rather than a production service principal or governed connector. Which evidence should the developer inspect FIRST to distinguish the root cause or verify the prerequisite?
- Check runtime customization needs, agent tools, API authentication, connector or MCP interface, usage monitoring and data access policy.
- Review active layer, publisher, managed property, patch versus upgrade, dependency and current component state.
- Compare host form lifecycle, accessibility, reuse, data access, application complexity and deployment requirements.
- Inspect environment-variable definition/default/current values, connection-reference binding, deployment settings and secret-storage policy.
Explanation
Correct Answer
D:Inspect environment-variable definition/default/current values, connection-reference binding, deployment settings and secret-storage policy. These observations separate this failure from adjacent capabilities or permissions. Environment variables are configuration inputs; they do not replace safe credential storage or connector authorization. The relevant implementation is: Use solution environment variables for per-environment configuration and connection references for connector bindings, rather than hardcoded identifiers or secrets.
Incorrect Answers
A:Check runtime customization needs, agent tools, API authentication, connector or MCP interface, usage monitoring and data access policy. These checks are relevant to Microsoft Foundry versus Power Platform agent boundary, but are not the most discriminating first evidence for this case. Inspect instead: Inspect environment-variable definition/default/current values, connection-reference binding, deployment settings and secret-storage policy.
B:Review active layer, publisher, managed property, patch versus upgrade, dependency and current component state. These checks are relevant to Managed solution layers and upgrade behavior, but are not the most discriminating first evidence for this case. Inspect instead: Inspect environment-variable definition/default/current values, connection-reference binding, deployment settings and secret-storage policy.
C:Compare host form lifecycle, accessibility, reuse, data access, application complexity and deployment requirements. These checks are relevant to Choosing client scripts PCF or code apps, but are not the most discriminating first evidence for this case. Inspect instead: Inspect environment-variable definition/default/current values, connection-reference binding, deployment settings and secret-storage policy.