nerdexam
Microsoft

MB-500 · Question #121

MB-500 Question #121: Real Exam Question with Answer & Explanation

Sign in or unlock MB-500 to reveal the answer and full explanation for question #121. The question stem and answer options stay visible for context.

Question

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. You have an enumeration named truckStatus that has the following statuses: Empty Loaded Completed You have the following code: You need to extend this enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement. Solution: Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the integer value of the enumeration. Does the solution meet the goal?

Options

  • AYes
  • BNo

Unlock MB-500 to see the answer

You've previewed enough free MB-500 questions. Unlock MB-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full MB-500 Practice