EC2 Flashcards

1
Q

Pricing Options - On Demand

A

Pay by the hour or second

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

Pricing - Spot

A

Purchased unused capacity at a a discount of up to 90%

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

Reserved Instances

A

Reserved capacity for known fixed requirements. Up to 72% discount

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

Dedicated

A

A physical EC2 server dedicated for your use

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

When granting permissions for EC2 instances, you should always groups

A

True

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

Secret Access Key

A

Only see this once. If you lose, you’ll have to regenerate

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

Using Roles

A

The preferred option from a security perspective

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

Policies

A

Controls a role’s permissions

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

Updating a policy attached to a role takes effect immediately

A

True

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

You can attach and detach roles running EC2 instances withouth having to stop/terminate them

A

True

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

All inbound traffic is blocked by default in a security group

A

True

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

All outbound traffic is blocked by default in a security group

A

False

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

Bootstrap Scripts

A

A script that runs the instance first runs

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

User Data vs Metadata

A

User data is your bootstrap scripts

Metadata is data about your EC2 instances

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

Netowrking - When would you need an ENI

A

Elastic Network Interface - for basic networking.

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

Networking - when to use Enhanced Networking?

A

For when you need reliable, high throughput (> 10 Gbps)

17
Q

Networking - when to use EFA?

A

For when you need to accelerate High Performance Computing or ML

18
Q

Placement Group

A

A logical grouping of EC2 Instances

19
Q

Cluster Placement Group

A

Low network latency, high network throughput

20
Q

Spread Placement Groups

A

Individual critical EC2 Instances

21
Q

Partition Placement Groups

A

Multiple EC2 instances, HDFS, Cassandra, HBase

22
Q

A cluster placement group can span multiple AZs

A

False

23
Q

Before moving an existing instance to a placement group, the instance must be…

A

…in the stopped state