GCP Associate Cloud Engineer Practice Question 99: Cloud Armor IP Allowlist ALB

Google Cloud Associate Cloud Engineer · Test 10 · question 9 of 10

Load Balancingmedium

A web application is served by an external Application Load Balancer. The security team wants to block all requests from a set of known malicious IP ranges before they reach the backend, and also throttle any single client IP that sends more than 100 requests per minute. They want this enforced at the edge, without changing application code.

Which Google Cloud capability should they configure on the load balancer's backend service?

Select one answer
Show answer and explanation

Answer:

  • A. A Google Cloud Armor security policy with deny rules for the malicious ranges and a rate limiting rule capped at 100 requests per minute per client IP

Cloud Armor security policies attach to the backend service of an external Application Load Balancer and evaluate every request at the edge before it reaches the backend. They support IP based allow and deny rules to block specific ranges, and rate limiting rules that throttle or temporarily ban a client IP once it exceeds a configured request threshold, matching both requirements without touching application code.

Option B is wrong because VPC firewall rules control traffic to and from VM network interfaces, not requests arriving at a global external Application Load Balancer's frontend, and Cloud NAT throttling controls outbound egress bandwidth, not inbound per-client request rates. Option C is wrong because Identity-Aware Proxy access levels are part of context-aware access for authenticated user or device access control, not IP-based edge filtering and rate limiting for public traffic. Option D is wrong because Cloud CDN caches content to reduce backend load and has no concept of denylisting IP ranges or rate limiting clients, and there is no such thing as a Cloud Storage bucket-level rate limit rule for this purpose.

Reference: Google Cloud Armor security policy overview

Practice Test 10 ›

Study guides for Google Cloud Associate Cloud Engineer