Question 490
A Content Understanding application correctly polls each Analyze operation until it succeeds. During a network retry, its callback handler writes the same extracted invoice twice to the accounting queue. What additional safeguard should the implementation use?
Explanation
Correct Answer
Persist a stable document/operation correlation key and make downstream queue ingestion idempotent. Replayed callbacks should produce one accepted invoice event, with any duplicates reconciled safely.
Incorrect Answers
Retries can deliver the same operation at different times. Timestamp-based uniqueness therefore treats the same completed extraction as multiple events.
An in-memory flag can prevent duplicates in one process but loses protection across restarts, replicas or message redelivery. The idempotency boundary needs durable keys.
Different valid invoices can share an amount, so deduplication by value would drop legitimate transactions. It must use a stable operation/document identity.



Microsoft Azure AI Fundamentals (AI-901) Practice Tests