#5 Elastic Compute Cloud (EC2) Basics Flashcards

1
Q

What are the three main states of EC2 instances?

A
  1. Running
  2. Stopped
  3. Terminated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

C. The instance will remain failed until at least when the AZ recovers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

D. No but an AMI can be created from an instance and used to provision a clone in another AZ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

F. When maximum consistent IOPS is a priority and data is important

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

IO1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

A

D. 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

D. No, only instances in the same AZ as the volume

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

B. For replaceable data
C. For temporary data
D. For max IO

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

C. On-demand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly