ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 38 - AZ-204 discussion

Report
Export

HOTSPOT

You are developing an application that uses Azure Storage Queues.

You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.


Question 38
Correct answer: Question 38

Explanation:

Box 1: No The QueueDescription.LockDuration property gets or sets the duration of a peek lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.

Box 2: Yes

You can peek at the message in the front of a queue without removing it from the queue by calling the PeekMessage method.

Box 3: Yes

Reference:

https://docs.microsoft.com/en-us/azure/storage/queues/storage-dotnet-how-to-use-queues

https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.queuedescription.lockduration

asked 02/10/2024
Matteo Di Pomponio
41 questions
User
0 comments
Sorted by

Leave a comment first