Which TWO changes remove the committed database password from the cluster while satisfying least privilege?
- A Enable Workload Identity so each pod federates to its own user-assigned managed identity (correct answer)
- B Mount the secret with the Secrets Store CSI Driver from Key Vault (correct answer)
- C Base64-encode the password before committing it
- D Grant the kubelet identity Key Vault Secrets User for all workloads
- E Move the password into a ConfigMap instead
Shortcut: Workload Identity gives each pod a distinct Azure identity, so permissions are scoped per workload rather than shared. The CSI driver then delivers the secret from Key Vault at mount time, so nothing is stored in the repository. Base64 is encoding, not encryption; the kubelet identity is shared by every pod on the node and breaks least privilege; ConfigMaps are plain text.