Courseiva
TechnologyhardMultiple ChoiceObjective-mapped

PAS-C01 Technology Practice Question

Network Topology
$ aws ec2 describe-instancesinstance-ids i-1234567890abcdef0query 'Reservations[0].Instances[0].BlockDeviceMappings'Refer to the exhibit."DeviceName": "/dev/xvda","Ebs": {"AttachTime": "2024-01-15T10:00:00.000Z","DeleteOnTermination": true,"Status": "attached","VolumeId": "vol-0abc123def4567890"},"DeviceName": "/dev/sdf","AttachTime": "2024-01-15T10:05:00.000Z","DeleteOnTermination": false,"VolumeId": "vol-0def456abc1237890"

The exhibit shows the block device mapping of an EC2 instance running SAP HANA. The root volume (/dev/xvda) has DeleteOnTermination set to true, and the data volume (/dev/sdf) has DeleteOnTermination set to false. If the instance is terminated, what happens to the data volume?

⚠ Common exam trap

A common mix-up: candidates assume all volumes attached to an instance are deleted on termination, ignoring the specific DeleteOnTermination flag, or they confuse the behavior with instance store volumes which are always ephemeral.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Only the root volume is deleted; the data volume remains.

The DeleteOnTermination attribute controls whether a volume is deleted when its associated EC2 instance is terminated. For the root volume (/dev/xvda), this attribute is set to true, so it will be deleted upon termination. For the data volume (/dev/sdf), it is set to false, meaning the volume will be detached from the instance and preserved in your AWS account, allowing you to reattach it to another instance or take snapshots. Therefore, only the root volume is deleted, and the data volume remains.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Only the data volume is deleted; the root volume remains.

    Why it's wrong here

    Root volume is deleted; data volume is not.

  • Both volumes are detached and moved to Amazon S3.

    Why it's wrong here

    Volumes are not moved to S3; they remain as EBS volumes.

  • Both volumes are deleted.

    Why it's wrong here

    Root volume is deleted, but data volume is not.

  • Only the root volume is deleted; the data volume remains.

    Why this is correct

    The data volume's DeleteOnTermination is false, so it persists.

About these practice questions

Courseiva writes every PAS-C01 question from scratch — 1,616 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PAS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PAS-C01 exam.