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: Applying SysObsoleteAttribute with the second parameter set to true causes the compiler to raise an error when the marked method is called. Therefore, even though the scenario mentions creating a new attribute class, the provided solution still fulfills the stated goal of ensuring a compile-time error when the bike method is used.
Question 93
A company uses Dynamics 365 Finance.
You are performing a code review for several segments of code that use the Boolean data type.
You need to validate the segments for the correct X++ structure.
Which two code statements will compile? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. boolean exprValue; exprValue = (8*6 == 48);
B. boolean exprValue = (8*6 == ‘48’) ? Yes:No;
C. boolean exprValue; exprValue = (8*6 == 48) ? 1:0;
D. boolean exprValue = (8*6 == ‘48’) ? false:true;
Show Answer
Correct Answer: A, C
Explanation: In X++, a Boolean variable can be assigned directly from a Boolean expression or from a conditional expression that evaluates to Boolean-compatible values.
A compiles because (8*6 == 48) is a valid Boolean expression.
C compiles because the ternary operator returns 1 or 0, which are valid representations of true and false in X++.
B and D do not compile because '48' is a string literal, causing a type mismatch when compared to an integer.
Question 94
A company uses Dynamics 365 Finance.
You create a new form that must have the ability to open from the menu.
You need to set up the form for the menu.
What should you add to the menu?
A. display menu item
B. menu reference
C. output menu item
D. action menu item
Show Answer
Correct Answer: A
Explanation: In Dynamics 365 Finance, forms are opened from the menu by using Display menu items. A display menu item is specifically designed to launch forms. Action menu items are used to run classes or methods, output menu items are for reports, and menu references only point to existing menus rather than launching a form directly.
Question 95
DRAG DROP
-
A company uses Dynamics 365 Finance.
You must create two data entities:
• The first entity must allow access to customer groups by using OData.
• The second entity must be able to bulk export customer data by using a batch process.
You need to enable the properties for each entity you create.
Which properties should you enable? To answer, drag the appropriate properties to the correct requirements. Each property 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.
Show Answer
Correct Answer: Customer groups entity:
Public API
Customer data entity:
Data management capabilities
Explanation: OData access requires the entity to be exposed through the Public API. Bulk export in batch mode is handled by the Data Management Framework, which requires Data management capabilities to be enabled.
Question 96
DRAG DROP
-
A company uses Dynamics 365 Finance.
You implement the SysOperation framework to create the following batch processes.
You need to configure the execution mode for each batch process.
Which execution modes should you use? To answer, drag the appropriate execution modes to the correct requirements. Each execution mode 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.
Show Answer
Correct Answer: Lengthy operation
reliable asynchronous
Short operation
synchronous
Runs on a recurring schedule
asynchronous
Explanation: Lengthy or critical processes should run reliably in the background without blocking users, so reliable asynchronous is used. Short processes can block the client briefly, so synchronous is appropriate. Recurring scheduled jobs run in the background without user interaction, which fits asynchronous execution.
Question 97
You need to prepare to deploy a software deployable package to a test environment.
What should you do to prepare?
A. In Visual Studio, create a Dynamics 365 deployment package and upload the package to the asset library.
B. In Azure DevOps, queue a build from the corresponding branch and upload the model to the asset library.
C. In Azure DevOps, queue a build from the corresponding branch and upload the package to the asset library.
Show Answer
Correct Answer: C
Explanation: To prepare a deployable package for a test environment, the package must be built and uploaded to the Asset Library. The recommended and standard approach is to queue a build in Azure DevOps from the appropriate branch, which generates the deployable package and publishes it to the Asset Library. Creating the package manually in Visual Studio is possible but is not best practice and bypasses automated build and validation steps.
Question 98
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: In Dynamics 365 Finance, extended data types (EDTs) can be derived from a base (root) EDT. BasicCalendarID is derived from CalendarID. If you create an extension for the root EDT (CalendarID) and increase its string size, that change automatically flows to all derived EDTs, including BasicCalendarID. As a result, the length of the BasicCalendarID column on the WorkCalendar table is effectively increased without extending the table or the derived EDT directly. Therefore, the solution meets the goal.
Question 99
A company uses Dynamics 365 Finance.
There are performance issues with the sales order list page and invoicing process.
You need to diagnose the issues by using the Performance timer.
Which two processes can the Performance timer monitor? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. the X++ process call stack
B. the time consumed by a client and a server
C. the metadata of a web session
D. the longest-running SQL statement
Show Answer
Correct Answer: B, D
Explanation: The Performance timer in Dynamics 365 Finance is designed to help diagnose performance issues by measuring where time is spent during execution. It can show the time consumed on the client versus the server, which helps identify tier-related bottlenecks. It can also identify the longest-running SQL statements executed during a process, which is critical for analyzing database-related performance issues. It does not provide detailed X++ call stacks or web session metadata.
Question 100
DRAG DROP -
You are creating a new class and adding methods to the class.
You need to control extensibility capabilities of some of the methods in the class.
Which attribute should you use? To answer, drag the appropriate attributes to the correct requirements. Each 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: Extenders must be able to subscribe to pre- and post-event handlers:
[Hookable(true)]
Extenders must not be able to use chain of command (CoC) to wrap a specific method:
[Wrappable(false)]
Extenders must be able to wrap the method but must not be required to call next in the chain of command (CoC):
[Replaceable]
Explanation: [Hookable(true)] enables pre- and post-event subscriptions. [Wrappable(false)] prevents Chain of Command wrapping. [Replaceable] allows CoC wrapping while not enforcing a call to next, enabling conditional replacement.
Question 101
DRAG DROP
-
A company uses Dynamics 365 Finance. The company creates an asset library.
You need to upload assets for a solution to the asset library.
Which asset types should use? To answer, drag the appropriate asset types to the correct activities. Each asset type 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.
Show Answer
Correct Answer: Upload a logo of various sizes to be used in other environments:
Marketing asset
Upload an electronic report to be used for a free text invoice in Dynamics 365 Finance:
GER configuration
Upload a region-specific solution developed for a ledger account in the form of an ISV:
Localized financial report
Explanation: Marketing assets store reusable branding files such as logos. Electronic Reporting (GER) configurations are used for ER-based documents like free text invoices. Region- or country-specific ISV financial solutions are uploaded as localized financial reports.
$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.