HOTSPOT
You have a WebJob object that runs as part of an Azure website. The WebJob object uses features from the
Azure SDK for .NET. You use a well-formed but invalid storage key to create the storage account that you pass
into the UploadDataToAzureStorage method.
The WebJob object contains the following code segment. Line numbers are included for reference only.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Agree.
I am not sure that an invalid storage key is a ‘transient’ fault …
Should be:
No – can’t upload a file with invalid storage key
No – we have not explicitly told the blobClient to use a retry policy!
Yes – it will fail, the storage key is wrong
NO
NO –> There no retry policy for blob fx.: new BlobRequestOptions() { RetryPolicy = new LinearRetry(TimeSpan.FromSeconds(10), 3) }
YES
No, Yes, Yes
CloudBlockBlob has a default retry policy: https://azure.microsoft.com/en-us/documentation/articles/websites-dotnet-webjobs-sdk-storage-queues-how-to/
that is related to stroage queues and not storage blobs
No
No
Yes
The initial answer is correct:
For blob storage, there is a retry policy implemented by default, so if you do nothing, it will do what’s called exponential retries.
https://www.simple-talk.com/cloud/platform-as-a-service/azure-blob-storage-part-3-using-the-storage-client-library/