In Google Cloud, you must restrict who can create firewall rules while still allowing app teams to manage their own instance-level policies. Which combination best enforces least privilege?
Answer
Use IAM custom roles granting only compute.firewalls.* needed permissions, and scope bindings to a networking sub-scope where supported
Explanation
Least privilege requires granting only the minimal permissions needed for firewall operations. Scoping bindings limits blast radius even if teams make mistakes.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A SOC analyst finds that a ransomware family’s first-stage loader always phones home to a single domain over HTTPS, then immediately performs heavy disk encryption. Which detection strategy is most effective given this pattern?
View question →
A SOC engineer applies a firewall rule to block an IP, but the attacker continues successfully. Which underlying issue is most likely?
View question →
A Kubernetes workload is suspected of being compromised. Investigations show the container filesystem changed, but no Kubernetes Events are present. Which action best distinguishes a container image supply-chain issue from a runtime compromise?
View question →
During incident triage, an analyst suspects a credential-stealing browser extension that exfiltrates session cookies. What is the best next step to validate impact while minimizing harm?
View question →
A security team uses Google Cloud Armor and notices an increase in 5xx errors during a DDoS attempt. Which explanation is most consistent with a properly tuned protection configuration?
View question →
A cloud storage bucket has versioning enabled and object locks in compliance mode. An attacker uploads a malicious object with the same name as a key dependency. What is the most likely outcome?
View question →