Practice Free MB-500 Exam Online Questions
HOTSPOT
You are a Dynamics 365 Finance and Operations developer.
You have the following code: (Line numbers are included for reference only.)
You need to evaluate the code.
What is the correct output for the method? To answer, select the appropriate option in the answer area. NOTE: Each correct selection is worth one point.

tryMethod(5, 2) – One, Two, Four, Five
tryMethod(4, 0) – One, Three, Four, Five
tryMethod(2, 0) – One, Three, Four
tryMethod(3, 0) – One, Two, Four, Five
Explanation:
Box 1: One, Two, Four, Fire
The statements in the finally clause are executed when control leaves the try block, either normally or through an exception.
Box 2: One, Three, Four, Five
Box 3: One, Three
Return ends the call.
Box 4: One, Three, One, Two, Four, Five
Retry restarts the try statement.
Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-exceptions
DRAG DROP
You create a Visual Studio project named ProductUpdates.
You must update data in a table named ProductTable. You must be able to run the code from Visual Studio.
You need to create an X++ class.
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.

Explanation:
You need to configure models for the project.
What are two possible ways to achieve the goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . Overlay the existing FinanceExt model and populate the solution definition.
- B . Modify the DefaultModelForNewProject setting in the DefaultConfig.xml file and name the model FinanceExt.
- C . Create a new model that extends the existing FinanceExt model.
- D . Extend the existing FinanceExt model and populate the project model definition.
A, D
Explanation:
https://www.google.com/amp/s/robscode.onl/d365-set-default-model-for-new-projects/amp/
DRAG DROP
A company uses Dynamics 365 finance and operations apps.
The company must ensure employees use best practices when performing data validation and functional, regression, and user acceptance testing in the finance and operations apps.
You need to select the correct testing framework or functionality.
Which testing framework or functionality should you use in each scenario? To answer, drag the appropriate testing frameworks or functionalities to the correct scenarios. Each testing framework or functionality 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.

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.

You are developing a customization for Dynamics 365 Finance.
The customization must extend objects from the Application Foundation package.
You need to create and configure a new model for the customization.
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . Create a new model that builds into its own separate assembly.
- B . Reference the Application Foundation package when creating the extension model.
- C . Create a new model that is part of an existing package.
- D . Assign the model to the USR layer.
- E . Create an extension class that references the Application Foundation.
A, E
Explanation:
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/class-extensions
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/model-split
DRAG DROP
You are a Dynamics 365 Finance developer.
You need to troubleshoot performance issues for a client.
Which Lifecycle Services (LCS) tools should you use for each environment? To answer, drag the appropriate environment types to the correct tools. Each environment type may be used once, more than once, or not at all. You may need to drag the split bar between panes scroll to view content. NOTE: Each correct selection is worth one point.

Explanation:
Box 1: User Acceptance Testing (UAT) and Build
Box 2: User Acceptance Testing (UAT) Only
Not all environments contain all the tools. The following table shows the tools that are available for each type of environment.
Box 3: Build only
Reference: http://axhelper.com/?p=16527
Topic 2, World Wide Importers
Overview
This is a case study. Case studies are not timed separately. You can use as much exam time as youwould 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. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
Background
Wide World Importers sell office supplies, furniture, and fittings to their customers across the United States.
The company has the following locations:
– a retail store in Seattle
– a warehouse in Seattle
– a customer support and call center in Atlanta
– a team of field workers that provide furniture installation services at customer sites.
Wide World Importers plans to implement Dynamics 365 Finance and Microsoft Azure cloud platform features.
Current environment
Customers may place orders by email, phone, or by using the company’s website. The company authorizes and processes credit card transactions by using a web-based application. Customer, inventory, supplier, and other master and transactional data is stored in a legacy database.
The company collects feedback from customers by phone or a form on the company’s website and maintains the data in a Microsoft Excel workbook.
Wide World Importers runs on-premises applications to manage payroll and workers compensation. The company has a set of Microsoft Power BI dashboards that present data from a reporting database.
The company creates a Lifecycle Services (LCS) implementation project and completes Dynamics 365 Finance onboarding.
The company maintains production, quality assurance (QA), development, user acceptance testing (UAT), and build environments.
Requirements
General
– You must configure a cloud-based Dynamics 365 Finance development environment and enable code extension that support updates.
– You must configure version control and a Build environment.
– You must migrate all legacy data to the new system.
– You must implement best practices for X++ coding, the data model, caching, and security.
– All new code must be unit tested in a development environment and then validated by the QA team before code is added to source control.
Business processes
– You must configure vendor trade agreements.
– Products must be shipped directly from suppliers to customers depending on customer location to save indirect costs.
– You must collect customer feedback on products shipped directly from vendors.
– You must deploy code to a UAT environment for testing before deploying code to production.
– You must validate all entries for the purchase order creation form.
– You must develop a web portal that allows customers to browse products, place orders, and check order status. Product data for the web portal must be integrated as periodic batches.
Business systems
– You must install and configure a third-party solution for credit card processing within Dynamics 365 Finance. The third-party company will provide a deployable package.
– The workers compensation application must be able to call an API to update worker compensation details in Dynamics 365 Finance.
– You must develop a process to import payroll journals into the system.
– You must configure the warehouse mobile device portal for warehouse operations.
– You must install a third-party solution to support web portal integration. The solution is supplied as a source code model file.
Vendor exclusion list
You must develop a new solution to maintain a Vendor exclusion list for each customer and item combination.
The solution must meet the following requirements:
– Isolate all new vendor exclusion codes as a new assembly by creating a table named VendExclusions.
– Create an index for the table named PrimaryIdx that uses the following fields: CustAccount, ItemId, VendAccount.
– Ensure that users can open the Vendor Exclusion list report from the customer master form. The list must display the customer account, Item ID, and Vendor account fields.
– Implement the Excel integration for the Vendor Exclusion List form.
– Provide functionality to periodically export the Vendor exclusion list to prepare reports by using standard reporting capabilities of Dynamics 365 Unified Operations.
– Develop necessary security permissions to view and maintain the new Vendor exclusion list functionality and reporting. Users with maintain rights will be able create, update, and delete the exclusion list. Permissions must be assigned to security roles to match company security model.
– Maintain referential integrity with other tables.
– Users must be presented with a warning message before a direct delivery purchase order is created for a vendor in exclusion list.
– Sales managers must be alerted when a new exclusion record is added to the system.
Security
– You must implement the record level audit feature to identify the users who created the record.
– Grant specific users rights to maintain the vendor exclusion list by using Excel.
– You must implement validation to check whether a proposed direct delivery purchase order vendor is on the exclusion list for the customer and product combination.
Issues
User1 is not able to access many features in the system. You must provide User1 administrator rights. A sales manager suspects a data-related issue in the vendor exclusion list. User1 must identify the user who created the referenced exclusion records.
Developer2 joins the company and does not have access to a development environment or source control. User2 reports performance issues when they generate direct delivery purchase orders after current updates are applied.
User2 reports that they cannot access new functionality and reports.
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 . Implement Chain of Command (CoC) and method wrapping by creating a form extension class.
- D . In Application Explorer, create a form extension and implement validation.
A, C
Explanation:
Scenario:
Users must be presented with a warning message before a direct delivery purchase order is created for a vendor in exclusion list.
You must implement validation to check whether a proposed direct delivery purchase order vendor is on the exclusion list for the customer and product combination.
DRAG DROP
You are developing new features for an app.
You must perform unit testing for the features by using the SysTest framework.
You need to create unit test code using appropriate test attributes.
Which test attribute should you use? To answer, drag the appropriate test attributes to the correct descriptions. Each test attribute 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.

You are Dynamics 365 Finance developer.
You need to initialize an embedded Microsoft Power Bl report.
Which code segment should you add to the form initialization method?
- A . addReportControl(formGroupControl)
- B . initializeReportControlInternal(powerBIConfiguration, reportparameters, reportControl, showError)
- C . InitializeReportControl(workspaceName, Formgroup)
- D . deployorUpdateReport(powerBIConfiguration, reportName, resourceName)
C
Explanation:
PBIReportHelper.initializeReportControl method is used to embed a Power BI report (.pbix resource) in a form group control.
Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/add-analytics-tab-workspaces?toc=%2Ffin-and-ops%2Ftoc.json