You are designing a cloud-native application that needs to execute batch processing jobs which could run for several hours. These jobs must be fault-tolerant and recover gracefully from failures. What is the most suitable GCP service to use for these batch processing jobs?
Choose an answer
Tap an option to check your answer.
Correct answer: Cloud Dataflow with fault-tolerance enabled.
Why this is the answer
*Explanation:* For long-running, fault-tolerant batch processing jobs that may run for several hours, the most suitable GCP service is **Cloud Dataflow with fault-tolerance enabled**. Cloud Dataflow is designed for precisely this use case, providing fault-tolerance and graceful recovery from failures. Other options like App Engine Standard (not designed for long-running jobs), Compute Engine with preemptible instances (not suitable for long-running processes), Kubernetes Engine with StatefulSets (generally not used for batch processing jobs), and Cloud Run with maximum concurrency set to 1 (not designed for long-running tasks) are not as well-suited for this specific scenario.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed