Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Manage access keys

A worked example

Single answer

A storage account holds sensitive blob data. Anonymous blob access is disabled. A security review finds that the account keys were shared with several teams. The review sets these requirements:

  • Every request for blob data must use Microsoft Entra authorization.
  • Blob requests authorized with an account access key must be rejected, even if someone has a current key.
  • Users must get access through Azure RBAC role assignments.

Which action should you take to meet the requirement that key-based blob requests are rejected?

Choose one answer
Why

Disabling Shared Key authorization rejects blob requests authorized with storage account access keys. Because anonymous blob access is already disabled, this supports the requirement to use Microsoft Entra authorization and Azure RBAC for users. Key rotation, secure key storage, HTTPS enforcement, and Resource Manager locks do not themselves reject requests signed with a current account key.

  • Not correct: Regenerate the storage account access keys every 90 days. Regular regeneration limits how long a key remains valid, but current keys can still authorize blob requests between rotations.
  • Not correct: Regenerate both access keys and store the new values in Azure Key Vault. This invalidates the shared key values, but Shared Key authorization stays enabled. Anyone who obtains a new key can still authorize blob requests with it.
  • Not correct: Apply a Resource Manager lock to the storage account. A lock protects against account deletion or management-plane configuration changes, depending on its type. It does not reject key-based blob data requests.
  • Not correct: Enable the Secure transfer required property on the storage account. This requires HTTPS for blob requests but does not change the permitted authorization methods. Account keys can still authorize requests over HTTPS.
  • Correct: Disable Shared Key authorization on the storage account. This rejects blob requests authorized with storage account keys. With anonymous blob access already disabled, users can access blob data through Microsoft Entra authorization and their Azure RBAC permissions.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free