Soru

Zorluk: Çok zorManaging Networking Resources

An enterprise Cloud Operations team is managing Virtual Private Cloud (VPC) networking resources for a production environment hosted on Google Cloud Platform. The team needs to modify network configurations to accommodate expanding workloads and ensure predictable traffic evaluation. Which of the following statements regarding VPC subnet range expansion and firewall rule priority evaluation are correct? (Select TWO)

  1. When expanding an existing primary IPv4 subnet CIDR block, the new netmask prefix length must be smaller (broader IP range) than the existing prefix length and cannot overlap with existing subnets in the same VPC network.Cevap
  2. Google Cloud VPC firewall rule priority evaluation follows an ascending numerical order, meaning a rule with priority 100 takes precedence over a rule with priority 1000.Cevap
  3. C
    To shrink a primary subnet CIDR block when extra IP addresses are no longer needed, an administrator can execute the gcloud compute networks subnets expand-ip-range command with a larger netmask prefix length.
  4. D
    To ensure a newly created ingress firewall rule overrides an existing matching rule assigned priority 500, the new rule must be configured with a priority value of 1500.

Cevap

The correct statements are that primary subnet expansion requires a smaller netmask prefix length without overlapping other subnets in the VPC, and VPC firewall rules process lower numerical priority values first (e.g., priority 100 takes precedence over priority 1000).
Expanding a primary IPv4 subnet requires decreasing the netmask prefix length (making the IP block larger) while ensuring no overlapping CIDR ranges exist within the VPC. In addition, Google Cloud VPC firewall rules process priority values in ascending numerical order, where smaller numbers represent higher priority rules and take precedence during packet evaluation.

Adım Adım Çözüm

1
Evaluate the rules for expanding VPC subnet IP ranges in Google Cloud.
Confirm that expanding a primary IP range requires specifying a smaller CIDR prefix length (e.g., /24 to /22) and avoiding CIDR range overlaps across the VPC network.
GCP subnets support expanding the primary CIDR range dynamically without downtime, but shrinking a subnet range is strictly prohibited.
2
Analyze how Google Cloud evaluates firewall rule priorities.
Determine that lower integers correspond to higher evaluation priority (0 is the highest priority, 65535 is the lowest priority).
Firewall rules are evaluated in ascending numerical order, so a rule with priority 100 overrides a rule with priority 1000.

Anahtar Kavram

Managing VPC Subnets and Firewall Priorities
Bu soruyu puanla