EC2 - Solutions Architect Associate Level Flashcards

1
Q

Describe an Elastic IP (EIP)

A

An EIP is a public IPv4 IP you own and doesn’t change, as long as you own it.

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

Describe cluster placement groups, their pros/cons, and when they should be used

A

Clusters instances into a low-latency group within a single Availability Zone. This is high performance, but high risk.

Pros: Great network
Cons: If rack fails, all instances fail at the same time

Use for big data job that needs to complete fast, or app that needs extremely low latency and high network throughput.

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

Describe spread placement groups, their pros/cons, and when they should be used

A

Instances are spread across underlying hardware (max 7 instances per group per AZ)

Pros: Minimizes simultaneous failure risk. Can span across AZ. EC2 instances are on different physical hardware

Cons: Limit of 7 per AZ per placement group

Best for apps with high availability needed, or critical applications where failures must be isolated.

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

Describe partition placement groups, their pros/cons, and when they should be used

A

Spreads instances across many different partitions within an AZ. Scales to 100s of EC2 instances per group.

Pros: Distributed amongst many racks, so protected against rack failure. Can span multiple AZs. Up to 100s of EC2 instances.

Cons:

Best for large apps that can be partition aware. Big data applications.

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

Describe an Elastic Network Interface (ENI)

A

Logical component in a VPC that represents a virtual network card.

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

True of False:

Elastic Network Interfaces (ENI) are bound to a specific availability zone.

A

True.

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

Describe EC2 Hibernate and best use cases

A

Space is allocated on the root volume to store the instance memory (RAM). To use hibernation, the root volume must be an encrypted EBS volume.

Use cases: long-running processing, saving the RAM state, services that take time to initialize

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

What is EC2 Nitro?

A

The underlying platform for the next gen of EC2 instances. It has new virtualization technology, and allows for better performance.

Higher speed EBS IOPS - up to 64,000
(max 32,000 EBS IOPS on non-nitro)

+ better underlying security & better networking options

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

What type of instances are using EC2 Nitro?

A

Any virtualized instances are using nitro,..
a1, c5, c6, d3, g4, i3, m5
bare metal

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

When might you want to specify CPU options to decrease the number of CPU cores?

A

To decrease licensing costs where bill is based on the number of cores used.

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

When might you want to decrease the number of threads per core?

A

For high performance computing (HPC) workloads

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

Describe EC2 capacity reservations?

A

Reservations ensure you have capacity when it’s needed. Specifies AZ (only one), number of instances to reserve, and instance attributes.

Capacity access is immediate, you get billed as soon as it starts.

Can combine with reserved instances and savings plans for cost saving.

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

You have launched an EC2 instance that will host a NodeJS application. After installing all the required software and configured your application, you noted down the EC2 instance public IPv4 so you can access it. Then, you stopped and then started your EC2 instance to complete the application configuration. After restart, you can’t access the EC2 instance, and you found that the EC2 instance public IPv4 has been changed. What should you do to assign a fixed public IPv4 to your EC2 instance?

A

Allocate an elastic IP and assign it to your instance. Elastic IP is a public IPv4 that you own as long as you want and you can attach it to one EC2 instance at a time.

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

Spot Fleet is a set of Spot Instances and optionally…

A

On-demand instances.

Spot Fleet is a set of Spot Instances and optionally On-demand Instances. It allows you to automatically request Spot Instances with the lowest price.

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

You have an application performing big data analysis hosted on a fleet of EC2 instances. You want to ensure your EC2 instances have the highest networking performance while communicating with each other. Which EC2 Placement Group should you choose?

A

Cluster Placement Group

Cluster Placement Groups place your EC2 instances next to each other which gives you high-performance computing and networking.

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

You have a critical application hosted on a fleet of EC2 instances in which you want to achieve maximum availability when there’s an AZ failure. Which EC2 Placement Group should you choose?

A

Spread Placement Group

Spread Placement Group places your EC2 instances on different physical hardware across different AZs.

17
Q

True or False

Elastic Network Interface (ENI) can be attached to EC2 instances in another AZ.

A

False.

Elastic Network Interfaces (ENIs) are bounded to a specific AZ. You can not attach an ENI to an EC2 instance in a different AZ.

18
Q

True or False

To enable EC2 Hibernate, EC2 instance root volume type must be an EBS volume.

A

True.

To enable EC2 Hibernate, the EC2 Instance Root Volume type must be an EBS volume and must be encrypted to ensure the protection of sensitive content.