
Answer-first summary for fast verification
Answer: Use Pub/Sub exactly-once delivery in your pull subscription.
The correct answer is C. Using Pub/Sub exactly-once delivery in your pull subscription ensures that each message is delivered and processed exactly once, preventing any duplicate processing by different sales agents. This method effectively handles the requirement without adding unnecessary complexity to the workflow.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your chemical company has a procedure in place that requires sales agents to manually check documentation for customer orders. You currently utilize a pull subscription in Google Cloud Pub/Sub, which allows these sales agents to retrieve the order details necessary for processing. It is crucial to ensure that each customer order is processed by only one sales agent to avoid duplication of work and potential errors. Additionally, it is important to maintain the simplicity of the current workflow without introducing additional complexity. How should you proceed to achieve these objectives?
A
Use a Deduplicate PTransform in Dataflow before sending the messages to the sales agents.
B
Create a transactional database that monitors the pending messages.
C
Use Pub/Sub exactly-once delivery in your pull subscription.
D
Create a new Pub/Sub push subscription to monitor the orders processed in the agent's system.
No comments yet.