QuestionQ69

VerifiedDesign Solutions for Organizational Complexity

A company runs an application on Amazon EC2 instances. A solutions architect is designing VPC infrastructure in an AWS Region in which the application must access an Amazon Aurora DB Cluster. All EC2 instances are associated with the same security group, and the DB cluster has its own security group.

The solutions architect must add security-group rules that give the application least-privilege access to the DB Cluster.

Which combination of steps meets these requirements?

Choose two
Explanation

An EC2 security group needs an outbound rule that permits connections to the DB cluster security group only on Aurora’s database port. The DB cluster security group needs an inbound rule allowing that same port only from the EC2 instances’ security group. Security groups are stateful, so response traffic for an allowed connection is automatically permitted without a separate outbound rule on the DB cluster for ephemeral ports.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!