Professional Cloud Security Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise e-commerce platform hosted on Google Cloud is protected by an external Application Load Balancer and Google Cloud Armor. During high-traffic promotional events, the authentication and checkout APIs experience distributed brute-force and credential stuffing attacks from automated bots.
The security engineering team needs to enforce the following defensive requirements:
sid.429 Too Many Requests status code.0.5 using reCAPTCHA Enterprise integration before requests reach backend services.Which configuration strategy in Google Cloud Armor satisfies these requirements?
Google Cloud Armor rate limiting rules allow administrators to control request volume by client keys and apply granular throttling or banning actions. A rate-based ban (rate_based_ban) temporarily blocks all further traffic from a client identifier once request thresholds are exceeded, rather than merely clipping excess traffic. reCAPTCHA Enterprise integration evaluates user interaction risk scores (from 0.0 to 1.0) directly at the Cloud Armor perimeter layer.
enforce_on_key to HTTP_COOKIE with enforce_on_key_name configured as sid ensures that rate counting is uniquely tracked against individual user sessions rather than shared NAT IP addresses.rate_limit_threshold with a count of 100 and interval_sec of 60, combined with action: rate_based_ban and ban_duration_sec: 600, enforces a strict 10-minute ban once the limit is breached.exceed_action to deny(429) explicitly returns the standard 429 Too Many Requests HTTP error code to offending clients.deny action whenever the score is below the 0.5 threshold, filtering out automated credential-stuffing bots.Using native rate_based_ban alongside reCAPTCHA token evaluation provides full perimeter defense at the global load balancer, minimizing backend resource consumption without requiring custom application middleware.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.