EC2 - Security Group Basics Flashcards

1
Q

A security group is…

A

…a virtual firewall

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

1 instance can have how many security groups?

A

Multiple. Also, multiple instances can be one security group

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

If you change security group rules…

A

…changes take effect immediately

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

If you allow inbound rules (e.g. HTTP, HTTPS, SSH) but don’t allow outbound rules, will those outbound rules affect the request?

A

No; since security groups are stateful, the inbound requests will be allowed back out automatically

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

Can you deny traffic with a security group?

A

No, only allow rules are allowed

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

The default security group…

A

…allows all inbound and outbound traffic by default

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

By default, all inbound traffic is…

A

…blocked

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

By default, all outbound traffic is…

A

…allowed

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