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. initializeReportControlV2(WorkspaceName, FormGroup)
B. deployOrUpdateReport(powerBIConfiguration, reportName, resourceName)
C. getPBIReportByResourceName(resourceName)
D. initializeReportControlOnWorkspace(powerBIConfiguration, reportParameters, formGroupControl)
Show Answer
Correct Answer: A
Explanation: To initialize an embedded Power BI report on a Dynamics 365 Finance form, the form initialization method uses initializeReportControlV2 with the workspace name and the form group hosting the report. The other options are for deployment, retrieving report metadata, or workspace-specific initialization APIs rather than the standard form initialization.
Question 12
DRAG DROP -
A company uses Dynamics 365 Finance.
The company requires a new custom service to allow transactional data to be attributed to a customer's order.
You need to create the custom service.
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.
Show Answer
Correct Answer: 1. Create request and response classes.
2. Create a service class.
3. Create and assign the service object.
4. Create and assign the service group.
Explanation: In Dynamics 365 Finance custom services, first define the data contracts (request/response), then implement the service class, expose it through a service object, and finally publish it by assigning it to a service group.
Question 13
A company uses Dynamics 365 Finance.
Developers receive an error in an existing solution. The solution must be debugged to identify the root cause of the error.
You need to enable debugging in Visual Studio to hit an existing breakpoint with the solution open.
Which three methods can you use? Each correct answer presents a complete solution. (Choose three.)
NOTE: Each correct selection is worth one point.
A. Press F5.
B. Using Visual Studio to debug, attach the debugger to the devenv.exe process.
C. Using Visual Studio to debug, start debugging with your start-up object.
D. Using Visual Studio to debug, attach the debugger to the IIS process.
E. Using Visual Studio to debug, attach the debugger to the X++ compiler process.
Show Answer
Correct Answer: A, C, D
Explanation: In Dynamics 365 Finance and Operations development, you can debug X++ code by starting debugging with F5, by starting debugging using the configured startup object, or by attaching the Visual Studio debugger to the IIS worker process (w3wp) for server-side execution. Attaching to devenv.exe debugs Visual Studio itself, not the application, and attaching to the X++ compiler process is for compiler diagnostics rather than debugging application execution.
Question 14
A company uses Dynamics 365 Finance.
The company requires that a custom field named ExternalCustomerId on the table CustTable be added to an index to enhance performance.
You need to create the index.
Which field should you include in the index?
A. CustTable.AccountNum
B. CustTable.ExternalCustomerId
C. CustTable.RecId
Show Answer
Correct Answer: B
Explanation: To add a custom field to an index for improved lookup performance, the index must include the field that will be searched or filtered on. Therefore, the index should include CustTable.ExternalCustomerId. AccountNum is an existing key field, and RecId is the surrogate primary key, neither satisfies the requirement to index the new custom field.
Question 15
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, D, E
Explanation: For exporting or using Task Recorder recordings for testing, you can save as a developer recording (used for automated/unit testing), save to Lifecycle Services (to create and manage test assets in BPM/RSAT), and create a derived test case. Export as a Word document is documentation rather than testing, and Generate Test Execution files only is not the export option that preserves the test case workflow.
Sources:
https://quizlet.com/759501918/mb-500-microsoft-dynamics-365-finance-and-operations-apps-developer-flash-cards
https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/organization-administration/prepare-go-live
Question 16
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 requirement is to run a long-running process from a list page, populate 1,000 records, and return control to the current session after processing. The reported issue is that the system becomes unresponsive. The SysOperationSandbox framework executes the operation in an isolated sandbox session, preventing the user's interactive session from being blocked while still allowing the process to be initiated from the client. This is the appropriate framework for this scenario.
Question 17
A company uses Dynamics 365 Supply Chain Management.
You are performing a review of the code that returns the total sum of transactions for all customers in customer group 10. You observe that the following query takes a long time to complete.
You need to modify the query to optimize performance.
Which code segment should you use?
A. Select sum(AmountMst) from custTrans join custId, custGroup from custTable where custTable.AccountNum == custTrans.AccountNum && custTable.custGroup == '10';
B. AmountMST sumTrans = 0; while select AmountMst from custTrans join custTable where custTable.AccountNum == custTrans.AccountNum && custTable.custGroup == '10' { sumTrans = sumTrans + custTrans.AmountMst; }
C. select sum(AmountMst) from custTrans join custTable where custTable.AccountNum == custTrans.AccountNum && custTable.custGroup == '10';
D. select sum(AmountMst) from custTrans exists join custTable where custTable.AccountNum == custTrans.AccountNum && custTable.custGroup == '10';
Show Answer
Correct Answer: D
Explanation: Using an aggregate select with an exists join avoids fetching unnecessary fields from the joined table while only verifying that a matching customer in group 10 exists. This is more efficient than iterating in X++ (B). Option A has invalid syntax, and C performs a regular join that is unnecessary when no fields from the joined table are returned.
Sources:
https://learn.microsoft.com/en-us/dynamics365/supply-chain/cost-management/inventory-costing-faq
Question 18
DRAG DROP
-
A company uses Dynamics 365 finance and operations apps. The company uses Power BI Desktop to fetch a list of customers.
You need to create a Power BI report to view the list. You authenticate a Power BI Desktop instance by using a Dynamics 365 finance and operations app.
Which four actions should you perform next in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Show Answer
Correct Answer: 1. Select Get data from Power BI.
2. Select OData feed.
3. Enter the URL of the Customers OData endpoint.
4. Create a Power BI report by using the customer data.
Explanation: After authentication, connect through the OData Feed connector, provide the Dynamics 365 Finance and Operations OData endpoint for Customers, load the customer data, and then build the report. Additional database credentials are unnecessary because authentication is already completed.
Question 19
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 changes the database schema. A SQL error when opening the form commonly indicates that the database schema has not been updated to match the metadata. Synchronizing the database applies the table schema changes so the new field exists in SQL. Building alone compiles code but does not update the database schema; restarting SQL Server or IIS does not resolve a missing schema change.
Question 20
A company implements Dynamics 365 Finance and Dynamics 365 Supply Chain Management. The company plans to perform a sales history analysis on existing customers, including their sales history and purchases.
You are creating an extension to create a sales history table that will run after the close of each period. The historical information must include customer information, date of purchase, and items that are purchased including product descriptions.
You need to ensure that the process for retrieving historical information minimizes database calls.
Which method should you use?
A. RecordInsertList
B. RecordSortedList
C. Insert_recordset
D. doInsert
Show Answer
Correct Answer: C
Explanation: Use insert_recordset to populate the history table directly from a set-based query, including joins to customer, sales, and product tables. This executes as a single SQL set-based operation, minimizing database round trips and providing the best performance for period-end history creation. RecordInsertList batches inserts but still requires records to be processed in X++; RecordSortedList is an in-memory collection; doInsert inserts one record at a time.
$19
Get all 295 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.