Microsoft Azure Solutions Architect Expert AZ-305 Practice Question
You are designing authentication for several Azure Kubernetes Service (AKS) clusters that will be deployed in three different Azure subscriptions. The clusters will host identical micro-services that must read secrets from a central Azure Key Vault and send diagnostics to an Event Hub namespace. The solution must:
Eliminate hard-coded or file-based credentials in the containers.
Allow the same identity to be shared by workloads running in every cluster and subscription.
Ensure that credential rotation never requires redeploying the applications.
Which approach should you recommend?
Enable a system-assigned managed identity on every AKS cluster and grant each identity the required access to Key Vault and Event Hub.
Create an Azure AD application with a client secret and store the secret in Kubernetes Secrets mounted into the pods.
Configure an Azure AD application that uses a certificate stored on each cluster node and rotate the certificate annually.
Create one user-assigned managed identity, grant it access to Key Vault and Event Hub, and attach that identity to the node pools of all AKS clusters.
A user-assigned managed identity is created as an independent Azure resource that can be attached to multiple Azure compute resources-even across subscriptions-so every AKS cluster (and the pods running on its node pools) can share the same identity. Azure AD automatically maintains and rotates the identity's credentials, so no secrets are stored in the containers and no redeployment is required.
A system-assigned managed identity is created automatically for each AKS cluster and cannot be shared with other clusters. Service principals that rely on client secrets or certificates would require storing and periodically rotating those secrets inside the cluster, violating the stated requirements.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
How does a user-assigned managed identity differ from a system-assigned managed identity?
Open an interactive chat with Bash
Why should we avoid using Kubernetes Secrets for storing Azure AD application credentials?
Open an interactive chat with Bash
What is the benefit of automatic credential rotation with managed identities?
Open an interactive chat with Bash
Microsoft Azure Solutions Architect Expert AZ-305
Design identity, governance, and monitoring solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .