Section 5: EC2 Fundamentals Flashcards

1
Q

Which OS does EC2 support?

A

Linux, Window, Mac

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

What is bootstrapping?

A

Launching one-time commands when the machine starts

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

Can you attach a security group to multiple EC2 instances?

A

Yes

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

Can you attach a security group to an EC2 instance in a different region?

A

No

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

What is port 22 for?

A

SSH (Secure Shell) - logging into a linux instance
SFTP (Secure File Transfer protocol

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

What is port 21 for?

A

FTP (File Transfer Protocol)

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

What is port 80 for?

A

HTTP - access to unsecured websites

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

What is port 443 for?

A

HTTPS - access to secure websites

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

Which port is for RDP (remote desktop protocol)?

A

3389

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

Which EC2 instance purchasing option allows you to launch instances without any upfront payment and pay for compute capacity by the second?

A

On-Demand Instances

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

Which EC2 instance purchasing option provides the highest discount, but requires a 1- or 3-year commitment?

A

Reserved Instances

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

Which EC2 instance purchasing option is best suited for applications with steady-state or predictable usage patterns?

A

Reserved Instances

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

Which EC2 instance purchasing option provides the ability to bid on unused EC2 capacity, allowing you to potentially lower your costs for running applications?

A

Spot Instances

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

Which EC2 instance purchasing option is recommended for short-term, spiky, or unpredictable workloads?

A

Spot Instances

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

What controls traffic in and out of EC2 instances?

A

Security Groups

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

How long can you reserve an EC2 instance?

A

1 to 3 years