PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #259
You control network traffic for a folder in your Google Cloud environment. Your folder includes multiple projects and Virtual Private Cloud (VPC) networks. You want to enforce on the folder level…
The correct answer is C. 1. Attach external IP addresses to the VMs in scope. The answer choices in the question appear truncated - only the first step of each multi-step answer is visible. Based on the correct answer being C and the context of the question, here is the conceptual explanation: Why C is correct: The best solution uses a Hierarchical…
Question
Options
- A
- Leave the network configuration of the VMs in scope unchanged.
- B
- Leave the network configuration of the VMs in scope unchanged.
- C
- Attach external IP addresses to the VMs in scope.
- D
- Attach external IP addresses to the VMs in scope.
How the community answered
(52 responses)- A17% (9)
- B8% (4)
- C46% (24)
- D29% (15)
Explanation
The answer choices in the question appear truncated - only the first step of each multi-step answer is visible. Based on the correct answer being C and the context of the question, here is the conceptual explanation:
Why C is correct: The best solution uses a Hierarchical Firewall Policy (also called a Network Firewall Policy) applied at the folder level. This allows you to define a single egress deny-all rule with an exception allowing traffic only to 10.58.5.0/24, scoped to the dev-vpc network, and have it automatically inherited by every project within the folder - requiring no per-project or per-VPC configuration.
Why A and B are wrong: Options A and B ("Leave the network configuration of the VMs unchanged") likely pair with per-VPC firewall rules or per-project policies, which must be replicated across every VPC and project individually - increasing implementation and ongoing maintenance burden as the environment grows.
Why D is wrong: Option D ("Attach external IP addresses to the VMs") is the wrong direction entirely - assigning external IPs expands egress paths rather than restricting them, and does not provide the centralized folder-level enforcement the question requires.
Memory tip: Think "folder-level = Hierarchical Firewall Policy." Just as IAM policies inherit downward from organization → folder → project, Hierarchical Firewall Policies enforce network rules top-down - one policy, many projects, minimal maintenance.
Topics
Community Discussion
No community discussion yet for this question.