EC2 Flashcards

1
Q

What is the maximum number of EC2 instances that can be attached to a EBS Multi-Attach volume (io family)

A

16

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

What is EBS Multi-Attach?

A

A feature that lets you attach one io1 or io2 EBS volume to multiple EC2 instances in the same availability zone

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

Can you use EBS Multi-Attach to attach volumes across availability zones?

A

No

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

What is the EBS Instance Store?

A

Short-lived (ephemeral) storage available on the same host as a running EC2 instance. Ideal for cached data or scratch areas.

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

What is an AMI?

A

Amazon Machine Image

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

What EBS volume type has the highest performance?

A

io1 & io2 block express

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

What is the general purpose SSD EBS volume type?

A

gp2 & gp3

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

What EBS volume type is best for less frequently accessed data?

A

sc1 (HDD)

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

What EBS volume types can be used as boot volumes?

A

gp2, gp3, io1 & io2 (any SSD)

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

What is the best EBS volume type for database workloads that require high performance?

A

io1 or io2

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

What is EFS?

A

Elastic File System - managed network file system that can be mounted on many EC2 instances across availability zones. Is about 3x more expensive than gp3

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

What is a use case of EFS?

A

Content management, web serving, data sharing

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

How is access to an EFS managed?

A

A security group

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

What operating systems can EFS be used with?

A

Linux based only

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

What are the two main storage tiers for EFS?

A

Standard (for frequently accessed files) and Infrequent Access. A policy can be created to automatically move files to the IA tier to help save money

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

Can you configure a EFS for just one AZ (availability zone)?

A

Yes, this could be useful for development compared to production

17
Q

What are the three main throughput modes for EFS?

A

Enhanced Elastic (best for workloads with unpredictable IO). Bursting (throughput scales with amount of storage). Provisioned (best when you can estimate workload in advance).

18
Q

What does EBS stand for?

A

Elastic Block Storage

19
Q

How do you migrate an EBS volume across AZ?

A

Take a snapshot, restore the snapshot to another AZ

20
Q

Can you use an AMI from one region to create an instance in a different region?

A

No

21
Q

You are running a high-performance database that requires an IOPS of 310,000 for its underlying storage. What do you recommend?

A

EC2 Instance Store (because io2 has a max IOS of about 250,000)

22
Q

Which EC2 Purchasing Option can provide you the biggest discount, but it is not suitable for critical jobs or databases? Dedicated hosts, Spot instances or Convertible reserved instances?

A

Spot instances

23
Q

How long can you reserve an EC2 Reserved Instance?

A

1 OR 3 years

24
Q

What is IMDS?

A

Instance MetaData Service

25
Q

How can you use MFA with the AWS CLI?

A

Call the STS GetSessionToken API

26
Q

What happens if you don’t specify or configure a default region when using the AWS SDK?

A

us-east-1 will be chosen by default

27
Q
A