Cloud Armor is blocking legitimate traffic to your application. How do you identify the specific WAF rule causing the block?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable HTTP(S) Load Balancing logging with sampling rate = 1 and inspect the logs in Cloud Logging..
Why this is the answer
The correct approach is to enable HTTP(S) Load Balancing logging with a sampling rate of 1 and inspect these logs in Cloud Logging. Cloud Armor operates as part of the HTTP(S) Load Balancer. When a request is blocked by a Cloud Armor WAF rule, the specific rule ID and the reason for the block are recorded in the HTTP(S) Load Balancer logs. A sampling rate of 1 ensures all requests are logged, providing complete visibility. Enabling firewall logs and examining them with Firewall Insights is incorrect because Cloud Armor is a WAF, not a traditional firewall, and its blocks are not reflected in standard firewall logs. VPC Flow Logs record network flow information between instances, not WAF actions. Google Cloud Armor audit logs track administrative actions on Cloud Armor policies, not traffic blocking events.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed