Courseiva

SOA-C02 Reliability and Business Continuity Practice Question

A SysOps administrator wants to back up an Amazon EBS volume that is attached to an EC2 instance running a production database. The backup must be crash-consistent and should not cause any downtime. Which TWO steps should the administrator take? (Choose two.)

⚠ Common exam trap

Many exam-takers think stopping the instance or detaching the volume is necessary for a crash-consistent backup, but AWS allows crash-consistent snapshots without downtime by freezing the filesystem and flushing I/O operations.

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

✓

Take a snapshot of the EBS volume after freezing.

Taking a snapshot after freezing the filesystem ensures that the snapshot captures a crash-consistent state of the EBS volume. Option E is correct because using a tool like fsfreeze flushes all pending I/O operations and freezes the filesystem, which prevents data inconsistencies without stopping the EC2 instance or detaching the volume.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Stop the EC2 instance before taking the snapshot.

    Why it's wrong here

    Stopping the EC2 instance is a valid but unnecessarily heavy way to make a consistent snapshot, since it forces all processes to terminate and removes the instance from production for the entire backup window. This causes avoidable downtime for any service being served. Using a filesystem freeze achieves the same crash-consistent snapshot while keeping the instance fully online, so stopping is not the correct approach.

  • ✗

    Take a snapshot directly from the attached volume without any preparation.

    Why it's wrong here

    Taking a snapshot directly from an attached, active volume without any preparation does not guarantee consistency. The filesystem's page cache may hold recently written blocks that have not yet reached the disk, and in-flight I/O can leave the snapshot with a mix of old and new data. This can produce a corrupted or incomplete backup when restored, especially for filesystems that require journal replay to reach a valid state.

  • ✗

    Detach the volume from the instance before taking a snapshot.

    Why it's wrong here

    Detaching the volume before snapshotting forces a filesystem unmount, which is itself a form of downtime and can fail if the filesystem is busy or the application holds open files. For a root volume, detaching is impossible while the instance is running and would require a full stop, defeating the purpose of an online backup. This approach adds operational risk and is entirely unnecessary because a properly frozen filesystem on a running instance yields a safe snapshot.

  • ✓

    Take a snapshot of the EBS volume after freezing.

    Why this is correct

    Taking a snapshot immediately after freezing the filesystem ensures the on-disk state is a stable, point-in-time representation. The freeze command flushes all dirty buffers and suspends new write operations, so the snapshot includes every block in a coherent relationship with the filesystem journal. This produces a crash-consistent backup without any interruption to the instance or application, making it the recommended backup method.

  • ✓

    Freeze the filesystem and flush I/O operations using a tool like fsfreeze.

    Why this is correct

    fsfreeze (or xfs_freeze on XFS) suspends all new filesystem access, flushes pending writes and metadata, and leaves the volume in a state that exactly matches what a power loss would produce. After the snapshot completes, unfreezing resumes normal I/O operations seamlessly. This is the standard Linux practice for obtaining a reliable, crash-consistent EBS snapshot from a mounted volume without restarting or stopping services.

About these practice questions

One of 1,169 original SOA-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 SOA-C02 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 SOA-C02 exam.