AWS Certified Solutions Architect – Professional (SAP-C02) — Question 84

A company has an application that runs on Amazon EC2 instances. A solutions architect is designing VPC infrastructure in an AWS Region where the application needs to access an Amazon Aurora DB Cluster. The EC2 instances are all associated with the same security group. The DB cluster is associated with its own security group.

The solutions architect needs to add rules to the security groups to provide the application with least privilege access to the DB Cluster.

Which combination of steps will meet these requirements? (Choose two.)

Answer options

Correct answer: B, C

Explanation

The correct answer is B and C. Option B allows the EC2 instances to initiate connections to the DB cluster by permitting outbound traffic to the DB cluster's security group. Option C ensures that the DB cluster can accept inbound traffic from the EC2 instances, allowing the application to interact with the database. The other options either do not provide the necessary access or are incorrectly configured for the intended communication flow.