Bird
0
0

You want to create a custom AMI that includes your application and data from an EBS volume attached to your instance. Which step is essential to ensure the data is included in the AMI?

hard📝 Application Q8 of 15
AWS - EC2 Fundamentals
You want to create a custom AMI that includes your application and data from an EBS volume attached to your instance. Which step is essential to ensure the data is included in the AMI?
ADetach the EBS volume before creating the AMI
BCreate a snapshot of the EBS volume separately after AMI creation
CCreate the AMI while the instance is running and the EBS volume is attached
DStop the instance and then create the AMI
Step-by-Step Solution
Solution:
  1. Step 1: Understand AMI creation with attached volumes

    When creating an AMI, all attached EBS volumes are included if the instance is running.
  2. Step 2: Clarify detaching or stopping effects

    Detaching volumes excludes them; stopping instance is optional but not required to include data.
  3. Final Answer:

    Create the AMI while the instance is running and the EBS volume is attached -> Option C
  4. Quick Check:

    Attached volumes included if instance running during AMI creation [OK]
Quick Trick: Keep EBS attached and instance running to include data in AMI [OK]
Common Mistakes:
  • Detaching volumes before AMI
  • Assuming stopping instance is required
  • Creating separate snapshots only

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes