# Design the technical architecture — Practice reading

Exam: AB-400 — Power Platform Developer Associate
Knowledge domain: Build Microsoft Power Platform solutions (15–20%)
HTML: https://learningpathx.com/learning-path/AB-400/learn/520

This public learning practice includes correct answers and existing explanations. Reading does not save progress or create a test.

## Question 1

Type: single\_choice
Knowledge point: Analyze the technical architecture to identify solution components and their implementation approach

An integration submits a top-level Create request for a Shipment row in a standard Dataverse table. Custom code must also update a related Booking row. Both Dataverse changes must commit or roll back together. A carrier service must be notified only after those changes commit. Notification can complete later, and carrier failures must not reject shipment creation. Which implementation should you choose?

### Options

**A**

Use a synchronous PreOperation plug-in to update Booking and a synchronous PostOperation plug-in to notify the carrier.

**B**

Use a synchronous PreValidation plug-in to update Booking and an asynchronous PostOperation plug-in to notify the carrier.

**C**

Use an asynchronous PostOperation plug-in to update Booking and then notify the carrier.

**D**

Use a synchronous PreOperation plug-in to update Booking and an asynchronous PostOperation plug-in to notify the carrier.

Correct answer: D

### Explanation

A synchronous PreOperation plug-in runs within the Shipment Create transaction, allowing a propagated exception to roll back both Dataverse changes. An asynchronous PostOperation plug-in runs after the record operation completes and outside that transaction, placing carrier notification after commit. Synchronous PostOperation still participates in the transaction: it follows the main operation, not the transaction's commit.

## Question 2

Type: single\_choice
Knowledge point: Analyze the technical architecture to identify solution components and their implementation approach

A standard Dataverse Order table has a decimal Amount column. Both the model-driven app and a Web API integration must receive an error before an Order with a negative Amount is committed. An active business rule has this configuration: Scope: All Forms Condition: Amount < 0 Action: Show an error message on Amount The model-driven form blocks a save with Amount = -10\. An ordinary Dataverse Web API Create request with Amount = -10 succeeds. The architect considers the existing validation sufficient for both callers. Which revision corrects the enforcement gap?

### Options

**A**

Change the business rule's scope to the main Order form, retaining its condition and error action.

**B**

Change the business rule's scope to Entity, retaining its condition and error action.

**C**

Keep the business rule and add an OnSave JavaScript check for negative amounts to all Order forms.

**D**

Keep the business rule and add an asynchronous PostOperation plug-in on Order Create to check for negative amounts.

Correct answer: B

### Explanation

The same negative amount is blocked through the form but accepted through the Web API. The active rule's condition works, but its scope does not cover both callers. All Forms scope applies to model-driven forms; Entity scope also applies on the server. Changing the scope therefore provides server enforcement while retaining the supported numeric condition and error action. An asynchronous server check addresses a different boundary: it runs after the record operation completes and cannot reject the original Create request.

## Question 3

Type: single\_choice
Knowledge point: Analyze the technical architecture to identify solution components and their implementation approach

A Power Platform app calls an HTTP-triggered Azure Function to generate a report that normally takes six minutes. The app requires the initiating call to return within three seconds. Users must later retrieve either the report or failure details, including after the function host has restarted. The six-minute processing duration is within the selected hosting plan's execution limit. Which implementation should you choose?

### Options

**A**

Generate the report in the HTTP-triggered function, persist its outcome, and return a request ID with the report after processing ends.

**B**

Queue the request and return a request ID after enqueueing succeeds. Use a queue-triggered worker to persist status and outcomes in durable storage for a status endpoint.

**C**

Queue the request and return a request ID after enqueueing succeeds. Use a queue-triggered worker to keep status and outcomes in process memory for a status endpoint.

**D**

Start report processing as a background task in the HTTP-triggered function and return a request ID immediately. Have that task persist status and outcomes in durable storage for a status endpoint.

Correct answer: B

### Explanation

The report cannot finish within the initiating call's three-second deadline. Successful queue submission can be acknowledged with a request ID while a queue-triggered worker performs the work. A status endpoint backed by durable status and outcome data lets the app retrieve the report or failure details after host restarts. The initial acknowledgment means accepted, not completed. The worker must still respect its hosting plan's execution limit.

## Question 4

Type: single\_choice
Knowledge point: Design authentication and authorization for solution components

You are designing a Dataverse invoice-processing solution with two components:

* Review app: Employees sign in and approve invoices. Each update must be authorized using the signed-in employee's Dataverse permissions.
* Import service: A scheduled process imports invoices overnight without a signed-in employee. It must operate under its own application authority without depending on an employee account.

Which identities should be the Dataverse callers for these components?

### Options

**A**

Use delegated employee identities as the Dataverse callers for both components.

**B**

Use an application user as the Review app's Dataverse caller and a delegated employee identity as the Import service's caller.

**C**

Use a delegated employee identity as the Review app's Dataverse caller and an application user as the Import service's caller.

**D**

Use application users as the Dataverse callers for both components.

Correct answer: C

### Explanation

The caller's relationship to the work determines the identity choice. The Review app performs updates under the signed-in employee's Dataverse permissions, so delegated user access fits. The Import service operates independently of employees, so its caller should be an application user associated with its registered application and assigned appropriate Dataverse security roles. Application-user access for both components would support the unattended import but would make the Review app's caller the application user rather than the employee. See [Use OAuth authentication with Microsoft Dataverse](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/authenticate-oauth).

## Question 5

Type: single\_choice
Knowledge point: Design authentication and authorization for solution components

An unattended reporting integration uses Microsoft Entra client credentials to read the organization-owned Shipping Zone table through the production Dataverse Web API. The request fails with a table-privilege error.

A developer confirms these findings:

* The access token is valid, unexpired, and issued for the production Dataverse environment.
* The application user is active in that environment, and its application ID matches the calling application.
* No security roles are granted to the application user directly or through teams.

Which change addresses the failure?

### Options

**A**

Replace the application's client secret and acquire another Dataverse access token.

**B**

Assign the production application user a Dataverse security role with Read privilege on the Shipping Zone table.

**C**

Grant admin consent for the app registration's delegated Dynamics CRM user\_impersonation permission.

**D**

Assign the developer's user account a Dataverse security role with Read privilege on the Shipping Zone table.

Correct answer: B

### Explanation

The valid token and matching active application user establish the caller's identity in the intended environment. The failure concerns Dataverse authorization: the application user has no security role granting the required table Read privilege. Assigning an appropriate Dataverse role addresses that missing grant. Delegated API consent does not supply the application user's table privileges. Microsoft documents application-user role assignment separately from application credentials in [Use OAuth authentication with Microsoft Dataverse](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/authenticate-oauth).

## Question 6

Type: single\_choice
Knowledge point: Design authentication and authorization for solution components

A Dataverse plug-in uses workload identity federation through a Microsoft Entra app named UploadApp to upload files to Azure Storage. Uploads succeed. A timer-triggered Azure Function will use a separate managed identity, SyncMI, to read account rows from the same Dataverse environment. No user signs in for the scheduled job, and the working upload path must remain in place. Which configuration should you add for the Function's Dataverse access?

### Options

**A**

Create a Dataverse application user for UploadApp and assign it a security role with Read access to the required account rows.

**B**

Create a Dataverse application user for SyncMI and assign it a security role with Read access to the required account rows.

**C**

Assign SyncMI the Azure Reader role at subscription scope.

**D**

Configure SyncMI to obtain a Dataverse access token and rely on UploadApp's existing federation for table access.

Correct answer: B

### Explanation

The requests cross different resource boundaries. The working federation path supports UploadApp's outbound calls to Azure Storage. The Function calls Dataverse as SyncMI, so the target environment needs an application user mapped to SyncMI and a security role granting the required account access. Mapping that role to UploadApp would authorize a different caller. Azure RBAC and the existing outbound federation do not supply SyncMI's Dataverse mapping or table privileges.

## Question 7

Type: single\_choice
Knowledge point: Determine whether requirements can be met with out-of-the-box functionality

An order solution uses a standard Dataverse table with Discount, a decimal-number column storing a percentage, and Justification, a text column. Discounts above 15% are permitted only when Justification is nonblank. For discounts of 15% or less, Justification may be blank. Invalid saves must be rejected with an error message. Orders are entered through model-driven main forms and an integration that uses the Dataverse Web API. Both columns appear on the forms. Which declarative configuration meets the requirement?

### Options

**A**

Create an All Forms-scope business rule that always sets Justification to Business Required.

**B**

Create an Entity-scope business rule that shows an error when Discount exceeds 15% and Justification is blank.

**C**

Create an All Forms-scope business rule that shows an error when Discount exceeds 15% and Justification is blank.

**D**

Create an Entity-scope business rule that shows an error whenever Discount exceeds 15%.

Correct answer: B

### Explanation

The decimal and text columns support business rules, and the requirement is a conditional validation: a discount above 15% is valid when justification is present. An Entity-scope business rule can detect the invalid combination and show an error, applying on model-driven forms and the server. All Forms scope can provide the same validation during form entry, but it does not cover writes submitted through the Dataverse Web API.

## Question 8

Type: single\_choice
Knowledge point: Determine whether requirements can be met with out-of-the-box functionality

You are assessing additional requirements for an order app that uses standard Dataverse tables and model-driven main forms. A legacy warehouse maintains stock and reservations in a separate system and exposes a REST API. No existing integration connects the app to that API. The local columns referenced below use supported text, currency, or single-select choice types and appear on the main form. Which requirement needs an integration extension beyond the app's column configuration and business rules?

### Options

**A**

Initialize Handling Fee to 0 for a new order.

**B**

Show Pickup Instructions only when Delivery Method is Pickup.

**C**

Create a stock reservation in the warehouse and save its returned reservation ID on the order.

**D**

Require Customer Reference when Order Type is Special.

Correct answer: C

### Explanation

The warehouse owns the stock and reservation state, so creating a reservation requires invoking an operation in that external system and using its returned ID. Local column configuration and business rules cannot perform that REST operation. A custom connector is one supported way to expose the API to Power Apps or Power Automate. By comparison, default values, conditional visibility, and conditional requirement levels are supported declarative behaviors for the stated model-driven main form.

## Question 9

Type: single\_choice
Knowledge point: Determine where to implement business logic including cloud services, client-side processing, business rules, plug-ins, and automation

A standard Dataverse table stores shipment rows. A model-driven app and a Web API integration submit initial Create requests, each containing weight and service code. An existing short custom calculation uses these inputs to populate a stored handling charge. The charge must be present when Dataverse inserts the row, and the calculation must execute within the transaction that creates it. Which implementation should you use?

### Options

**A**

Run the calculation in a JavaScript OnSave handler and set the handling charge on the form.

**B**

Run the calculation in a synchronous Create plug-in at PreValidation and set the incoming handling charge.

**C**

Run the calculation in a synchronous Create plug-in at PreOperation and set the incoming handling charge.

**D**

Run the calculation in a synchronous Create plug-in at PostOperation and update the handling charge on the created row.

Correct answer: C

### Explanation

The calculation must cover both callers, supply the handling charge before insertion, and execute within the create transaction. A synchronous Create plug-in at PreOperation meets these conditions by changing incoming values before the main operation. PreValidation also runs before insertion, but an initial request reaches it before the database transaction. Synchronous PostOperation participates in the transaction but runs after insertion. Form scripting does not cover direct Web API requests. These stage boundaries are documented in the [Dataverse event framework](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/event-framework).

## Question 10

Type: single\_choice
Knowledge point: Determine where to implement business logic including cloud services, client-side processing, business rules, plug-ins, and automation

A standard Dataverse Order table is populated by a model-driven app and a Web API integration. A synchronous PostOperation plug-in on Create calls an external notification API, which usually takes 15 seconds to respond. The notification is needed only for successfully saved orders and may be delivered later. You need to remove the notification wait from the Create request while covering both callers. Which change should you make?

### Options

**A**

Move the HTTP notification to a synchronous PreValidation plug-in on Create.

**B**

Move the notification to an OnSave handler in the model-driven form.

**C**

Keep synchronous PostOperation and use an asynchronous HTTP call that the plug-in waits for before returning.

**D**

Register the notification plug-in on Create in asynchronous PostOperation mode.

Correct answer: D

### Explanation

The notification may complete after the order is saved, so it belongs in asynchronous PostOperation processing. That execution mode runs after the record operation completes and outside its transaction, removing the external API wait from the Create request. Server-side registration covers both the model-driven app and the Web API integration. Waiting for an asynchronous HTTP call inside a synchronous step still holds the request open; changing the pipeline stage alone does not remove that wait.

## Question 11

Type: single\_choice
Knowledge point: Determine where to implement business logic including cloud services, client-side processing, business rules, plug-ins, and automation

An Order table has two model-driven app forms: Dispatch and Service. Both contain Delivery Method and Courier Instructions. On the Dispatch form, Courier Instructions must appear when Delivery Method is Courier and disappear when it is Collection. Visibility must change during editing, before the user saves the row. On the Service form, Courier Instructions must remain visible for either delivery method. This requirement does not change stored values or validation for API and import callers. Which implementation should you choose for the visibility logic?

### Options

**A**

Use a synchronous Dataverse plug-in registered in PreOperation for the Order table's Update message.

**B**

Use a business rule on the Order table with its scope set to the Dispatch form.

**C**

Use a business rule on the Order table with its scope set to All Forms.

**D**

Use a Power Automate cloud flow triggered when an Order row is modified.

Correct answer: B

### Explanation

The requirement concerns field visibility during editing, using values that have not yet been saved. A business rule scoped to the Dispatch form supports this client interaction and limits it to the intended form. Scoping the rule to All Forms would also change the Service form. Server processing triggered by a row update cannot provide the required response to unsaved form edits.

## Question 12

Type: single\_choice
Knowledge point: Determine where to implement business logic including cloud services, client-side processing, business rules, plug-ins, and automation

A plug-in is registered for Update on a standard Dataverse table with stage PostOperation and execution mode Asynchronous. During a test, the caller receives a successful Update response. The plug-in subsequently runs and throws an unhandled InvalidPluginExecutionException. A later retrieval confirms that the updated value remains. No other process changes the row during the test. Which diagnosis explains why the plug-in failure did not roll back the original Update?

### Options

**A**

The PostOperation stage is outside the original transaction in both synchronous and asynchronous execution modes.

**B**

The plug-in participates in the original transaction, but rollback excludes the Update submitted by the caller.

**C**

The asynchronous plug-in runs after the Update completes and outside its original transaction.

**D**

InvalidPluginExecutionException reports a failure but cannot cause rollback in either execution mode.

Correct answer: C

### Explanation

The successful Update is followed by an asynchronous PostOperation execution. That execution runs outside the original transaction after the record operation completes, so its exception cannot undo the committed Update. A synchronous PostOperation step on a standard table participates in the original transaction, where an exception causes the entire transaction to roll back. The deciding condition is the asynchronous execution mode, rather than the stage name, the origin of the write, or the exception type.

## Question 13

Type: single\_choice
Knowledge point: Determine when to use standard tables, virtual tables, elastic tables, or connectors

A company is building an equipment booking application. Booking and Equipment Balance records must be stored in Dataverse. Confirming a booking creates a Booking row and reduces the available quantity in the related Equipment Balance row. If either write fails, neither change may remain. The application also needs relational queries joining bookings, equipment, and customers. Which table design supports these requirements?

### Options

**A**

Use elastic tables for both Booking and Equipment Balance.

**B**

Use standard tables for both Booking and Equipment Balance.

**C**

Use an elastic table for Booking and a standard table for Equipment Balance.

**D**

Use virtual tables backed by an external SQL database for Booking and Equipment Balance.

Correct answer: B

### Explanation

Both records must reside in Dataverse, and booking confirmation must support an atomic change across them. Standard tables support relational modeling and transactions across tables. The confirmation implementation must use that transactional support; choosing the table type does not make separate requests atomic. Including an elastic table in either part of this operation fails the multi-record transaction requirement. [Microsoft Learn: Elastic tables for developers](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/elastic-tables)

## Question 14

Type: single\_choice
Knowledge point: Determine when to use standard tables, virtual tables, elastic tables, or connectors

A Power Platform solution ingests unpredictable bursts of application usage events. The events must be persisted in Dataverse, and the event store must support automatic horizontal scaling as volume grows. Events are saved independently and retrieved by identifier. After successfully creating an event, the ingestion client must immediately be able to read that event. Separate reporting sessions can tolerate delayed visibility. Which design is the best fit?

### Options

**A**

Use a standard table and retrieve each event after its create request succeeds.

**B**

Use an elastic table and carry the create operation's session token into subsequent requests within the ingestion client's logical session.

**C**

Use an elastic table and retrieve each event in a new logical session without carrying the create operation's session token.

**D**

Use a virtual table backed by an external event store and retrieve each event through the table's data provider.

Correct answer: B

### Explanation

Elastic tables fit the required automatic horizontal scaling and burst ingestion. Carrying the session token returned by a create operation into subsequent requests in the same logical session provides read-your-writes consistency. Separate reporting sessions may observe changes later, which the scenario permits. Independent event saves also avoid requiring multi-record transactions, which elastic tables do not support.

## Question 15

Type: single\_choice
Knowledge point: Determine when to use standard tables, virtual tables, elastic tables, or connectors

You are extending a model-driven app to display a supplier's catalog. Users must browse catalog records in ordinary Dataverse views and open them in record forms. The supplier remains the system of record, and catalog rows must not be copied into Dataverse. An available data provider has been validated for the catalog's schema and required read queries, but it does not support writes. Users require online, read-only access; Dataverse auditing and offline access are not required. Which data-access design should you choose?

### Options

**A**

Use a standard Dataverse table populated by catalog synchronization.

**B**

Use a custom connector that exposes the supplier's catalog query operations.

**C**

Use a virtual table backed by the validated data provider.

**D**

Use an elastic table populated by catalog ingestion.

Correct answer: C

### Explanation

A virtual table presents externally stored rows as Dataverse records and retrieves their data at runtime without replicating the catalog into Dataverse. The validated provider supports the required reads, and its lack of write support fits the read-only workload. The absence of auditing and offline requirements also fits the documented virtual-table restrictions. A custom connector can expose external query operations, but those operations alone do not expose catalog records through ordinary Dataverse views and forms. Synchronizing or ingesting rows into local tables would violate the no-copy requirement.

## Question 16

Type: single\_choice
Knowledge point: Determine when to use standard tables, virtual tables, elastic tables, or connectors

You are extending a Power Automate cloud flow that obtains shipping prices. A courier's public HTTPS REST API exposes CalculateRate, which accepts a destination, parcel weight and service level and returns a price and currency as JSON. It exposes no table or record endpoints, and no prebuilt connector supports the operation. The API supports API-key authentication, the endpoint is reachable from Power Automate, and the environment's data policy permits the integration. The flow uses the response for the current order; it does not need to store courier rate data in Dataverse. Which component best fits this integration requirement?

### Options

**A**

Use a standard Dataverse table for shipping rates.

**B**

Use a virtual Dataverse table for shipping rates.

**C**

Use a custom connector for the courier API.

**D**

Use an elastic Dataverse table for shipping rates.

Correct answer: C

### Explanation

The flow needs to invoke an external calculation and consume its response. A custom connector can expose CalculateRate as an action, with a connection supplying API-key authentication. The stated authentication, network and policy conditions support this approach. The absence of a storage requirement or external record interface makes a Dataverse table an unsuitable integration surface here.

## Question 17

Type: single\_choice
Knowledge point: Assess the impact of Microsoft Power Platform security features on solution components, including managed environments, data policies, security roles, teams, business units, and row sharing

Marta belongs to the Operations business unit. A developer checks her permissions on the standard, user-or-team-owned Dataverse Inspection table. Her directly assigned security role grants User-level Read and Write. She also belongs to an owner team whose security role grants Organization-level Read and no Write privilege. Inspection row I1 is owned by Marta. I2 is owned by another user in Operations. I3 is owned by a user in another business unit. No other access grants or column-security restrictions apply. Which access does Marta have to these three rows?

### Options

**A**

Read and update I1, I2, and I3.

**B**

Read I1, I2, and I3; update only I1.

**C**

Read and update only I1; neither read nor update I2 or I3.

**D**

Read I1, I2, and I3; update I1 and I2 only.

Correct answer: B

### Explanation

Dataverse combines privileges from directly assigned roles and team roles. The owner team's Organization-level Read grant lets Marta read all three Inspection rows. Her User-level Write grant permits updating the row she owns, but neither role grants Write access to the other two rows. The team's absence of Write does not remove her directly granted Write privilege.

## Question 18

Type: single\_choice
Knowledge point: Assess the impact of Microsoft Power Platform security features on solution components, including managed environments, data policies, security roles, teams, business units, and row sharing

A Dataverse Support owner team owns all Service Request rows and has a security role that lets its members read and update those rows. A changing group of specialists must read and update only one selected request during a review. The request must remain owned by Support, and specialist membership must be managed separately for each reviewed request. The specialists already have User-level Read and Write privileges on the Service Request table. Which design should the developer use for the specialists?

### Options

**A**

Add the specialists to the Support owner team for the duration of the review.

**B**

Create a review owner team, add the specialists, and assign the selected request to it.

**C**

Create a review access team, add the specialists, and share the selected request with it for Read and Write.

**D**

Create a review access team, add the specialists, and assign the Support security role to it.

Correct answer: C

### Explanation

The Support owner team must retain ownership, while each specialist group needs shared Read and Write access to one selected request. An access team supplies that record-specific sharing without taking ownership or receiving a security role. Adding specialists to Support would expose its other records, and transferring the selected request to another owner team would violate the ownership requirement.

## Question 19

Type: single\_choice
Knowledge point: Assess the impact of Microsoft Power Platform security features on solution components, including managed environments, data policies, security roles, teams, business units, and row sharing

An existing Power Automate cloud flow reads a Dataverse delivery row and submits data to an external service through the Shipment API custom connector. The flow can no longer use that connector. During the investigation, a developer observes the following: • A direct Dataverse request using the flow's user identity reads the target row successfully. • A direct Shipment API request using the credential stored in the connector connection succeeds. • The data policy applied to the flow's environment lists Shipment API as Blocked. • The Shipment API connection is Disabled. Which cause best explains the flow's failure?

### Options

**A**

Insufficient Dataverse Read privileges for the flow's user.

**B**

Enforcement of the data policy against the Shipment API connector.

**C**

Expired credentials stored in the Shipment API connection.

**D**

An outage of the Shipment API service.

Correct answer: B

### Explanation

The successful Dataverse read establishes access to the target row, and the successful direct Shipment API request supports the credential and service being usable. The applied data policy blocks the custom connector, and its connection is disabled. Data-policy enforcement can disable connections and prevent existing flows from using them at runtime, independently of Dataverse row authorization.

## Question 20

Type: single\_choice
Knowledge point: Assess the impact of Microsoft Power Platform security features on solution components, including managed environments, data policies, security roles, teams, business units, and row sharing

A developer checks access to the secured custom Cost column on the standard, user-or-team-owned Dataverse Contract table. Maya and Omar belong to the Service business unit. Contract C1 is owned by an unrelated user in another business unit. Maya's security role grants User-level Read on Contract, and her column security profile grants Read for Cost. Omar's security role grants Organization-level Read on Contract, but he has no column security profile granting Read for Cost. No other roles, profiles, team access, or record shares apply. Based on these settings, who can read Cost from Contract C1?

### Options

**A**

Maya only.

**B**

Omar only.

**C**

Both Maya and Omar.

**D**

Neither Maya nor Omar.

Correct answer: D

### Explanation

Reading the secured Cost value requires both access to Contract C1 and Read permission for Cost. Maya's User-level table Read does not reach the unrelated user's row, and her column security profile cannot grant row access. Omar's Organization-level table Read reaches C1, but he lacks the secured-column Read grant. Neither user can read Cost from this row.

## Question 21

Type: single\_choice
Knowledge point: Assess the impact of Microsoft Power Platform security features on solution components, including managed environments, data policies, security roles, teams, business units, and row sharing

A Power Platform architect reviews a proposed change in a Managed Environment. A canvas app is already shared with 25 individual users. The administrator will exclude sharing with security groups and set the individual sharing limit to 20\. A separate unattended integration reads Dataverse through an active application user with the required table Read privilege. Licensing requirements are satisfied, and no identity, security-role, or other environment settings will change. After the sharing rules are enforced, which outcome should the architect expect?

### Options

**A**

Five existing canvas app users automatically lose access, while the application user's table privilege remains assigned.

**B**

Existing canvas app users retain access, but the same sharing limit prevents the application user from reading Dataverse until the app has no more than 20 users.

**C**

Existing canvas app users retain access, and the application user's Read role permits makers to share the app with additional security groups.

**D**

Existing canvas app users retain access; the app permits only unsharing until compliant, while the application user's Dataverse authorization remains governed separately by its security roles.

Correct answer: D

### Explanation

Managed Environment sharing rules govern sharing of the app. They do not retroactively remove existing users, but an app outside the new rules permits only unsharing until it is compliant. The separately configured application user's Dataverse role grants are an independent authorization boundary; these sharing changes do not remove its table privilege.

## Question 22

Type: single\_choice
Knowledge point: Determine when to use deterministic or non-deterministic methods to implement business logic

A Power Automate cloud flow validates refund requests before submitting them to a payment service. Finance policy permits a refund only when the refund amount is positive and does not exceed the order's captured payment amount. Both numeric amounts are available to the validation step. Auditors require the same eligibility decision whenever these amounts and the policy are unchanged. Which runtime validation method should you choose?

### Options

**A**

Ask a generative model to apply the policy to both amounts for each refund request.

**B**

Ask a generative model to evaluate each request three times using the policy and both amounts, then use the majority decision.

**C**

Apply a fixed condition that accepts only a positive refund amount no greater than the captured payment amount.

**D**

Reuse the previous decision for the same order whenever the captured payment amount is unchanged.

Correct answer: C

### Explanation

The refund policy is fully determined by the current refund amount and captured payment amount. A fixed comparison applies that policy at runtime and produces the same result for unchanged inputs. Asking a generative model to approve the request introduces model judgment where explicit comparisons suffice; repeating the model decision does not establish deterministic validation.

## Question 23

Type: single\_choice
Knowledge point: Determine when to use deterministic or non-deterministic methods to implement business logic

A Power Platform developer compares two shipment eligibility implementations.

The Code path executes the following TypeScript helper, which an AI coding assistant drafted and the developer reviewed and saved. This version runs unchanged and makes no model calls.

```typescript
function canShip(stock: number, requested: number): boolean {
  return requested > 0 && requested <= stock;
}
```

The Model path sends Stock, Requested, and the same shipment policy to a generative model on every invocation and uses the model's eligibility decision. Both paths receive numeric Stock and Requested values.

How should you classify their runtime business logic?

### Options

**A**

Classify the Code path as deterministic and the Model path as non-deterministic.

**B**

Classify both the Code path and the Model path as non-deterministic.

**C**

Classify both the Code path and the Model path as deterministic.

**D**

Classify the Code path as non-deterministic and the Model path as deterministic.

Correct answer: A

### Explanation

Runtime behavior determines this classification. The Code path executes a saved function containing fixed comparisons; AI participation in writing that function does not introduce model reasoning into its execution. The Model path asks a generative model to make a new eligibility decision on every invocation. Providing the same inputs and policy does not turn that decision into execution of the saved comparisons.

## Question 24

Type: single\_choice
Knowledge point: Determine when to use deterministic or non-deterministic methods to implement business logic

A Copilot Studio agent extracts an order ID and discount percentage from employee requests for a custom Dataverse Order table. Company policy allows discounts only on Draft orders and within the requesting user's configured limit. The policy must hold even when the agent proposes an ineligible discount. The tool connection acts as the authenticated requesting user. A general row-update tool checks Dataverse record permissions but has no discount-policy validation. You can also expose a custom API with server-side logic. For one request, the agent proposes an 8% discount on order 1842\. Current authoritative data shows Draft status and a 5% limit for the requester, who has write access to the order. Which design should enforce the policy for agent requests?

### Options

**A**

Have the agent read the current status and limit, use generative reasoning to approve the discount, and call the general row-update tool for approvals.

**B**

Use a custom API whose server-side code checks record access, current order status, and the requester's discount limit before applying the proposed discount.

**C**

Check the requester's record write access, then use the general row-update tool to apply the agent's proposed discount.

**D**

Ask the requester to confirm the inferred order and discount, then use the general row-update tool to apply the confirmed values.

Correct answer: B

### Explanation

The agent can interpret the requested order and discount, while server-side code independently enforces the permitted update. Record write access satisfies a data-access requirement but does not establish compliance with the discount policy. The current Draft status permits considering a discount, but the proposed 8% exceeds the requester's authoritative 5% limit, so the custom API must reject the update. Letting generative reasoning approve a general row update leaves policy enforcement dependent on the model's decision.

## Question 25

Type: single\_choice
Knowledge point: Determine when to use code apps, generative pages, Power Apps component frameworks (PCFs), web resources, interactive agents, and Model Context Protocol (MCP) app widgets to implement the user experience

A developer must replace numeric inputs on several forms in an online model-driven app with an editable dial. Form makers must be able to reuse one implementation and bind it to different whole-number columns. The dial must render with the other form controls and edit the bound value directly on the existing form. Which component should the developer choose?

### Options

**A**

Implement the dial as an HTML web resource.

**B**

Implement the dial on a generative page.

**C**

Implement the dial as a PCF code component.

**D**

Implement the dial in a Power Apps code app.

Correct answer: C

### Explanation

PCF supports data-bound controls that render alongside other controls in the Power Apps host and can be reused across tables and forms. This fits an editable dial configured for different numeric columns. An HTML web resource can provide an embedded interface, but it does not supply the PCF field-binding and component lifecycle contract required here.

## Question 26

Type: single\_choice
Knowledge point: Determine when to use code apps, generative pages, Power Apps component frameworks (PCFs), web resources, interactive agents, and Model Context Protocol (MCP) app widgets to implement the user experience

A team has an existing TypeScript single-page application with its own navigation and custom interface. Users must launch it as an app from Power Apps, and it must access a business service through a supported Power Platform connector. Power Apps must manage user sign-in and app loading. The environment, licensing, connection, and data-access prerequisites are satisfied. Which approach should the developer choose?

### Options

**A**

Integrate the SPA as a PCF code component in a model-driven app.

**B**

Publish the SPA as a Power Apps code app using the Power Apps client library.

**C**

Embed the SPA as an HTML web resource in a model-driven app.

**D**

Rebuild the SPA as a generative page in a model-driven app.

Correct answer: B

### Explanation

A code app supports a custom SPA hosted by Power Apps. Its client library supplies supported connector integration and generated data services, while the Power Apps host manages end-user authentication and app loading. An HTML web resource can contain interconnected browser files, but it supplies a model-driven extension rather than the requested hosted application contract.

## Question 27

Type: single\_choice
Knowledge point: Determine when to use code apps, generative pages, Power Apps component frameworks (PCFs), web resources, interactive agents, and Model Context Protocol (MCP) app widgets to implement the user experience

A developer is prototyping a custom page inside a model-driven app in a Singapore public-cloud environment. The developer wants to describe the layout in the browser designer and refine the resulting React code through conversation. The page must use two Dataverse tables and a supported connector whose authenticated connection and connection reference are already prepared. Preview connector support is acceptable for this nonproduction prototype. Which component should the developer choose?

### Options

**A**

Add a generative page to the model-driven app.

**B**

Add a PCF code component to the model-driven app.

**C**

Build a Power Apps code app for the interface.

**D**

Add a Copilot Studio interactive agent to the model-driven app.

Correct answer: A

### Explanation

A generative page provides AI-assisted React page authoring inside a model-driven app. Singapore supports the browser authoring route, and the prepared connection and connection reference support the documented connector route. Connector support remains preview, which fits the stated nonproduction prototype. A code app could provide a custom SPA, but it would use a different application and authoring boundary.

## Question 28

Type: single\_choice
Knowledge point: Determine when to use code apps, generative pages, Power Apps component frameworks (PCFs), web resources, interactive agents, and Model Context Protocol (MCP) app widgets to implement the user experience

An existing agent in Microsoft Copilot Chat already calls an MCP inventory tool configured to return warehouse stock counts as JSON. Users need the returned data displayed as compact cards inside the conversation, with a Refresh button that calls the same tool again. The host supports the required tool-result UI runtime and can load its external libraries. Which UI extension should the developer add?

### Options

**A**

Create an HTML web resource for the inventory result cards.

**B**

Create a PCF code component for the inventory result cards.

**C**

Create a Copilot Studio interactive agent as the inventory interface.

**D**

Create an MCP app widget for the inventory result cards.

Correct answer: D

### Explanation

An MCP app widget renders an MCP tool's JSON result as a visual interface inside a compatible conversation host. Its interactive tool-call integration can invoke the same inventory tool again when users select Refresh. The stem supplies the JSON-output MCP tool, compatible runtime, and external-library availability needed for this approach. The existing agent already provides conversational interaction and tool use. Although a widget can be an HTML file, that file format does not make a model-driven HTML web resource a conversation tool-result extension.

## Question 29

Type: single\_choice
Knowledge point: Determine when to use Microsoft Foundry or Microsoft Copilot Studio to build agents

An internal support team needs an agent that answers procedure questions and opens support requests through an existing connector. Employees must use it in Microsoft Teams and on the company website. Business makers will maintain its questions and branching steps in a graphical editor. The team wants to minimize custom development and has no custom agent framework requirement. Which approach should you recommend?

### Options

**A**

Build the solution as a Foundry prompt agent.

**B**

Build the solution as a Copilot Studio agent on the standard harness.

**C**

Build the solution as a Foundry hosted agent.

**D**

Build the solution as a standalone Copilot Studio agent flow.

Correct answer: B

### Explanation

The combination of graphical conversation maintenance, an existing connector, and Teams and website access favors Copilot Studio. Its standard harness supports structured conversations, and Studio supplies agent authoring, connectors, and publishing channels. A Foundry prompt agent is a credible alternative for declarative agent creation, but the stated maker experience and channels make Studio the closer fit. Sources: [Copilot Studio overview](https://learn.microsoft.com/en-us/microsoft-copilot-studio/fundamentals-what-is-copilot-studio) and [Foundry agent approaches](https://learn.microsoft.com/en-us/azure/foundry/what-is-foundry).

## Question 30

Type: single\_choice
Knowledge point: Determine when to use Microsoft Foundry or Microsoft Copilot Studio to build agents

A team is prototyping an agent with an existing LangGraph implementation. That implementation must run as the agent's orchestration runtime, and the team must control its routing code and dependencies. It wants Microsoft to host this runtime through a managed agent endpoint and is prepared to maintain a container. The framework and dependencies are supported by the intended deployment environment. Which agent approach should the team select?

### Options

**A**

Use a Copilot Studio agent on the standard harness.

**B**

Use a Foundry prompt agent.

**C**

Use a Foundry hosted agent.

**D**

Use a Copilot Studio agent on the GitHub Copilot harness.

Correct answer: C

### Explanation

Retaining LangGraph as the agent's orchestration runtime requires the route that runs the team's own agent implementation. A Foundry hosted agent accepts code or a framework packaged in a container and provides a managed endpoint. A Foundry prompt agent is the nearest alternative, but its instructions-model-tools configuration does not retain the existing routing implementation as the agent runtime. The team remains responsible for its container code and dependencies. Sources: [Foundry agent approaches](https://learn.microsoft.com/en-us/azure/foundry/what-is-foundry) and [Copilot Studio harnesses](https://learn.microsoft.com/en-us/microsoft-copilot-studio/fundamentals-what-is-copilot-studio).

## Question 31

Type: single\_choice
Knowledge point: Determine when to use Microsoft Foundry or Microsoft Copilot Studio to build agents

For a pilot, a Copilot Studio agent on the standard harness owns the employee conversation and must obtain specialist results from an existing agent created in the new Foundry portal. The team is using Copilot Studio's preview 'Connect to a Microsoft Foundry agent' feature. The Foundry agent currently exposes only Responses and A2A endpoints. Which call direction and protocol should the design use?

### Options

**A**

Have Copilot Studio call Foundry using the Responses protocol.

**B**

Have Foundry call Copilot Studio using the Activity protocol.

**C**

Have Copilot Studio call Foundry using the A2A protocol.

**D**

Have Copilot Studio call Foundry using the Activity protocol.

Correct answer: D

### Explanation

Copilot Studio owns the conversation and requests specialist results, so it must call Foundry. For the specified preview connection on the standard harness, the receiving Foundry agent must have its Activity endpoint enabled. The default Responses and A2A endpoints do not satisfy that prerequisite. Enable Activity through the REST API or Python SDK before testing the connection. The two agents retain their separate responsibilities. Source: [Connect to a Microsoft Foundry agent (preview)](https://learn.microsoft.com/en-us/microsoft-copilot-studio/add-agent-foundry-agent).

