ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 316 - SAA-C03 discussion

Report
Export

A solutions architect is designing a two-tiered architecture that includes a public subnet and a database subnet. The web servers in the public subnet must be open to the internet on port 443. The Amazon RDS for MySQL D6 instance in the database subnet must be accessible only to the web servers on port 3306.

Which combination of steps should the solutions architect take to meet these requirements? (Select TWO.)

A.
Create a network ACL for the public subnet Add a rule to deny outbound traffic to 0 0 0 0/0 on port 3306
Answers
A.
Create a network ACL for the public subnet Add a rule to deny outbound traffic to 0 0 0 0/0 on port 3306
B.
Create a security group for the DB instance Add a rule to allow traffic from the public subnet CIDR block on port 3306
Answers
B.
Create a security group for the DB instance Add a rule to allow traffic from the public subnet CIDR block on port 3306
C.
Create a security group for the web servers in the public subnet Add a rule to allow traffic from 0 0 0 O'O on port 443
Answers
C.
Create a security group for the web servers in the public subnet Add a rule to allow traffic from 0 0 0 O'O on port 443
D.
Create a security group for the DB instance Add a rule to allow traffic from the web servers' security group on port 3306
Answers
D.
Create a security group for the DB instance Add a rule to allow traffic from the web servers' security group on port 3306
E.
Create a security group for the DB instance Add a rule to deny all traffic except traffic from the web servers' security group on port 3306
Answers
E.
Create a security group for the DB instance Add a rule to deny all traffic except traffic from the web servers' security group on port 3306
Suggested answer: B, C

Explanation:

Security groups are virtual firewalls that protect AWS instances and can be applied to EC2, ELB and RDS1. Security groups have rules for inbound and outbound traffic and are stateful, meaning that responses to allowed inbound traffic are allowed to flow out of the instance2. Network ACLs are different from security groups in several ways. They cover entire subnets, not individual instances, and are stateless, meaning that they require rules for both inbound and outbound traffic2. Network ACLs also support deny rules, while security groups only support allow rules2. To meet the requirements of the scenario, the solutions architect should create two security groups: one for the DB instance and one for the web servers in the public subnet. The security group for the DB instance should allow traffic from the public subnet CIDR block on port 3306, which is the default port for MySQL3. This way, only the web servers in the public subnet can access the DB instance on that port. The security group for the web servers should allow traffic from 0 0 0 O'O on port 443, which is the default port for HTTPS4. This way, the web servers can accept secure connections from the internet on that port.



asked 16/09/2024
Leon Duke
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first