What should you create?

Posted by: Pdfprep Category: AZ-500 Tags: , ,

You are configuring an Azure Kubernetes Service (AKS) cluster that will connect to an Azure Container

Registry.

You need to use the auto-generated service principal to authenticate to the Azure Container Registry.

What should you create?
A . an Azure Active Directory (Azure AD) group
B . an Azure Active Directory (Azure AD) role assignment
C . an Azure Active Directory (Azure AD) user
D . a secret in Azure Key Vault

Answer: B

Explanation:

When you create an AKS cluster, Azure also creates a service principal to support cluster operability with other Azure resources. You can use this auto-generated service principal for authentication with an ACR registry. To do so, you need to create an Azure AD role assignment that grants the cluster’s service principal access to the container registry .

References: https://docs.microsoft.com/bs-latn-ba/azure/container-registry/container-registry-auth-aks

Leave a Reply

Your email address will not be published.