What should you recommend?

You are designing a Windows Azure application.The application includes a web role and a worker role that communicate by using a Windows Azure Queue. The worker role processes each message within 10 seconds of retrieving it from the queue. The worker role must process each message exactly one time.If a process does not complete, the worker role must reprocess the message.You need to recommend an approach for the worker role to manage messages in the queue.What should you recommend?

Question:

What should you recommend?

Options:

Process the message and then delete it from the queue.

Delete the message from the queue when retrieving the message.

Set the visibility timeout of the message to 1 when retrieving the message.

Process the message and then set the visibility timeout of the message to the maximum value.

Correct Answer

The Correct Answer for this Question is

Process the message and then delete it from the queue.

Leave a Comment