Single Choice Moderate

Q

You are enhancing a Microsoft Dynamics 365 finance and operations apps implementation by adding new attributes to certain entities without modifying the existing codebase.

You need to extend the functionality of these entities in a way that is upgrade-safe and adheres to best practices.

What should you do?

ID: #22529 Exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer 166 views
Question Info
#22529Q ID
ModerateDifficulty
Exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps DeveloperTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Implement attribute classes to add metadata to the entity classes. ✔ ✖
  • B Use SQL triggers to add attributes to the database tables associated with the entities. ✔ ✖
  • C Create new entity classes that duplicate the existing ones with additional attributes. ✔ ✖
  • D Directly modify the entity classes to include the new attributes. ✔ ✖
Correct Answer

Explanation

Correct:Implement attribute classes to add metadata to the entity classes.


Option A is correct because attribute classes allow you to add metadata to entities without modifying the existing code, which is upgrade-safe. Option B is incorrect as it involves modifying the base code, which is not recommended. Option C is incorrect because it leads to code duplication and maintenance issues. Option D is incorrect as SQL triggers are not a part of X++ development and do not align with best practices for extending entities.

Implement Chain of Command - Training | Microsoft Learn

Class extension - Method wrapping and Chain of Command - Finance & Operations | Dynamics 365 | Microsoft Learn

Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue X++ Programming Language where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free

Share This Question

Challenge a friend or share with your study group.

Related MCQ Questions