EC2 Fundamentals Flashcards

1
Q

How can you bootstrap (automate boot tasks) an EC2 instance?

A

EC2 user data script

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

What are the compute, memory, and networking characteristics of a general purpose EC2 instance?

A

Balance of compute, memory, and networking (Good for web servers/code repositories)

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

What workloads would be appropriate for a compute optimized EC2 instance?

A

Tasks that require high performance processors:
- Batch processing
- High performance computing/web servers
- Data science/machine learning

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

What workloads would be appropriate for a memory optimized EC2 instance?

A

Tasks that require processing large data sets in memory:
- Databases
- Cache stores
- Real-time processing of data

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

What workloads would be appropriate for a storage optimized EC2 instance?

A

Tasks that require high sequential read/write on local storage:
- High frequency online transaction processing (OLTP)
- Databases
- Cache
- Data warehousing
- Distributed file systems

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

What 2 references can be used within a security group?

A
  1. IP address
  2. Other security group
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Can you use a security group to explicitly deny traffic using security groups?

A

No, they can only contain allow rules.

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

True or False (and why): Security groups are a global service.

A

False, security groups are defined for a specific region/VPC combination.

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

What is a good hint that an issue is being caused by a security group?

A

Application isn’t accessible due to a ‘time out’ error.

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

What is a good hint that an issue is not caused by a security group?

A

Application isn’t accessible due to a ‘connection refused’ error.

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

What is the default for inbound traffic?

A

Deny

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

What is the default for outbound traffic?

A

Allow

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

What purpose do the following ports serve?
1. 22
2. 21
3. 80
4. 443
5. 3389

A
  1. SSH and SFTP
  2. FTP
  3. HTTP
  4. HTTPs
  5. RDP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How long can you reserve an EC2 Reserved Instance?

A

1 or 3 years

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