A batch job needs fast local scratch space for intermediate results that can be regenerated. The data must disappear automatically when the instance stops, with no cleanup step. Which storage type is the BEST fit?
Show the answer
Correct answerA. Ephemeral storage
AWhy this is right: Ephemeral storage is local to the instance, fast, and discarded automatically when the instance stops.
BWhy not this: Long-term storage is built for retention and archival, which is the opposite of data that must vanish with the instance.
CWhy not this: Object storage persists data durably and is accessed over an API, which is not local scratch space and does not auto-discard.
DWhy not this: Volume storage persists beyond the instance by default, so data would remain unless someone configures or performs deletion.
Ephemeral storage is tied to the instance lifecycle, gives low-latency local access, and is discarded when the instance stops, so no deletion step is needed. Volume storage persists independently and would need explicit deletion or a delete-on-termination setting.