MB-500 Exam Question 51

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: (Une numbers are included for reference only.)

You need 10 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:

Does the solution meet the goal?
  • MB-500 Exam Question 52

    A company is developing a new solution in Dynamics 365 Supply Chain Management. Customers will be able to use the solution in their own implementations.
    Several of the classes in the solution are designed to be extended by customers in other implementations to accommodate unique requirements.
    Certain methods must show up in the output window during the build process to advise other developers about the intent of the methods.
    You need to implement the statements for the methods.
    What should you implement?
  • MB-500 Exam Question 53

    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 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 an extension for the CarType base enumeration to add the MUV element.
    Does the solution meet the goal?
  • MB-500 Exam Question 54

    You are using the SysTest framework to test code in Visual Studio.
    You need to create a unit test class.
    Which three attributes can you use to create the class? Each correct answer presents a complete solution.
    NOTE: Each correct selection is worth one point.
  • MB-500 Exam Question 55

    You create a Power Apps app to display customer feedback.
    You need to submit and display customer feedback for each sales order.
    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.