Microsoft MB-500 Practice Test - Questions Answers, Page 12

List of questions
Question 111

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 have an enumeration named truckStatus that has the following statuses:
Empty
Loaded
Completed
You have the following code:
You need to extend this enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement.
Solution: Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the enumeration value.
Does the solution meet the goal?
Question 112

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 node for the SalesTable form and modify the form.
Does the solution meet the goal?
Question 113

HOTSPOT
A company is implementing Dynamics 365 Finance. Vendors receive a risk rating that is determined by their on-time delivery performance as well as their credit rating.
You need to implement the following risk rating functionality:
The risk rating must accompany the credit rating when the credit rating is used.
The risk rating must be able to be used in other areas of the solution to determine processing outcomes.
The risk rating must consist of the following values:
1 = Good 2 = Medium 3 = Risky
The risk rating must be displayed in the Miscellaneous Details tab below the Credit Rating and Credit Limit fields in the Vendor form.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Question 114

You are a Dynamics 365 Finance developer.
You need to create an extension class.
Which action should you perform?
Question 115

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?
Question 116

You are a Dynamics 365 Finance developer. You have the following Extended Data Types (EDTs):
You plan to modify properties of the EDTs by using an extension.
You need to determine which operations can be performed.
Which operation is possible?
Question 117

You are a Dynamics 365 Finance developer.
You need to deploy a new report in a development environment.
From which two locations can you deploy the report? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Question 118

You are a Dynamics 365 Finance developer.
You need to initialize an embedded Microsoft Power BI report.
Which code segment should you add to the form initialization method?
Question 119

You are a Dynamics 365 Finance developer.
You need to create a key performance indicator (KPI) that shows total sales by region.
Which two objects should you create? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Question 120

The warehouse manager at Contoso, Ltd. wants to display a tile in the user interface that will show total RAFs per hour.
You need to create a key performance indicator (KPI) that meets these requirements.
What two components should you create? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Question