Microsoft Azure Administrator Associate AZ-104 Practice Question
An organization has deployed a Kubernetes cluster in Azure to host their applications. For security compliance, they need to limit network traffic between pods to only the necessary communications. Which of the following actions should you take to meet this requirement?
You selected this option
Implement Azure Service Endpoints to secure communication between pods.
You selected this option
Configure Azure Firewall to restrict pod-to-pod communication within the cluster.
You selected this option
Set up an Application Gateway to control network traffic between pods in the cluster.
You selected this option
Enable network policies and set up rules to allow or deny traffic between pods.
To limit network traffic between pods in a Kubernetes cluster hosted on Azure, you should enable network policies and configure rules that specify allowed or denied traffic between pods. Network policies provide fine-grained control over pod communication based on labels, namespaces, and ports. Configuring Azure Firewall or Application Gateway does not control pod-to-pod communication within the cluster; these services manage traffic to and from the cluster. Azure Service Endpoints secure communication between Azure services and virtual networks but do not provide control over internal pod communication in Kubernetes clusters.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are Kubernetes network policies?
Open an interactive chat with Bash
How do network policies enhance security in Kubernetes?
Open an interactive chat with Bash
What is the difference between Azure Firewall and Kubernetes network policies?
Open an interactive chat with Bash
Microsoft Azure Administrator Associate AZ-104
Deploy and manage Azure compute resources
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Oh snap!
Loading...
Loading...
Loading...
Information Technology Package Join Premium for Full Access