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 needs to store sensitive customer data persistently. The data must be highly available, resilient to node failures, and accessible by multiple pods concurrently. Which storage solution should be integrated with AKS to meet these requirements?

  1. AAzure Disk Storage (managed disks)
  2. BAzure Blob Storage
  3. CHostPath volumes
  4. DAzure Files
Show answer & explanation

Correct answer: D. Azure Files

Azure Files provides fully managed file shares in the cloud that are accessible via the Server Message Block (SMB) protocol. It supports persistent volumes for AKS, allowing multiple pods to mount the same file share concurrently with read/write access. This ensures high availability and resilience for sensitive data across node failures.

Why the other options are wrong

  • A. Azure Disk Storage (managed disks) can be used as persistent volumes for AKS, but a single disk can typically only be attached to one node at a time, preventing concurrent access by multiple pods from different nodes.
  • B. Azure Blob Storage is an object storage solution, primarily used for unstructured data. While accessible from AKS, it's not designed for the file system semantics and concurrent mounting required for persistent volumes by multiple pods.
  • C. HostPath volumes use a directory on the host node's filesystem. This makes the data ephemeral if the node fails and is not shared across nodes, failing to meet the high availability and resilience requirements.

Azure Files for AKS

Provides fully managed file shares that can be mounted as persistent volumes by multiple pods in Azure Kubernetes Service (AKS).

  • SMB/NFS file shares
  • Supports ReadWriteMany access mode for concurrent pod access
  • Offers persistent, highly available, and resilient storage

Memory trick: Azure Files allows Many pods to share data.

More Develop Azure compute solutions questions