professional-cloud-data-engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise processes terabytes of analytics data daily using batch Apache Beam pipelines on Dataflow. The primary input dataset currently resides in a Cloud Storage multi-region bucket located in the us multi-region, while the pipeline's temporary and staging files (gcpTempLocation) are written to a bucket in us-east1. The Dataflow worker compute instances are provisioned to execute in us-central1.
The cloud operations team reports substantial inter-region network egress charges and increased execution wall time during pipeline shuffle and staging phases. Additionally, the batch workloads are non-time-sensitive.
Which architectural strategy should the data engineering team implement to minimize network egress costs, improve I/O performance, and optimize economic efficiency?
Data locality refers to the architectural design of placing compute processing resources in the exact same geographic region and zone as the storage services they interact with. Flexible Resource Scheduling (FlexRS) is a Dataflow execution option designed for non-time-sensitive batch workloads that reduces compute costs by utilizing a mix of Spot/preemptible virtual machines (VMs) and standard VMs with delayed scheduling.
gcpTempLocation), and the Dataflow worker VMs within us-central1, all data transfers remain strictly intra-regional. This completely eliminates expensive inter-region cross-network egress charges incurred during stage shuffling and temporary state writes.Co-locating all storage locations (gcpTempLocation and raw data) with the compute region while activating FlexRS provides the highest reduction in cloud billing and network overhead without violating batch execution requirements.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.