Soru

Zorluk: KolayPlanning Virtual Private Cloud (VPC) Networks and Subnets

A cloud administrator is creating a custom-mode Virtual Private Cloud (VPC) network in Google Cloud to support a new internal application. The environment must be configured with an explicitly defined regional subnet and basic ingress firewall rules. In what sequence should the administrator perform these VPC configuration tasks?

  1. 1Create the VPC network using custom subnet mode (`--subnet-mode=custom`).
  2. 2Create a regional subnet within the network by specifying a primary IPv4 CIDR range.
  3. 3Create firewall rules targeted to the network to permit necessary ingress traffic.

Cevap

The correct sequence starts with creating the custom-mode VPC network container, followed by provisioning a regional subnet with a specific CIDR range inside that network, and finally configuring firewall rules to control traffic to the subnet.
When configuring networking in Google Cloud using custom mode, you must first initialize the parent VPC network shell without auto-subnets. Next, you explicitly define regional subnets with custom primary IP ranges under that network. Finally, you attach firewall rules to the VPC network to manage traffic access.

Adım Adım Çözüm

1
Provision the custom VPC network
A VPC network without auto-generated subnets is established
Custom mode prevents Google Cloud from automatically creating subnets in every region, requiring manual definition.
2
Provision the regional subnet
A specific subnet with a defined primary IP range is created within the VPC
A parent VPC network must exist in order to contain and define subnets.
3
Configure network firewall rules
Traffic rules are applied to the VPC network to secure subnet instances
Firewall rules require an existing network context to evaluate and filter inbound or outbound traffic.

Anahtar Kavram

Custom-mode VPC Creation Sequence
Bu soruyu puanla