Question 492 of 997
Develop Azure compute solutionshardMultiple ChoiceObjective-mapped

Quick Answer

The missing step is that the AKS cluster does not have the Azure AD Pod Identity add-on enabled. Without this add-on, the pod’s user-assigned managed identity cannot request an Azure AD token, even if the identity is correctly assigned to the pod’s configuration. The add-on acts as a bridge, deploying an identity management component (like the MIC and NMI) that intercepts token requests from the pod and securely retrieves tokens for Azure SQL Database. On the AZ-204 exam, this scenario tests your understanding of how managed identities work within AKS, often appearing as a troubleshooting question where the pod logs show authentication failures despite correct role assignments. A common trap is assuming that assigning a managed identity to the pod is sufficient—it is not; the cluster-level add-on is mandatory. Memory tip: think of the add-on as the “key” that unlocks the pod’s identity—without it, the pod has a key but no lock to turn.

AZ-204 Develop Azure compute solutions Practice Question

This AZ-204 practice question tests your understanding of develop azure compute solutions. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You are troubleshooting a containerized application running on Azure Kubernetes Service (AKS). The application logs indicate that it cannot connect to an Azure SQL Database using a managed identity. The pod is configured with a user-assigned managed identity. Which step is most likely missing?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1hardmultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The AKS cluster does not have the Azure AD Pod Identity add-on enabled

The AKS cluster requires the Azure AD Pod Identity add-on (or the newer Workload Identity) to enable pods to authenticate to Azure resources using managed identities. Without this add-on, the pod's user-assigned managed identity cannot be used to obtain tokens for connecting to Azure SQL Database, even if the identity is correctly assigned to the pod.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The Azure SQL Database firewall is blocking the pod IP

    Why it's wrong here

    Wrong: Managed identity uses a token, not the pod IP.

  • The pod's service account is not linked to the managed identity

    Why it's wrong here

    Wrong: That is part of the configuration, but the missing add-on is the root cause.

  • The managed identity is not in the same Microsoft Entra ID tenant as the AKS cluster

    Why it's wrong here

    Wrong: The identity must be in the same tenant.

  • The AKS cluster does not have the Azure AD Pod Identity add-on enabled

    Why this is correct

    Correct: The add-on is required to assign the identity to pods.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume assigning a managed identity to a pod is sufficient, but they overlook the requirement for the AKS cluster to have the Azure AD Pod Identity add-on enabled to bridge the pod and the identity for token acquisition.

Detailed technical explanation

How to think about this question

Azure AD Pod Identity works by deploying a MIC (Managed Identity Controller) and NMI (Node Managed Identity) daemon set on the AKS cluster. When a pod requests a token, the NMI intercepts the request, matches it to the assigned identity via labels, and obtains a token from Azure AD. Without the add-on, the pod has no mechanism to request tokens for the managed identity, causing the SQL connection to fail. In newer AKS versions, Workload Identity (using OIDC federation) is the recommended replacement, but the exam still tests the classic Pod Identity add-on.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-204 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-204 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-204 question test?

Develop Azure compute solutions — This question tests Develop Azure compute solutions — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The AKS cluster does not have the Azure AD Pod Identity add-on enabled — The AKS cluster requires the Azure AD Pod Identity add-on (or the newer Workload Identity) to enable pods to authenticate to Azure resources using managed identities. Without this add-on, the pod's user-assigned managed identity cannot be used to obtain tokens for connecting to Azure SQL Database, even if the identity is correctly assigned to the pod.

What should I do if I get this AZ-204 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.