AB-400 Extending Microsoft Power Platform Solutions with Code and AI Exam Topics and Questions
These Microsoft Extending Microsoft Power Platform Solutions with Code and AI (AB-400) exam topics are organized according to official exam domains to help candidates quickly verify coverage and focus on assessment rather than theory. Each domain is paired with topic-wise AB-400 sample questions that reflect how objectives are tested in the actual exam. This structure enables efficient review, targeted self-assessment, and rapid identification of weak areas when preparing for the Microsoft Extending Microsoft Power Platform Solutions with Code and AI certification exam.
Let's Practice Free Microsoft AB-400 Questions Aligned with Official Exam Topics
This topic sets the foundation for everything else on the exam. Before you write a line of code or configure a flow, you need to be able to map a set of requirements to the right architectural decisions. The question the exam keeps asking is not how to build something, but whether you are building the right thing, with the right component, in the right layer. That judgment call is where most marks are won or lost. β Architecture decisions...
This topic sets the foundation for everything else on the exam. Before you write a line of code or configure a flow, you need to be able to map a set of requirements to the right architectural decisions. The question the exam keeps asking is not how to build something, but whether you are building the right thing, with the right component, in the right layer. That judgment call is where most marks are won or lost.
β Architecture decisions and fit-gap analysis
The exam tests your ability to read a requirement and immediately identify whether it can be satisfied out of the box or whether custom code is warranted. Knowing that a gap exists is not enough: you need to know which gap gets filled by a plug-in, which by a cloud flow, and which by client-side scripting. The business logic placement decision is particularly sharp here. Cloud services, business rules, and plug-ins each have a different execution context, transactional boundary, and failure mode, and the exam will give you a scenario that only one of them handles correctly.
Table type selection follows the same pattern. Standard, virtual, elastic, and connector-backed tables are not interchangeable, and the right choice depends on data volume, latency tolerance, ownership of the source system, and whether you need full Dataverse capability like auditing or security roles. Get the table type wrong and downstream design decisions compound the error.
β Security and platform governance
Security in Power Platform is layered, and the exam expects you to reason about those layers in combination, not in isolation. Managed environments, data loss prevention policies, security roles, business units, teams, and row sharing each operate at a different scope. A scenario might describe a situation where a security role grants access but a DLP policy blocks the connector, or where row sharing is used instead of a security role to give temporary access. You need to know which mechanism wins and why.
Deterministic versus non-deterministic business logic is tested here too. The distinction matters in audit and compliance scenarios: if the outcome of a calculation must be reproducible and auditable, you cannot rely on non-deterministic methods. The exam will frame this as a design choice, not a trivia question.
β User experience component selection
Choosing between code apps, generative pages, PCF components, web resources, interactive agents, and MCP app widgets is a decision the exam will force you to make under scenario pressure. The key variables are: does the UX need to run inside a model-driven app, a canvas app, or a standalone experience? Does it need to interact with the Dataverse Client API? Does it need to be reusable across solutions? Web resources are the legacy path; PCF components are the modern replacement for most of those use cases. Generative pages sit in a different category entirely, aimed at AI-driven rendering rather than structured form design.
Foundry versus Copilot Studio for agent building is a similar fork. Copilot Studio is the low-code path with built-in channel integration; Foundry is the code-first path for agents that need deep integration with external systems or custom orchestration logic.
β Solution component design
Custom connectors and MCP servers, Dataverse plug-ins, custom APIs, Power Automate cloud flows, Copilot Studio workflows, and Azure integrations all appear in the design subtopics. The exam is not asking you to implement each one in detail here; that happens in later topics. What it tests at the design level is whether you know the boundaries: when a custom API is preferable to a plug-in on a native message, when a cloud flow is sufficient for outbound integration versus when Azure Service Bus or Event Hub is needed, and how Application Insights fits into a monitoring design.
Reusable component design, including generative pages and PCF components for model-driven apps, is also in scope. The design question is usually about encapsulation: what belongs inside the component versus what should be passed in as a property or configuration.
β Application lifecycle management
ALM in Power Platform has specific mechanics that the exam tests directly. Solution dependencies, layers, and environment variables are not abstract concepts: a misconfigured dependency breaks a deployment, a solution layer conflict silently overrides your customization, and an environment variable that references a missing connection reference fails at runtime. You need to know how to diagnose each of these, not just define them.
Pipelines and CI/CD with Power Platform Build Tools round out this group. The exam expects you to know which Build Tools tasks correspond to which pipeline stages, how to automate export, import, and publish operations, and where managed versus unmanaged solutions matter in a deployment chain. The distinction between what Pipelines handle natively and what requires custom Build Tools orchestration is a common exam angle.
How Build Microsoft Power Platform solutions is tested
Items in this topic almost always take the form of a scenario with competing valid options. You will be given a requirement and two or three approaches that would each technically work, and the item rewards selecting the one that fits the constraints in the scenario: cost, maintainability, security model, or ALM compatibility.
The most common trap is picking the most technically capable option rather than the most appropriate one. A plug-in can do almost anything a cloud flow can do, but that does not make it the right answer when the requirement is a simple outbound HTTP call with no transactional requirement. Similarly, candidates who default to custom code when out-of-the-box configuration would satisfy the requirement will find that the exam penalises over-engineering.
ALM questions reward precision. Candidates lose marks by confusing solution layers with solution dependencies, or by selecting a deployment step that is valid in a manual process but wrong for an automated pipeline. Read every scenario constraint before committing to an option.
The ITExamsTopics practice test covers all five design and ALM areas in this topic. Working through a full bank of items lets you spot the specific scenario types where your decision-making drifts, whether that is table selection, security layering, or pipeline configuration, before those patterns cost you on the real exam.
The question below puts one of this topic's core design decisions in a realistic scenario. Work through your reasoning before checking which option the item rewards.
You are creating a canvas app that will create rows in a Dataverse table-When a row is created, additional business logic must be performed on a related row. A cloud flow triggered by the canvas app must perform the business logic. You need to create the cloud flow. Which trigger should you use?
Where the previous topic asks you to choose the right component, this one asks you to build it correctly. The three pillars here are client scripting for model-driven apps, PCF code components, and Power Apps code apps. Each has its own API surface, its own lifecycle, and its own failure modes. Candidates who have used these technologies in production often still lose marks here because the exam tests the API mechanics precisely, not just the general approach. β Client scripting...
Where the previous topic asks you to choose the right component, this one asks you to build it correctly. The three pillars here are client scripting for model-driven apps, PCF code components, and Power Apps code apps. Each has its own API surface, its own lifecycle, and its own failure modes. Candidates who have used these technologies in production often still lose marks here because the exam tests the API mechanics precisely, not just the general approach.
β Client scripting in model-driven apps
The Client API object model is the foundation. The exam tests your ability to navigate it: form context, grid context, attribute objects, control objects, and the execution context that ties them together. Knowing that a method exists is not enough; you need to know which object it belongs to and what it returns.
Event handler registration is a practical decision with real consequences. Registering a handler in the wrong stage, or failing to deregister it, produces bugs that are hard to reproduce. The exam will give you a scenario and ask which registration approach is correct for the stated requirement.
Commands and buttons configured with Power Fx versus JavaScript represent a fork the exam will make you navigate. Power Fx rules run in the client without a server round-trip; JavaScript gives you more control but more responsibility. Dialogs and notifications through the Client API have specific method signatures, and the exam tests whether you know which method produces which UX behaviour.
β PCF code components
PCF components have a defined lifecycle: init, updateView, getOutputs, and destroy. The exam tests whether you know when each is called and what you are allowed to do inside each. Calling a Web API method inside init when it should be in updateView, or mutating state in getOutputs, are the kinds of mistakes the exam is designed to catch.
The manifest is the contract between your component and the platform. Property types, usage modes, and feature declarations in the manifest determine what the platform will and will not provide to your component at runtime. A misconfigured manifest produces a component that deploys but misbehaves.
Device, Utility, and Web API features must be declared in the manifest before they are available in code. The exam will present scenarios where a feature is used in code but not declared, or declared but used incorrectly, and ask you to identify the problem or the fix.
β Power Apps code apps: data and integration
Code apps connect to Dataverse through the Power Apps component framework connection model, not through a raw HTTP client. The exam tests whether you know how to configure those connections, how to target specific tables, and how to perform table operations and metadata queries correctly.
Dataverse actions and functions have different semantics: functions are side-effect-free and bound to GET; actions can modify data and use POST. Getting this wrong in a code app produces either a runtime error or unexpected data modification. The exam will frame this as a choice between two approaches and reward the one that matches the operation's intent.
Integrating cloud flows and Copilot Studio agents into a code app involves specific configuration steps. Environment variables in code apps are accessed through a platform API, not through a global variable, and the exam tests that distinction.
β Code app deployment, monitoring, and performance
Content Security Policy settings in code apps are a security control that candidates frequently underestimate. A CSP configuration that is too permissive defeats the purpose; one that is too restrictive breaks legitimate resource loads. The exam will give you a scenario with a broken app and ask you to identify whether the CSP is the cause.
Azure Application Insights integration in code apps requires explicit instrumentation. The exam tests whether you know which telemetry calls belong where in the app lifecycle and what data they produce.
Packaging and sharing code apps has specific steps around solution inclusion and environment deployment that differ from canvas app sharing. Performance optimization questions focus on resource usage patterns: unnecessary re-renders, excessive API calls in hot paths, and component initialization cost. The Monitor tool and browser-based debugging tools each expose different data, and the exam tests which tool is appropriate for which class of problem.
How Extend the user experience is tested
This topic rewards precision over familiarity. Candidates who have built PCF components or client scripts before often answer from memory of what worked in their project rather than from what the API specification requires. The exam is written against the specification.
Client API questions frequently hinge on the object hierarchy. An attribute method called on a control object, or a control method called on a form context, is wrong even if the intent is clear. Items reward selecting the call that targets the correct object in the correct context.
PCF lifecycle questions are about timing. Items reward knowing that certain operations are only valid in certain lifecycle methods, and that violating those constraints produces specific failure modes.
Code app questions often involve a partially working scenario: the app connects, but a specific operation fails. The trap is diagnosing the symptom rather than the cause. Read the scenario for what is configured versus what is missing, and match that gap to the option that addresses the root cause rather than the surface behaviour. Performance and CSP items reward knowing the platform's constraints, not general web development intuition.
Before sitting the exam, use the ITExamsTopics practice test to check your coverage across all three UX extension areas. Seeing the item style for client scripting, PCF, and code apps in one timed session shows you which API surface you are least confident with, so you can target your remaining study time precisely.
The question below targets one of the API-level decisions in this topic. Read the scenario carefully before selecting an option.
You have a Common Data Service entity and a model-driven app. The model-driven app integrates with an external system.
You plan to run business logic each time the model-driven app creates a record. Running business logic must not negatively affect model-driven app users.
You need to implement the business logic.
What should you use?
This is the server-side and integration-logic topic. It covers Dataverse plug-ins, platform APIs, Azure Functions, Power Automate cloud flows, and the agent integration layer built around Foundry and Copilot Studio. The breadth is significant, and the exam tests depth in each area rather than surface familiarity. If the previous topic was about what happens in the browser, this topic is about what happens after the request leaves it. β Dataverse plug-ins and custom APIs The plug-in execution pipeline has defined...
This is the server-side and integration-logic topic. It covers Dataverse plug-ins, platform APIs, Azure Functions, Power Automate cloud flows, and the agent integration layer built around Foundry and Copilot Studio. The breadth is significant, and the exam tests depth in each area rather than surface familiarity. If the previous topic was about what happens in the browser, this topic is about what happens after the request leaves it.
β Dataverse plug-ins and custom APIs
The plug-in execution pipeline has defined stages: pre-validation, pre-operation, and post-operation, each running in a different transactional context. The exam tests which stage is correct for a given requirement. Logic that must prevent a record from being saved belongs in pre-operation; logic that must react to a committed change belongs in post-operation. Putting logic in the wrong stage either fails silently or produces a rollback at the wrong moment.
Images in plug-ins, pre and post entity images, give you access to attribute values that are not in the target entity of the current message. The exam will present a scenario where a calculation requires the pre-update value of a field and ask how to access it. The execution context is the mechanism; knowing which properties it exposes and when they are populated is the testable detail.
Custom APIs are the modern replacement for custom actions built on the legacy workflow extensibility model. The exam tests the configuration of a custom API message, the registration of a plug-in that implements it, and the distinction between a custom API and a bound or unbound action.
β Platform API operations and performance
The Dataverse Web API and the Organization service are two surfaces over the same platform, with different strengths. The Web API is HTTP-based and language-agnostic; the Organization service is the .NET SDK surface. The exam tests when each is appropriate and what each can and cannot do. Bulk operations, for example, have specific support in the Web API through ExecuteMultiple and batch requests, and the exam expects you to know the difference between those two approaches and their transactional semantics.
API limit retry policies are a reliability concern, not a performance one. The exam will present a scenario where calls are failing intermittently and ask you to identify the correct retry strategy. OAuth authentication and managed identity authentication are both in scope, and the exam tests the implementation path for each, not just the concept.
Background operations and asynchronous processing through the platform have specific constraints around execution order and error handling that differ from synchronous plug-in execution.
β Azure Functions for Power Platform
Azure Functions appear in this topic as a processing layer for workloads that exceed what plug-ins or cloud flows can handle: long-running operations, CPU-intensive processing, or operations that require libraries not available in the plug-in sandbox. The exam tests when Azure Functions is the right choice and how to connect it to Power Platform through triggers, bindings, and managed identity authentication.
Scheduled and event-driven triggers have different use cases. A scheduled trigger is appropriate for batch processing; an event-driven trigger is appropriate for reacting to a Dataverse event or a Service Bus message. The exam will give you a requirement and ask which trigger type and which authentication approach is correct.
Authenticating to Power Platform from an Azure Function using managed identities is the preferred pattern. The exam tests the configuration steps and the difference between system-assigned and user-assigned managed identities in this context.
β Cloud flows, Copilot Studio workflows, and agent integration
Power Automate cloud flow configuration at this level goes beyond dragging connectors together. The exam tests complex expressions in flow steps, flow control actions including error handling scopes, trigger filter conditions, retry policies, and the design of child flows for reusable logic. Each of these has specific syntax or configuration that the exam will probe.
Service principal authentication for the Dataverse connector is the correct pattern for unattended flows. The exam tests the configuration steps and the difference between using a service principal and using a shared connection.
The agent integration subtopics cover Foundry agents built with code, MCP servers for custom agent integration, connecting custom agents to Copilot Studio, integrating agents with Dataverse data through Work IQ, and consuming Copilot Studio agents through the client library. These are newer exam areas. The exam tests the integration path and the configuration steps rather than deep agent architecture, but you need to know which tool connects to which surface and how.
How Extend Microsoft Power Platform is tested
This topic has the widest surface area on the exam, and items tend to be scenario-heavy. You will rarely be asked what something is; you will be asked which approach is correct given a specific constraint in the scenario.
Plug-in questions reward knowing the pipeline stage, the transactional boundary, and the execution context properties that are available at each stage. The trap is selecting an approach that works in most cases but fails under the specific condition described in the scenario, such as a bulk import that bypasses synchronous plug-ins.
API questions reward knowing the operational difference between the Web API and the Organization service, and between synchronous and asynchronous execution. Candidates lose marks by selecting the more familiar surface rather than the one the scenario requires.
Cloud flow questions at this level reward knowing the exact configuration syntax for expressions, error handling scopes, and retry policies. General knowledge of how flows work is not sufficient. Agent integration items reward knowing the connection path between components rather than the internal architecture of any single component.
The ITExamsTopics practice test lets you work through this topic's full item range under timed conditions. Given the breadth here, timed practice is the fastest way to find out whether your slower areas are plug-in pipeline mechanics, API selection, or the newer agent integration subtopics.
The question below presents a scenario from this topic's server-side logic area. Identify the constraint in the scenario before committing to an option.
After the server-side logic of the previous topic, the focus shifts to the boundary between Power Platform and external systems. This topic covers three integration patterns: event publishing and consumption, data synchronization, and custom connectors. Each pattern has a specific set of platform mechanisms, and the exam tests whether you can select and configure the right one for a given integration requirement. β Dataverse event publishing and consumption Publishing a Dataverse event can be done through the IServiceEndpointNotificationService in a...
After the server-side logic of the previous topic, the focus shifts to the boundary between Power Platform and external systems. This topic covers three integration patterns: event publishing and consumption, data synchronization, and custom connectors. Each pattern has a specific set of platform mechanisms, and the exam tests whether you can select and configure the right one for a given integration requirement.
β Dataverse event publishing and consumption
Publishing a Dataverse event can be done through the IServiceEndpointNotificationService in a plug-in or through the Plug-in Registration Tool for service endpoint registration. The exam tests both paths and the scenarios where each applies. The IServiceEndpointNotificationService is used inside plug-in code when you need programmatic control over when the event is published; the registration tool is used when the event should fire automatically on a platform message.
Service endpoint types include webhooks, Azure Service Bus, and Azure Event Hub. Each has different delivery guarantees, ordering semantics, and consumer patterns. The exam will give you a requirement around reliability or ordering and ask which endpoint type is correct. Webhooks are synchronous and blocking; Service Bus and Event Hub are asynchronous with different fan-out and replay characteristics. Recommending the right option for listening to Dataverse events requires you to know those differences, not just that the options exist.
β Dataverse data synchronization
Change tracking is the platform mechanism for efficient data synchronization. It lets an external system retrieve only the records that have changed since a known token, rather than querying the full dataset. The exam tests how to enable change tracking, how to retrieve changes using the correct API call, and how to handle the token correctly across synchronization cycles.
Alternate keys allow external systems to reference Dataverse records by a natural key from the source system rather than by the Dataverse primary key. The exam tests how to use alternate keys in upsert operations and what happens when the alternate key lookup fails to find a match.
The UpsertRequest message combines insert and update into a single operation. The exam tests when UpsertRequest is preferable to separate create and update calls, and what the platform does when the record does and does not already exist. Getting the upsert semantics wrong in a synchronization scenario produces duplicate records or missed updates.
β Custom connectors
Custom connectors bridge Power Platform to external APIs. The exam tests the full lifecycle: importing an API definition from an OpenAPI spec, an Azure service, or a GitHub source; extending that definition with custom properties; configuring authentication; applying policy templates to modify runtime behaviour; and developing an Azure Function to back the connector.
Authentication configuration for custom connectors covers OAuth, API key, and basic authentication. The exam tests which authentication type is appropriate for a given external API and how to configure the connector definition to use it correctly.
Policy templates modify the connector's behaviour at runtime without changing the backend API. The exam tests which policy templates are available and what each one does: URL rewriting, header injection, rate limiting, and response transformation are common examples. Developing transformation code for a custom connector and extending the OpenAPI definition for properties that the import did not capture are both in scope, and the exam tests the specific steps involved rather than the general concept.
How Develop integrations is tested
Integration items are frequently elimination questions. The scenario describes a requirement with a constraint, such as guaranteed delivery, exactly-once processing, or the need to avoid polling, and you eliminate the options that cannot satisfy that constraint.
Event publishing questions reward knowing the delivery and ordering characteristics of each service endpoint type. Candidates lose marks by selecting webhooks for a scenario that requires asynchronous processing, or Service Bus for a scenario that requires fan-out to multiple consumers simultaneously.
Data synchronization questions reward knowing the mechanics of change tracking and upsert, not just their purpose. Items often describe a partially implemented synchronization process and ask what is missing or wrong. The trap is identifying a valid improvement that does not address the actual failure described.
Custom connector questions reward precision on the OpenAPI definition and policy template configuration. Candidates who know connectors from a user perspective but have not worked with the definition layer tend to lose marks here. The exam rewards knowing what each policy template does, not just that policy templates exist.
A full question bank from ITExamsTopics gives you coverage across all three integration patterns in this topic. If you have more production experience with one pattern than the others, the bank lets you check whether that gap is a real risk before exam day rather than after.
The question below tests one of the integration pattern decisions in this topic. Read the scenario constraint before selecting your answer.
Ready to Start Practicing?
Access all questions and start your exam preparation journey
Upgrade to Full AB-400 Exam Questions π