Microsoft

MB-500 Free Practice Questions — Page 13

Question 123

HOTSPOT - A company uses Dynamics 365 finance and operations apps. The company wants to use reporting data stores for Dynamics 365 Finance. You need to select the appropriate reporting data store for each requirement. Which reporting data store should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for MB-500 question 123
Show Answer
Correct Answer: Export data into a new data warehouse: Bring your own database (BYOD) Author Power BI reports by using DirectQuery: Entity store
Explanation:
BYOD is designed to export Finance and Operations data to an external data warehouse. The Entity store is optimized for reporting and supports Power BI DirectQuery for near–real-time analytics.

Question 124

HOTSPOT - You are designing a new layout for the Vendor Payment Advice report. You add fields to the table that the report uses. The design must include the new fields. You need to ensure the standard Payment Advice report always uses the new design. Which class should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for MB-500 question 124
Show Answer
Correct Answer: Report data provider Report UI builder
Explanation:
New fields added to the report data source must be populated in the Report Data Provider (RDP) class. To ensure the standard Payment Advice report always uses the new layout/design, a custom Report UI Builder is used to control and enforce the design at runtime.

Question 125

HOTSPOT - You have a Dynamics 365 Finance environment. You have the following code: (Line numbers are included for reference only.) For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

Illustration for MB-500 question 125 Illustration for MB-500 question 125
Show Answer
Correct Answer: Yes Yes Yes No
Explanation:
In a Chain of Command (CoC) extension, instance methods can access public and protected members of the base class. You can add logic before or after the next calculatePrice() call, including conditional logic. Static methods can be wrapped and extended using CoC if they are eligible (public and not final/private). Extension classes are not instantiated directly; the base class is instantiated and the extension is applied at runtime.

Question 126

DRAG DROP - A company uses Dynamics 365 Finance. You must use QueryBuilder classes to implement a query that loops through all customers for whom the customer group equals EXT. You need to implement the query. You declare and initialize a query object. You need to run the query. 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.

Illustration for MB-500 question 126
Show Answer
Correct Answer: Declare a QueryBuildDataSource object and add CustTable to the query. Declare a QueryBuildRange object and add a range for CustGroup. Set the range value to CustGroup = EXT. Declare and initialize a QueryRun object using the query. Loop through the QueryRun using the next() method.
Explanation:
A QueryBuilder query is built by adding a data source first, then defining ranges and their values, and finally executed by creating a QueryRun and iterating through the results.

Question 127

You are a Dynamics 365 Finance developer. You have a table named FMVehicle that contains a field named VehicleId. The table has an index named VehicleIdIdx on the VehicleId field. You declare a table buffer named vehicle to refer to the table. You need to select all records from the FMVehicle table in ascending order based on VehicleId field in the vehicle variable. Which embedded-SQL statement should you use?

A. select vehicle order by VehicleIdIdx desc;
B. select vehicle order by VehicleId;
C. select vehicle order by vehicleIdIdx asc;
D. select vehicleId from vehicle order by vehicleId asc;
Show Answer
Correct Answer: B
Explanation:
In X++ embedded SQL, you order result sets by table fields, not by index names. To select all records from the FMVehicle table and sort them in ascending order by VehicleId, you use `select vehicle order by VehicleId;`. Ascending order is the default. Options A and C incorrectly try to order by an index, and D does not select all table records because it selects only the VehicleId field.

Question 128

DRAG DROP - A company uses Dynamics 365 Finance. You create a new extension for a standard table. You need to add a new method in the extension. Which five 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.

Illustration for MB-500 question 128
Show Answer
Correct Answer: Create a new project in Visual Studio. Add a new class to the Visual Studio project with the _Extension suffix. Set the class as final. Decorate the class with the [ExtensionOf(tableStr(TableName))] attribute. Add a new method to the class and implement it.
Explanation:
In Dynamics 365 Finance, table extensions are created in a Visual Studio project as extension classes. The class must use the _Extension suffix, be marked final, and be decorated with the ExtensionOf attribute before adding custom methods.

Question 129

DRAG DROP - You need to add new fields to the standard form and organize the grid to meet the requirements. 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. Select and Place:

Illustration for MB-500 question 129
Show Answer
Correct Answer: Find the WHSTmpStatusChangeDetails form in the Application Object Tree (AOT). Right-click the form in the Application Object Tree (AOT). Create an extension of the form in the project. Drag the Product Name and Batch ID fields from the data source to the grid on the form extension.
Explanation:
You must first locate the base form in AOT, then create a form extension from it. Only after the extension exists can you modify the layout by adding fields from the data source to the grid.

Question 130

You need to meet the requirements for the purchase order creation form. What are two possible ways to achieve this goal? Each correct answer presents a complete solution. NOTE: each correct selection is worth one point.

A. Create a class and add a form data source event handler method to the class.
B. In Application Explorer, create a table extension and implement validation.
C. In Application Explorer, create a form extension and implement validation.
D. Implement Chain of Command (CoC) and method wrapping by creating a form extension class.
Show Answer
Correct Answer: A, D
Explanation:
Purchase order creation form requirements can be met by extending form behavior. Creating a separate class with a form data source event handler allows validation and logic to run during form events. Alternatively, using a form extension with Chain of Command (method wrapping) is a supported way to extend existing form methods without overlayering. Table extensions focus on data-level validation and do not directly address form behavior, and simple form extensions without CoC are insufficient for method-level logic.

Question 131

DRAG DROP - A company has a cloud-based installation of Dynamics 365 Finance. The company also has Dynamics 365 Sales and Customer Service systems. The company implements an analytical reports solution. You need to select the applicable storage feature for each requirement. Which storage feature should you use to meet each requirement? To answer, drag the appropriate storage options to the correct requirements. Each storage option may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Select and Place:

Illustration for MB-500 question 131
Show Answer
Correct Answer: Import data from various systems into one reporting database and extend tables: Bring your own database Develop and extend Power BI reports and publish automatically through the application deployment lifecycle: Entity store
Explanation:
Bring your own database allows consolidating data from multiple systems into a single reporting database with extensible schemas. Entity store is the built-in analytical store in Dynamics 365 optimized for Power BI reporting and supports lifecycle-managed deployment and refresh.

Question 132

You are 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?

A. initializeReportControlInternal( powerBIConfiguration, reportParameters, reportControl, showError )
B. getPBIReportByResourceName( resourceName )
C. importAndStorageReport( powerBIConfiguration, resourceName, isUpdate )
D. initializeCustomReportControl( resourceName, formGroupControl, reportCustomParams )
Show Answer
Correct Answer: D
Explanation:
To initialize an embedded Power BI report on a Dynamics 365 Finance form, the form initialization method must call the API that wires the report resource to a form control. `initializeCustomReportControl(...)` is specifically designed to initialize an embedded Power BI report control during form startup. The other options are used for retrieving, importing, or internal initialization logic, not for form-level initialization.

$19

Get all 280 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.