nerdexam
Microsoft

70-583 · Question #17

You are developing a Windows Azure application in which a web role and worker role will communicate by using a Windows Azure Queue. You need to recommend an approach for ensuring that the worker…

The correct answer is A. Appropriately handle poison messages. Poison message support Yes Yes To find "poison" messages in Windows Azure Queues, when dequeuing a message the application examines the DequeueCount property of the message. If DequeueCount is above a given threshold, the application moves the message to an application-defined…

Developing Business Logic

Question

You are developing a Windows Azure application in which a web role and worker role will communicate by using a Windows Azure Queue. You need to recommend an approach for ensuring that the worker role does not attempt to process any message more than three times. What should you recommend?

Options

  • AAppropriately handle poison messages.
  • BDecrease the visibility timeout for messages.
  • CReduce the time-to-live interval for messages in the queue.
  • DIncrease the number of worker role instances reading messages from the queue.

How the community answered

(64 responses)
  • A
    77% (49)
  • B
    6% (4)
  • C
    5% (3)
  • D
    13% (8)

Explanation

Poison message support Yes Yes To find "poison" messages in Windows Azure Queues, when dequeuing a message the application examines the DequeueCount property of the message. If DequeueCount is above a given threshold, the application moves the message to an application-defined "dead letter"

Topics

#Azure Queue#poison messages#worker role#message processing

Community Discussion

No community discussion yet for this question.

Full 70-583 Practice