#5 Elastic Compute Cloud (EC2) Basics Flashcards
What are the three main states of EC2 instances?
- Running
- Stopped
- Terminated
What is true of instance store volumes?
A. They are persistent storage
B. They are temporary (ephemeral) storage
C. Data stored on them can be lost when an EC2 instance stops and starts
D. Data stored on them can be lost when an EC2 instance restarts
F. Data stored on them can be lost if a hardware failure occurs
B. They are temporary (ephemeral) storage
C. Data stored on them can be lost when an EC2 instance stops and starts
F. Data stored on them can be lost if a hardware failure occurs
If the AZ which an EC2 instance is running in fails, what happens to the instance?
A. It recovers in another AZ
B. It recovers in another region
C. The instance will remain failed until at least when the AZ recovers
D. It continues running, instances are high availability by design
C. The instance will remain failed until at least when the AZ recovers
Can an EC2 instance be migrated between AZs?
A. Yes its supported via the UI and CLI
B. Yes, only via the CLI
C. No it is not possible
D. No but an AMI can be created from an instance and used to provision a clone in another AZ
D. No but an AMI can be created from an instance and used to provision a clone in another AZ
What kind of use-case suits using IO1 EBS volumes?
A. When archival storage is required
B. When cheap storage is required
C. When throughput is priority
D. When cost effective IOPS is a priority
F. When maximum consistent IOPS is a priority and data is important
F. When maximum consistent IOPS is a priority and data is important
If you need to be able to specify performance requirements (IOPS) independent of volume size, which volume type should you choose?
A. ST1
B. SC1
C. GP2
D. IO1
IO1
How many instances can a GP2 volume be attached to at the same time?
A. 1 per AZ
B. 2 per AZ
C. 2 in one AZ
D. 1
D. 1
Can EBS volumes be attached to instances in any AZ?
A. Yes
B. Yes, assuming they are SSD volumes
C. Yes if regional volumes are created
D. No, only instances in the same AZ as the volume
D. No, only instances in the same AZ as the volume
When should instance store volumes be used?
A. For important data
B. For replaceable data
C. For temporary data
D. For max IO
E. For maximum resilience
F. Only if cost isn’t a priority
B. For replaceable data
C. For temporary data
D. For max IO
If you have a short term workload which needs the cheapest EC2 pricing but can’t tolerate interruption, which billing model should you pick?
A. Reserved
B. Spot
C. On-demand
C. On-demand