# Power Platform Developer AB-400 (formerly PL-400) practice exams

> 5 timed AB-400 practice tests with 241 questions and a 70% pass mark. See your score in Extend Microsoft Power Platform and every other domain.

Page: https://devopscodelab.com/exams/microsoft-pl-400/

241 questions in 5 timed practice tests. Each test has about 50 questions and a 100-minute limit. The pass mark is 70%. Results are split across the 4 exam domains.

## Exam at a glance

| Setting | Value |
| --- | --- |
| Practice tests | 5 |
| Questions in total | 241 |
| Questions per test | About 50 |
| Time limit per test | 100 minutes |
| Pass mark | 70% |
| Question types | Single answer and multiple answer (22 multiple-answer questions) |
| Level | Associate |
| Category | Productivity & Microsoft 365 |

These are the settings of our practice tests. Check the official Microsoft exam page for the current format before you book.

## Domains and weights

| Domain | Weight | Questions in our bank |
| --- | --- | --- |
| Build Microsoft Power Platform solutions | 18% | 43 |
| Extend the user experience | 29% | 70 |
| Extend Microsoft Power Platform | 40% | 96 |
| Develop integrations | 13% | 32 |

## Price and access

- AB-400 practice exams: $12.99 for 12 months of access.
- Free mini exam: 15 questions with explanations (free account): https://devopscodelab.com/app/exams/microsoft-pl-400/mini/
- All-Access subscription includes every exam: https://devopscodelab.com/pricing/
- 10 free questions with answers: https://devopscodelab.com/exams/microsoft-pl-400/free-practice-questions/

## Sample questions

### Question 1 of 3 (choose 2)

Developers must keep using Visual Studio Code with React and TypeScript to build a full-screen business app that uses Dataverse data and a Power Platform connector, and the app must be governed by environment policies such as data policies and conditional access. Which user experience option fits best? (Choose two.)

- A. Host a static React site on Azure Static Web Apps and call the connector from the browser
- B. Publish the app to the environment so sharing and governance are applied through Power Platform
- C. Build a Power Apps code app and connect it to Dataverse and the connector through its data sources
- D. Build a model-driven app with an HTML web resource that loads the React bundle in an iframe
- E. Build a canvas app and paste the compiled React bundle into an HTML text control

**Answer:** B, C

**Explanation:** Power Apps code apps let developers build with code-first frameworks such as React in their own IDE, connect to Dataverse and connectors, and publish into an environment where Power Platform sharing and governance apply. Pasting a bundle into a canvas control is unsupported, and a standalone static site would not be governed by Power Platform policies. A web resource inside a model-driven app is not a full-screen standalone app and is not the recommended host for a full React application.

### Question 2 of 3

A developer exports a managed solution that includes an environment variable with a current value of the development API URL. After import into test, the variable uses the development URL. How should the developer prevent this in future deployments?

- A. Mark the environment variable as a secret type so that its value is never exported with the solution
- B. Remove the current value from the solution before export and supply it per target at import
- C. Clear the default value and set a Required flag so the import fails until someone edits the variable
- D. Convert the variable to a JSON type so each environment parses its own value

**Answer:** B

**Explanation:** The current value travels with the solution when it is included, so it should be removed from the solution before export and set in each target through the import experience or a deployment settings file used by pipelines. Secret environment variables reference Azure Key Vault and are not a fix for a plain URL. Changing the data type does not stop the value from being exported, and deliberately failing imports adds manual work rather than supplying the correct value.

### Question 3 of 3

An OnSave handler must call an external validation API that returns a promise, and the save must wait for the result before deciding to cancel. What should the developer do?

- A. Move the validation to the OnLoad event so the result is already cached before any save
- B. Call the API synchronously with XMLHttpRequest in synchronous mode inside the OnSave handler
- C. Enable async save handlers in the app settings and return the promise from the OnSave handler
- D. Always cancel the save, call the API, and then call formContext.data.save() when it succeeds

**Answer:** C

**Explanation:** Model-driven apps support asynchronous OnSave handlers when enabled in app settings, and returning a promise makes the platform wait for it, with a timeout. Synchronous XMLHttpRequest is deprecated and blocks the browser. Always cancelling and then saving again works but re-triggers OnSave and is more fragile, and validating on load cannot reflect changes made before saving.


## Study plans

### Two weeks

1. Day 1: take practice test 1 in exam mode to get a baseline.
2. Days 2 to 5: domain mode on Extend Microsoft Power Platform and Extend the user experience, the two most heavily weighted domains.
3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

### Four weeks

1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

## Questions about the AB-400 practice exams

**Are these real AB-400 exam questions?**

No. We write every question ourselves and map it to the published AB-400 exam objectives. We do not use leaked or recalled questions.

**Do the time limit and pass mark match the official exam?**

They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.

**Can I try it before I pay?**

Yes. The free mini exam has 15 questions with full explanations and needs no account.

**How long do I keep access?**

A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.

**What happens after I finish a test?**

You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026.

DevOpsCode Lab is not affiliated with Microsoft. AB-400 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
