14 questions across 7 exams
You have a custom VPC with a subnet `10.0.0.0/24`. You are running out of IP addresses in this subnet and need to expand it to `10.0.0.0/20`. There are running VMs in the subnet. Which command should you use?
You have an internal application running on Compute Engine instances in a VPC. You want to expose this application to another VPC in a different GCP project owned by a different department, without using external IP addresses or VPC peering (due to overlapping IP ranges). What is the BEST solution?
Your custom-mode VPC has a subnet in 'us-east1' with the CIDR range 10.0.0.0/24. You have run out of IP addresses in this subnet and need to add more capacity. You want to do this without recreating the subnet or disrupting existing VMs. What should you do?
You have a Compute Engine instance running a web server. It currently has an ephemeral external IP address. You want to ensure that if the instance is restarted, its public IP address does not change. Which TWO steps must you take? (Select TWO)
Your company has a custom VPC with a subnet named 'app-subnet' using the IP range 10.0.0.0/24. You have run out of IP addresses in this subnet and need to expand it to a /20 range without recreating the subnet or disrupting existing VMs. Which command should you use?
You have an existing Compute Engine instance named 'ftp-server' that currently has an ephemeral external IP address. You need to assign it a static external IP address so that clients can reliably connect to it. You have not yet created the static IP. Which TWO gcloud commands must you run to accomplish this? (Select TWO)
You have a custom-mode VPC with a subnet in 'us-west1' using the CIDR range 10.0.0.0/24. You are running out of IP addresses in this subnet and need to expand it to 10.0.0.0/20. What is the impact of running the `gcloud compute networks subnets expand-ip-range` command?
You need to assign a permanent, public IP address to a Compute Engine instance running a legacy application. The IP address must not change even if the instance is stopped and started. Which TWO steps are required to accomplish this? (Select TWO)
Your company has a custom-mode VPC. A subnet in the `us-east1` region was created with a `/24` CIDR block (256 IP addresses). You are running out of IP addresses in this subnet and need to increase the available IPs without causing downtime for existing VMs. What should you do?
You are configuring a Global External HTTP(S) Load Balancer for a new web application. You need to ensure that the IP address provided to users never changes, even if you delete and recreate the load balancer in the future. Which TWO actions must you take? (Select TWO)
You have a custom-mode VPC network. One of your subnets, 'subnet-app', was created with a primary IP range of 10.0.1.0/24. You are running out of IP addresses in this subnet and need to expand it to accommodate more VMs. What is the correct way to handle this?
You are deploying a legacy application on a Compute Engine instance. The application requires a fixed, unchanging external IP address because external partners whitelist this IP in their firewalls. Which TWO steps must you take to configure this? (Select TWO)
You have a custom VPC with a subnet in the us-east1 region using the CIDR block 10.0.0.0/24. You have run out of IP addresses in this subnet and need to expand it to accommodate more VMs. You want to do this without recreating the subnet or disrupting existing VMs. Which command should you use?
You need to assign a specific, unchanging external IP address to a Compute Engine instance that acts as an SFTP server. Which TWO steps are required to achieve this? (Select TWO)
Full answers, grading, and explanations on why each answer is correct.