GCP Associate Cloud Engineer Practice Question

Your Shared VPC contains a bastion host whose VM service account is [email protected]. Backend instances that must be reached only through this bastion are labeled with the network tag internal-app. You need a single firewall configuration that permits SSH traffic from the bastion to the back-end VMs and blocks SSH from every other source. Which approach satisfies the requirement while minimizing ongoing administration effort?

  • Assign the network tag bastion to the bastion host and create an ingress rule that allows tcp:22 from the bastion tag to the internal-app tag.

  • Create an ingress rule that allows tcp:22 from the VPC's entire RFC 1918 range and targets the internal-app tag.

  • Add an egress rule on the bastion host that allows tcp:22 to the internal-app tag; rely on the default ingress rules for the rest.

  • Create one ingress firewall rule that allows tcp:22 with the bastion service account as the source and the target network tag internal-app.

GCP Associate Cloud Engineer
Planning and implementing a cloud solution
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot