Separating development and production environments cleanly
Google Cloud data processing designs must support distinct development and production environments so teams can iterate quickly without risking production data quality, cost, or availability. This typically involves separate GCP projects, environment-specific configurations, and controlled promotion paths from dev to test to production.
1 · Learn the must-know
- Use separate GCP projects (not just datasets or folders) for dev, test, and prod to get clean IAM boundaries, billing isolation, and quota separation.
- Dataflow, Dataproc, and Composer support environment-specific parameters (e.g., pipeline options, Airflow variables, Terraform workspaces) so the same code/DAG can run against different service accounts, datasets, and cluster sizes per environment.
- Production environments should favor autoscaling and managed services (e.g., Dataproc autoscaling policies, Dataflow autoscaling) while dev/test can use smaller fixed-size or ephemeral clusters to control cost.
- Use BigQuery datasets or projects labeled by environment plus row-level/column-level security and separate service accounts so dev engineers cannot accidentally read or write production data.
- CI/CD pipelines (Cloud Build, Cloud Deploy) should promote artifacts (container images, JAR files, DAGs) through dev, staging, and prod using the same build artifact to avoid environment drift.
- Cost controls differ by environment: dev/test often use preemptible/Spot VMs and smaller quotas, while production uses committed use discounts and SLA-backed managed services for reliability.
2 · Check your understanding
A data engineering team at a retail company is designing a BigQuery and Dataflow based analytics platform. They need strict separation between development and production workloads, including independent billing, IAM policies, and quota limits, while still being able to promote tested pipelines from development to production with minimal changes. Which approach best meets these requirements?
What you have tried across GCP PDE's objectives, not a readiness score.
Designing data processing systems~22% of the exam0 of 17 tried
Ingesting and processing the data~25% of the exam0 of 11 tried
Storing the data~20% of the exam0 of 13 tried
Preparing and using data for analysis~15% of the exam0 of 11 tried
Maintaining and automating data workloads~18% of the exam0 of 15 tried
3 · Keep going
Ready for more? Take a weighted mock or try free practice questions.