EC2 Placement Groups Flashcards

1
Q

What are the three types of Placement Groups?

A

Cluster, Spread and Partition

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

What’s the primary goal of Cluster placement groups?

A

To ensure that EC2 instances are physically close together

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

What are the two performance benefits of Cluster placement groups?

A

Higher speeds and lower latency

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

Can you configure which AZ a Cluster placement group is deployed into?

A

No.

AWS decides the AZ at launch time, based on the first instance that’s launched.

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

How do you change the AZ that a Cluster placement group is in?

A

You can’t. Once the first VM is deployed, its placement group is locked to that single AZ.

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

How many AZs can a Cluster placement group span?

A

One.

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

What is the maximum data transfer rate between hosts in a Cluster placement group, and how is this limit expressed?

A

It is 10 Gbps per 5-tuple (also known as single-stream). This is double the normal limit of 5 Gbps.

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

Is it possible to span a Cluster placement group across VPC peers, and if so, what impact does it have?

A

Yes. But doing so impacts performance.

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

Cluster placement groups must use ………… instance types

A

Supported

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

Can you use mixed EC2 instance types within in a Cluster placement group.

A

Yes, but it is recommended to use the same instance type for all members.

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

What is the recommended way to launch instances in a Cluster placement group? Why is this?

A

It is strongly recommended to launch all instances at the same time.

This allows AWS to choose hardware that has room for all of your instances.

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

What’s the primary goal of Spread placement groups?

A

To provide infrastructure isolation, spreading your instances across distinct underlying hardware to reduce correlated failures.

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

How do Spread placement groups achieve their goal?

A

By running each instance from a different rack, with each rack having its own network and power source.

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

With Spread placement groups, there is a max limit of …… instances per ……….

A

Max of 7 instances per AZ.

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

Spread placement groups <can|cannot> span multiple AZs?

A

They can.

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

What class of instances are NOT supported in Spread placement groups?

A

Dedicated instances and Dedicated hosts are not supported. Only shared instances are supported.

17
Q

What is the typical use case for Spread placement groups?

A

Critical workloads that require high availability and reliability.

18
Q

What is the ideal placement group type for critical workloads that require high availability and reliability?

A

Spread placement groups.

19
Q

How do Partition placement groups achieve their goal?

A

Instances are placed into partitions, which have their own power and network connectivity. If there’s a failure in one partition, only the instances within that partition will be affected.

20
Q

In a Partition placement group, what determines which partition an instance is placed into?

A

The user can choose, or AWS can auto-assign.

21
Q

What is the typical use case for Partition placement groups?

A

Large distributed and replicated workloads, such as big data applications or large-scale distributed databases. Think HDFS, HBase, Cassandra.

22
Q

What is the ideal placement group type for large distributed and replicated workloads, such as big data applications or large-scale distributed databases?

A

Partition placement groups.

23
Q

What is the ideal placement group type for HDFS, HBase or Cassandra?

A

Partition placement groups.