Exam Professional-Data-Engineer Topic 1 Question 359 Discussion
Actual exam question for Google's Professional-Data-Engineer exam
Question #: 359
Topic #: 1
Question #: 359
Topic #: 1
Your chemical company needs to manually check documentation for customer order. You use a pull subscription in Pub/Sub so that sales agents get details from the order. You must ensure that you do not process orders twice with different sales agents and that you do not add more complexity to this workflow. What should you do?
Suggested Answer: C Vote an answer
Pub/Sub exactly-once delivery is a feature that guarantees that subscriptions do not receive duplicate deliveries of messages based on a Pub/Sub-defined unique message ID. This feature is only supported by the pull subscription type, which is what you are using in this scenario. By enabling exactly-once delivery, you can ensure that each order is processed only once by a sales agent, and that no order is lost or duplicated. This also simplifies your workflow, as you do not need to create a separate database or subscription to monitor the pending or processed messages. Reference:
Exactly-once delivery | Cloud Pub/Sub Documentation
Cloud Pub/Sub Exactly-once Delivery feature is now Generally Available (GA)
Exactly-once delivery | Cloud Pub/Sub Documentation
Cloud Pub/Sub Exactly-once Delivery feature is now Generally Available (GA)
by Orville at Feb 27, 2025, 08:38 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).