You have an Azure Queue Storage queue named queue1 and need to implement an operation that sets the visibility timeout for individual messages. Which two operations can accomplish this? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Update a message in the queue., Receive a message from the queue..
Why this is the answer
The correct options are "Update a message in the queue" and "Receive a message from the queue." When you receive a message from the queue using the GetMessages operation (or similar SDK methods), the message is retrieved and its visibility timeout is automatically set. This makes the message invisible to other consumers for a specified duration, preventing multiple consumers from processing the same message simultaneously. The update a message in the queue operation (UpdateMessage) allows you to change the visibility timeout of a message that has already been retrieved. This is useful if you need more or less time to process a message. You can also update the message content itself with this operation. "Peek at a message in the queue" only retrieves the message content without changing its visibility or state. "Delete a message in the queue" removes the message entirely. "Add a message to the queue" puts a new message into the queue, but doesn't modify the visibility of existing messages.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed