# Implement application lifecycle management (ALM) — 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/522

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: Manage solution dependencies

You maintain a Dataverse solution and plan to retire the Legacy code column on the Case table. Before making changes, you need to locate solution components whose references could block the column's deletion and identify the column's role in those dependencies. Which action should you take?

### Options

**A**

Select Legacy code and open Advanced > Show dependencies. Treat the column as a dependent component and inspect Required components for references to it.

**B**

Select Legacy code and open Advanced > Show dependencies. Treat the column as a required component and inspect Dependent components for references to it.

**C**

Select Legacy code and open Advanced > Show dependencies. Treat the column as a required component and inspect Required components for references to it.

**D**

Select Legacy code and open Advanced > Show dependencies. Treat the column as a dependent component and inspect Dependent components for references to it.

Correct answer: B

### Explanation

For references to Legacy code, the column is the required component and the components using it are dependent components. Selecting the column and opening Advanced > Show dependencies exposes those relationships. Dependent components identifies components whose references could block deletion; Required components identifies components the column itself needs. [Microsoft Learn: Removing dependencies](https://learn.microsoft.com/en-us/power-platform/alm/removing-dependencies)

## Question 2

Type: single\_choice
Knowledge point: Manage solution dependencies

In a Dataverse development environment, deleting the Legacy code column is blocked. Show dependencies identifies Case Main as the column's only dependent form. The form is grouped in the unmanaged Case Design solution, and Solution Layers identifies the reference as Active (unmanaged). The current form definition still includes Legacy code, and the form must remain in use. Which action should you take before retrying the column deletion?

### Options

**A**

Publish Case Main without changing its definition, then recheck the column's dependencies.

**B**

Remove Legacy code from Case Main in the form designer and save the form, then recheck the column's dependencies.

**C**

Remove Legacy code from Case Main in the form designer, save and publish the form, then recheck the column's dependencies.

**D**

Delete the unmanaged Case Design solution, publish customizations, then recheck the column's dependencies.

Correct answer: C

### Explanation

The reference belongs to the Active unmanaged layer, and Case Main must remain in use. Repair the dependent form by removing Legacy code in the form designer, then saving and publishing the form. Saving alone does not complete the documented dependency-removal operation. Deleting the unmanaged solution only removes its grouping; it does not remove the form's reference. Recheck the dependency before retrying column deletion. [Microsoft Learn: Remove an unmanaged dependency](https://learn.microsoft.com/en-us/power-platform/alm/removing-dependencies#actions-to-remove-an-unmanaged-dependency)

## Question 3

Type: single\_choice
Knowledge point: Manage solution dependencies

An organization plans to retire the Legacy code column introduced by the managed Case Data solution. Show dependencies identifies Legacy routing, a workflow from the managed Service Automation solution, as the column's only dependent component. Its obsolete condition on Legacy code can be removed, but Legacy routing and the other Service Automation workflows must remain installed. Solution Layers shows only the Service Automation managed layer for each workflow, with no unmanaged customizations. You maintain both solutions' development sources. Which plan should you use to remove the dependency?

### Options

**A**

Edit Legacy routing in the Service Automation source solution to remove all Legacy code references, export a revised managed version, upgrade Service Automation in the target, and recheck the column's dependencies.

**B**

Uninstall Service Automation from the target environment, then recheck the column's dependencies.

**C**

Remove Legacy code from the Case Data source solution, export a revised managed version, upgrade Case Data in the target, and recheck the column's dependencies.

**D**

Increase the Service Automation source solution's version without changing Legacy routing, export a managed version, upgrade Service Automation in the target, and recheck the column's dependencies.

Correct answer: A

### Explanation

Service Automation owns the managed dependent workflow. Removing its obsolete Legacy code references in the source solution and deploying the revised managed version through an upgrade repairs the dependency while retaining the workflows. Uninstalling Service Automation would delete its workflow components because it supplies their only layer. Upgrading Case Data to remove the column first remains blocked by the existing workflow reference, and upgrading an unchanged workflow leaves that reference intact. [Microsoft Learn: Managed dependency removal](https://learn.microsoft.com/en-us/power-platform/alm/removing-dependencies#actions-to-remove-a-managed-dependency)

## Question 4

Type: single\_choice
Knowledge point: Create and use environment variables

A Power Platform developer reviews a Text environment variable named Service URL in the production environment: Default value: https://api.contoso.com/shared Current value: https://api.contoso.com/regional Both URLs are valid. Which result should the developer expect when the environment variable's configured value is resolved?

### Options

**A**

Resolve to https://api.contoso.com/shared.

**B**

Resolve to https://api.contoso.com/regional.

**C**

Alternate between the shared and regional endpoints.

**D**

Report a configuration conflict until one value is cleared.

Correct answer: B

### Explanation

The production current value is defined, so it takes precedence over the definition's default value. Resolving Service URL therefore yields the regional endpoint. A default remains useful as a fallback when no current value exists; having both values is supported and does not create a conflict. [Microsoft Learn: Use environment variables in Power Platform solutions](https://learn.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables).

## Question 5

Type: single\_choice
Knowledge point: Create and use environment variables

A developer is preparing an unmanaged development solution for its first deployment to test and production. A Text environment variable has no default value and has a development URL as its current value. Neither target contains the variable's definition. Test and production must receive their respective service URLs during solution import. Development must retain its existing current value. Which export-and-import plan should the developer use?

### Options

**A**

Export the definition and development current value; retain the imported development URL in both targets.

**B**

Delete the development current value record, export the definition, and enter each target URL during import.

**C**

Keep the definition in the solution, select Remove from this solution for Current Value, and enter each target URL during import.

**D**

Export only the current value record; replace its value with each target URL during import.

Correct answer: C

### Explanation

The targets need the environment-variable definition, while each target needs its own value at import. Keeping the definition and removing Current Value from the solution omits the development value from the export while retaining it in development. The importer can then enter the appropriate target URL. Deleting the development value record would also omit that value, but would violate the requirement to retain development's configuration. [Microsoft Learn: Use environment variables in Power Platform solutions](https://learn.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables).

## Question 6

Type: single\_choice
Knowledge point: Create and use environment variables

A canvas app accesses SharePoint Online using Microsoft Entra authentication and is configured to use Data source environment variables. While editing the variables, a developer selects a connection to browse available sites and lists. The app will be deployed to an environment that uses a different SharePoint site and list. How should the developer assign authentication and data-source selection in the target environment?

### Options

**A**

Use a connection for authentication and the environment variables for the target site and list.

**B**

Use the environment variables for authentication and a connection for the target site and list.

**C**

Use a connection for both authentication and the target site and list.

**D**

Use the environment variables for both authentication and the target site and list.

Correct answer: A

### Explanation

For this SharePoint Online scenario, authentication and data-source selection have separate roles. A valid connection supplies credentials or authentication; Data source environment variables supply the target site and list parameters. Selecting a connection in the variable editor retrieves available parameter values without storing that connection in the variable. Because a SharePoint Online connection does not store site or list information, the target configuration requires both the connection and the parameter values. [Microsoft Learn: Use environment variables in Power Platform solutions](https://learn.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables).

## Question 7

Type: single\_choice
Knowledge point: Create and use environment variables

A Power Platform developer needs an API credential to remain in Azure Key Vault and wants to use the built-in environment-variable integration to access it. The secret is already stored in the vault, and the required setup for Power Platform access is complete. App users can download the solution's JavaScript and JSON web resources. Which configuration should the developer choose?

### Options

**A**

Create a Text environment variable whose current value is the Azure Key Vault secret URI.

**B**

Store the Base64-encoded credential in a JSON web resource.

**C**

Store the credential as a constant in a minified JavaScript web resource.

**D**

Create a Secret environment variable configured to reference the Azure Key Vault secret.

Correct answer: D

### Explanation

The Secret environment-variable type uses Azure Key Vault configuration to let Power Platform access the secret. With the vault and required access setup already available, configuring that type provides the requested integration. A Text value containing a secret URI only stores a locator; it does not configure the Secret type's vault integration. Encoding or minifying a credential in downloadable resources does not provide secret backing. [Microsoft Learn: Use environment variables in Power Platform solutions](https://learn.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables).

## Question 8

Type: single\_choice
Knowledge point: Manage solution layers

A developer imports a managed update for the JavaScript web resource routing.js into a target Dataverse environment. The update should change getRoutingMode() to return "Automatic". Users still see "Manual", and an uncached request to that environment returns a script whose getRoutingMode() function returns "Manual".

The component's layer details show:

| Layer order | Layer | getRoutingMode() implementation |
| --- | --- | --- |
| Top | Active (unmanaged) | Returns "Manual" |
| Below Active | Routing solution (managed) | Returns "Automatic" |

Which diagnosis best explains the response?

### Options

**A**

The Active unmanaged layer supplies the web resource's effective JavaScript.

**B**

The managed layer is effective, but browser caching supplies the earlier JavaScript.

**C**

The managed import left the resource's managed definition unchanged.

**D**

The JavaScript from the managed and unmanaged layers is merged into the effective resource.

Correct answer: A

### Explanation

The managed definition contains the intended change, but the component history places an unmanaged definition above it. JavaScript web resources use top-layer precedence, so the unmanaged definition supplies the effective script. The uncached response also rules out browser caching as the explanation. See [Solution layers and merge behavior](https://learn.microsoft.com/en-us/power-platform/alm/solution-layers-alm).

## Question 9

Type: single\_choice
Knowledge point: Manage solution layers

Two managed solutions customize the same model-driven main form and the same text column in a Dataverse environment. The component-layer details show these definitions. There are no unmanaged customizations, patches, or pending upgrades affecting either component.

| Layer | Main form customization | Text column Max length |
| --- | --- | --- |
| Lower managed layer | Adds a Safety tab | 120 |
| Upper managed layer | Adds a Handover tab | 240 |

Which interpretation of the effective definitions is correct?

### Options

**A**

The upper form definition replaces the lower one, and the column's Max length is 240.

**B**

The form and column definitions are merged, retaining the column's Max length of 120.

**C**

The form customizations are merged, and the column's Max length is 240.

**D**

The lower layer defines both components, and the column's Max length remains 120.

Correct answer: C

### Explanation

The component type determines how its layers are resolved. A model-driven form uses merge logic across its customizations. A text column uses top-layer precedence, making the upper layer's Max length of 240 effective. Applying top-layer replacement to both components would interpret the column correctly but misinterpret the form. See [Solution layers and merge behavior](https://learn.microsoft.com/en-us/power-platform/alm/solution-layers-alm).

## Question 10

Type: single\_choice
Knowledge point: Manage solution layers

A developer inspects the history of a text column supplied by one managed solution in Dataverse. Each listed package includes this column, and all imports succeeded in the following order:

| Import order | Package | Column Max length |
| --- | --- | --- |
| 1 | Base solution 1.0.0.0 | 120 |
| 2 | Patch 1.0.1.0 | 180 |
| 3 | Patch 1.0.2.0 | 240 |
| 4 | Solution 2.0.0.0, imported using Stage for upgrade and present as \_Upgrade | 360 |

Apply upgrade has not been run. No other managed solution or unmanaged customization affects this column. The team will run Apply upgrade without importing another package.

Which account of the column's effective Max length before and after Apply upgrade is correct?

### Options

**A**

240 before and 360 after; Apply upgrade activates the staged definition.

**B**

360 before and 360 after; Apply upgrade consolidates the staged upgrade and patches into a new base.

**C**

180 before and 360 after; Apply upgrade replaces the first patch's effective definition with the staged definition.

**D**

360 before and 240 after; Apply upgrade removes the staged definition and exposes the latest patch.

Correct answer: B

### Explanation

Later patches sit above earlier patches, and the staged upgrade sits above the base and patch layers. Because a text column uses top-layer precedence, its Max length is already 360 before Apply upgrade. Applying the upgrade consolidates those managed layers into a new base containing the upgrade definition; it does not first activate that value or revert to a patch. See [Solution layers and merge behavior](https://learn.microsoft.com/en-us/power-platform/alm/solution-layers-alm).

## Question 11

Type: single\_choice
Knowledge point: Implement and extend Microsoft Power Platform Pipelines

On October 12, 2026, an administrator reviews a same-tenant Power Platform pipeline. Its host is an unmanaged Production environment, its source is an unmanaged Developer environment, and its Production target is unmanaged. The admin deployment page notified the administrator about the unmanaged target 10 days ago. No extension has been requested. All three environments have Dataverse databases, and access and licensing requirements are satisfied. Which environment-management plan follows the applicable guidance?

### Options

**A**

Keep the host and Developer source unmanaged; approve enabling management for the target within 30 days of the notification, or use its one additional 30-day extension before enabling management.

**B**

Enable management for the host, Developer source, and target before the next deployment; the notification provides no grace period.

**C**

Keep the host, Developer source, and target unmanaged; treat the target notification as advisory with no deployment deadline.

**D**

Keep the host and Developer source unmanaged; keep the target unmanaged by requesting another 30-day extension whenever its current period expires.

Correct answer: A

### Explanation

The Production host does not have to be managed, and Developer environments are exempt from the management requirement. The Production target is subject to that requirement. Under the enforcement guidance starting in October 2026, the notification gives the administrator 30 days to approve enabling management before future deployments are blocked, with one additional 30-day extension available per environment. A notification received 10 days ago therefore does not require immediate conversion of every environment, but it also does not grant the target a permanent exemption. [Microsoft Learn: Pipelines overview](https://learn.microsoft.com/en-us/power-platform/alm/pipelines)

## Question 12

Type: single\_choice
Knowledge point: Implement and extend Microsoft Power Platform Pipelines

A native Power Platform pipeline has sequential Test and Production stages. A deployment request exported solution version 2.3 from Development, and that release passed Test. Development now contains additional changes scheduled for the next release. Production approval covers the release that passed Test. Production also needs its own connections and environment-variable values. How should the release engineer deploy the approved release to Production?

### Options

**A**

Export the solution from Test and use that new export for the Production deployment, supplying Production's deployment configuration.

**B**

Continue the existing deployment to Production using its stored solution export, supplying Production's deployment configuration.

**C**

Start a new deployment from Development and advance its new export through Test and Production, supplying Production's deployment configuration.

**D**

Modify the stored solution export to include Production's environment-variable values, then continue the existing deployment with Production's connections.

Correct answer: B

### Explanation

Native pipelines export the solution when the deployment request is submitted and promote that stored artifact through subsequent stages in order. They do not re-export it for later stages and prohibit modification of the exported artifact. Continuing the existing deployment therefore carries the tested release forward while excluding later Development changes. Production-specific connections and environment-variable values are deployment configuration; they do not require a replacement solution export. Re-exporting from Test may appear to preserve the tested contents, but it replaces the artifact rather than following the native pipeline's promotion model. [Microsoft Learn: Pipelines overview](https://learn.microsoft.com/en-us/power-platform/alm/pipelines), [Microsoft Learn: Extend pipelines](https://learn.microsoft.com/en-us/power-platform/alm/extend-pipelines)

## Question 13

Type: single\_choice
Knowledge point: Implement and extend Microsoft Power Platform Pipelines

A custom Power Platform pipeline has gated extensions available in its host, and Pre-deployment Step Required is enabled for its Production stage. A cloud flow in the host uses the Dataverse When an action is performed trigger and receives OnPreDeploymentStarted for the intended pipeline and stage. Its connection can update the deployment-stage run. Validation finds that a required Production endpoint is missing. The flow finishes successfully, but the deployment remains pending. Which action should the flow take for the run identified by the event to record the gate failure and stop this deployment?

### Options

**A**

Perform the unbound action UpdatePreExportStepStatus for that deployment-stage run with status 30.

**B**

Perform the unbound action UpdatePreDeploymentStepStatus for that deployment-stage run with status 20.

**C**

Perform the unbound action UpdatePreDeploymentStepStatus for that deployment-stage run with status 10.

**D**

Perform the unbound action UpdatePreDeploymentStepStatus for that deployment-stage run with status 30.

Correct answer: D

### Explanation

A gated step remains pending until the extension signals completion or rejection; a successful cloud-flow run alone does not resolve it. OnPreDeploymentStarted pairs with UpdatePreDeploymentStepStatus. Because validation failed, the handler must send status 30 for the intended deployment-stage run, rejecting the step and preventing deployment. Status 20 completes the step, while status 10 leaves it pending. Using the pre-export status action would address a different gate even though it uses the rejection status. [Microsoft Learn: Extend pipelines](https://learn.microsoft.com/en-us/power-platform/alm/extend-pipelines)

## Question 14

Type: single\_choice
Knowledge point: Implement and extend Microsoft Power Platform Pipelines

A supplier develops a Power Platform solution in its own Microsoft Entra tenant. The customer requires automated deployment into a Production environment in the customer's separate tenant; neither environment can move tenants. Both environments have Dataverse databases. The release team already uses Azure DevOps and has authorized deployment access to both environments. Which deployment route should the team choose?

### Options

**A**

Use native Power Platform pipelines with a host in the supplier tenant and enable Cross-Geo Solution Deployments.

**B**

Use native Power Platform pipelines with a host in the customer tenant and register the supplier environment as its Development environment.

**C**

Use an Azure DevOps pipeline with Power Platform Build Tools and authorized service connections for the source and target environments.

**D**

Use native Power Platform pipelines with delegated deployment from the supplier tenant and an identity authorized in the customer's target environment.

Correct answer: C

### Explanation

The required deployment crosses a tenant boundary. Native Power Platform pipelines do not deploy to a different tenant, and Microsoft recommends Azure DevOps or GitHub for that scenario. Power Platform Build Tools provide Azure DevOps tasks for solution build and deployment operations in environments with Dataverse databases, so they fit the team's existing automation platform and stated access. Moving the native pipeline host or changing its deployment identity does not remove the tenant boundary. Cross-Geo Solution Deployments addresses geographic location, which is a different constraint. [Microsoft Learn: Pipelines overview](https://learn.microsoft.com/en-us/power-platform/alm/pipelines), [Microsoft Learn: Power Platform Build Tools](https://learn.microsoft.com/en-us/power-platform/alm/devops-build-tools), [Microsoft Learn: Extend pipelines](https://learn.microsoft.com/en-us/power-platform/alm/extend-pipelines)

## Question 15

Type: single\_choice
Knowledge point: Create Continuous Integration/Continuous Deployment (CI/CD) automations using Microsoft Power Platform Build Tools

A Power Platform developer is updating an Azure DevOps pipeline for a Dataverse solution. The team wants the CLI-based Build Tools release that receives newer features. The pipeline currently uses Tool Installer 2.0, Export Solution 2.0, Pack Solution 1.0, and Import Solution 2.0\. Which task-version configuration should the developer use?

### Options

**A**

Use Tool Installer, Export Solution, and Import Solution 2.0, with Pack Solution 1.0.

**B**

Use Tool Installer 2.0, with Export Solution, Pack Solution, and Import Solution 1.0.

**C**

Use Tool Installer, Export Solution, Pack Solution, and Import Solution 1.0.

**D**

Use Tool Installer, Export Solution, Pack Solution, and Import Solution 2.0.

Correct answer: D

### Explanation

Build Tools 2.0 uses Power Platform CLI and receives newer features; Build Tools 1.0 uses PowerShell. Microsoft requires consistent Build Tools task versions within a pipeline. Using 2.0 for all four tasks therefore meets both the CLI requirement and the version-consistency rule. Updating only the installer does not make the remaining 1.0 tasks equivalent to 2.0 tasks. [Microsoft Power Platform Build Tools](https://learn.microsoft.com/en-us/power-platform/alm/devops-build-tools)

## Question 16

Type: single\_choice
Knowledge point: Create Continuous Integration/Continuous Deployment (CI/CD) automations using Microsoft Power Platform Build Tools

An Azure DevOps pipeline uses Power Platform Build Tools 2.0 to import solutions into Test and Production, both of which have Dataverse databases. Its release identity is the Microsoft Entra application ReleaseApp. ReleaseApp already has federated credentials configured for the intended Azure DevOps service connections. ReleaseApp has an application user with the System Administrator role in Test, but no application user in Production. The organization prohibits client secrets for this pipeline. The existing Test application user will remain unchanged. Which plan should the developer implement for unattended imports into both environments?

### Options

**A**

Use workload identity federation with ReleaseApp for both target service connections, and rely on its Test application user's role for Production.

**B**

Use workload identity federation with ReleaseApp for both target service connections, and create its Production application user with the System Administrator role.

**C**

Use workload identity federation with ReleaseApp for both target service connections, and create its Production application user without a Dataverse security role.

**D**

Use client-secret authentication with ReleaseApp for both target service connections, and create its Production application user with the System Administrator role.

Correct answer: B

### Explanation

Workload identity federation provides the service-principal authentication route that meets the prohibition on client secrets. Dataverse access also requires an application user associated with that same Microsoft Entra application in each connected environment. The documented Build Tools setup assigns the System Administrator role to that application user. ReleaseApp's existing Test authorization does not establish Production authorization, so its Production application user and role must be configured. [Microsoft Power Platform Build Tools](https://learn.microsoft.com/en-us/power-platform/alm/devops-build-tools), [Manage application users](https://learn.microsoft.com/en-us/power-platform/admin/manage-application-users)

## Question 17

Type: single\_choice
Knowledge point: Create Continuous Integration/Continuous Deployment (CI/CD) automations using Microsoft Power Platform Build Tools

An Azure DevOps pipeline uses Power Platform Build Tools 2.0 to import managed solution OrderOps 1.7 into Production. The solution contains an order flow, the Rate table definition, and a text environment-variable definition for an external API endpoint. The endpoint's default value is the development API URL. No current value is packaged, and Production has no existing current value. Rate contains 80 required business rows in development and was empty in Production before deployment. The pipeline ran only Import Solution. The task succeeded, and solution version 1.7 appears in Production. The release requires the Production API, the 80 Rate rows, and a successful representative order. Which plan completes the remaining deployment work and verifies these release requirements?

### Options

**A**

Set and verify a Production current value for the endpoint, use the Rate rows delivered by solution import, and test a representative order.

**B**

Migrate and verify the 80 Rate rows separately, retain the imported endpoint configuration, and test a representative order.

**C**

Set and verify a Production current value for the endpoint, migrate and verify the 80 Rate rows separately, and test a representative order.

**D**

Accept the imported endpoint configuration and Rate contents, then test a representative order in Production.

Correct answer: C

### Explanation

The successful task and observed version establish that the expected solution was imported. They do not establish the required endpoint or table data. With no current endpoint value, the development default remains effective; a Production current value must be supplied and verified. [Environment variables](https://learn.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables)

Importing the Rate table definition does not transfer its business rows: solutions do not contain ordinary Dataverse table data. The rows therefore require a separate migration and target verification. A representative order then checks the deployed behavior against the release requirements. [Power Platform pipelines overview](https://learn.microsoft.com/en-us/power-platform/alm/pipelines)

