An AKS cluster needs to pull images from a private ACR. What is the recommended authentication approach for production?
- A Enable the ACR admin account and use its credentials
- B Create a Kubernetes secret with a service principal
- C Use az aks update --attach-acr to assign AcrPull to the kubelet managed identity (correct answer)
- D Store credentials in a ConfigMap
Shortcut: az aks update --attach-acr creates an AcrPull role assignment on the AKS kubelet identity. This uses managed identity, avoiding stored credentials.