EC2 - Security Group Basics Flashcards
1
Q
A security group is…
A
…a virtual firewall
2
Q
1 instance can have how many security groups?
A
Multiple. Also, multiple instances can be one security group
3
Q
If you change security group rules…
A
…changes take effect immediately
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
5
Q
Can you deny traffic with a security group?
A
No, only allow rules are allowed
6
Q
The default security group…
A
…allows all inbound and outbound traffic by default
7
Q
By default, all inbound traffic is…
A
…blocked
8
Q
By default, all outbound traffic is…
A
…allowed