HOTSPOT - You are developing a solution that uses the Azure Storage Client library for .NET. You have the following code: (Line numbers are included for referen...


Microsoft AZ-204 Exam

Questions Number: 89 out of 355 Questions
25.07%

Question 89
HOTSPOT -
You are developing a solution that uses the Azure Storage Client library for .NET. You have the following code: (Line numbers are included for reference only.)
AZ-204_89Q_1.jpg related to the Microsoft AZ-204 Exam
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
AZ-204_89Q_2.png related to the Microsoft AZ-204 Exam



Box 1: Yes -
AcquireLeaseAsync does not specify leaseTime.
leaseTime is a TimeSpan representing the span of time for which to acquire the lease, which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be 15 to 60 seconds.
Box 2: No -
The GetBlockBlobReference method just gets a reference to a block blob in this container.
Box 3: Yes -
The BreakLeaseAsync method initiates an asynchronous operation that breaks the current lease on this container.
Reference:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.blob.cloudblobcontainer.acquireleaseasync
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.blob.cloudblobcontainer.getblockblobreference
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.blob.cloudblobcontainer.breakleaseasync





Previous Questions Next Questions