A company uses Dynamics 365 Finance.
You implement the Insert method for a table you create. The class must meet the following requirements:
• If FieldA is equal to “Hello,” then FieldB must save the integer value 10.
• If FieldA is equal to “World,” then FieldB must save the integer value 20.
• Otherwise FieldB must save the integer 0.
You need to implement the code.
Which two code segments can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A.
B.
C.
D.
Show Answer
Correct Answer: A, C
Explanation: The correct implementations are those that explicitly set FieldB based on the value of FieldA and ensure the logic does not overwrite the intended value.
Option A is correct because the conditional or switch logic assigns FieldB to 10 when FieldA is "Hello", to 20 when FieldA is "World", and to 0 otherwise, with proper control flow (for example, breaks in a switch) so only one assignment occurs.
Option C is also correct because, although it may use a different construct (such as a switch without breaks but with mutually exclusive logic or returns), it still results in FieldB being set to 10 for "Hello", 20 for "World", and 0 for all other values.
Option B is incorrect because its logic always results in FieldB being set to 0, regardless of FieldA.
Option D is incorrect because missing break statements (or equivalent control flow) cause fall-through, which leads to incorrect or overridden values for FieldB.
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 33
DRAG DROP
-
A company uses Dynamics 365 Finance.
You implement the unit test framework. You must automate the testing for previously developed functionality.
You need to create unit tests in Visual Studio.
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.
Show Answer
Correct Answer: Open Visual Studio as an administrator.
Create a new project.
Add a new class to the project.
Extend the SysTestCase class in the class declaration.
Add methods to the class and decorate the methods with the [SysTestMethod] attribute.
Explanation: In Dynamics 365 Finance unit testing, Visual Studio must be opened with admin rights first. Unit tests are created in a new project, then implemented as classes that inherit from SysTestCase. Test methods must be added and marked with the SysTestMethod attribute so the framework can discover and run them.
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 35
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 a recurrence of Daily, and select the Every Weekday setting. Set the batch job to run as part of BATCHGROUP2.
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: The solution does not guarantee that the job runs outside work hours or with at least high priority. Setting a daily weekday recurrence only controls frequency, and assigning the job to BATCHGROUP2 does not ensure the required execution window or priority unless that batch group is configured accordingly. Therefore, the stated requirements are not fully met.
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 37
A company uses Dynamics 365 Finance.
You must add fields to a standard table in Visual Studio.
You need to create an extension of the table.
What should you do?
A. Create an extension class for the base table.
B. Drag the table from the AOT to the project.
C. Create a new table object in the pitied.
D. Create a table extension from the base table.
Show Answer
Correct Answer: D
Explanation: In Dynamics 365 Finance, standard tables cannot be modified directly. To add fields, you must create a table extension object based on the standard (base) table. Table extensions are the supported and upgrade-safe way to add new fields without overlayering or modifying the original table.
Question 38
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 VehicleId desc;
D. select vehicle index VehicleIdIdx;
Show Answer
Correct Answer: D
Explanation: In X++ embedded SQL, sorting via an index is done by specifying the index name with the `index` keyword. To return records in ascending order based on VehicleId, you must use the index defined on that field, which is `VehicleIdIdx`.
Option B is incorrect because `VehicleId` is a field name, not an index name. Options A and C are invalid because `order by` is not supported in X++ select statements; ordering is achieved through index usage instead. Therefore, the correct statement is `select vehicle index VehicleIdIdx;`.
Question 39
A company is implementing Dynamics 365 finance and operations apps.
The company must integrate its native Dynamics 365 finance and operations apps custom enhancements with Azure.
You need to create the custom business events within a development environment.
Which two classes should you use to extend the custom business events? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. BusinessEvent
B. BusinessEventsContract
C. BusinessEventsBase
D. BusinessEventsContractField
Show Answer
Correct Answer: B, C
Explanation: In Dynamics 365 Finance and Operations, custom business events are created by extending **BusinessEventsBase**, which defines the event itself, its metadata, and when it is raised. The event payload is defined separately by extending **BusinessEventsContract**, which specifies the data structure sent to external systems such as Azure. The other classes listed do not serve as the primary extension points for defining custom business events.
Question 40
HOTSPOT
-
You are developing a Power BI report.
The report must show the number of past due invoices in near real time.
You need to embed the report in the Analytics tab of a Vendor Payments workspace.
What should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: .pbix file
SQL Server DirectQuery
Explanation: A .pbix file is used to create and publish an interactive Power BI report. DirectQuery enables near real-time reporting by querying the SQL Server source directly without importing data.
$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.