AZ-204 Azure Storage & Data Solutions 1 — Questions and Answers
Question 1: Which Azure Blob Storage access tier is optimized for data that is accessed infrequently and stored for at least 30 days?
- Hot
- Cool (Correct answer)
- Archive
- Premium
Correct answer: Cool
The Cool tier is designed for infrequently accessed data with lower storage costs but higher retrieval costs, with a minimum retention of 30 days.
Question 2: What is the consistency level in Azure Cosmos DB that provides the strongest guarantees but highest latency?
- Eventual
- Consistent Prefix
- Session
- Strong (Correct answer)
Correct answer: Strong
Strong consistency ensures reads always return the most recent committed write and provides linearizability guarantees at the cost of higher latency.
Question 3: Which Azure Storage service should you use to store messages for asynchronous communication between application components?
- Blob Storage
- Table Storage
- Queue Storage (Correct answer)
- File Storage
Correct answer: Queue Storage
Azure Queue Storage provides a reliable message queuing service for asynchronous decoupling between application components.
Question 4: What is the partition key in Azure Cosmos DB primarily used for?
- Sorting documents alphabetically
- Distributing data across physical partitions for scalability (Correct answer)
- Encrypting stored data
- Setting TTL on documents
Correct answer: Distributing data across physical partitions for scalability
The partition key determines how Cosmos DB distributes data and requests across physical partitions to achieve horizontal scalability.
Question 5: Which SAS type in Azure Blob Storage is signed with the storage account key and grants access to the entire service?
- User delegation SAS
- Service SAS
- Account SAS (Correct answer)
- Managed Identity SAS
Correct answer: Account SAS
An Account SAS is signed with the storage account key and can grant access to resources across multiple storage services.
Question 6: Which Azure Blob Storage feature allows you to enforce immutability policies to prevent blobs from being deleted or overwritten?
- Soft delete
- Versioning
- Immutable storage (WORM policies) (Correct answer)
- Legal hold
Correct answer: Immutable storage (WORM policies)
Immutable blob storage supports time-based retention and legal hold WORM (Write Once Read Many) policies to prevent modification or deletion.
Which Azure Blob Storage access tier is optimized for data that is accessed infrequently and stored for at least 30 days?