EC2 Flashcards

1
Q

What is the difference between Elastic Load Balancer and Auto-Scaling Groups

A

Elastic Load Balancer distributes traffic across deployments and Auto-Scaling Groups add or remove deployments based on parameters such as workload.

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

What is the naming convention AWS uses for EC2 Instance Types

A

[instance class][generation].[size] (example; m5.2xlarge)

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

Which instance type would be best suited for a batch processing workload?

A

Compute Optimized

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

Which instance type would be best suited for media transcoding?

A

Compute Optimized

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

Which instance type would be best suited for a high performance web server?

A

Compute Optimized

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

Which instance type would be best suited for dedicated gaming servers?

A

Compute Optimized

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

Which instance type would be best suited for scientific modeling and machine learning?

A

Compute Optimized

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

Which instance type would be best suited for an application performing real time processing of big data?

A

Memory Optimized

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

Which instance type would be best suited for an online transaction processing (OLTP) system?

A

Storage Optimized

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

Which instance type would be best suited for a data warehousing application?

A

Storage Optimized

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

If a request to an application times out, what is the most likely issue?

A

A security group blocked the request.

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

If a request to an application gives a “connection refused” error, what is the most likely issue?

A

Application error or application did not launch.

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

What are the default settings of a security group for inbound and outbound traffic?

A

All inbound traffic is denied and all outbound traffic is allowed.

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

What is the effect of referencing Security Group B inside of Security Group A?

A

Security Group A will allow traffic from any resource that is using Security Group B.

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

Secure file transfers and secure shells use which port?

A

22

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

Remote Desktop Protocol uses which port and allows you to do what?

A

Port 3389. Log into a Windows instance.

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

How long can you reserve a Reserved Instance for?

A

1 OR 3 years.

18
Q

What are the three payment options for Reserved Instances?

A

No Upfront, Partial Upfront, All Upfront.

19
Q

What purchase option would be suited for an application that has a complicated licensing model?

A

EC2 Dedicated Host

20
Q

What purchase option gives a physical server that is fully dedicated to your instance alone and also is the most expensive option.

A

EC2 Dedicated Host

21
Q

What purchase option allows many instances on the same account to run on hardware that’s dedicated to you?

A

EC2 Dedicated Instances

22
Q

What purchase option is suitable for jobs where its acceptable for it to fail from time to time.

A

Spot Instances

23
Q

EBS Volumes are bound to what?

A

Availability Zones

24
Q

EBS Volumes are what kind of drive?

A

Network drive

25
Q

How would you move a volume across availability zones?

A

Create a snapshot and copy the snapshot into the new availability zone. Then, create an EBS Volume from the snapshot in the new AZ.

26
Q

When setting up retention rules, what is the retention period for deleted snapshots?

A

1 day to 1 year.

27
Q

A better I/O performing disk that attaches to an EC2 at the hardware level is called what?

A

EC2 Instance Store

28
Q

What EBS Volume Type is the most cost effective with relatively low latency?

A

GP2 or GP3

29
Q

What EBS Volume Type has the highest performance with low latency and high-throughput?

A

io1 or io2

30
Q

What EBS Volume Type is a low cost solution for throughput-intensive workloads?

A

st1

31
Q

What EBS Volume Type has the lowest cost but is so low performing its best suited for less frequent workloads?

A

sc1

32
Q

What EBS Volume Type is suited for business applications with sustained IOPS performance or applications that need more than 16000 IOPS?

A

io1 or io2

33
Q

Which EBS Volume Types cannot be used as boot volumes?

A

st1 and sc1 (HDD)

34
Q

Which EBS Volume Type would offer the beast throughput at the lowest cost for a Big Data project or Data Warehouse?

A

st1

35
Q

Which family of EBS Volumes supports Multi-attach, the ability to attach to more than one instance at a time in the same AZ?

A

io1/io2

36
Q

How many EC2 Instances can be multi-attached to an io1/io2 at a time?

A

16

37
Q

What service allows you to attach a highly available and scalable network file system to many EC2s across multiple AZs at a higher cost?

A

Elastic File System (EFS)

38
Q

What do you use to control access to EFS?

A

Security Groups

39
Q

For a content management system to serve web pages, like Wordpress, what storage service is an optimal solution?

A

Elastic File System (EFS)

40
Q

EFS is compatible with which AMIs?

A

It is a POSIX file system which means Linux based only. No Windows support.

41
Q

What are the EFS performance modes and their use cases?

A

General Purpose for lower latency use cases. Max I/O for higher throughput but lower latency (big data, media processing)

42
Q

What are the EFS storage tiers when a life-cycle policy is enabled?

A

Standard is the default storage tier for frequently accessed files. When a lifecycle policy is enabled, if a file is not accessed for a specified amount of time, it is moved to Infrequent Access (EFS-IA) which costs more to retrieve, but less to store.