Microsoft PowerApps + Dynamics 365 Developer (MB-400) Free Practice Test
Question 1
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
A Common Data Service (CDS) environment has two custom entities named Building code and Work item. Building code has a code date custom field and Work item has an elapsed time custom field. Construction workers use a consolidated custom form with data from both entities to fill.in their daily work items.
A JavaScript library is used with these custom entities and fields to apply complex logic.
You need to ensure that the JavaScript library continues to function as originally designed if other developers expand the environment.
Solution: In the JavaScript library, add Building code with Code date and Work item with Elapsed time in the dependencies tab.
Does the solution meet the goal?
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
A Common Data Service (CDS) environment has two custom entities named Building code and Work item. Building code has a code date custom field and Work item has an elapsed time custom field. Construction workers use a consolidated custom form with data from both entities to fill.in their daily work items.
A JavaScript library is used with these custom entities and fields to apply complex logic.
You need to ensure that the JavaScript library continues to function as originally designed if other developers expand the environment.
Solution: In the JavaScript library, add Building code with Code date and Work item with Elapsed time in the dependencies tab.
Does the solution meet the goal?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 2
A company has a model-driven app that captures applications from prospective students.
You are asked to create a new re-usable custom component using the PowerApps component framework (PCF).
The custom component must allow entry of a date of birth and validate that the applicant is not a minor.
You create the class AdultDatePicker in the TypeScript file Index.ts and the style sheet DatePicker.css.
You need to define the component to be available only for relevant fields and its properties when used in a form.
How should you complete the manifest? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You are asked to create a new re-usable custom component using the PowerApps component framework (PCF).
The custom component must allow entry of a date of birth and validate that the applicant is not a minor.
You create the class AdultDatePicker in the TypeScript file Index.ts and the style sheet DatePicker.css.
You need to define the component to be available only for relevant fields and its properties when used in a form.
How should you complete the manifest? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Box 1: AdultDatepicker
Specify the implemented class.
Box 2: DateandTime, DateOnly
The custom component must allow entry of a date of birth and validate that the applicant is not a minor.
DateOnly is enough.
Box 3: input
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/implementing-controls-using-typescript
Question 3
You need to configure the fields with the appropriate type.
Which type should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Which type should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Box 1: Lookup
Lookup is a field that allows setting a reference to a single record of a specific type of entity.
Scenario: Doctors must be manually added to a custom entity named Doctor if the doctor is not listed. The doctor entered on the customer's record must be validated against doctors that exist in the system.
Box 2: Calculated
Scenario: Refill dates for customer prescriptions should be automatically determined and a notification should be sent to the customer.
Calculated field: Contains calculations that use fields from the current entity or related parent entities.
Box 3: Text
Text: This option simply displays text.
Incorrect Answers:
Rollup field: Contains an aggregate value computed from the records related to a record, or a value computed over a hierarchy.
Option sets, also referred to as "drop downs" or "pick lists", are field types which can be created in Microsoft Dynamics 365. An option set contains a list of predefined options, which a user can choose from.
Question 4
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
A Common Data Service (CDS) environment has two custom entities named Building code and Work item. Building code has a code date custom field and Work item has an elapsed time custom field. Construction workers use a consolidated custom form with data from both entities to fill.in their daily work items.
A JavaScript library is used with these custom entities and fields to apply complex logic.
You need to ensure that the JavaScript library continues to function as originally designed if other developers expand the environment.
Solution:
* In the Building code form, add the JavaScript library in the events tab and the Code date field to the non-event dependencies.
* In the Work item form, add the JavaScript library in the Events tab and the Elapsed time field to the non-event dependencies.
Does the solution meet the goal?
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
A Common Data Service (CDS) environment has two custom entities named Building code and Work item. Building code has a code date custom field and Work item has an elapsed time custom field. Construction workers use a consolidated custom form with data from both entities to fill.in their daily work items.
A JavaScript library is used with these custom entities and fields to apply complex logic.
You need to ensure that the JavaScript library continues to function as originally designed if other developers expand the environment.
Solution:
* In the Building code form, add the JavaScript library in the events tab and the Code date field to the non-event dependencies.
* In the Work item form, add the JavaScript library in the Events tab and the Elapsed time field to the non-event dependencies.
Does the solution meet the goal?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
A client uses a model-driven app that is deployed by using a managed solution in the production environment. The app contains only entities and UI components and has no custom code or extensions to the platform.
The client needs an exact copy of the app with a different name in the production environment.
You need to recreate this app in production without disrupting the end users.
What should you do?
The client needs an exact copy of the app with a different name in the production environment.
You need to recreate this app in production without disrupting the end users.
What should you do?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 6
A company uses Dynamics 365 Sales.
Sales commission must be calculated when an order is placed. You create an Azure Function to perform the calculation. The Azure Function has an HTTP trigger.
You need to configure the Plug-in Registration tool to send data to the Azure Function when an order is placed. You open the Plug-in Registration tool and connect to Dynamics 365 Sales.
Which five actions should you perform? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Sales commission must be calculated when an order is placed. You create an Azure Function to perform the calculation. The Azure Function has an HTTP trigger.
You need to configure the Plug-in Registration tool to send data to the Azure Function when an order is placed. You open the Plug-in Registration tool and connect to Dynamics 365 Sales.
Which five actions should you perform? 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: Select Register New Web Hook
You can register a Webhook that will trigger on Account Name update to fire off the Function App.
In Plugin Registration Tool, register a new Webhook.

Step 2: Set authentication to WebhookKey
Enter Webhook Details. Select Authentication type as WebhookKey.

Step 3: Enter the endpoint URL
Step 4: Add the API Key Value of the Azure Function
Now, to get the key, go to the Function App in portal, and look </> Get function URL link.

Copy the same and paste in Notepad, separate the code part from the main URL

Paste the URL part in Endpoint URL and key in the Value field. Click Save.

Step 5: Register a New Step for Create of SalesOrder
Now, add a Step to the Webhook.

And Register it.

Reference:
https://d365demystified.com/2020/03/19/call-azure-function-from-dynamics-365-crm-using-webhooks/
Question 7
An organization implements Dynamics 36S Supply Chain Management.
You need to create a Microsoft Flow that runs daily.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
You need to create a Microsoft Flow that runs daily.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Correct Answer: A,C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).