exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 35 discussion

Actual exam question from Microsoft's AZ-400
Question #: 35
Topic #: 7
[All AZ-400 Questions]

HOTSPOT -
You need to deploy Azure Kubernetes Service (AKS) to host an application. The solution must meet the following requirements:
✑ Containers must only be published internally.
✑ AKS clusters must be able to create and manage containers in Azure.
What should you use for each requirement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Azure Container Registry -
Azure services like Azure Container Registry (ACR) and Azure Container Instances (ACI) can be used and connected from independent container orchestrators like kubernetes (k8s). You can set up a custom ACR and connect it to an existing k8s cluster to ensure images will be pulled from the private container registry instead of the public docker hub.
Box 2: An Azure service principal
When you're using Azure Container Registry (ACR) with Azure Kubernetes Service (AKS), an authentication mechanism needs to be established. You can set up
AKS and ACR integration during the initial creation of your AKS cluster. To allow an AKS cluster to interact with ACR, an Azure Active Directory service principal is used.
Reference:
https://thorsten-hans.com/how-to-use-private-azure-container-registry-with-kubernetes https://docs.microsoft.com/en-us/azure/aks/cluster-container-registry-integration

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nvnrao57
Highly Voted 3 years, 6 months ago
Given Ans is correct
upvoted 32 times
...
ougullamaija
Highly Voted 2 years, 7 months ago
Correttamundo nella della mundo. I am a huge fan of Docker, so obviously I can say with 100% certainty, that this is an absolutely marvellously correctamundo answer :)
upvoted 14 times
...
vsvaid
Most Recent 10 months, 2 weeks ago
Agree with answer
upvoted 1 times
...
kmaneith
1 year, 11 months ago
is it "publish container image" ?
upvoted 1 times
vsvaid
10 months ago
I was alos thinking about that. However publishing docker images means pushing it to registry so answer is correct. https://docs.github.com/en/actions/publishing-packages/publishing-docker-images
upvoted 1 times
...
...
syu31svc
2 years, 2 months ago
https://docs.microsoft.com/en-us/azure/container-registry/authenticate-kubernetes-options "AKS cluster AKS service principal Enable the AKS service principal with permissions to a target Azure container registry." Answer is correct
upvoted 4 times
...
rdemontis
2 years, 7 months ago
correct answer
upvoted 1 times
...
lugospod
2 years, 9 months ago
Got this January 2022.
upvoted 4 times
...
igorole
3 years, 4 months ago
Fyi: https://docs.microsoft.com/en-us/azure/container-registry/authenticate-kubernetes-options
upvoted 6 times
rdemontis
2 years, 7 months ago
thanks for sharing the article
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago