Free Sample — 15 Practice Questions
Preview 15 of 280 real practice questions from the Microsoft MB-500 study guide.
Question 50
Users report that a company's Dynamics 365 Finance website is slow.
You suspect that a SQL query attached to the task GetFormInteractionTask is the cause.
You need to determine how long it takes for the query to run and return results.
What should you use?
A. Performance timer
B. Performance monitor
C. Microsoft Edge debugging tools
D. Fiddler
Show Answer
Correct Answer: A
Explanation:
To determine how long a specific SQL query (attached to GetFormInteractionTask) takes to execute and return results in Dynamics 365 Finance, you need a tool that measures execution duration at the task/query level. The Performance timer is designed for this purpose and can precisely time operations such as query execution. Performance Monitor focuses on system-wide metrics (CPU, memory, IO), while Edge debugging tools and Fiddler analyze client-side or network traffic rather than backend SQL execution time.
Question 19
You are a Dynamics 365 Finance developer.
You create an integer variable named inventQantity.
You need to display the value from inventQantity in an info statement.
Which code segment can you use?
A. info(int2str(inventQantity));
B. info(inventQantity);
C. info(strLen(int2str(inventQantity));
Show Answer
Correct Answer: A
Explanation:
In X++ the info() method expects a string argument. An integer must be converted to a string before being passed. int2str(inventQantity) converts the integer value to a string, which can then be displayed correctly. Passing the integer directly is invalid, and using strLen would display the length of the string instead of the value.
Question 14
You add a new field in an extension to the SalesTable table in Dynamics 365 Finance.
You must test the field in the SalesTable form to ensure that you can enter data from the UI. When you open the form in the browser, you receive a SQL error.
You need to resolve the issue.
What should you do?
A. Restart the SQL Server service.
B. Build the solution.
C. Restart IIS.
D. Synchronize the database.
Show Answer
Correct Answer: D
Explanation:
Adding a new field to a table extension updates the application metadata, but the physical SQL table is not updated until database synchronization is performed. A SQL error when opening the form indicates the column does not yet exist in the database. Synchronizing the database creates the new field in SQL, resolving the error. Restarting services or just building the solution does not update the database schema.
Question 34
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study -
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. When you are ready to answer a question, click the Question button to return to the question.
Background -
Munson's Pickles and Preserves Farm produces and sells jarred food goods. The organization has several production and warehouse locations across the United States. Each location runs both production and warehousing operations. The company has three locations: East, Central, and West.
The company is upgrading its Dynamics AX 2009 system to Dynamics 365 Finance.
Current environment. General -
Munson's Pickles and Preserves Farm plans to migrate customizations, data, and integration from its legacy system into Dynamics 365 finance and operations apps.
The Dynamics 365 finance and operations environment includes:
• multiple cloud-hosted development environments using Microsoft Visual Studio 2017
• a Microsoft Azure DevOps project for source control
• two tier 2 environments for user acceptance testing and staging, as well as production
Munson's Pickles and Preserves Farm is currently in the planning and development phase of the upgrade process. The company's internal development team needs additional development resources to address issues. The company already created a project that is set up to use a custom model named GPExtensions.
Current environment. Integrations
Munson's Pickles and Preserves Farm has a new integration for its freight processing information. The internal development team created the secure file transfer protocol (SFTP) site for the source information to be stored and the staging table to house the source information once the data is added to Dynamics 365 Finance. Information from the source will be transferred once a day from the source system and integrated with the target system. More than 10,000 records will be transferred over the integration. The company created an aggregate entity for the integration to minimize the amount of transmitted data.
Munson's Pickles and Preserves Farm has added a new integration for freight processing where all item weights, dimensions, and other factors will be configured in the external portal while planning the loads. Once the load is planned, it will be integrated into Dynamics 365 finance and operations apps for the freight invoice processing to occur.
No duplicate invoices or posting are associated with the freight invoice charges. The integration of this information from the source system is intended only for report creation and compilation purposes.
Current environment. Planned changes
Munson's Pickles and Preserves Farm wants to change inventory forms to fit its current needs. Any modifications or enhancements must follow the existing functionality for forms in Dynamics 365 Finance.
Requirements. Integrations -
All data from integrations have the same format as an existing Dynamics 365 Finance apps field. All enhancements or customizations must use existing assets before creating new functionality.
Munson's Pickles and Preserves Farm wants to change its integration strategy to include real-time data from the freight processing source system. The inventory must update as it is sold from the system. That information will be updated in Dynamics 365 Finance.
The freight processing integration requires the use of an SFTP site to store XML files from the source system. The additional integration will use OData and must be transferred in real time.
A periodic batch job must:
• Pull data from the SFTP site.
• Import the data to a staging table used to hold the information from the source system.
• Map source data to the target table in Dynamics 365 Finance.
The imported Load ID field must be added to the Sales Order header for all processed orders. Additional requirements for integrations, including other integration strategies, may be necessary as the company grows. Existing tables must be changed to include the Load ID. The database will need to be synched before adding the Load ID field.
Requirements. Changes -
Munson's Pickles and Preserves Farm must change the Inventory Status form to include more columns. It plans to create a table to enter the data for the Inventory Status form as a new data source. The company wants to add both the Product Name field and Batch ID field to this new table. The current form includes the item number, location, license plate, product inventory dimensions, and quantity.
The grid on the Inventory Status form must include the product name by using the item number and legal entity. The user interface must be created to include the new columns and the data must be available to add to the grid. The form must have only an Action Pane, a Navigation List, a List Style Grid, a Details Header, and a Details Tab in the design and include the Load ID field.
Munson's Pickles and Preserves Farm is currently in the process of adding the other required fields: one for Product Name and one for Batch ID. The new fields must be related to extended data types for the original fields on the existing data source for the Inventory Status form. Munson's Pickles and Preserves Farm plans to add the EcoResProductName and Batch ID data to the extended table for WHSTmpStatusChange. The fields on the table extension must be populated with data and visible on the Inventory Status form on insert.
Issues -
• The internal development team has created the SFTP site connections, the staging table, and the batch jobs for the new integration for freight processing. The development team needs to map the source data to the target table and the data management workspace. The development team notices errors with mapping target fields in the data management workspace. The team needs another developer to configure the table extensions, class extensions, and form extensions that are required for the planned changes.
• The internal development team has issues adding the required fields to the Inventory Status standard form. The team needs another developer to configure the table extensions, class extensions, and form extensions that are required for the planned changes.
You need to add data to the WHSTmpStatusChange table by extending the insert method.
What should you do?
A. Right-click the project node in Solution Explorer synchronous and asynchronous to the project.
B. Right-click the WHSTmpStatusChange table in the Application Object Tree (AOT) and select View Code.
C. Right-click the project node in Solution Explorer and add a new Table object to the project.
D. Right-click the WHSTmpStatusChange table in the Application Object Tree (AOT) and create an extension in the existing project.
Show Answer
Correct Answer: D
Explanation:
To add data by extending the insert method on a standard table in Dynamics 365 Finance, you must create a table extension. Best practice prohibits modifying standard objects directly. Creating an extension of the WHSTmpStatusChange table allows you to add new fields and override or extend the insert method safely within the existing project.
Question 30
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.
A company uses Dynamics 365 Finance. You are customizing elements for the extended data types (EDTs) shown in the following table.
You have a table named WorkCalendar. The table has a column named BasicCalendarID that uses the BasicCalendarID EDT.
You need to increase the length of the column by using an extension.
Solution: Create a derived EDT for CalendarName.
Does the solution meet the goal?
Show Answer
Correct Answer: B
Explanation:
The column uses the BasicCalendarID EDT. Creating a derived EDT for CalendarName does not affect the length of BasicCalendarID. To increase the column length via an extension, you would need to extend the existing EDT or change the table field to use a different EDT; therefore the proposed solution does not meet the goal.
Question 32
A sales manager wants to display a tile that shows the total number of orders processed each hour.
You need to create a key performance indicator (KPI) that meets the requirement.
Which two components should you create?
Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. TempDB table
B. Aggregate dimensions
C. Aggregate measurements
D. Data entity
Show Answer
Correct Answer: B, C
Explanation:
A KPI showing total orders per hour requires aggregated data. Aggregate dimensions define how data is grouped, such as by hour, while aggregate measurements calculate the metric itself, such as the total number of orders. TempDB tables and data entities are not required to define a KPI aggregation.
Question 42
You create a new interface class in Dynamics 365 Finance. The class has two methods.
You need to create a valid interface class.
Which two actions should you perform? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Declare the class and all its methods as public.
B. Implement only some methods in the classes that implement the interface.
C. Implement the class as abstract.
D. Declare all methods in the classes that implement the interface.
Show Answer
Correct Answer: A, D
Explanation:
In Dynamics 365 Finance and Operations (X++), an interface defines a contract. The interface itself and its methods must be declared as public so they can be implemented by other classes. Any class that implements the interface is required to implement all methods declared in that interface; partial implementation is not allowed and causes a compilation error. An interface is not declared as an abstract class, and you cannot omit method implementations.
Question 10
A company uses Dynamics 365 finance and operations apps.
A customer wants to ensure future customizations or application upgrades do not interfere with or interrupt business process steps. The customer must document the business process steps a user performs in the user interface.
You need to select the options for exporting a task recording for testing.
Which three options could you select? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Generate Test Execution files only
B. Save as developer recording
C. Export as Word document
D. Save to Lifecycle Services
E. Create derived test case
Show Answer
Correct Answer: B, C, D
Explanation:
In Dynamics 365 Finance and Operations, task recordings can be exported in several formats to document business process steps for testing and future validation. You can save the recording as a developer recording, export it as a Word document for documentation, or save it to Lifecycle Services (LCS) for test management and upgrade validation. Generating test execution files only or creating a derived test case are not export options for task recordings themselves.
Question 49
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 company is automating manual processes in the Dynamics 365 finance and operations apps. The company has the following batch groups and priorities configured:
The batch processes run during the following times of day:
The company requires a process that meets the following requirements:
• Runs every weekday.
• Runs outside of work hours.
• Runs with at least a high priority.
You need to automate the manual process.
Solution: Create a batch job to have an active period of AFTERHOURS and a batch job recurrence of Daily. Set the batch job to run as part of BATCHGROUP2.
Does the solution meet the goal?
Show Answer
Correct Answer: B
Explanation:
The requirement is that the process runs every weekday (Monday through Friday). Configuring the recurrence as Daily would also run the batch job on weekends, which does not meet the weekday-only requirement, even though it runs after hours and with high priority.
Question 36
A company is implementing Dynamics 365 finance and operations apps.
You are using the SysTest framework to test code in Visual Studio.
You need to create a unit test class.
Which two attributes can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Owner
B. EntryPoint
C. TestCategory
D. TestFilter
Show Answer
Correct Answer: A, C
Explanation:
In the Dynamics 365 Finance and Operations SysTest framework, unit test classes can be decorated with metadata attributes used for test organization and filtering. Valid attributes include Owner and TestCategory (along with others such as Priority and TestProperty). EntryPoint is not a SysTest attribute, and there is no TestFilter attribute defined for SysTest classes or methods.
Question 24
A company is implementing Dynamics 365 finance and operations apps.
The company must test the custom enhancements for its native Dynamics 365 finance and operations apps.
You need to create a test case within a development environment.
Which base class should the test class extend?
A. SysTestSuite
B. SysTest
C. SysTestCase
D. SysTestExecute
Show Answer
Correct Answer: C
Explanation:
In Dynamics 365 Finance and Operations, unit and integration test classes must extend SysTestCase. SysTestCase is the base class that provides the testing framework, assertions, and execution support for writing test cases. SysTestSuite is used to group tests, SysTest is an attribute/helper class, and SysTestExecute is used by the test runner, not as a base class.
Question 28
DRAG DROP -
A company uses Dynamics 365 Finance.
A user is unable to access the new Customer Credit Limit report.
You need to configure security for the report.
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.
Select and Place:
Show Answer
Correct Answer: Create a new privilege and duty extension
Add the new privilege to a duty extension and output the menu item to the privilege
Add the duty extension to a role
Explanation:
Access to a new report in Dynamics 365 Finance is granted through security artifacts. First, create a privilege and duty extension. Next, associate the report’s output menu item with the privilege and add that privilege to the duty extension. Finally, assign the duty extension to the appropriate role so users inherit access.
Question 22
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 company is implementing Dynamics 365 finance and operations apps.
The company must test the functionality of its native Dynamics 365 finance and operations apps by using the Acceptance test library (ATL).
You need to implement ATL classes on test data within a development environment.
Solution: Record business process steps and save as developer documentation by using Task recorder.
Does the solution meet the goal?
Show Answer
Correct Answer: B
Explanation:
Task Recorder is used to document and record business process steps, not to create or implement Acceptance Test Library (ATL) classes. Implementing ATL requires creating ATL entities, queries, and test classes (often via ATL code generation), so this solution does not meet the goal.
Question 11
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study -
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. When you are ready to answer a question, click the Question button to return to the question.
Background -
ADatum Corporation is a market leader in the design and distribution of innovative aluminum systems. The company provides services to the architectural, residential, industrial, and home improvement markets in Australia.
The company has warehouses in Perth. Sydney, and Melbourne. A team of warehouse employees provides delivery to the customer sites.
Current Environment -
ADatum Corporation currently uses Microsoft Dynamics AX 2009.
Customers use email or phone calls to place orders. After the company provides a quote to customers, the customer must agree to the sale price before the company places a sales order.
The company is migrating to Dynamics 365 Finance and Dynamics 365 Supply Chain Management using a phased rollout strategy to its sites. The company has the Lifecycle services project to manage various environments and releases.
The company has the following Finance and Supply Chain Management environments:
• Development
• Quality assurance (QA)
• User acceptance testing (UAT)
• Production
The company uses Azure DevOps for a code repository. All developers use a development branch to check in code and a release branch to maintain the code for production releases.
Requirements. General -
• Configure a cloud-based development environment for Finance and Supply Chain Management. Enable a code extension that supports updates.
• Configure Microsoft-supported version control and an Azure-hosted build pipeline.
• Migrate all document handling attachments for the customers to Finance and Supply Chain Management from Dynamics AX 2009.
• Audit X++ code for a best practice check.
• All new code must be unit tested in a development environment and then validated by the QA team before the code is merged into the Release branch for further releases.
Requirements. Business processes
• All changes that are deployed to the UAT environment must be approved for code release to production.
• The sales manager requires a solution that is extensible to ensure that new master tables document handling attachments are migrated to the new system.
• A base class named MigrateAttachment must be designed with methods that all child classes must implement.
• A method named processAttachment must be created so that extenders are not able to subscribe to pre-events and post-events.
• On the All sales orders list page, two new fields must be added for the total sales order amount. One field uses goods and services tax (GST) and the other field does not use GST.
• A process named Populate check data must be designed based on the following: o The process must run from the All customers list page and populate a custom table named CustCheckData with 1000 rows. o The table must have two fields named CheckNumber and BankNumber. o The process must return to the current session after the data is processed.
• The generated check data must be available for users to access in a tabular form without additional details and preview panes.
• The purchase manager requires a new data entity to send out the information for purchase order inquiries that are generated in Finance and Supply Chain Management
• The sales manager must be able to access the total quotation for the sites and item types.
• The sales manager requires a quotation number to be printed on the sales invoice business document. Customers must be able to access the reference number on the invoice documents.
• The purchase manager requires a new approval workflow for approving purchase orders that are more than $10,000.
Requirements. Business systems -
• After a user named UserA posts a packing slip for a sales order, customers must be informed of the product delivery in real-time. This information is provided using business events.
• Purchase order inquiries must be exported from the Finance and Supply Chain Management using data packages. Users must be able to query using OData but should not be able to update or create the data in the system.
• A sales manager’s workspace must display the total quotations using key performance indicators.
• The purchase order approval workflow must be configured from the procurement and sourcing module.
Issues -
• UserA reports delays when opening the All sales orders list page.
• A customer is unable to access the business events for a packing slip that is posted by UserA.
• A user named UserB reports that the system is unresponsive when they run the Populate check data process for a customer.
• UserA reports that the print management settings in the accounts receivable module do not display the new layout when testing a new sales invoice report layout in the UAT environment.
You need to resolve the issue for UserB.
Which framework should you use?
A. SysExtension
B. SysOperationSandBox
C. SysOperation
D. RunBaseBatch
Show Answer
Correct Answer: B
Explanation:
The issue reported by UserB is that the system becomes unresponsive when running the Populate check data process from a list page. This process runs synchronously in the user session and processes 1000 records, which can block the UI. The SysOperationSandbox framework is designed to execute long-running operations in an isolated sandbox session while still returning control to the current session after completion. It is appropriate for operations started from list pages that should not freeze the client and are not full batch jobs. SysOperation alone or RunBaseBatch would either run synchronously or require batch processing, which does not meet the requirement.
Question 2
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 index VehicleId;
C. select vehicle order by VehicleIdIdx asc;
D. select vehicle index VehicleIdIdx;
Show Answer
Correct Answer: D
Explanation:
In X++ embedded SQL, ordering by an index is done using the `index` keyword, not `order by`. The `order by` clause must reference fields, not index names. Since the requirement is to retrieve records in ascending order based on the VehicleId index (VehicleIdIdx), the correct syntax is `select vehicle index VehicleIdIdx;`, which uses the index in its defined (ascending) order by default.