AWS - API GatewayHow can you combine API Gateway throttling with AWS WAF to improve API protection against sudden traffic surges?ADisable API Gateway throttling and rely only on WAFBSet API Gateway throttling limits higher than WAF limitsCUse WAF only for authentication, not for rate limitingDUse WAF rate-based rules to block IPs exceeding thresholds, and API Gateway throttling for overall limitsCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand WAF and API Gateway rolesWAF can block malicious IPs with rate-based rules; API Gateway throttling controls overall request rate.Step 2: Combine protectionsUse WAF to block abusive clients early; API Gateway throttling protects backend from general overload.Final Answer:Use WAF rate-based rules to block IPs exceeding thresholds, and API Gateway throttling for overall limits -> Option DQuick Check:WAF + throttling = layered protection = B [OK]Quick Trick: Combine WAF IP blocking with throttling for best protection [OK]Common Mistakes:MISTAKESDisabling throttling when using WAFUsing WAF only for authenticationSetting inconsistent limits between WAF and throttling
Master "API Gateway" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Lambda - Creating a Lambda function - Quiz 7medium AWS Lambda - Lambda handler function structure - Quiz 8hard AWS Lambda - Lambda concurrency and throttling - Quiz 7medium Auto Scaling - Scheduled scaling - Quiz 11easy CloudWatch - CloudWatch alarms - Quiz 1easy CloudWatch - CloudWatch Logs - Quiz 11easy Elastic Load Balancing - Application Load Balancer (ALB) - Quiz 11easy RDS and Relational Databases - Parameter groups and option groups - Quiz 1easy RDS and Relational Databases - RDS pricing considerations - Quiz 10hard RDS and Relational Databases - Read replicas for performance - Quiz 12easy