Microsoft MB-500 Practice Test - Questions Answers, Page 10
List of questions
Question 91

You are a Dynamics 365 Finance developer. You have the following Extended Data Types (EDTs):
You plan to modify the EDT properties by using an extension.
You need to determine which operations can be performed.
Which operation is possible?
Create an extension for AccountBase and decrease the field size.
Create a derived EDT for AccountBase and increase the field size.
Create a derived EDT for AccountId and decrease the field size.
Create an extension for AccountBase and increase the field size.
Explanation:
You can only set the new String size to a value equal to or larger than the base EDT value.
Incorrect Answers:
B, C: You can only modify the value if the EDT does not extend from another EDT.
Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/modify-edt
Question 92

You add a field to the SalesTable entity by using an extension.
You need to ensure that the new field is available for use in forms, reports, and code.
What are three possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Right-click the table and select Synchronize.
Navigate to the Dynamics 365 menu and select Synchronize database.
Right-click the solution and select Synchronize with database.
Set the project property for Synchronize database on build to true and build the solution.
Right-click the project and select Synchronize with database.
Question 93

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.
You are adding a new field to the SalesTable form.
You must use an extension to add a status field onto the form.
You need to create the extension in the Application Object Tree (AOT) and add the extension to the demoExtensions model.
Solution: Navigate to the user interface forms section for the SalesTable form and create an extension.
Does the solution meet the goal?
Yes
No
Explanation:
You can customize model elements by creating extensions.
In Dynamics 365 Finance and Operations, the new fields will need to be added via a table extension. Create the extensions on the SalesTable.
Reference:
https://stoneridgesoftware.com/how-to-extend-sales-order-update-functionality-to-custom-fields-in-d365-finance-and-operations/
Question 94

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.
You are adding a new field to the SalesTable form.
You must use an extension to add a status field onto the form.
You need to create the extension in the Application Object Tree (AOT) and add the extension to the demoExtensions model.
Solution: Navigate to the user interface forms section for the SalesTable form and create a customization.
Does the solution meet the goal?
Yes
No
Explanation:
Instead navigate to the user interface forms section for the SalesTable form and create an extension.
Note: In Dynamics 365 Finance and Operations, the new fields will need to be added via a table extension. Create the extensions on the SalesTable.
Reference:
https://stoneridgesoftware.com/how-to-extend-sales-order-update-functionality-to-custom-fields-in-d365-finance-and-operations/
Question 95

Note: This question-is part of a series of questions that present the same scenario. Each question-in the series contains a unique solution. Determine whether the solution meets 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.
You are developing a form for Dynamics 365 Finance.
You need to add a button that allows users to run a report.
Solution: Create a command button and link the button to the report by using the button's object property.
Does the solution meet the goal?
Yes
No
Explanation:
You would need to use the on-click property of the command button.
Reference:
https://support.microsoft.com/en-gb/office/use-a-command-button-to-start-an-action-or-a-series-of-actions-c7bf2827-2f3e-42b8-83d6-6c4f0de78990 https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/user-interface/action- controls
Question 96

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.
You must extend the class SalesLineType and add a new method that returns the day of week for the system's current date as an integer value.
You need to create a class that extends SalesLineType and adds the new method.
Solution: You create the following code:
Does the solution meet the goal?
Yes
No
Question 97

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.
You must extend the class SalesLineType and add a new method that returns the day of week for the system's current date as an integer value.
You need to create a class that extends SalesLineType and adds the new method.
Solution: You create the following code:
Does the solution meet the goal?
Yes
No
Question 98

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.
You must extend the class SalesLineType and add a new method that returns the day of week for the system's current date as an integer value.
You need to create a class that extends SalesLineType and adds the new method.
Solution: You create the following code:
Does the solution meet the goal?
Yes
No
Question 99

You have a table in which multiple properties must be changed. Multiple table properties are locked down at the base table and must not be overwritten.
You need to modify the table properties by extending the table.
Which table property can you populate in a table extension by using the property sheet?
Primary index
Created by
Configuration key
Table group
Explanation:
You can now modify the following properties through the property sheet:
Created By
Created Date Time
Modified By
Modified Date Time
Country Region Codes
Note: There are multiple versions of this question with different correct answers and various combinations of incorrect answers.
Other incorrect answers you may see in the exam include:
Save data per company
Clustered index
Cache lookup
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/modify-properties
Question 100

DRAG DROP
You are a Dynamics 365 Finance developer for a company that sells pre-owned vehicles. When the company acquires a new vehicle, vehicle identification (VIN) numbers are added to the VIN field in the CustTable.
You need to create an event handler to validate that new VIN values are at least 10 characters long. Validation must occur when records are saved.
Which three 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.
Explanation:
Step 1: Add the event handler method to a class.
Step 2: Copy the validateWrite event handler on the CustTable object.
validateWrite is published Table method. ValidatingWriting is the preceeding event.
Step 3: Add code to perform the validation.
Incorrect Answers:
validatingWrite is not a published Table method.
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/customization-overlayering-extensions
Question