QuestionQ166

VerifiedPlanning and implementing a cloud solution

Your company’s accounting department needs to run an overnight batch workload every day. You must implement a solution that minimizes the cost to run this workload and automatically retries the batch if an execution fails. What should you do?

Explanation

Cloud Run jobs are purpose-built for finite batch workloads: they run to completion, support configurable automatic retries on failure, and incur cost only while executing, and Cloud Scheduler can trigger the job once nightly with no idle infrastructure to pay for. A GKE CronJob requires a continuously running cluster/node pool, and the web-service options (B, D) are designed for persistent request-serving rather than a scheduled batch task.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!