EC2 - Placement Groups Flashcards

1
Q

What are Placement Groups?

A

They allow you to control the placement strategy of EC2 Instances

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

List the three types of Placement Groups?

A

Cluster
Spread
Partition

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

What is a Cluster placement group?

A

It compiles instances into a low-latency group in a single AZ

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

What are the pros of a Cluster placement group?

A

Low latency between instances and high bandwidth

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

What are the cons of a Cluster placement group?

A

If the AZ fails, all instances fail at the same time

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

Name two use cases for a Cluster placement group?

A
  1. Big Data jobs that need to be completed fast.
  2. Applications that need extremely low latency and high network throughput/
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a Spread placement group?

A

Instances are spread across multiple hardware that span multiple AZ’s.

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

What are the pros of Spread placement groups?

A

Reduced risk of simultaneous failure as the instances are spread out.

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

What are the cons of Spread placement groups?

A

You are limited to 7 instances per AZ per placement group.

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

Name two use cases for a Spread placement group?

A
  1. Applications that need to maximise high availability.
  2. Critical applications where each instance must be isolated from potential failures of other instances.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are Partition placement groups?

A

Instances are spread across multiple partitions. Partitions represent a rack within an AZ.

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

How many partitions can be setup per AZ?

A

Up to 7

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

True or False? Partitions are locked to a single AZ.

A

False. Partitions can span across multiple AZs within the same region.

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

How are instance failures reduced by using a Partition placement group?

A

Failure of a partition doesn’t affect another partition. The hardware in each partition isn’t shared with other racks.

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

How many instances can be run by using a Partition placement group?

A

Up to 100s of EC2 Instances.

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

What are the cons of using a Partition placement group?

A

A partition failure can affect many EC2 instances. However this won’t affect other partitions.

17
Q

What is a use case for using a Partition placement group?

A

Big data applications e.g. Kafka