What should you do?

You manage a collection of large video files that is stored in an Azure Storage account.A user wants access to one of your video files within the next seven days.You need to allow the user access only to the video file, and then revoke access once the user no longer needs it.What should you do?By default, only the owner of the storage account may access blobs, tables, and queues within that account. If your service or application needs to make these resources available to other clients without sharing your access key, you have the following options for permitting access:References: https://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-shared-access-signature-part-1/

Question:

What should you do?

Options:

Give the user the secondary key for the storage account. Once the user is done with the file, regenerate the secondary key.

Create an Ad-Hoc Shared Access Signature for the Blob resource. Set the Shared Access Signature to expire in seven days.

Create an access policy on the container. Give the external user a Shared Access Signature for the blob by using the policy. Once the user is done with the file, delete the policy.

Create an access policy on the blob. Give the external user access by using the policy. Once the user is done with the file, delete the policy.

Correct Answer

The Correct Answer for this Question is

Create an access policy on the container. Give the external user a Shared Access Signature for the blob by using the policy. Once the user is done with the file, delete the policy.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *