AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 43

A company has deployed a critical application on a fleet of Amazon EC2 instances behind an Application Load Balancer. The application must always be reachable on port 443 from the public internet. The application recently had an outage that resulted from an incorrect change to the EC2 security group.
A network engineer needs to automate a way to verify the network connectivity between the public internet and the EC2 instances whenever a change is made to the security group. The solution also must notify the network engineer when the change affects the connection.
Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Option D is correct because it appropriately uses the VPC Reachability Analyzer to check connectivity from the internet gateway to the EC2 instances and includes notifications through Amazon SNS and an AWS Lambda function for automation. Option A and B focus on flow logs which do not provide proactive monitoring and alerts on security group changes. Option C, while it uses Reachability Analyzer, incorrectly specifies the security group as the source instead of the internet gateway, which is necessary for this scenario.