Question

Difficulty: HardSecurity Monitoring and Threat Detection

A media streaming company hosts its transcoding fleet on Amazon EC2 instances inside a private subnet. The security team needs to ensure that all network interfaces adhere strictly to corporate security standards. Specifically, they must detect any modifications that open restricted ports to unauthorized CIDR blocks, automatically flag these instances as non-compliant, and immediately notify the security operations center. Which combination of AWS services should the solutions architect recommend to implement this security monitoring system? (Select TWO.)

  1. Enable AWS Config and configure the restricted-common-ports managed rule to evaluate whether security groups are blocking restricted port traffic.Answer
  2. Create an Amazon EventBridge rule that detects AWS Config compliance status changes and triggers an Amazon Simple Notification Service (Amazon SNS) topic to alert the security operations center.Answer
  3. C
    Deploy AWS Shield Advanced to inspect incoming packets at the subnet level and automatically revert modifications made to the security groups.
  4. D
    Configure stateless Network ACLs on the private subnet to track change actions and automatically block administrative traffic at the instance level.
  5. E
    Use AWS account root user credentials to schedule a daily script that queries security group settings and sends emails directly via SMTP.

Answer

Enable AWS Config with the restricted-common-ports rule to monitor compliance, and create an Amazon EventBridge rule targeting an Amazon SNS topic to notify the security team when compliance status changes.
The correct solution uses AWS Config to monitor and record changes to security groups and evaluate them against compliance rules (such as restricted-common-ports). Amazon EventBridge receives state change events from AWS Config and triggers Amazon SNS to send immediate alerts to the security team.

Step-by-Step Solution

1
Select a tool to audit configurations.
Identify AWS Config as the appropriate service for auditing, recording, and evaluating AWS resource configurations.
AWS Config maintains a configuration history and evaluates compliance against managed or custom rules.
2
Determine the alerting mechanism.
Combine Amazon EventBridge and Amazon SNS.
AWS Config publishes compliance change events to Amazon EventBridge, which can target Amazon SNS to deliver real-time notifications.
3
Eliminate inappropriate services for configuration auditing.
Discard options suggesting AWS Shield, Network ACLs, or root user scripts.
Shield is for DDoS protection, Network ACLs are stateless subnet traffic filters, and using the root user violates the principle of least privilege.

Key Concept

Continuous security compliance monitoring and automated alerting using AWS Config, Amazon EventBridge, and Amazon SNS.
Rate this question