Pub/Sub for Google Cloud certification exams
Pub/Sub is Google Cloud's global messaging service. Publishers send messages to topics; subscriptions deliver them to any number of consumers, decoupling the systems that produce and process events.
In 223 practice questions across 14 practice banks
You work for a car manufacturer and have set up a data pipeline using Google Cloud Pub/Sub to capture anomalous sensor events. You are using a push subscription in Cloud Pub/Sub that calls a custom HTTPS endpoint that you have created to take action of these anomalous events as they occur. Your custom HTTPS endpoint keeps getting an inordinate amount of duplicate messages. What is the most likely cause of these duplicate messages?
-
Message size limits cause rejections, not duplicates.
-
An invalid SSL certificate would make delivery fail entirely, not produce duplicates.
-
High message volume alone does not cause duplicate delivery.
-
Missing the acknowledgement deadline triggers redelivery and duplicates.
Pick an answer to see why each option is right or wrong.
Try 20 questions freeKey concepts for practice
- Push and pull subscriptions; delivery is at least once, so consumers should be idempotent.
- Ordering keys preserve order for related messages; exactly-once delivery is available for pull.
- Dead-letter topics capture messages that keep failing.
- Seek and retained messages let you replay a subscription.
Pub/Sub mentions by practice bank
Counts include service names and common aliases in question text or answer options, including incorrect options. They are not official exam topic weights.
- PDE Professional Data Engineer · 56 questions
- PCD Professional Cloud Developer · 46 questions
- PMLE Professional Machine Learning Engineer · 20 questions
- ACE Associate Cloud Engineer · 20 questions
- PCSE Professional Cloud Security Engineer · 16 questions
- PCA Professional Cloud Architect · 15 questions
- ADP Associate Data Practitioner · 11 questions
- PCDOE Professional Cloud DevOps Engineer · 11 questions
- CDL Cloud Digital Leader · 7 questions
- PSOE Professional Security Operations Engineer · 7 questions
- PAA Professional Agentic Architect · 7 questions
- PCDE Professional Cloud Database Engineer · 5 questions
- GAIL Generative AI Leader · 1 question
- PCNE Professional Cloud Network Engineer · 1 question
Pub/Sub compared
More services
- BigQuery
- Cloud Storage
- Compute Engine
- Google Kubernetes Engine
- VPC networks
- Cloud SQL
- Identity and Access Management
- Dataflow
- Cloud Run
- Bigtable
- Spanner
- Cloud Load Balancing
- Cloud KMS and encryption keys
- Cloud Composer
- Firestore
- Vertex AI
- Service accounts
- Cloud Logging
- Cloud Monitoring
- Dataproc
- Cloud Build
- App Engine
- Cloud Armor
- Cloud NAT
- Security Command Center
- VPC Service Controls
- Google Security Operations