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.
You must create a new attribute class in which to mark other classes in the ISV solution and their respective methods with the error levels Warning and Error.
You have the following class: (Line numbers are included for reference only.)
You need to ensure that the compiler will report an error if code calls the bike method.
Solution:
Create the following attribute class:
Insert the following code at line 01:
[ISVObsoleteAttribute(ErrorWarning::Warning, "This class will be deprecated in future releases, please use the Transportation class instead.")]
Insert the following code at line 04:
[ISVObsoleteAttribute(ErrorWarning::Error, "Deprecated. Please use the bicycle class instead.")]
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: The attribute records an Error level for `bike`, but the shown custom attribute does not make the compiler issue diagnostics. Marking the method with it alone will not cause calls to `bike` to produce a compiler error.
Question 9
A company uses Dynamics 365 finance and operations apps.
The company must implement the Excel Add-in to allow for data modification outside of Dynamics 365 finance and operations apps.
The company must modify the standard fields displayed for a particular entity to include additional columns.
You need to add the additional columns.
Which field group should you add the columns to?
A. AutoReport
B. AutoBrowse
C. AutoSummary
D. AutoLookup
Show Answer
Correct Answer: B
Explanation: The Excel Add-in uses the entity's AutoBrowse field group to determine the default set of fields exposed for browsing and editing. To include additional columns in the Excel Add-in, add those fields to the AutoBrowse field group. AutoLookup controls lookup displays, AutoSummary summary information, and AutoReport reporting-related defaults.
Question 10
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.
You must create a new attribute class in which to mark other classes in the ISV solution and their respective methods with the error levels Warning and Error.
You have the following class: (Line numbers are included for reference only.)
You need to ensure that the compiler will report an error if code calls the bike method.
Solution:
Create the following attribute class:
Insert the following code at line 04:
[SysObsoleteAttribute("Deprecated. Please use the bicycle method instead", true)]
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: A
Explanation: Placing SysObsoleteAttribute immediately before bike marks that method as obsolete. The second argument, true, makes calls to it a compiler error rather than a warning.
Question 11
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 11
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 an extension for CalendarID.
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: A
Explanation: Yes. BasicCalendarID derives from CalendarID, so increasing the string size on an extension of the root EDT CalendarID is inherited by BasicCalendarID and its table field, unless the derived EDT overrides that property.
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 12
A company uses Dynamics 365 Finance.
You implement an abstract class named Car.
The Car class has the following:
• A real member called weight that is used to store the weight of the car.
• An abstract getWeight method that returns the value of the weight member.
The Car class code is:
You must create a child class named BigCar.
You need to implement the Car class by using the BigCar child class.
Which code segment should you use?
A. class BigCar extends Car { void new(real _weight) { weight = _weight; } public real getweight() { return weight; }}
B. class BigCar implements Car { void new(real _weight) { weight = _weight; } public real getweight() { return weight; }}
C. class BigCar extends car { public real getWeight() { return weight; }}
D. class BigCar : car { void new(real _weight) { weight = _weight; } public real getweight() { return weight; }}
Show Answer
Correct Answer: A
Explanation: BigCar must extend the abstract Car class and provide a concrete implementation of getWeight. Option A does both, and its constructor initializes the weight field so getWeight returns the supplied car weight. Option B uses interface syntax rather than class inheritance; the other options omit that initialization.
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 13
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: EmplBankAccount is the child table because it has the foreign key relation to EmplTable. Configure the foreign key relation properties on EmplBankAccount, then set the relation’s OnDelete property to Cascade so deleting an employee also deletes the related bank account records.
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.
$19
Get all 296 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.