CLOUD-NETWORK practice question 11 of 30

Your company offers a popular gaming service. Your instances are deployed with private IP addresses, and external access is granted through a global load balancer. You believe you have identified a potential malicious actor, but aren't certain you have the correct client IP address. You want to identify this actor while minimizing disruption to your legitimate users. What should you do?

Full set: 233 questions
Answer options
A: Create a Cloud Armor Policy rule that denies traffic and review necessary logs.
B: Create a Cloud Armor Policy rule that denies traffic, enable preview mode, and review necessary logs. Correct answer
C: Create a VPC Firewall rule that denies traffic, enable logging and set enforcement to disabled, and review necessary logs.
D: Create a VPC Firewall rule that denies traffic, enable logging and set enforcement to enabled, and review necessary logs.
Correct Answer:
B. Create a Cloud Armor Policy rule that denies traffic, enable preview mode, and review necessary logs.
Explanation

The goal is to identify a potential malicious actor with minimal disruption. Google Cloud Armor is the appropriate service for protecting applications behind a global external HTTP(S) load balancer. Cloud Armor's preview mode allows you to deploy a security policy rule and observe its potential effect in logs without actually enforcing the rule (e.g., denying traffic). This enables you to validate that the rule targets the correct traffic (the suspected actor) before making it active, thus meeting the requirement of identifying the actor while minimizing disruption to legitimate users.

Why Incorrect

A. This option is disruptive. A deny rule without preview mode would immediately block traffic, potentially affecting legitimate users if the identified IP address is incorrect or shared.
C. VPC firewall rules are not the primary tool for protecting services behind a global load balancer. Also, they don't have a "disabled enforcement" mode equivalent to Cloud Armor's preview mode.
D. This is incorrect for two reasons: it uses the wrong tool (VPC firewall instead of Cloud Armor for a global load balancer) and it is disruptive because enforcement is enabled.

References

1. Google Cloud Documentation, "Test security policy rules by using preview mode". "You can preview the effects of a rule in a security policy without enforcing it. In preview mode, actions are logged to Cloud Logging. You can use this information to determine whether a rule is configured correctly or works as intended."

2. Google Cloud Documentation, "Google Cloud Armor security policies overview". "You can configure Google Cloud Armor security policies to protect applications and services that are behind an external HTTP(S) load balancer."

Scroll to Top