SCS-C03 practice question 4 of 15
A company runs a public web application on Amazon EKS behind Amazon CloudFront and an Application Load Balancer (ALB). A security engineer must send a notification to an existing Amazon SNS topic when the application receives 10,000 requests from the same end-user IP address within any 5-minute period. Which solution will meet these requirements?
Full set: 227 questionsThe most direct and efficient solution is to use an AWS WAF rate-based rule. This feature is specifically designed to track the rate of requests from individual client IP addresses over a configurable 5-minute period. When the defined threshold (10,000 requests) is breached, the rule's metric in Amazon CloudWatch is updated. A CloudWatch alarm can be configured to monitor this metric and, upon triggering, send a notification to the specified Amazon SNS topic. This approach is purpose-built for rate limiting and monitoring.
A. This is a less efficient, reactive method. It requires processing large volumes of logs to derive metrics, introducing latency and complexity compared to WAF's real-time tracking.
B. VPC Flow Logs operate at the network layer (IP packets) and lack the application-layer visibility (HTTP requests) needed to accurately count requests from a specific end-user IP to the application.
C. An ASN match rule is used to filter traffic based on the Autonomous System Number of the source IP (e.g., an ISP), not for rate-limiting individual IP addresses.
1. AWS WAF Documentation. (2023). Rate-based rules. AWS Developer Guide. "A rate-based rule tracks the rate of requests for each originating IP address... If an IP address breaches the limit, the rule action is applied to that IP address."
2. AWS WAF Documentation. (2023). Monitoring with Amazon CloudWatch. AWS Developer Guide. "AWS WAF sends metrics to Amazon CloudWatch for your web ACLs and rules... You can use these metrics to set up CloudWatch alarms."
3. Amazon CloudWatch Documentation. (2023). Using Amazon CloudWatch alarms. Amazon CloudWatch User Guide. "You can create an alarm that sends an Amazon SNS message when the alarm changes state."
Keep practicing
Take the free SCS-C03 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SCS-C03 practice questions
- Question 1A security engineer has designed a VPC to segment private traffic from public traffic. Th…
- Question 2A company uses AWS Organizations to manage an organization that consists of three workloa…
- Question 3A company uses AWS IAM Identity Center with SAML 2.0 federation. The company decides to c…
- Question 5A consultant agency needs to perform a security audit for a company's production AWS acco…
- Question 6A company’s data scientists use Amazon SageMaker with datasets stored in Amazon S3. Data …
- Question 7A security administrator is setting up a new AWS account. The security administrator want…
