AWS Security Groups Flashcards

1
Q

What is the fundamental purpose of AWS Security Groups?

A) Managing AWS billing and cost optimization
B) Filtering incoming and outgoing traffic to AWS resources
C) Automating infrastructure deployment
D) Configuring DNS records for AWS services

A

Answer: B) Filtering incoming and outgoing traffic to AWS resources

Explanation: AWS Security Groups act as virtual firewalls, controlling inbound and outbound traffic to and from AWS resources like EC2 instances.

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

How are rules in an AWS Security Group applied?

A) Rules are evaluated from top to bottom, and the first matching rule is applied.
B) Rules are evaluated randomly to ensure fairness.
C) Rules are applied in alphabetical order.
D) All rules are applied simultaneously to all resources.

A

Answer: A) Rules are evaluated from top to bottom, and the first matching rule is applied.

Explanation: In an AWS Security Group, rules are evaluated in the order they are listed, and the first matching rule is applied to determine whether traffic is allowed or denied.

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