EC2 Flashcards

1
Q

Persistent storage

A

EBS volumne

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

Temporary storage

A

Instance store
Physically attached to EC2 instance

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

What do you need in order to have a static IPv4 address?

A

An elastic IP address

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

ENI

A

Elastic network interface
Virtual network card for EC2 instance
Used by interface endpoints

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

Advantages of a placement group

A

Minimize correlated failures
Lower network latency
Achieve high throughput

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

What is a placement group

A

A group of interdependent instances

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

Cluster Placement Group

A

Packs instances close together inside an AZ
Low latency (think HPC)
Recommended when the majority of network traffic is between instances (tightly coupled node-to-node communication)
Can span peered VPCs within same region

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

Partition Placement Group

A
  • Instances in one partition do not share the underlying hardware with instances in different partitions
  • Used by large distributed and replicated workloads such as Hadoop, Cassandra, and Kafka
  • Maximum of 7 partitions per AZ
  • Can span multiple AZ in the same region
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Spread Placement Group

A
  • Puts instances on different racks to reduce correlated failures
  • Can span multiple AZ in same region. Cannot span regions.
  • Max of 7 instances per AZ per group
  • Can span multiple AZ in the same region
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Elastic Inference Accelerators

A

Enable customers to attach low-cost GPU-powered acceleration to EC2 and Sagemaker

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

Dedicated Host

A
  • Per host billing
  • Provides visibility on the number of sockets and physical cores
  • Allows you to deploy your instances to the same physical server over time
  • Provides additional visibility and control over how instances are placed
  • Bring Your Own License (BYOL)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

User data

A

Commands that are executed when an EC2 instance launches

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

Security Groups

A

Operate at the instance layer
Firewalls for the instance
Control inbound and outbound traffic
If an AWS service involves instances, it also supports security groups

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

Security Groups

A

Operate at the instance layer
Firewalls for the instance
Control inbound and outbound traffic
If an AWS service involves instances, it also supports security groups

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

Nitro-based instances

A

Bare metal capabilities that eliminate virtualization overhead and support workloads that provide full acesss to host hardware
Can support 64K IOPS per EBS provisioned IOPS volume compared to 32K for other instance types

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

EBS Provisioned IOPS

A

Highest performing EBS volumes designed for critical I/O intensive applications
Ideal for IOPS-intensive and throughtput-intensive workloads that require extremely low latency

17
Q

Dedicated Instances

A

Pay‬‭ by‬‭ the‬‭ hour‬‭ for‬‭ instances‬‭ that‬‭ run‬‭ on‬‭ single-tenant‬‭ hardware.‬‭
Dedicated‬ Instances‬‭ that‬‭ belong‬‭ to‬‭ different‬‭ AWS‬‭ accounts‬‭ are‬‭ physically‬‭ isolated‬‭ at‬‭ a‬‭ hardware‬‭ level.‬‭
No visibility into number of sockets or physical cores
‭Can’t BYOL (bring your own license)

18
Q

Placement Group Limitations

A
  • Can’t merge placement groups
  • An instance cannot span multiple placement groups
  • Cannot launch Dedicated Hosts in placement groups
  • Placement groups can’t span multiple AZs
19
Q

What does an IAM role do for your instance?

A

Gives it permission to interact with other AWS resources