You need to ensure reliability for your application and operations by supporting reliable task scheduling for compute on GCP. Leveraging Google best practices, what should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Using the Cron service provided by App Engine, publish messages to a Cloud Pub/Sub topic. Subscribe to that topic using a message-processing utility service running on Compute Engine instances..
Why this is the answer
The correct option leverages App Engine's Cron service for reliable scheduling and Cloud Pub/Sub for asynchronous, decoupled communication. App Engine's Cron is a managed service designed for scheduling tasks, ensuring reliability without managing infrastructure. Pub/Sub provides a robust, scalable messaging bus that decouples the scheduler from the processing service, adding resilience and allowing for flexible scaling of the Compute Engine instances. Publishing directly to a processing utility (first option) creates tight coupling and lacks the reliability and scalability benefits of Pub/Sub. GKE's CronJob (third and fourth options) is an alternative for Kubernetes environments, but App Engine's Cron is a simpler, fully managed solution for general task scheduling on GCP, aligning with best practices for minimizing operational overhead when applicable.
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