EC2 Flashcards

1
Q

What happens to the instance memory (RAM) when an EC2 instance is hibernated?

A

The contents are saved to the EBS root volume.

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

TRUE or FALSE?
When a hibernated EC2 instance is restarted it gets a new instance ID.

A

FALSE

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

What are the prerequisites for hibernating an EC2 instance? (5)

A
  • Hibernation enabled
  • Supported AMI (Linux)
  • EBS root volume (not instance store volume)
  • Root volume large enough to store RAM content
  • Root volume is encrypted
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does it mean to take a snapshot of an EC2 instance?

A

It creates a backup of the root or additionally attached volumes.

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

TRUE or FALSE?
The data on an instance store volume is lost if the instance is rebooted.

A

FALSE
Only if the instance is stopped, terminated, or there is a disk failure.

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

What’s the difference between a cluster and partition placement group?

A

A cluster placement group places the instances close together. A partition placement group spreads them out.

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

How many security groups can you assign to an EC2 instance?

A

Up to 5

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