exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 1 question 15 discussion

Actual exam question from Microsoft's AZ-500
Question #: 15
Topic #: 1
[All AZ-500 Questions]

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.
Your Company's Azure subscription includes a virtual network that has a single subnet configured.
You have created a service endpoint for the subnet, which includes an Azure virtual machine that has Ubuntu Server 18.04 installed.
You are preparing to deploy Docker containers to the virtual machine. You need to make sure that the containers can access Azure Storage resources and Azure
SQL databases via the service endpoint.
You need to perform a task on the virtual machine prior to deploying containers.
Solution: You install the container network interface (CNI) plug-in.
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
mT3
Highly Voted 3 years, 8 months ago
answer is correct
upvoted 16 times
...
zellck
Highly Voted 7 months, 1 week ago
Selected Answer: A
A is the answer. https://learn.microsoft.com/en-us/azure/virtual-network/container-networking-overview Bring the rich set of Azure network capabilities to containers, by utilizing the same software defined networking stack that powers virtual machines. The Azure Virtual Network container network interface (CNI) plug-in installs in an Azure Virtual Machine. The plug-in assigns IP addresses from a virtual network to containers brought up in the virtual machine, attaching them to the virtual network, and connecting them directly to other containers and virtual network resources. The plug-in doesn’t rely on overlay networks, or routes, for connectivity, and provides the same performance as virtual machines.
upvoted 6 times
...
stonwall12
Most Recent 2 months, 2 weeks ago
Selected Answer: A
Answer: A, Yes Reason: Installing the Container Network Interface (CNI) plugin is the correct solution as it enables containers to use the host's networking capabilities, including service endpoints configured on the VM's subnet. Reference: https://learn.microsoft.com/en-us/azure/virtual-network/container-networking-overview
upvoted 1 times
...
Ruffyit
6 months, 1 week ago
A is the answer. Bring the rich set of Azure network capabilities to containers, by utilizing the same software defined networking stack that powers virtual machines. The Azure Virtual Network container network interface (CNI) plug-in installs in an Azure Virtual Machine. The plug-in assigns IP addresses from a virtual network to containers brought up in the virtual machine, attaching them to the virtual network, and connecting them directly to other containers and virtual network resources. The plug-in doesn’t rely on overlay networks, or routes, for connectivity, and provides the same performance as virtual machines.
upvoted 3 times
...
wardy1983
7 months, 1 week ago
Answer: A Explanation: The Azure Virtual Network container network interface (CNI) plug-in installs in an Azure Virtual Machine. The plug-in supports both Linux and Windows platform. The plug-in assigns IP addresses from a virtual network to containers brought up in the virtual machine, attaching them to the virtual network, and connecting them directly to other containers and virtual network resources. The plug-in doesn't rely on overlay networks, or routes, for connectivity, and provides the same performance as virtual machines.
upvoted 2 times
...
Mazhar1993
1 year ago
Yes, the solution meets the goal. By installing the container network interface (CNI) plug-in on the virtual machine, you enable the Docker containers to be attached to the Azure virtual network and utilize the same network connectivity as the virtual machine. This allows the containers to access Azure Storage resources and Azure SQL databases via the service endpoint configured for the subnet. Therefore, the solution aligns with the requirement of ensuring that the containers can access the specified Azure resources via the service endpoint. https://learn.microsoft.com/en-us/azure/virtual-network/container-networking-overview
upvoted 1 times
...
ESAJRR
1 year, 8 months ago
Selected Answer: A
A is the answer.
upvoted 1 times
...
DatBroNZ
1 year, 10 months ago
The container network interface (CNI) plug-in is responsible for providing network connectivity to containers running on a host. Answer is correct.
upvoted 2 times
...
JunetGoyal
1 year, 11 months ago
There are two ways to assign IPs to containers Kubectl: It will create a new Vnet for cluster. Azure CNI: It can either llow ypu to use existing vnet or create new vnet. As per Q. Answer is YES, Coz CNI can allow you to give ip from exiting vnet(Subnet),As we already have Service endpoints configure, the Container can directly talk to SQL, storage.
upvoted 3 times
...
sylar83
2 years ago
Answer from GPT is no: No, installing the CNI plug-in on the virtual machine will not achieve the goal. The goal is to ensure that Docker containers deployed to the VM can access Azure Storage and SQL DB via the service endpoint configured on the subnet. Installing the CNI plug-in will create network interfaces for Docker containers and attach them to networks. However, it does not configure routing rules to direct traffic to the service endpoint. To meet the goal, you need to perform the following: 1. Install the Azure CLI on the Ubuntu VM 2. Install Docker on the VM 3. Restart the Docker service to pick up the environment variables 4. Add routing rules to direct traffic from containers to the subnet's service endpoint 5. Deploy containers and test access to Storage/SQL DB. So in summary, installing the CNI plug-in alone will not configure the network routing needed for the containers to utilize the service endpoint. Additional configuration using the Azure CLI is required. Therefore, the solution does not meet the goal. The correct option is B - No.
upvoted 3 times
Holii
1 year, 11 months ago
Note: Using ChatGPT for cloud work provides me with the wrong answer 9 times out of 10. Since GPT doesn't have Azure access, and the Microsoft stack is very intricate, please be wary when accepting these as answers without your own research.
upvoted 5 times
vicwelly
1 year, 9 months ago
When it comes to Azure! Chat GPT is garbage
upvoted 3 times
...
...
...
majstor86
2 years, 1 month ago
Selected Answer: A
A. Answer is YES
upvoted 3 times
...
Te2ya
2 years, 6 months ago
This is just a question about Linux / Docer rather than AKS. No need for CNI. 'No' is the answer.
upvoted 3 times
mung
2 years, 5 months ago
Any reference?
upvoted 1 times
...
OrangeSG
2 years, 3 months ago
Enable containers to use Azure Virtual Network capabilities https://learn.microsoft.com/en-us/azure/virtual-network/container-networking-overview Using the plug-in The plug-in can be used in the following ways, to provide basic virtual network attach for Pods or Docker containers: • Virtual network attach for Docker containers in Azure: The plug-in can be used in cases where you don’t want to create a Kubernetes cluster, and would like to create Docker containers with virtual network attach, in virtual machines
upvoted 1 times
...
...
TheLegendPasha
3 years ago
Selected Answer: A
Answer is Yes because this is what container docker interface is used for
upvoted 2 times
...
TJ001
3 years, 3 months ago
perfect - correct answer
upvoted 1 times
...
ateeb
3 years, 5 months ago
given answer is correct
upvoted 3 times
...
rohitmedi
3 years, 5 months ago
correct answer
upvoted 2 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