Exam Information
Free practice questions with explanations
Microsoft AB-400 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 16
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Build Microsoft Power Platform solutions
A logistics company stores shipment records in an external SQL Server database that must remain the system of record. Users in model-driven apps need to view and search these records alongside Dataverse account data, without copying the data into Dataverse and without writing any custom plug-in code. The records change several times per hour and users must always see current values. Which table type should the solution architect use?
Correct Answer: CExplanationVirtual tables expose data from an external system at query time, so users always see current values without replicating records into Dataverse. The Azure SQL data provider for virtual tables handles this without custom plug-in code. Elastic tables store their data in Dataverse-managed Azure Cosmos DB, so they would copy the data rather than leave SQL Server as the system of record. A scheduled flow into standard tables creates a replica that is stale between runs and conflicts with the requirement to avoid copying. A custom data provider would satisfy the freshness requirement but needs plug-in development, which the scenario rules out.
-
2 Question 2 Single choice Build Microsoft Power Platform solutions
A healthcare provider builds a model-driven app on Dataverse. Managed environment is enabled, and a data policy blocks any connector in the same data group from being combined with the Dataverse connector in a single flow. A developer wants a Power Automate cloud flow to call a third-party patient-scheduling API through a custom connector and also update Dataverse appointment rows. The compliance team has classified the scheduling API as a non-business connector. What is the most appropriate change?
Correct Answer: AExplanationData policies in managed environments prevent a flow from combining connectors across the Business and Non-business groups, so the flow cannot mix Dataverse with the non-business scheduling connector. Calling the API from a plug-in keeps the integration in server-side code, which the data policy does not govern in the same way, and the Dataverse update stays in the same transaction. Reclassifying the API as Business would contradict the compliance classification. Disabling the policy in development breaks the governance requirement and would not carry to production. Keeping the Dataverse update in the flow while changing only the trigger does not remove the cross-group combination.
-
3 Question 3 Multiple choice Develop integrations
A manufacturer needs an external warehouse system to receive a notification every time a Dataverse product row is updated. The warehouse system must process the events asynchronously, retain them if it is temporarily offline, and the Dataverse transaction must not wait on its response. Which two approaches meet these requirements? (Choose two.)
Correct Answer: A, EExplanationService Bus and Event Hub service endpoints both decouple Dataverse from the consumer, so the publishing transaction does not wait on the warehouse. Service Bus queues retain messages until the consumer processes them, and Event Hub retains events for a configured retention period that the consumer can read from its consumer group after recovery. A webhook is a direct synchronous HTTP call with no durable buffer, so it fails the retention requirement. A synchronous plug-in blocks the transaction on an external call. Business events do not call arbitrary APIs directly in this way and do not provide the required durable delivery.
-
4 Question 4 Order list Develop integrations
A developer must build a custom connector for an Azure Functions API that transforms payload fields before they reach a downstream system. The connector authenticates with an API key that must not be embedded in the Open API definition. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Extend the Open API definition to add the transformation parameters and response schema
- Develop and deploy the Azure Function that performs the data transformation
- Configure the API key authentication type on the connector and set its value in the connection
- Test the custom connector operations in the connector wizard before using it in a flow
- Import the Open API definition for the Azure Functions endpoint to create the custom connector
Correct Answer:- Import the Open API definition for the Azure Functions endpoint to create the custom connector
- Configure the API key authentication type on the connector and set its value in the connection
- Extend the Open API definition to add the transformation parameters and response schema
- Develop and deploy the Azure Function that performs the data transformation
- Test the custom connector operations in the connector wizard before using it in a flow
ExplanationThe function must exist and be deployed before its Open API definition can be imported from a live endpoint. Once imported, the definition is extended with the transformation parameters and schema so the connector exposes the right operations. Authentication is then configured on the connector so the key is supplied at connection time rather than stored in the definition. Testing comes last, after the connector is fully described and authenticated. Placing the import before the function is deployed would leave nothing to import, and placing authentication configuration before the definition exists has no operations to protect.
-
5 Question 5 Single choice Develop integrations
A retail company synchronizes its product catalog from an ERP system into Dataverse nightly. The ERP exports products with a unique SKU but no Dataverse GUID. Each night the import must create new products and update existing ones without first querying Dataverse for each row to decide between create and update, and it must process around 80,000 rows in batches. Which approach best meets these requirements?
Correct Answer: AExplanationAn alternate key on SKU lets the import address rows by a business identifier, and UpsertRequest creates the row if no match exists or updates it if one does, in a single call without a preliminary lookup. This suits batched execution against 80,000 rows. Querying each SKU first adds a round trip per row and defeats the stated constraint. Change tracking reports changes to rows that already exist in Dataverse; it does not determine existence for new rows from an external export. Duplicate detection blocks duplicate saves and does not turn a failed create into an update.
-
6 Question 6 Dropdown Extend Microsoft Power Platform
A plug-in on the Account table must read the value of a field from the record before the update was applied, so that it can compare old and new values in its business logic. The plug-in is registered on the Update message in the PreOperation stage. Complete the registration details by selecting the correct value for each blank.
Choose the correct value for each blank.
Stage: ; the pre-update value is available through a image registered on the step.Correct Answer:Stage: PreOperation; the pre-update value is available through a PreImage image registered on the step.
ExplanationA PreImage captures the entity's attribute values as they were before the operation changed them, which is what the plug-in needs to compare old and new values. PreOperation runs after the record is written in the main operation transaction but still within it, so the pre-image is available there. A PostImage holds values after the update, so it would not give the old value. PreValidation runs before the main operation and is intended for validation; a step registered there is not the right choice for reading the post-change state described. Asynchronous is an execution mode, not a pipeline stage.
-
7 Question 7 Single choice Extend Microsoft Power Platform
A plug-in registered on the Create message of the Opportunity table calls the Organization service to create several related Task rows. In production, occasional failures are reported with API limit errors when many Opportunities are imported in bulk. The company requires that the import continue rather than fail, and the Task rows must still be created. Which change best addresses the problem?
Correct Answer: CExplanationMoving the work to an asynchronous step removes it from the synchronous import transaction, which reduces pressure on service protection limits, and batching the creates with ExecuteMultipleRequest reduces the number of service calls. Together these address the API limit errors while still producing the Tasks. A longer timeout does not reduce request volume and does not address limit errors. A PreValidation step runs before the Opportunity exists, so the related Tasks cannot reference it. Disabling the plug-in breaks the requirement that Tasks are still created.
-
8 Question 8 Drag and drop Extend the user experience
A team is building a model-driven app form and a code component. Each requirement must be matched to the mechanism that meets it. Match each item to its target.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Show a confirmation dialog from a command bar buttonRead the device's current geographic location inside a code componentRun logic when the record is saved, before data is writtenRun logic when a form field value changes and show an inline errorDevice API getCurrentPositionClient API Navigation.openConfirmDialogOnChange event handler registered on the fieldUtility API getEntityMetadataWeb API retrieveMultipleRecordsOnSave event handler registered on the formCorrect Answer:- Run logic when a form field value changes and show an inline error → OnChange event handler registered on the field
- Run logic when the record is saved, before data is written → OnSave event handler registered on the form
- Show a confirmation dialog from a command bar button → Client API Navigation.openConfirmDialog
- Read the device's current geographic location inside a code component → Device API getCurrentPosition
ExplanationOnChange fires when the field value changes, which is the right trigger for a field-level validation message. OnSave fires as the record is being saved and lets the handler cancel the save, matching a pre-write check. Navigation.openConfirmDialog provides the built-in confirmation dialog the requirement describes. The Device API exposes geolocation to code components, so getCurrentPosition is the correct access point. The Utility API metadata call and the Web API query retrieve data but do not solve the listed user-experience or device requirements.
-
9 Question 9 Single choice Extend the user experience
A developer builds a code app that reads Dataverse data and must display the result to users who only have the security role Basic User on the Account table. The app connects using the signed-in user's delegated connection. A test user reports that the app shows an empty list for accounts the user can see in the model-driven app. Which action should the developer take FIRST to diagnose the issue?
Correct Answer: AExplanationThe code app uses the delegated connection, so the user's own security role and privileges determine what rows come back. The first diagnostic step is to confirm that the query targets the right table and that the security role actually grants the read privilege needed. Switching to an administrator identity hides the problem and expands access beyond what the requirement allows. Adding a flow is an unnecessary redesign before diagnosis. Running as the owner bypasses access control rather than fixing it and would be an inappropriate security change.
-
10 Question 10 Multiple choice Build Microsoft Power Platform solutions
A financial services company uses Dataverse with managed environments. Users in different business units must see only the Cases they own or that have been shared with them, and a regional team lead must see all Cases in their region's business unit. Which two configurations are needed to meet these requirements? (Choose two.)
Correct Answer: A, CExplanationPrivilege depth controls the scope of records a role can access, so a User-depth Read gives the basic user access to their own records and records shared with them, and a Business Unit-depth Read gives the team lead all Cases within the business unit. Organization depth would expose all Cases to every user, violating the separation requirement. Sharing alone does not grant broad regional visibility. Data policies govern connector use in flows and apps, not row-level Dataverse access.
-
11 Question 11 Single choice Extend Microsoft Power Platform
A developer creates a Dataverse custom API named new_CalculateDiscount, bound to the Opportunity table. A plug-in must implement its logic. Before registering the plug-in, the developer must make the custom API callable from a Power Automate flow and the Web API. Which step must the developer complete?
Correct Answer: CExplanationA custom API is configured with its request and response parameters in Dataverse, and a plug-in registered against the custom API's message supplies the implementation. Defining the parameters and the plug-in step together makes the operation callable through the Web API and flows. Registering on Update of Opportunity would run on record updates rather than as the API operation. A classic workflow does not implement a custom API. Business events are an outbound notification mechanism and do not implement a callable operation.
-
12 Question 12 Dropdown Extend Microsoft Power Platform
A developer writes a plug-in that calls the Dataverse Web API from C# and receives an error indicating the request has exceeded the service protection limits. The fix is to honour the retry-after delay. Complete the retry logic by selecting the correct value for each blank.
Choose the correct value for each blank.
Read the response header to obtain the wait period, and wait for that duration before retrying; the request should be retried only when the response status is .Correct Answer:Read the Retry-After response header to obtain the wait period, and wait for that duration before retrying; the request should be retried only when the response status is 429 Too Many Requests.
ExplanationDataverse returns HTTP 429 when service protection limits are hit, and the Retry-After header specifies how many seconds the client should wait before retrying. Honouring that header is the documented approach. Location carries the URI of a newly created resource and ETag carries a version token, so neither conveys a wait period. Prefer controls response content such as returning representations, not retry timing. A 200 response means success, and 404 and 401 indicate missing resources or authentication failure rather than throttling.
-
13 Question 13 Single choice Extend the user experience
A company uses a code component on a model-driven form to display a map of customer sites. The component must be packaged and added to multiple solutions, and it must read a configuration value that administrators set on each form without editing code. Which configuration is the most appropriate?
Correct Answer: DExplanationProperties declared in the code component manifest are exposed to makers and can be given values in the form configuration, so administrators can vary them per form without changing code. Hard-coding forces a rebuild for every environment and undermines reuse across solutions. Cookies and localStorage are browser-scoped, so they would differ per device and are not part of the component's configuration model, making them unreliable for shared settings.
-
14 Question 14 Order list Extend Microsoft Power Platform
A developer must add a plug-in that writes an audit summary to a custom table after an Account is updated. The summary must be computed from the pre-update and post-update values, and the write must be rolled back with the main transaction if it fails. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Build the plug-in assembly and register it with the Plug-in Registration Tool
- Implement the plug-in to read the images from the execution context and create the audit row through the Organization service
- Add a PreImage and a PostImage to the step, specifying the attributes needed for the summary
- Test the plug-in by updating an Account and confirming the audit row and the rollback behaviour
- Register the plug-in step on the Update message in the PostOperation stage with synchronous execution mode
Correct Answer:- Register the plug-in step on the Update message in the PostOperation stage with synchronous execution mode
- Add a PreImage and a PostImage to the step, specifying the attributes needed for the summary
- Build the plug-in assembly and register it with the Plug-in Registration Tool
- Implement the plug-in to read the images from the execution context and create the audit row through the Organization service
- Test the plug-in by updating an Account and confirming the audit row and the rollback behaviour
ExplanationThe assembly must be built before the Plug-in Registration Tool can register it, and the step must exist before images can be attached to it. Images are defined on the step, so the step is registered first and the images follow once the plug-in code is ready. Implementing the code to read the images comes after the images are defined so the attribute names match. Testing closes the sequence. Synchronous PostOperation keeps the audit write inside the main transaction so a failure rolls it back.
-
15 Question 15 Single choice Develop integrations
A developer needs to keep an external search index synchronized with Dataverse Contact rows. The index only needs rows that changed since the last run, and deleted rows must also be removed from the index. The process runs every 15 minutes and must not miss changes. Which Dataverse feature should the developer use?
Correct Answer: DExplanationChange tracking returns a token with each response, and reusing that token retrieves only rows created, changed, or deleted since then, including deletions, so nothing is missed between runs. A modifiedon filter cannot report deleted rows and can miss records whose timestamps fall at boundaries. A synchronous plug-in adds load to every transaction and is unnecessary for a periodic sync. Upserting the full table every run ignores the requirement to process only changed rows.
-
16 Question 16 Single choice Build Microsoft Power Platform solutions
An organization wants a custom AI-assisted triage experience for support agents that calls a proprietary Azure-hosted classification model, uses Dataverse tables, and must run as a full web application with its own routing and state management beyond what a model-driven form offers. The team wants to use a modern front-end framework and deploy it inside the Power Platform environment. Which option is the most appropriate implementation approach?
Correct Answer: CExplanationCode apps let a developer build a full front end with a modern framework, connect to Dataverse and other Power Platform connections, and run inside the environment, which matches the requirement for custom routing and state. A PCF control is scoped to a single field or dataset on a form and cannot serve as a full application. A classic web resource has no native Dataverse connection in the required sense and is not the appropriate modern option. A canvas app with a flow can call the model, but the requirement for a full web application with custom routing and state management goes beyond canvas app design, so it does not fit the stated need.
These are 16 of the 334 questions in the full AB-400 pack.
Get All 334 QuestionsGet all 334 questions & answers
Full access options for Microsoft AB-400
Self-study
PDF Version
- 334 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 334 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 334 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the AB-400 Exam (Extending Microsoft Power Platform Solutions with Code and AI) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.