🔥 40% Off Crucial Exams Memberships — Deal ends today!

2 hours, 27 minutes remaining!

GCP Professional Cloud Security Engineer Practice Question

Your organization operates two standalone VPC networks in separate projects: app-vpc hosts Compute Engine instances that act as application servers, while analytics-vpc hosts a stateful MySQL cluster. A VPC Network Peering connection has been created between the two VPCs so that the applications can query the database over TCP port 3306. Security policy states:

  1. Only the application servers may initiate traffic to the database on TCP 3306.
  2. No other protocols or ports may cross the peering link in either direction.
  3. The database servers must never initiate any connection back toward app-vpc.

Which approach satisfies all requirements with the least ongoing operational overhead?

  • Tag all database VMs with "db" and create an ingress allow rule for tag db on TCP 3306; in app-vpc add an egress deny rule toward analytics-vpc; omit any egress rule in analytics-vpc.

  • In analytics-vpc create an ingress allow rule for TCP 3306 from the app-vpc subnet, plus an egress deny-all rule from the database subnet to the app-vpc subnet; leave app-vpc with its default firewall rules.

  • In app-vpc create an ingress allow rule for TCP 3306 from analytics-vpc and an egress allow rule from analytics-vpc to app-vpc; rely on default rules to block everything else.

  • Replace VPC peering with a Cloud VPN tunnel and advertise only the database subnet route; configure VPN firewall rules to permit TCP 3306 traffic.

GCP Professional Cloud Security Engineer
Securing communications and establishing boundary protection
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