0
0
GCPcloud~5 mins

Cloud Scheduler for cron jobs in GCP - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Cloud Scheduler in Google Cloud Platform?
Cloud Scheduler is a fully managed service that allows you to schedule and automate tasks, such as running cron jobs, at specified times or intervals.
Click to reveal answer
beginner
How does Cloud Scheduler trigger a job?
Cloud Scheduler triggers jobs by sending HTTP requests, publishing messages to Pub/Sub topics, or invoking App Engine services at scheduled times.
Click to reveal answer
beginner
What format does Cloud Scheduler use to define job schedules?
Cloud Scheduler uses the cron format, which specifies schedules with fields for minute, hour, day of month, month, and day of week.
Click to reveal answer
intermediate
Why is Cloud Scheduler preferred over traditional cron jobs on a VM?
Cloud Scheduler is fully managed, reliable, scales automatically, and does not require managing servers or uptime, unlike traditional cron jobs on a VM.
Click to reveal answer
intermediate
What permissions are needed to create and run Cloud Scheduler jobs?
You need the 'cloudscheduler.jobs.create' permission to create jobs and 'cloudscheduler.jobs.run' to run them. These are included in roles like 'Cloud Scheduler Admin'.
Click to reveal answer
What service does Cloud Scheduler use to trigger asynchronous messages?
APub/Sub
BCloud Storage
CBigQuery
DCloud Functions
Which of the following is NOT a valid way to trigger a Cloud Scheduler job?
ASending an HTTP request
BPublishing a message to Pub/Sub
CDirectly running a shell script on your local machine
DInvoking an App Engine service
What is the correct cron expression to run a job every day at 3:30 AM?
A3 30 * * *
B30 3 * * *
C30 15 * * *
D0 3 * * *
Which role includes permissions to create and manage Cloud Scheduler jobs?
ABigQuery User
BStorage Admin
CCompute Admin
DCloud Scheduler Admin
Why is Cloud Scheduler considered more reliable than running cron jobs on a VM?
AIt automatically scales and is fully managed by Google Cloud
BIt requires manual server maintenance
CIt only works during business hours
DIt needs a dedicated VM for each job
Explain how Cloud Scheduler works to automate tasks in Google Cloud.
Think about how you set a timer to remind you, but for cloud tasks.
You got /4 concepts.
    Describe the benefits of using Cloud Scheduler instead of traditional cron jobs on a virtual machine.
    Consider the difference between managing your own alarm clock versus using a smart assistant.
    You got /4 concepts.