GCP Professional Data Engineer Practice Question

A healthcare analytics team must run a Dataflow batch pipeline that processes protected health information (PHI). The compliance officer mandates that the worker VMs must never have public IP addresses and must be blocked from initiating any outbound traffic to the public internet, while still allowing the pipeline to read from Pub/Sub and write to Cloud Storage in the same project. Which networking configuration will satisfy all requirements with the least operational overhead?

  • Disable Private Google Access, launch the workers with public IPs, and rely on VPC Service Controls to prevent outbound internet connections.

  • Place the workers in a subnet that has Private Google Access enabled and start the pipeline with the flag that disables public IPs; add a high-priority egress deny rule for 0.0.0.0/0 and a lower-priority allow rule for the 199.36.153.8/30 Google API range, with no Cloud NAT configured.

  • Create a custom network, enable VPC flow logs, and use IAM policies to block internet egress for the Dataflow service account.

  • Launch the workers without public IPs in a custom subnet and configure Cloud NAT so they can reach Google APIs through the internet.

GCP Professional Data Engineer
Ingesting and processing the data
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