EC2 Placement Groups Flashcards

1
Q

What is an EC2 Placement Group?

A

Placement Groups are logical groupings or clusters of instances in an AWS region

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

What are the three types of EC2 Placement Groups?

A
  • Clustered
  • Spread
  • Partitioned
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Clustered Placement Group?

A

A grouping of EC2 instances within a single availability zone

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

What is the recommended use case for a clustered placement group?

A
  • Apps that need low latency, high throughput, or both
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can any type of EC2 instance be launched into a placement group?

A

No, only certain instance types can be launched into a placement group.

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

What is a Spread Placement Group?

A
  • A group of EC2 instances that are placed on distinct underlying hardware.
  • Think individual instances
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the recommended use case for spread placement groups?

A
  • Apps with a small number of critical instances that should be kept separate from one another
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a Partitioned Placement Group?

A
  • EC2 divides each group into logical instances called partitions
  • Each partition within a placement group has its own set of racks
  • Each rack has its own network and power source
  • No two partitions within a placement group share the same racks, allowing you to isolate the impact of hardware failure within your application
  • Think multiple instances (per rack)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Can you have a clustered placement group spanning multiple AZs?

A

No

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

What are the namespace rules for EC2 Placement Groups?

A

The name you specify for a placement group must be unique within your AWS account

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

Can you put instances of different types in the same clustered placement group?

A

Yes, but AWS recommends against it.

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

Can you merge two placement groups?

A

No.

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

Can you move an existing EC2 instance into a placement group?

A

Yes, but before moving the instance, it must be in the stopped state, and you cannot do this using the AWS console

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

How, using the console, can I move an EC2 instance into a placement group?

A

You can’t yet

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

What is the limit on the number of running instances per AZ in a Spread Placement Group?

A

7

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

Can you move an existing EC2 instance into a placement group using the AWS CLI?

A

Yes, but before moving the instance, it must be in the stopped state.

17
Q

Can you move an existing EC2 instance into a placement group using the AWS SDK?

A
  • Yes, but before moving the instance, it must be in the stopped state.
18
Q

Can you move an existing EC2 instance into a placement group using the AWS Console?

A

No