Google Cloud Professional Cloud Security Engineer — Question 321

Customers complain about error messages when they access your organization's website. You suspect that the web application firewall rules configured in Cloud Armor are too strict. You want to collect request logs to investigate what triggered the rules and blocked the traffic. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because enabling logging and setting the log level to VERBOSE will provide detailed information about the requests that are being processed, which helps identify why certain traffic is being blocked. Option A does not address the need for logging, while option C only changes the rule behavior without capturing the necessary logs. Option D, although useful for certain logs, does not directly help in understanding the web application firewall triggers.