AZ-200 Azure Storage Solutions 2 — Questions and Answers
Question 1: Which Azure Storage feature allows you to mount a file share in both Windows and Linux VMs using SMB?
- Blob NFS
- Azure Files with SMB protocol (Correct answer)
- Table Storage
- Data Lake Storage Gen2
Correct answer: Azure Files with SMB protocol
Azure Files supports the SMB protocol, allowing file shares to be mounted as network drives in Windows and Linux VMs.
Question 2: What is the purpose of Azure Blob Storage lifecycle management policies?
- Automatically scale storage account capacity
- Move or delete blobs based on age or last-access rules (Correct answer)
- Replicate blobs to another region
- Enable versioning on all blobs
Correct answer: Move or delete blobs based on age or last-access rules
Lifecycle management policies automatically transition blobs between access tiers or delete them based on conditions like age or last access time.
Question 3: Which storage account type supports both Azure Blob Storage (including Data Lake Gen2) and Azure Files?
- BlobStorage
- FileStorage
- StorageV1
- StorageV2 (General-purpose v2) (Correct answer)
Correct answer: StorageV2 (General-purpose v2)
General-purpose v2 storage accounts support all storage services including blobs, files, queues, tables, and Data Lake Storage Gen2 (hierarchical namespace).
Question 4: How do you grant a developer read access to a specific blob container without sharing the storage account key?
- Share the SAS token generated from the account key
- Assign the Storage Blob Data Reader role via Azure RBAC on the container (Correct answer)
- Add the developer's IP to the storage firewall
- Use a managed identity only from within Azure
Correct answer: Assign the Storage Blob Data Reader role via Azure RBAC on the container
Assigning the Storage Blob Data Reader role via Azure RBAC grants the developer read access without exposing the account key.
Question 5: What is the maximum visibility timeout for a message in Azure Queue Storage?
- 1 hour
- 7 days (Correct answer)
- 24 hours
- 30 minutes
Correct answer: 7 days
The maximum visibility timeout (invisibility period) for a message in Azure Queue Storage is 7 days.
Question 6: Which property must be enabled on an Azure Storage account to use it as a Data Lake Storage Gen2?
- Blob versioning
- Hierarchical namespace (Correct answer)
- Static website hosting
- Soft delete for containers
Correct answer: Hierarchical namespace
Enabling the hierarchical namespace on a storage account activates Data Lake Storage Gen2 capabilities, enabling directory-level operations.
Which Azure Storage feature allows you to mount a file share in both Windows and Linux VMs using SMB?