Azure Administrator · Domain 2 of 5 · 19% of the exam

Azure Administrator Domain 2: Implement and Manage Storage

38 free practice questions for Implement and Manage Storage in the Microsoft Azure Administrator Associate (AZ-104) exam. Try each question first, then open "Show answer" for the correct option and explanation.

Implement and Manage Storage practice questions

  1. Question 1. Which storage account type is recommended for most scenarios using blobs, files, queues, and tables?

    1. Legacy general-purpose v1
    2. Premium block blobs
    3. Standard general-purpose v2
    4. Premium file shares
    Show answer

    Answer: C. Standard general-purpose v2

    Standard GPv2 supports all storage services, access tiers, and most redundancy options.

  2. Question 2. An app needs low-latency, high-transaction blob storage on SSDs. Which account type should you create?

    1. Standard general-purpose v2
    2. Premium block blobs
    3. Premium page blobs for queues
    4. Standard blob storage with archive
    Show answer

    Answer: B. Premium block blobs

    Premium block blob accounts use SSDs for workloads needing consistent low latency.

  3. Question 3. You need NFS file shares on premium performance. Which account type is required?

    1. Premium block blobs
    2. Premium file shares (FileStorage)
    3. Standard blob storage
    4. Standard general-purpose v2
    Show answer

    Answer: B. Premium file shares (FileStorage)

    NFS Azure file shares are supported only on premium FileStorage accounts.

  4. Question 4. What is a shared access signature (SAS)?

    1. A firewall rule that allows one public IP address
    2. A role that grants full control of the storage account
    3. A certificate used to encrypt the whole storage account
    4. A signed URI that grants limited, time-bound access to storage
    Show answer

    Answer: D. A signed URI that grants limited, time-bound access to storage

    A SAS token delegates specific permissions for a set period without sharing account keys.

  5. Question 5. Which SAS type is secured with Microsoft Entra credentials rather than the account key?

    1. User delegation SAS
    2. Account SAS
    3. Stored access SAS
    4. Service SAS
    Show answer

    Answer: A. User delegation SAS

    A user delegation SAS is signed with a user delegation key obtained with Entra credentials, and applies to Blob Storage.

  6. Question 6. How can you revoke a group of service SAS tokens without regenerating account keys?

    1. Tie them to a stored access policy and change or delete it
    2. Delete the storage account and create a new one
    3. Enable soft delete on the blob container
    4. Change the storage account's access tier to cool
    Show answer

    Answer: A. Tie them to a stored access policy and change or delete it

    Stored access policies on a container let you modify or revoke associated SAS tokens.

  7. Question 7. What is the effect of rotating a storage account key that applications still use?

    1. The storage account's redundancy is downgraded to LRS
    2. All SAS tokens of every type keep working unchanged
    3. Data in the account is re-encrypted and becomes read-only
    4. Applications using the old key lose access until updated
    Show answer

    Answer: D. Applications using the old key lose access until updated

    Account-key-based access and SAS signed with that key stop working after regeneration.

  8. Question 8. Why does each storage account have two access keys?

    1. So one key reads data and the other only writes data
    2. So one key is for blobs and the other is for files
    3. So you can rotate one key while apps use the other
    4. So each key works in a different Azure region
    Show answer

    Answer: C. So you can rotate one key while apps use the other

    Two keys enable rotation without downtime.

  9. Question 9. Which setting blocks all access to a storage account using Shared Key authorization?

    1. Allow storage account key access set to Disabled
    2. Hierarchical namespace set to Enabled
    3. Minimum TLS version set to 1.2
    4. Secure transfer required set to Enabled
    Show answer

    Answer: A. Allow storage account key access set to Disabled

    Disabling shared key access forces Entra ID authorization, which also invalidates account and service SAS.

  10. Question 10. You want only a specific virtual network subnet to reach a storage account. What should you configure?

    1. A CanNotDelete lock on the storage account
    2. A lifecycle management rule for the subnet
    3. An RBAC Reader role for the subnet
    4. Storage firewall with a virtual network rule and service endpoint
    Show answer

    Answer: D. Storage firewall with a virtual network rule and service endpoint

    Network rules can allow traffic from selected subnets that have a Microsoft.Storage service endpoint.

  11. Question 11. Which storage firewall exception lets services such as Azure Backup access a locked-down account?

    1. Allow cross-tenant object replication
    2. Allow Blob public access on all containers
    3. Allow the account key to be shared publicly
    4. Allow trusted Microsoft services to access this account
    Show answer

    Answer: D. Allow trusted Microsoft services to access this account

    The trusted services exception grants access to specific first-party Azure services.

  12. Question 12. Which built-in role lets an application read and write blob data using Entra ID?

    1. Storage Queue Data Reader
    2. Storage Blob Data Contributor
    3. Reader and Data Access
    4. Storage Account Contributor
    Show answer

    Answer: B. Storage Blob Data Contributor

    Data-plane roles like Storage Blob Data Contributor grant blob access; Storage Account Contributor manages the account.

  13. Question 13. A user has the Contributor role on a storage account but cannot view blobs in the portal using Entra auth. Why?

    1. Contributor rights apply only to queue storage
    2. Contributor grants management rights, not blob data rights
    3. Contributor requires a CanNotDelete lock to work
    4. Contributor is limited to accounts in paired regions
    Show answer

    Answer: B. Contributor grants management rights, not blob data rights

    Management-plane roles don't include DataActions; assign a Storage Blob Data role for data access.

  14. Question 14. What does secure transfer required enforce on a storage account?

    1. All requests must come from within Azure
    2. All data must be stored in the archive tier
    3. Only users with MFA may read blob data
    4. Requests must use HTTPS (and SMB with encryption)
    Show answer

    Answer: D. Requests must use HTTPS (and SMB with encryption)

    Secure transfer rejects HTTP requests and unencrypted SMB connections.

  15. Question 15. Which feature automatically moves blobs to cooler tiers or deletes them based on age?

    1. Immutable storage policies
    2. Lifecycle management policies
    3. Blob index tags only
    4. Object replication rules
    Show answer

    Answer: B. Lifecycle management policies

    Lifecycle management rules transition or delete blobs based on conditions such as days since last modification.

  16. Question 16. A lifecycle rule should move blobs to archive 180 days after last modification. Which condition do you use?

    1. daysBeforeDeletionGreaterThan set to 180
    2. daysAfterCreationLessThan set to 180
    3. daysAfterModificationGreaterThan set to 180
    4. tierChangeAfterAccessEqualTo set to 180
    Show answer

    Answer: C. daysAfterModificationGreaterThan set to 180

    Lifecycle actions use conditions such as daysAfterModificationGreaterThan for base blobs.

  17. Question 17. Which feature asynchronously copies block blobs from one storage account to another?

    1. Soft delete
    2. Azure File Sync
    3. Blob versioning only
    4. Object replication
    Show answer

    Answer: D. Object replication

    Object replication copies block blobs between a source and destination account based on rules.

  18. Question 18. What must be enabled before configuring object replication?

    1. A private endpoint on each storage account
    2. Blob versioning on both accounts and change feed on the source
    3. Hierarchical namespace on both storage accounts
    4. Premium performance tier on the destination only
    Show answer

    Answer: B. Blob versioning on both accounts and change feed on the source

    Object replication requires versioning on source and destination, and change feed on the source.

  19. Question 19. What does blob soft delete protect against?

    1. Accidental deletion or overwrite of blobs for a retention period
    2. Ransomware that encrypts data on client devices
    3. Unauthorized reads by users with SAS tokens
    4. Regional outages in the primary Azure region
    Show answer

    Answer: A. Accidental deletion or overwrite of blobs for a retention period

    Soft-deleted blobs can be restored within the configured retention period.

  20. Question 20. Which feature protects against deleting an entire blob container by mistake?

    1. Lifecycle management
    2. Blob versioning
    3. Container soft delete
    4. Blob index tags
    Show answer

    Answer: C. Container soft delete

    Container soft delete retains deleted containers for a set period so they can be restored.

  21. Question 21. A regulation requires that blobs cannot be modified or deleted for seven years. What should you configure?

    1. Blob soft delete with a seven-day retention
    2. A ReadOnly lock on the resource group
    3. Lifecycle management that archives after seven years
    4. An immutable storage time-based retention policy
    Show answer

    Answer: D. An immutable storage time-based retention policy

    Immutable (WORM) storage prevents modification or deletion during the retention interval.

  22. Question 22. What is the maximum size of a standard Azure file share with large file shares enabled?

    1. 5 TiB
    2. 500 GiB
    3. 100 TiB
    4. 1 PiB
    Show answer

    Answer: C. 100 TiB

    Standard file shares can scale up to 100 TiB when large file shares are enabled.

  23. Question 23. What is required to mount an Azure file share over SMB from an on-premises PC?

    1. Inbound TCP port 3389 must be open
    2. Outbound TCP port 445 must be open
    3. A lifecycle management rule for the share
    4. The PC must be joined to Microsoft Entra ID
    Show answer

    Answer: B. Outbound TCP port 445 must be open

    SMB uses port 445; many ISPs block it, so a VPN or ExpressRoute may be needed.

  24. Question 24. What does an Azure file share snapshot provide?

    1. A read-only point-in-time copy of the share
    2. A writable clone stored in another region
    3. A continuous replica on a second storage account
    4. A compressed backup stored on Data Box
    Show answer

    Answer: A. A read-only point-in-time copy of the share

    Share snapshots capture a read-only copy you can use to restore files.

  25. Question 25. In Azure File Sync, what is a sync group?

    1. A group of storage accounts in one subscription
    2. A backup vault for file share snapshots
    3. The set of endpoints that stay in sync with each other
    4. A set of users who can access the file share
    Show answer

    Answer: C. The set of endpoints that stay in sync with each other

    A sync group contains one cloud endpoint (a file share) and one or more server endpoints.

  26. Question 26. What does cloud tiering in Azure File Sync do?

    1. Keeps frequently used files locally and tiers cold files to Azure
    2. Encrypts local files with keys stored in Key Vault
    3. Copies each file to three separate Azure regions
    4. Moves all files to the archive tier after 30 days
    Show answer

    Answer: A. Keeps frequently used files locally and tiers cold files to Azure

    Cloud tiering frees local disk space by keeping only hot files cached on the server.

  27. Question 27. Which component must be installed on a Windows Server to use Azure File Sync?

    1. The Azure Migrate appliance
    2. The Azure Connected Machine agent
    3. The Azure File Sync agent
    4. The Azure Monitor Agent
    Show answer

    Answer: C. The Azure File Sync agent

    The File Sync agent is installed on each server before registering it with a Storage Sync Service.

  28. Question 28. You need to copy a container to another storage account using a command-line tool with Entra authentication. Which command fits?

    1. az storage account create with the destination name
    2. robocopy with the two blob container URLs
    3. azcopy copy with source and destination URLs after azcopy login
    4. Set-AzStorageAccount with the source account name
    Show answer

    Answer: C. azcopy copy with source and destination URLs after azcopy login

    AzCopy supports server-to-server copies and Entra authentication via azcopy login.

  29. Question 29. Which feature lets you access blob storage through a hierarchical file system for analytics?

    1. Azure managed disks with bursting
    2. Azure Data Lake Storage (hierarchical namespace)
    3. Azure Queue Storage with message TTL
    4. Azure Table Storage with partition keys
    Show answer

    Answer: B. Azure Data Lake Storage (hierarchical namespace)

    Enabling hierarchical namespace turns a storage account into Data Lake Storage.

  30. Question 30. Which change requires creating a new storage account rather than updating the existing one?

    1. Changing premium performance to standard performance
    2. Changing the default access tier from hot to cool
    3. Enabling blob soft delete on the account
    4. Adding a network rule for a new subnet
    Show answer

    Answer: A. Changing premium performance to standard performance

    Performance tier (standard vs. premium) cannot be changed after the account is created.

  31. Question 31. Your storage account uses LRS. You need protection against a zone failure without a secondary region. What should you change to?

    1. Read-access GRS (RA-GRS)
    2. Geo-redundant storage (GRS)
    3. Zone-redundant storage (ZRS)
    4. Premium locally redundant storage
    Show answer

    Answer: C. Zone-redundant storage (ZRS)

    ZRS spreads copies across three availability zones in the same region.

  32. Question 32. What happens during a customer-managed account failover for a GRS storage account?

    1. Data is copied from the secondary to a third region
    2. The primary region becomes read-only permanently
    3. The secondary region becomes primary and the account becomes LRS
    4. The account keys are rotated and old SAS tokens remain valid
    Show answer

    Answer: C. The secondary region becomes primary and the account becomes LRS

    After failover, the new primary is locally redundant until you reconfigure geo-redundancy.

  33. Question 33. What does the blob access tier setting at the account level control?

    1. The redundancy used for every blob in the account
    2. The maximum size of a single blob in the account
    3. The network rules for the entire storage account
    4. The default tier for blobs that don't have an explicit tier
    Show answer

    Answer: D. The default tier for blobs that don't have an explicit tier

    The account default tier (hot, cool, or cold) applies to blobs without an explicitly set tier.

  34. Question 34. Which encryption is enabled by default on all Azure storage accounts?

    1. Encryption only for blobs in the archive tier
    2. No encryption until you enable it manually
    3. Client-side encryption performed by every app
    4. Storage service encryption with Microsoft-managed keys
    Show answer

    Answer: D. Storage service encryption with Microsoft-managed keys

    Azure Storage encrypts all data at rest using 256-bit AES by default.

  35. Question 35. You need to use your own keys in Key Vault to encrypt a storage account. What must the storage account have?

    1. An exclusion in every Azure Policy assignment
    2. A managed identity with access to the key in Key Vault
    3. A ReadOnly lock and a user delegation SAS
    4. A premium performance tier and NFS enabled
    Show answer

    Answer: B. A managed identity with access to the key in Key Vault

    Customer-managed keys require the storage account's managed identity to access the key.

  36. Question 36. What is the tool of choice for browsing and editing blob containers from a desktop with Entra sign-in?

    1. Azure Network Watcher
    2. Azure Storage Explorer
    3. Azure Resource Graph Explorer
    4. Azure Advisor
    Show answer

    Answer: B. Azure Storage Explorer

    Storage Explorer supports Entra ID, SAS, and key authentication for managing storage data.

  37. Question 37. Which blob type is used for VM disk files that need random read/write access?

    1. Page blobs
    2. Block blobs
    3. Archive blobs
    4. Append blobs
    Show answer

    Answer: A. Page blobs

    Page blobs store random-access files up to 8 TiB and back unmanaged VM disks.

  38. Question 38. Which blob type is optimized for logging, where data is only added to the end?

    1. Premium page blobs
    2. Page blobs
    3. Append blobs
    4. Block blobs with tiers
    Show answer

    Answer: C. Append blobs

    Append blobs support efficient append operations, ideal for logs.

Microsoft and Azure are trademarks of the Microsoft group of companies. These questions are original study material, not questions from the real exam.