AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 62

A company's application development team uses Linux-based Amazon EC2 instances as bastion hosts. Inbound SSH access to the bastion hosts is restricted to specific IP addresses, as defined in the associated security groups. The company's security team wants to receive a notification if the security group rules are modified to allow SSH access from any IP address.
What should a DevOps engineer do to meet this requirement?

Answer options

Correct answer: C

Explanation

The correct answer is C because using AWS Config with the restricted-ssh managed rule specifically checks for compliance regarding SSH access restrictions in security groups. Options A and B do not directly monitor or enforce the security group settings as required, and Option D focuses on vulnerability assessment rather than compliance monitoring.