Question: You want to schedule a cron job to send a message to a Cloud Pub/Sub topic hourly. What do you do?

  1. Create a Cloud Function with a target of HTTP
  2. Create a Cloud Scheduler job with a target of HTTP
  3. Create a Cloud Function with a target of Cloud Pub/Sub
  4. Create a Cloud Scheduler job with a target of Cloud Pub/Sub

Answer: The correct answer of the above question is Option C:Create a Cloud Function with a target of Cloud Pub/Sub