Google Cloud Professional Cloud Security Engineer — Question 169

There is a threat actor that is targeting organizations like yours. Attacks are always initiated from a known IP address range. You want to deny-list those IPs for your website, which is exposed to the internet through an Application Load Balancer. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because creating a Cloud Armor policy with a deny-rule specifically targets the known malicious IPs and can be directly attached to the Application Load Balancer's backend to prevent any traffic from those addresses. Option B is incorrect as it focuses on allowing only traffic from the proxy, which does not address the issue of blocking the threat actor's IPs. Option C is not effective for prevention, as it only logs and alerts rather than blocking the attacks. Option D is also incorrect because while it involves a deny-rule, it mistakenly associates with the Virtual Private Cloud instead of the Application Load Balancer.