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 new case statement in the model of the existing code.

Does the solution meet the goal?
Suggested Answer: B
Get Premium MB-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
13 comments · newest first
TU
Tu
12 months ago
Not sure if just adding a case is enough for validation.
AR
Art
1 year ago
Seems like a solid solution to me!
LE
Leeann
1 year ago
Wait, what about handling the new statuses in the switch?
KI
King
1 year ago
Totally agree, just need that case statement!
JA
Janey
1 year ago
The new statuses are added correctly.
MI
Michael
1 year ago
I’m a bit confused about whether the solution fully meets the goal. I remember something about needing to handle all possible values in the switch statement.
KA
Karl
1 year ago
I feel like just adding a case might not cover all scenarios. We might need to check if the default case is still valid after adding new statuses.
AL
Alline
1 year ago
I think we practiced a similar question where we had to modify an enum and update the switch statement. If I recall correctly, we had to ensure all cases were handled properly.
DE
Deeanna
1 year ago
I remember we discussed how to add new cases to switch statements, but I'm not sure if just adding a case is enough for validation.
MO
Mollie
1 year ago
I've got this! The three modules I would choose are ISML templates, Content assets, and Content slots. Those are the main ways to integrate and display uploaded images on the Storefront.
MI
Mitsue
1 year ago
I'm pretty sure you want to ensure you have enough disk space for the transfer. Wasn't there something about 1.5x the repository size?
VI
Vince
1 year ago
I'm a little confused by this one. I know PXE is related to network booting, but I'm not sure which of these options would be the best first step. I'll need to review my notes on PXE troubleshooting before answering.
MA
Marcos Jonás Almonte Pérez
5 years ago
It's B