Google Cloud Engineer interview question
How do Pub/Sub, Cloud Tasks and Eventarc differ, and when do you use each?
Comparison Asked in Cloud Engineer interviews
Summary
Pub/Sub is a global publish/subscribe message bus: one message to many subscribers, high throughput, at-least- once delivery. Cloud Tasks queues tasks for one target with rate limits, retries and scheduled delivery. Eventarc routes events from Google Cloud services (and Pub/Sub, third parties) to targets such as Cloud Run in a standard CloudEvents format.
Keep reading with a membership
The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.
More Google Cloud Engineer questions
- How do you design a Google Cloud landing zone for a company with several teams?
- Explain Google Cloud's resource hierarchy: organisation, folders, projects and resources.
- How does IAM work in Google Cloud, and why should you avoid basic roles?
- When would you choose Cloud Run, GKE or Compute Engine?
- What are service accounts, and how should workloads authenticate without service account keys?
- Compare Google Cloud's database options: Cloud SQL, AlloyDB, Spanner, Firestore and Bigtable.
- How is networking in a Google Cloud VPC different from AWS?
- How do you run Terraform for Google Cloud safely in a team?