Provide reliable task scheduling for compute on GCP using Google best practices. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Use App Engine Cron to publish messages to a Cloud Pub/Sub topic, and have a Compute Engine message-processing service subscribe to that topic..
Why this is the answer
The correct option leverages App Engine Cron for reliable scheduling and Cloud Pub/Sub for asynchronous, decoupled communication. App Engine Cron is a fully managed service designed for scheduling recurring tasks, ensuring high availability and reliability without requiring infrastructure management. Pub/Sub provides a robust, scalable messaging bus that decouples the scheduler from the processing service. This allows the Compute Engine service to consume messages at its own pace, handle spikes in load, and ensures message delivery even if the processing service is temporarily unavailable. Using App Engine Cron to publish directly to a service (first option) creates a tight coupling and lacks the buffering and reliability benefits of Pub/Sub. GKE Cron (third and fourth options) is suitable for workloads already running on GKE, but for simple task scheduling, App Engine Cron is a more managed and often simpler solution, aligning with best practices for serverless scheduling.
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