Google
PROFESSIONAL-DATA-ENGINEER · Question #20
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 HT
The correct answer is D. Your custom endpoint is not acknowledging messages within the acknowledgement deadline.. Explanation/Reference: Until or unless the message is not acknowledged within defined ack window period for every message, we will get duplicate (number of retries to send message can be defined). https://cloud.google.com/pubsub/docs/troubleshooting#dupes
Submitted by jordan8· Mar 30, 2026Building and operationalizing data processing systems
Question
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?
Options
- AThe message body for the sensor event is too large.
- BYour custom endpoint has an out-of-date SSL certificate.
- CThe Cloud Pub/Sub topic has too many messages published to it.
- DYour custom endpoint is not acknowledging messages within the acknowledgement deadline.
How the community answered
(55 responses)- A15% (8)
- B9% (5)
- C4% (2)
- D73% (40)
Explanation
Explanation/Reference: Until or unless the message is not acknowledged within defined ack window period for every message, we will get duplicate (number of retries to send message can be defined). https://cloud.google.com/pubsub/docs/troubleshooting#dupes
Topics
#Cloud Pub/Sub#acknowledgement deadline#duplicate messages#push subscription
Community Discussion
No community discussion yet for this question.