Microsoft Certified: Azure Developer Associate (AZ-204)Develop Azure compute solutionsMedium
A financial institution is deploying a new service to Azure Kubernetes Service (AKS). The service requires persistent storage that can be accessed concurrently by multiple pods across different nodes within the AKS cluster. The storage solution must also support read-write access from multiple pods simultaneously. Which Azure storage solution is MOST appropriate for this requirement?
- AAzure Queue Storage
- BAzure Files Premium
- CAzure Disk Storage
- DAzure Blob Storage
Show answer & explanationAnswer & explanation
Correct answer: B. Azure Files Premium
Azure Files Premium, specifically using the SMB protocol, is the only Azure storage option that fully supports ReadWriteMany access mode in AKS. This allows multiple pods to concurrently mount and access the same file share across different nodes, which is crucial for shared persistent storage in a distributed application.
Why the other options are wrong
- A. Azure Queue Storage is for message queuing, not persistent file storage for pods.
- C. Azure Disk Storage provides ReadWriteOnce access, meaning it can only be attached to a single pod in a single node at a time.
- D. Azure Blob Storage is object storage; it's not designed for file system access and concurrent mounting by multiple pods in the way required.
AKS Persistent Storage (ReadWriteMany)
For AKS, ReadWriteMany (RWX) access mode allows a volume to be mounted as read-write by many nodes, meaning multiple pods on different nodes can simultaneously read and write to the same persistent volume.
- Azure Files (SMB) supports RWX.
- Crucial for shared data across a cluster.
- Azure Disk Storage only supports ReadWriteOnce (RWO).
Memory trick: AKS Files for Many Shared Reads and Writes.