0
0
AWScloud~20 mins

Instance states (running, stopped, terminated) in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
EC2 Instance State Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
What is the state of an AWS EC2 instance immediately after you stop it?
You have an AWS EC2 instance running. You issue a stop command to it. What will be the instance state right after the stop command completes successfully?
Aterminated
Bpending
Cshutting-down
Dstopped
Attempts:
2 left
💡 Hint
Think about what 'stop' means compared to 'terminate'.
🧠 Conceptual
intermediate
2:00remaining
Which instance state means the instance is permanently deleted and cannot be restarted?
AWS EC2 instances have several states. Which state indicates the instance is permanently deleted and cannot be restarted or recovered?
Aterminated
Bstopped
Crunning
Dpending
Attempts:
2 left
💡 Hint
Consider which state means the instance no longer exists.
Architecture
advanced
2:00remaining
What happens to the instance's EBS root volume when an instance is terminated?
You terminate an EC2 instance that uses an EBS root volume. What is the default behavior of the root EBS volume after termination?
AThe root EBS volume is detached but retained
BThe root EBS volume remains attached and running
CThe root EBS volume is deleted automatically
DThe root EBS volume is converted to an S3 bucket
Attempts:
2 left
💡 Hint
Think about default cleanup behavior for root volumes on termination.
security
advanced
2:00remaining
Which instance state prevents you from connecting via SSH but still allows you to modify instance attributes?
An EC2 instance is in a state where you cannot connect to it via SSH, but you can still change its instance type or security groups. Which state is this?
Astopped
Brunning
Cterminated
Dshutting-down
Attempts:
2 left
💡 Hint
Think about when the instance is powered off but still exists.
Best Practice
expert
3:00remaining
You want to ensure your EC2 instance data persists after stopping and starting the instance. Which storage and instance state combination guarantees this?
Select the combination of instance state and storage type that ensures your data remains intact after stopping and starting an EC2 instance.
AInstance terminated with EBS root volume
BInstance stopped with EBS root volume
CInstance stopped with instance store root volume
DInstance running with instance store root volume
Attempts:
2 left
💡 Hint
Instance store volumes lose data when stopped or terminated.