Question 570
The same job is submitted twice after an HTTP caller retries a timeout. Which test result provides the strongest acceptance evidence?
Explanation
Correct Answer
Service Bus duplicate detection uses message identifiers and an explicit time window. The observed result “Two sends using the same identifier in the window result in one eligible queued message” would confirm the change “Enable duplicate detection and use deterministic message identifiers within the detection window” in this situation: The same job is submitted twice after an HTTP caller retries a timeout.
Incorrect Answers
Peek is non-destructive inspection; receive operations affect locks and delivery state. The situation here is: The same job is submitted twice after an HTTP caller retries a timeout. A test of this alternative would miss the specific outcome “Two sends using the same identifier in the window result in one eligible queued message”.
Dead-letter handling requires explicit operational remediation; the broker does not automatically fix poison messages. The situation here is: The same job is submitted twice after an HTTP caller retries a timeout. A test of this alternative would miss the specific outcome “Two sends using the same identifier in the window result in one eligible queued message”.
Backlog depth is a direct signal for queue-based worker scaling distinct from CPU load. The situation here is: The same job is submitted twice after an HTTP caller retries a timeout. A test of this alternative would miss the specific outcome “Two sends using the same identifier in the window result in one eligible queued message”.