Free AB-400 Questions for Microsoft Extending Microsoft Power Platform Solutions with Code and AI AB-400 Exam as PDF & Practice Test Engine

  • Exam Code/Number: AB-400
  • Exam Name/Title: Extending Microsoft Power Platform Solutions with Code and AI
  • Certification Provider: Microsoft
  • Corresponding Certification: Microsoft Certified: Power Platform Developer Associate
  • Exam Questions: 342
  • Updated On: Nov 25, 2026
A create a model-driven app. You run Solution checker. The tool displays the following error:
Solution checker fails to export solutions with model-driven app components.
You need to resolve the issue.
What should you do?
Correct Answer: D Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
You need to configure the Web API and create the custom connector.
Which action should you perform for each step? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:

Scenario: The Web API definition used to create the custom connector must be generated based on a low- code technology.
An Azure Function can expose an OpenAPI definition, for example through Azure API Management, without writing the definition by hand. The custom connector is then created by importing the OpenAPI file. A Postman collection has to be built manually, and importing a solution only moves a connector that already exists.
Reference:
https://learn.microsoft.com/en-us/connectors/custom-connectors/define-openapi-definition
You need to prevent the field used by the PCF control from updating the record.
What are two possible ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Correct Answer: C,D Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
A company has a Common Data Service (CDS) environment. The company creates model-driven apps for different sets of users to allow them to manage and monitor projects.
Finance team users report that the current app does not include all the entities they require and that the existing project form is missing cost information. Cost information must be visible only to finance team users.
You create a security role for finance team users.
You need to create a new app for finance team users.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Correct Answer:

Explanation:

Step 1: Edit the Project main form. Select Save as..
Step 2: Create a new model-driven app. Add the project entity, and select the Finance form.
Step 3: Enable security roles and select the Finance Security role on the Finance Assign security roles to the main form. Use this to make a main form available to specific groups.
Step 4: In the Maker portal, share the Finance app and select the Finance Security role.
Sharing a model-driven app involves two primary steps. First, associate a one or more security role(s) with the app then assign the security role(s) to users.
* Visit https://make.powerapps.com
* Select a model-driven app and click Share.
* Select the app then choose a security role from the list.
Reference:
https:// learn.microsoft.com/dynamics365/customer-engagement/admin/assign-security-roles-for
You develop the following JavaScript code for a web resource that will be used in a model-driven app.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:

Box 1: Yes
Problem patterns: Web-use-async
There are multiple ways to interact with the server or request resources. Common approaches that allow for synchronous communications include the following (These scenarios should be avoided.):
* Usage of the XMLHttpRequest object passing in false for the value of the async parameter for the open function call var requestXhr = new XMLHttpRequest();
// Explicitly setting the async parameter to false or supplying a variable with a value of false will force this as a synchronous call.
requestXhr.open( ' GET ' , ' /test/test.txt ' , false);
Box 2: No
=== - Strict Equality Comparison is already used in the code.
Box 3: No
No debugger statement in the code, so web-remove-debug-script (avoid including debug script in non- development environments) does not apply.
Reference:
https://docs.microso ft.com/sr-cyrl-rs/powerapps/developer/model-driven-apps/best-practices/business-logic
/interact-htt p-https-resources-asynchronously
https://develop er.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Strict_equality
You need to resolve the issues with the appointment data.
What should you change on the view? To answer, select the appropriate interface components in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:
Scenario: Schedulers must be able to view all appointments without filters.
The Quick Find view defines which columns are searched (Find by) and how results are ordered (Sort by).
Adding the required columns with Edit find table columns and setting the sort order makes all appointments searchable and returned in a predictable order.
Reference:
https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/create-edit-views-app-designer
Topic 7, Northwind Electric Cars
Background
Northwind Electric Cars ' ride sharing service is growing rapidly. The company is expanding to offer ride sharing in new cities. The company reports that their ability to perform background checks for potential employees is outpacing the capacity of the human resources (HR) department. The current background check process requires significant manual work.
Current Environment
The HR department uses a model-driven app to manage candidate information. Regional managers report that it is difficult to determine where a candidate is in the background check process without having to contact HR.
The IT department performs all system customizations.
Verification process

Service providers
Each of the third-party services has an API available. Northwind wants to automate the verification process by calling the APIs from a Microsoft Power Platform solution.
Each of the third-party services charge per result. Northwind wants to perform the background check processes only when necessary to minimize costs.
Cross-origin resource sharing (CORS) is disabled for all three APIs.

Requirements
General
This project is a top priority for the Northwind. The company has provided time for developers to write code as needed to support the project Use of Microsoft Azure resources is approved for use if necessary.
Address verification
* The system must perform address validation any time an address is added or updated in the model-driven app user interface.
* Validation must not be performed unless an address is changed.
* Users must initiate address validation by selecting a button on the command bar.
* The API must return a version of the address in a uniform format. The returned address must replace the address entered by the user.
* The API must return an error if the address entered cannot be validated. If the API returns an error, the user must contact the candidate to resolve the issue. The user must re-enter the address information to trigger validation.
Driving record verification:
* Driving record verification must only be performed once for each candidate.
* Information required for driving record verification must be sent to the driving record verification service automatically after the candidate ' s address is verified.
* The API must return a value of either Approved or Rejected to indicate whether the candidate has met the company ' s requirements.
Background check verification
* Background check verification must be performed only once for each candidate.
* The candidate ' s information must be sent to the background check service automatically if the candidate ' s driving record check is approved.
* The API must return a submission identification number to the caller. The identification number can be used to return the latest stage information from the service.
* The API also returns one of ten possible values. The value returned identifies the current stage of the verification process. The returned value may signify whether the candidate is automatically rejected, automatically passed, or calls for further manual investigation.
* The content and number of stage values is subject to change. The HR department must be able to update the stage values.
* In cases where further investigation is required, users must manually update the value to reflect the final result.
* Regional managers must be able to use the model-driven app to identify the current stage of each of the verification processes for any candidate. The solution must include fields for the candidate ' s record to represent each stage.
* The solution must connect to the service and update the background check stage for candidates at least once per hour for incomplete background checks.
Environments

Issues
Address verification
Users report that the address verification API returns the following error message: The same origin Policy disallows reading the remote resource.
Background check verification
While reviewing API information for the background check verification process you observe that the API uses an IP address and not a fully-qualified domain name.
Code
AddressVerificationAPl.js
You create a custom action to communicate with the address verification API by using the following code.
(Line numbers are
included for reference only.)
A company implements Dynamics 365 Supply Chain Management.
The company wants a button to display in the command bar when viewing accounts.
You need to add the button using the Ribbon Workbench.
In which three areas can you add a button for the Account entity? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Correct Answer: B,C,D Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
You must move an API key between environments by using a solution. You must use an environment variable with a data type of Secret You need to create the environment variable. What must you create first?
Correct Answer: B Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
You need to develop a Power Apps Component Framework (PCF) component for a company.
You must follow Microsoft ' s application lifecycle management (ALM) process for code components.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Correct Answer:

Explanation:

Step 1: Create a code component project (pac pcf init). Step 2: Implement the code component logic. Step 3:
Create a solution project and add the code component project as a reference (pac solution init, pac solution add-reference). Step 4: Build the code component in release mode to produce the solution file for deployment.
Reference:
https://learn.microsoft.com/en-us/power-apps/developer/component-framework/code-components-alm
A company has an application that provides API access. You plan to connect to the API from a canvas app by using a custom connector.
You need to request information from the API developers so that you can create the custom connector.
Which two types of files can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Correct Answer: A,D Vote an answer
Explanation: Only visible for ExamDiscuss members. You can sign-up / login (it's free).
You create a Power Automate flow that retrieves data from the Microsoft Dataverse Account table.
The flow uses only a subset of Account table data.
You need to retrieve the required data.
How should you configure the Dataverse List Rows action? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:

Full name of the primary contact: Expand Query = primarycontactid($select=fullname). Expand Query returns columns from a related row by using the navigation property.
Account with the highest credit limit: Row count = 1 and Sort By = creditlimit desc. Sorting in descending order and limiting the result to one row returns the highest value.
Reference:
https://learn.microsoft.com/en-us/power-automate/dataverse/list-rows
You need to resolve the performance issue with the Total Billed customer plug-in.
In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Correct Answer:

Explanation:

Scenario: User1 reports that performance is slow when viewing total billed customer time.
A plug-in for Dynamics 365 Sales automatically calculates the total billed time from all activities on a particular customer account, including sales representatives ' visits, phone calls, email correspondence, and repair time compared with hours spent.
Reference:
https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/de veloper/regis ter-deploy-plugins
0
0
0
10