passdrill
AWS SAA-C03 · EC2 & Compute · Card 012/024 medium

An engineer launches an EC2 instance using the AWS CLI's run-instances command, attaching one additional (non-root) EBS data volume in the same launch request, without explicitly setting DeleteOnTermination on that volume. Later, when the instance is terminated, what happens to that additional volume by default?

  1. It is preserved, because non-root volumes are never deleted automatically
  2. Its deletion behavior always matches whatever was chosen for the root volume
  3. It is preserved only if it was created from a snapshot
  4. It is deleted, because the CLI's default DeleteOnTermination behavior for a data volume attached at launch differs from the console's default
Next card → Shuffle