Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Microsoft logo

Microsoft Certified:Dynamics 365 Finance and Operations Apps Developer Associate

Domain 4Objective 2

Develop Object-Oriented Code MB-500 Practice Questions (Page 7)

Part of the Develop and test code domain, which accounts for 20–25% of the MB-500 exam. Microsoft does not publish an official question count, but from its 100-minute exam (~40–65 total, ~8–16 in this domain), expect 2–4 from this objective — we provide 38 practice questions to prepare you well beyond it. (estimate)

38questions here
8free pages
10concepts
20–25%of the exam

Questions 31–35

  1. 31foundation · easy

    In X++, what is the purpose of an abstract class?

    Select an answer first
  2. 32application · medium

    A developer is designing a class hierarchy for different types of warehouse workers. All workers have a common `calculatePay` method, but the calculation differs for full-time and part-time workers. The developer wants to promote code reuse and allow polymorphic calls. Which design should the developer implement?

    Select an answer first
  3. 33expert · hard

    A developer is debugging a class hierarchy where a base class defines a variable with the same name as a variable in a derived class. The developer notices that the derived class method is using the derived class variable, but the base class method uses the base class variable. What is the reason for this behavior?

    Select an answer first
  4. 34application · medium

    A developer needs to add metadata to a custom class so that it can be discovered by a framework that scans for classes with a specific attribute. The attribute should also be usable on methods. Which action should the developer take?

    Select an answer first
  5. 35expert · hard

    A developer is designing a class hierarchy for a reporting system. The base class Report has a method generate() that is abstract. Derived classes SalesReport and InventoryReport implement generate(). The developer also needs to add a new report type, TaxReport, that shares some logic with SalesReport but also has unique logic. The developer wants to avoid code duplication. Which approach is best?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Microsoft. “MB-500” is a trademark of its owner, used for identification only.