nerdexam
Microsoft

AZ-400 · Question #166

Drag and Drop Question You have an Azure Kubernetes Service (AKS) cluster. You need to deploy an application to the cluster by using Azure DevOps. Which three actions should you perform in sequence? T

The correct answer is Create a service principal in Azure Active Directory (Azure AD).; Configure RBAC roles in the cluster.; Add a Helm package and deploy a task to the deployment pipeline.. To deploy an application to AKS via Azure DevOps, you first create a Service Principal in Azure AD to authenticate Azure DevOps with the AKS cluster, then configure RBAC roles in the cluster to grant the service principal appropriate permissions, and finally add a Helm package an

Submitted by manish99· Mar 6, 2026Design and Implement a Deployment Strategy – Implement container-based deployments using Azure DevOps pipelines and AKS, including authentication and authorization configuration (AZ-400 / DevOps Engineer Expert)

Question

Drag and Drop Question You have an Azure Kubernetes Service (AKS) cluster. You need to deploy an application to the cluster by using Azure DevOps. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Answer:

Exhibits

AZ-400 question #166 exhibit 1
AZ-400 question #166 exhibit 2

Answer Area

Drag items

Create a service account in the cluster.Create a service principal in Azure Active Directory (Azure AD).Add an Azure Function App for Container task to the deployment pipeline.Add a Helm package and deploy a task to the deployment pipeline.Add a Docker Compose task to the deployment pipeline.Configure RBAC roles in the cluster.

Correct arrangement

  • Create a service principal in Azure Active Directory (Azure AD).
  • Configure RBAC roles in the cluster.
  • Add a Helm package and deploy a task to the deployment pipeline.

Explanation

To deploy an application to AKS via Azure DevOps, you first create a Service Principal in Azure AD to authenticate Azure DevOps with the AKS cluster, then configure RBAC roles in the cluster to grant the service principal appropriate permissions, and finally add a Helm package and deploy task to the pipeline since Helm is the standard tool for packaging and deploying Kubernetes applications. This sequence ensures secure, authorized deployment using the industry-standard Kubernetes package manager.

Topics

#Azure Kubernetes Service (AKS)#Azure DevOps Pipelines#Helm Deployments#RBAC and Service Principals

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice