All decks
AB-400 Power Platform Developer: exam prep
Exam prep: AB-400: Extending Microsoft Power Platform Solutions with Code and AI
64 cards following the AB-400 skills outline, the exam that replaced PL-400 for the Power Platform Developer Associate: architecture and ALM, client scripting, PCF, code apps, plug-ins, APIs, agents and integrations.
Take a practice exam0 of 64 cards learned0%
Unofficial study aid from Lowcoder.net, not affiliated with or endorsed by Microsoft. Written from the AB-400 skills outline and Microsoft Learn, not from exam questions. AB-400 replaced PL-400 on 16 October 2026 and leads to the same Power Platform Developer Associate certification; 700 out of 1000 is needed to pass. Check the AB-400 study guide on Microsoft Learn before you book.
All 64 cards as a list
Build solutions: architecture
- Plug-in or cloud flow for business logic: how do you choose?
- Plug-in when the logic must run synchronously inside the Dataverse transaction (validate, block or roll back the save, whatever app is used). Cloud flow when it can run afterwards, asynchronously, and benefits from connectors and low-code maintenance.
- What is the difference between deterministic and non-deterministic logic, and where does each belong?
- Deterministic logic (plug-ins, flows, Power Fx) always gives the same result for the same input: use it for rules, calculations and anything that must be exact. Non-deterministic logic (generative AI in agents and prompts) interprets unstructured input: use it for understanding text, summarising or deciding a next step, and keep critical rules deterministic.
- Standard, elastic or virtual table: when do you use which?
- Standard: the default relational table with full features. Elastic: very large volumes or high-throughput data (stored on Azure Cosmos DB) with fewer relational features. Virtual: show data from an external system in Dataverse without copying it.
- Where can logic run in a Power Platform solution?
- In the client (JavaScript, Power Fx in apps), in Dataverse on the server (plug-ins, custom APIs, server-side business rules), in automations (cloud flows) and outside the platform (Azure Functions).
- PCF code component, canvas component or generative page: what is each for?
- PCF code component: a TypeScript control you build once and reuse in model-driven apps, canvas apps and pages. Canvas component: low-code reusable piece inside canvas apps. Generative page: a page in a model-driven app generated from a natural-language description.
- What is a Dataverse custom API?
- Your own Dataverse message (action or function) with its own request and response parameters, usually backed by a plug-in. It is the recommended way to expose reusable server logic, callable from the Web API, flows, apps and agents.
- What does an MCP server add to a solution with agents?
- The Model Context Protocol exposes tools and data in a standard way, so agents (Copilot Studio or Microsoft Foundry) can discover and call them. A custom connector can make an MCP server available inside Power Platform.
- How should external code authenticate to Dataverse?
- Register an app in Microsoft Entra ID, create an application user for it in Dataverse with a security role, and sign in with OAuth (client credentials, certificate or a managed identity) instead of a person's account.
- How do you apply least privilege to code that calls Dataverse?
- Give its application user a dedicated security role with only the tables and privileges it needs, at the smallest access level that works.
Build solutions: ALM
- Managed or unmanaged solution: which goes where?
- Unmanaged in development, where you change things. Managed in test and production: it can't be edited there and can be removed cleanly as a whole.
- What are solution layers?
- Each managed solution adds a layer on a component; unmanaged changes sit on top as the active layer. The top layer wins at runtime, so an unmanaged change in production can hide a later managed update.
- What are environment variables for?
- Values that differ per environment (URLs, IDs, settings) stored in the solution and set during import, instead of hard-coding them. A secret type can read from Azure Key Vault.
- Why use connection references?
- Flows and apps in a solution point at a connection reference instead of a specific connection, so each environment can supply its own connection when the solution is imported.
- What are Power Platform Pipelines?
- Built-in deployment of solutions from development to test and production, set up by admins in a host environment, so makers can deploy without exporting files by hand.
- What do Power Platform Build Tools do?
- Tasks for Azure DevOps (and GitHub Actions) that export, unpack, pack, check and import solutions, so ALM can run as CI/CD.
- A solution import fails on a missing dependency. What does that mean?
- The solution uses a component (a table, column, flow, connector) that isn't in it and isn't in the target environment yet. Add the component to the solution or import the solution that contains it first.
User experience: client scripting
- How do you get the form context in a model-driven app script?
- Pass the execution context to the handler and call executionContext.getFormContext(). Xrm.Page is deprecated.
- Which form events do you typically register handlers on?
- OnLoad of the form, OnSave of the form and OnChange of a column, either in the form designer (passing the execution context) or in code with methods like addOnChange.
- How do you stop a save from a script?
- In the OnSave handler, call executionContext.getEventArgs().preventDefault().
- How do you read and write Dataverse data from a form script?
- With Xrm.WebApi: retrieveRecord, retrieveMultipleRecords, createRecord, updateRecord and deleteRecord, or execute for actions and functions.
- How do you show a message on a form?
- formContext.ui.setFormNotification for a form-level bar, control.setNotification next to a field, or Xrm.App.addGlobalNotification for an app-wide message.
- Which Xrm.Navigation methods open dialogs and pages?
- openAlertDialog and openConfirmDialog for simple dialogs, openForm for a form, and navigateTo to open a page (also a custom page) inline or as a dialog.
- How do you add a custom button to a model-driven app?
- With modern commands in the command designer: the action and the visibility rule can be Power Fx or a JavaScript function.
User experience: PCF components
- What are the four lifecycle methods of a PCF component?
- init (set up), updateView (render when data or size changes), getOutputs (return changed values to the platform) and destroy (clean up).
- What does notifyOutputChanged do?
- It tells the framework the component has new output; the framework then calls getOutputs to read the values.
- What does ControlManifest.Input.xml define?
- The component's namespace and name, its properties (bound, input, output), its type (field or dataset), its resources (code, CSS, strings) and the features it uses, such as the Web API or device capabilities.
- Field component or dataset component?
- A field component is bound to one column on a form; a dataset component renders a set of records, such as a view or a subgrid.
- Which context APIs can a PCF component use?
- context.webAPI (Dataverse data), context.device (camera, location, files; declare them in the manifest), context.utils, context.navigation and context.formatting.
- How do you build and deploy a PCF component?
- pac pcf init to start, npm run build to compile, then pac pcf push to a development environment, or add it to a solution project and build that solution for proper ALM.
- What is a virtual (React) PCF component?
- A component that uses the platform's own React and Fluent UI instead of bundling them, so it is smaller and loads faster.
User experience: code apps
- What are Power Apps code apps?
- Web apps you write in code (for example React with TypeScript) in your own editor, then host and run on Power Platform with Entra sign-in, connectors, sharing and governance like other Power Apps.
- How does a code app get data?
- You add data sources with the Power Platform CLI; it generates typed models and services for connectors and Dataverse tables that your code calls.
- How do you publish a code app?
- Build it (for example npm run build) and push it to an environment with the Power Platform CLI, then share it like a canvas app.
- How do you troubleshoot and monitor a code app?
- Use the browser's developer tools while testing and send telemetry to Azure Application Insights in production.
- What does a Content Security Policy do for code apps?
- It limits where the app may load scripts, styles and frames from and connect to, which reduces the risk of injected code. Admins can set it for code apps in the environment.
Extend: Dataverse plug-ins
- Name the plug-in pipeline stages in order.
- PreValidation (before the transaction, before security checks), PreOperation (in the transaction, before the save), MainOperation (the core operation; only for custom APIs) and PostOperation (after the save).
- Synchronous or asynchronous plug-in step: what is the difference?
- Synchronous runs immediately and can roll back the operation by throwing an error. Asynchronous only runs in PostOperation, later, through the async service, and cannot undo the main operation.
- What are pre- and post-images?
- Snapshots of the record before and after the core operation, registered on a step with the columns you need. There's no pre-image on Create and no post-image on Delete.
- What do you find in the plug-in execution context?
- InputParameters (such as Target), OutputParameters, PreEntityImages and PostEntityImages, MessageName, Stage, Depth, UserId and InitiatingUserId.
- How do you prevent a plug-in from triggering itself in a loop?
- Use filtering attributes so it only runs when relevant columns change, and check context.Depth before doing work that updates the same record.
- How does a plug-in show an error to the user and cancel the operation?
- Throw an InvalidPluginExecutionException with a clear message; in a synchronous step this rolls back the transaction.
- How long can a plug-in run?
- About 2 minutes per execution in the sandbox. Move long work to an asynchronous process such as Azure Functions.
- How do you register a plug-in?
- With the Plug-in Registration Tool (or the Power Platform CLI): upload the assembly or plug-in package, then add steps (message, table, stage, mode) and images.
- How can a plug-in reach Azure resources without stored secrets?
- Use managed identity for Dataverse plug-ins: the plug-in package is linked to an Entra app with a federated credential and gets tokens without a secret.
- What are Dataverse business events?
- Events exposed through the catalog so other systems, flows or Azure services can subscribe to them, such as a custom API marked as a business event.
Extend: APIs, Azure and flows
- Web API or Organization service?
- The Web API is OData v4 over REST, usable from any language. The Organization service is the SDK for .NET (IOrganizationService, ServiceClient); the Python SDK also exists for scripting.
- What happens when you hit Dataverse service protection limits?
- You get HTTP 429 with a Retry-After header. Wait that long and retry. Limits are per user over 5 minutes: number of requests, combined execution time and concurrent requests.
- How do you load many records efficiently?
- Use bulk messages like CreateMultiple, UpdateMultiple and UpsertMultiple, or ExecuteMultiple (up to 1000 requests per batch, not transactional). Use ExecuteTransaction when all must succeed or fail together.
- When do you use Azure Functions with Power Platform?
- For long-running or heavy work, scheduled jobs (timer trigger) or event-driven processing (HTTP, Service Bus, Event Grid triggers), authenticating to Dataverse with a managed identity.
- How do you handle errors in a cloud flow?
- Put actions in Scope blocks as try/catch, use Configure run after (has failed, timed out, skipped) on the catch scope, and end with Terminate to set the run status.
- What are trigger conditions in a flow?
- Expressions on the trigger that must be true for the flow to run, so it doesn't start (and use runs) for changes you don't care about.
- How do child flows work?
- A parent flow in a solution calls another solution flow with Run a Child Flow; the child starts with a manual trigger and ends with Respond to a Power App or flow.
- Why run the Dataverse connector in a flow as a service principal?
- So the flow doesn't depend on, or act as, one person's account, which keeps it working when people leave and makes permissions explicit.
Extend: agents
- How can Microsoft Foundry agents work with Power Platform?
- Give them tools through MCP servers, connect them with Copilot Studio agents, and let them work with Dataverse data through the platform's APIs.
- What is the Copilot Studio client library for?
- Calling a Copilot Studio agent from your own code or app, so you can build a custom experience on top of an agent.
Integrations
- How do you send Dataverse events to Azure?
- Register a service endpoint (Service Bus queue or topic, Event Hub or webhook) with the Plug-in Registration Tool, then add steps for the messages and tables to publish.
- Webhook or Azure Service Bus for Dataverse events?
- A webhook posts directly to your HTTP endpoint (simple, but the endpoint must be up). Service Bus queues the message so listeners can process it later and reliably.
- How does change tracking help with synchronisation?
- With change tracking on a table, you ask for changes since a delta token (RetrieveEntityChanges or the Web API with Prefer: odata.track-changes) and only get new, changed and deleted rows.
- What is an alternate key?
- One or more columns that uniquely identify a row, so another system can find or update records by its own ID instead of the Dataverse GUID.
- What does UpsertRequest do?
- Updates the row if it exists and creates it if it doesn't, found by GUID or alternate key; the response says whether a row was created.
- Where can you start a custom connector from?
- From blank, an OpenAPI definition (file or URL), a Postman collection, an Azure service (API Management or Azure Functions) or the open-source connectors on GitHub.
- What are custom connector policy templates?
- Ready-made transformations without code, such as setting a header, routing a request to another URL or converting data; custom C# code covers the rest.
- Which authentication types does a custom connector support?
- No authentication, basic, API key and OAuth 2.0 (for example Microsoft Entra ID).
- What do x-ms extensions do in a connector's OpenAPI file?
- They improve the maker experience, for example x-ms-summary for friendly names, x-ms-visibility to hide advanced fields and x-ms-dynamic-values for dropdowns filled from another operation.