You create a new class.
Class compilation must fail if a specific method in the source code is called.
You need to mark the class with the appropriate attribute.
Which attribute should you use?
A. SysAppSecurityAttribute
B. SysTestCategory
C. SysObsoleteAttribute
D. SysAttribute
Show Answer
Correct Answer: C
Explanation: SysObsoleteAttribute is used to mark classes or methods as obsolete. When applied with the appropriate parameters, it can cause compilation to fail if the marked method or class is used, which matches the requirement. The other attributes do not enforce compile-time failure on method usage.
Question 134
A company uses Dynamics 365 Finance.
You have two tables as shown:
When an employee is deleted from EmplTable, the corresponding bank account information must automatically be deleted from EmplBankAccount
You need to ensure that the requirement is met.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Set the value of the OnDelete property to Restricted.
B. Select the foreign key relation properties from EmplBankAccount.
C. Select the foreign key relation properties from EmplTable.
D. Set the value of the OnDelete property to Cascade.
Show Answer
Correct Answer: B, D
Explanation: To automatically delete related records, a cascading delete must be defined on the foreign key. The foreign key relation is configured on the child table (EmplBankAccount), and its OnDelete property must be set to Cascade so that when a parent EmplTable record is deleted, the related bank account records are deleted automatically.
Question 135
You have a table in which multiple properties must be changed. Multiple table properties are locked down at the base table and must not be overwritten.
You need to modify the table properties by extending the table.
Which table property can you populate in a table extension by using the property sheet?
A. Cache lookup
B. Save data per company
C. Modified date time
D. Clustered index
Show Answer
Correct Answer: C
Explanation: In Dynamics 365 Finance and Operations, most core table properties (such as CacheLookup, SaveDataPerCompany, and ClusteredIndex) are locked at the base table level and cannot be changed in a table extension. Metadata properties like ModifiedDateTime are extension-enabled and can be populated or adjusted through a table extension using the property sheet. Therefore, Modified date time is the correct choice.
Question 136
DRAG DROP -
An error occurs when an employee creates a new workflow using a custom approval element to track the status of a document.
You need to ensure that the workflow is created correctly.
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:
Show Answer
Correct Answer: Develop the workflow approval component.
Create a workflow structure.
Configure the business process steps.
Enable the workflow for the business scenario.
Explanation: A custom approval element must be developed first so it can be used in the workflow. After that, the workflow structure is created, the business process steps are configured using the custom component, and finally the workflow is enabled for the business scenario.
Question 137
You need to investigate the Vendor exclusion list issue.
What should you do?
A. Navigate to the General tab, select Record Info, and then select Show all fields.
B. Navigate to the General tab and select Personalize this form. Add a field button and the required field.
C. Navigate to the Options tab, select Record Info, and then select Show all fields.
D. Navigate to the Options tab and select Personalize this form. Add a field button and the required field.
Show Answer
Correct Answer: C
Explanation: To investigate a Vendor exclusion list issue, you need visibility into all underlying fields on the record without modifying the form. Using the Options tab and selecting Record Info → Show all fields displays every available field, including hidden or non-displayed ones, which is appropriate for investigation. Personalizing the form is unnecessary and potentially intrusive.
Question 138
DRAG DROP -
You are developing new features for an app.
You must perform unit testing for the features by using the Unit Test 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.
Select and Place:
Show Answer
Correct Answer: Unit testing code:
SysTestMethodAttribute
Indicates the class or method is deactivated:
SysTestInactivateTestAttribute
Explanation: SysTestMethodAttribute marks a method as a unit test. SysTestInactivateTestAttribute is used to deactivate a test class or method so it is not executed.
Question 139
A developer submits code for a quality assurance review. Several lines of code use the var data type.
You need to validate the segments for the correct X++ structure.
Which code statement will pass validation?
A. var var1 = systemDataGet(); var1 = var1 ? today():ג€Not todayג€;
B. var var1 = (var1 >= false) ? true:10;
C. var var1 = true; var1 = true ? 10:false;
D. var var1 = true ? 10:ג€10ג€;
Show Answer
Correct Answer: C
Explanation: In X++, the conditional (?:) operator requires both result expressions to be implicitly convertible to a common type, and the result must be assignable to the target variable.
A: The conditional returns either a date or a string, which are not implicitly convertible.
B: var1 is used before it is initialized, and the conditional mixes boolean and int in an invalid way.
D: The conditional mixes int and string, which are not implicitly convertible.
C: var1 is first inferred as a boolean. In the conditional expression, false can be implicitly converted to an int (0), producing an int result, and that int can be implicitly converted back to boolean when assigned to var1. Therefore, this statement passes X++ validation.
Question 140
A company uses Dynamics 365 Finance.
You need to migrate all custom report artifacts from a development environment to a cloud-hosted Tier-1 test environment that has Visual Studio installed.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Apply a deployment package
B. Export the project as an .axpp file
C. Create a deployment package
D. Import the project into a cloud-hosted environment from an .axpp file and ensure that the Overwrite Elements option is selected
Show Answer
Correct Answer: B, D
Explanation: For a cloud-hosted Tier-1 environment with Visual Studio, custom report artifacts should be migrated as source code, not as compiled binaries. Export the project from the development environment as an .axpp file, then import it into the Tier-1 environment and select Overwrite Elements to ensure the artifacts are updated. Deployment packages are intended for Tier-2+ environments (UAT/Production), not for source-level migration on Tier-1 VMs.
Question 141
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 uses Dynamics 365 finance and operations apps.
You have a custom enumeration named CarType. The enumeration has the following elements: Sedan, SUV.
You must extend CarType and add a new element named MUV to CarType.
You need to develop a solution that meets the requirements.
Solution: Set the is Extensible property to true for the CarType enumeration. Add the MUV element to the CarType base enumeration.
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: The requirement explicitly states that you must extend the CarType enumeration. Even though CarType is custom, the proposed solution modifies the base enumeration directly instead of creating an enum extension. Setting IsExtensible to true and adding a value to the base enum does not satisfy the requirement to extend it. Therefore, the solution does not meet the stated goal.
Question 142
DRAG DROP -
You create a Visual Studio project named CustomerDetailUpdate.
You must update data in a table named CustTable. You must be able to run the code from Visual Studio.
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:
Show Answer
Correct Answer: Create a runnable class and add the class to the CustomerDetailUpdate project
Write code in the class to update the customer table
Build the project
Set the class as the startup project and run the class
Explanation: A runnable class must exist and contain the update logic first. The project is then built to compile the code. After a successful build, the class can be set as the startup object and executed from Visual Studio.
$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.