Free MB-500 Exam Braindumps
Microsoft Dynamics 365: Finance and Operations Apps Developer Questions 91–95 (page: 20)

Updated On: 10-Feb-2026
View Related Case Study

You are a Dynamics 365 Finance developer.
You need to create an extension class.
Which action should you perform?

  1. Mark the class as final.
  2. Add the class buffer as the first parameter.
  3. Add the suffix .extension to the file name.
  4. Add the suffix _myextension to the file name.

Answer(s): A

Explanation:

Extension classes are final classes that are adorned with the ExtensionOf attribute and that also have a name that has the _Extension suffix.
Because the classes are instantiated by the runtime system, it's not meaningful to derive from the extension class. Therefore, the extension class must be marked as final.


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc



View Related Case Study

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. Create a new enumeration to add the MUV element.
Does the solution meet the goal?

  1. Yes
  2. No

Answer(s): A

Explanation:

To add new values to an enum, you should extend the enum. Any enum that is marked as Extensible (IsExtensible = true) can be extended.
Note:
There are two ways to extend an enum:
* Create a project that has a model reference where you want the new enum extension. Right-click the enum to extend, and then select Create extension.



* Right-click the enum to extend, and then select Create extension in new project. You're prompted to select the model that the extension enum should be created in.



The enum extension is created in the selected model. You can add new enum values to this extension.


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/add-enum-value



View Related Case Study

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 false for the CarType enumeration. Create a new enumeration to add the MUV element.
Does the solution meet the goal?

  1. Yes
  2. No

Answer(s): B

Explanation:

The Extensible property must be set to true for the CarType enumeration.


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/add-enum-value



View Related Case Study

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?

  1. Yes
  2. No

Answer(s): B

Explanation:

To add new values to an enum, you should extend the enum. Any enum that is marked as Extensible (IsExtensible = true) can be extended.
Instead: Create a new enumeration to add the MUV element.
Note:
There are two ways to extend an enum:
* Create a project that has a model reference where you want the new enum extension. Right-click the enum to extend, and then select Create extension.



* Right-click the enum to extend, and then select Create extension in new project. You're prompted to select the model that the extension enum should be created in.



The enum extension is created in the selected model. You can add new enum values to this extension.


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/add-enum-value



View Related Case Study

DRAG DROP (Drag and Drop is not supported)
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:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: [Hookable(true)]
If a method is hookable, extenders can subscribe to pre-events and post-events.
For public methods, you can opt out by adding [Hookable(false)] to the method.
You can opt in for private and protected methods by adding [Hookable(true)] to the method.
If a method is explicitly marked as [Hookable(false)], then it is not wrappable.

Box 2: [Wrappable(false)]
If a method is wrappable, extenders can wrap it by using Chain of Command (CoC). Extenders must call next, because they aren't allowed to break the CoC.
For protected and public methods, you can opt out by adding [Wrappable(false)] to the method.

Box 3: [Replaceable]
If a method is replaceable, extenders can wrap it by using CoC, but they don't have to unconditionally call next. Although extenders can break the CoC, the expectation is that they will only conditionally break it. The compiler doesn't enforce calls to next.
To be replaceable, a method must also be wrappable.
For wrappable methods, you can opt in by adding [Replaceable] to the method.


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/extensibility-attributes



Viewing page 20 of 54
Viewing questions 96 - 100 out of 399 questions


Post your Comments and Discuss Microsoft MB-500 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!