PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #162
You are responsible for configuring firewall policies for your company in Google Cloud. Your security team has a strict set of requirements that must be met to configure firewall rules. - Always…
The correct answer is A. Configure a hierarchical firewall policy to the organization node to allow TCP port 22 for your. To enforce organization-wide SSH access rules from a corporate IP that cannot be bypassed by any other VPC firewall rules across multiple projects and VPCs, a hierarchical firewall policy must be configured at the organization node.
Question
Options
- AConfigure a hierarchical firewall policy to the organization node to allow TCP port 22 for your
- BConfigure a VPC firewall rule to allow TCP port 22 for your corporate IP address with priority 0.
- CConfigure a VPC firewall rule to allow TCP port 22 for your corporate IP address with priority 1.
- DConfigure a hierarchical firewall policy to the organization node to allow TCP port 22 for your
How the community answered
(46 responses)- A78% (36)
- B13% (6)
- C7% (3)
- D2% (1)
Why each option
To enforce organization-wide SSH access rules from a corporate IP that cannot be bypassed by any other VPC firewall rules across multiple projects and VPCs, a hierarchical firewall policy must be configured at the organization node.
Hierarchical firewall policies, applied at the organization node, are evaluated before any VPC firewall rules and take precedence, ensuring that the defined SSH access requirements (allow from corporate IP, deny from others) cannot be bypassed by rules configured in individual projects or VPCs.
A VPC firewall rule, even with priority 0, only applies within its specific VPC and can be overridden or bypassed by other VPC rules or higher-level hierarchical firewall policies, failing to meet the "cannot bypass" requirement across multiple VPCs and projects.
A VPC firewall rule with priority 1 is similar to priority 0 but has lower precedence, making it even less suitable for an organization-wide, non-bypassable security requirement.
This option is identical to option A and is therefore technically correct, but A is specifically marked as the correct answer.
Concept tested: Hierarchical firewall policies precedence and scope
Source: https://cloud.google.com/firewall/docs/hierarchical-firewall-policies
Topics
Community Discussion
No community discussion yet for this question.