GCP Professional Data Engineer Practice Question

Your security team just defined a new control plane mandate: no Google Cloud service that processes customer data may expose public IP addresses or allow direct egress to the public internet.

You are designing a streaming Dataflow pipeline that reads from Pub/Sub, enriches the messages, and writes the results to BigQuery and Cloud Storage in the same Google Cloud project. The pipeline is expected to autoscale to hundreds of workers during traffic spikes.

Which network architecture will satisfy the security mandate while preserving Dataflow scalability?

  • Place the workers in a private subnet and use Cloud NAT for outbound access to Google APIs while disabling Private Google Access.

  • Enable public IPs on Dataflow workers and add firewall rules that deny inbound traffic except SSH; rely on IAM roles for resource access.

  • Keep the default Dataflow configuration with public IP addresses but enclose the project in a VPC Service Controls perimeter to block external traffic.

  • Run the pipeline on Dataflow workers that have no external IPs, attach them to a private subnet with Private Google Access enabled, and grant the Dataflow service account IAM access to Pub/Sub, BigQuery, and Cloud Storage.

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