AZ-104 practice question 5 of 35
You have an Azure subscription. You plan to deploy an Azure Kubernetes Service (AKS) cluster to support an app named App1. On-premises clients connect to App1 by using the IP address of the pod. For the AKS cluster, you need to choose a network type that will support App1. What should you choose?
Full set: 569 questionsDomain Implement and manage virtual networking
The requirement is for on-premises clients to connect to an application by using the pod's IP address directly. This is only possible if the pods have IP addresses that are routable from the on-premises network. The Azure Container Networking Interface (CNI) network plugin achieves this by assigning each pod an IP address directly from the Azure virtual network's subnet. These VNet-routable IPs make the pods first-class citizens on the network, allowing them to be directly accessed from connected on-premises environments via ExpressRoute or a VPN Gateway. The kubenet model, in contrast, uses a separate, non-routable address space for pods and relies on Network Address Translation (NAT), which prevents direct connectivity to pod IPs from outside the cluster.
A. kubenet: Pods are assigned IP addresses from a logically separate address space that is not routable on the Azure VNet, preventing direct access from on-premises.
C. Hybrid Connection endpoints: This is a feature of Azure App Service and Azure Functions used to connect to on-premises resources, not a networking model for an AKS cluster.
D. Azure Private Link: This provides private endpoint connectivity to a specific service, but it is not the fundamental network model for the cluster that assigns routable IPs to individual pods.
1. Microsoft Documentation | Concepts - Networking in Azure Kubernetes Services (AKS), section "Compare network models". The documentation states for Azure CNI: "Every pod gets an IP address from the subnet and can be accessed directly." For kubenet, it notes: "Pods receive an IP address from a logically different address space... Network Address Translation (NAT) is then configured..." This directly confirms that only Azure CNI supports direct pod IP access.
2. Microsoft Documentation | Configure Azure CNI networking in Azure Kubernetes Service (AKS), section "Overview". This document explicitly states, "With Azure CNI, every pod gets an IP address from the subnet and can be accessed directly. These IP addresses must be unique across your network space..." This reinforces that Azure CNI is designed for scenarios requiring direct pod reachability.
3. Microsoft Documentation | Azure App Service Hybrid Connections, section "How it works". This source clarifies that Hybrid Connections are a feature of Azure App Service, not a networking option for AKS clusters.
4. Microsoft Documentation | What is Azure Private Link?, section "Key benefits". This document describes Private Link as a technology for creating private endpoints to PaaS services, which is distinct from the underlying CNI plugin that governs pod IP allocation within the cluster itself.
Question breakdown
Key idea: Azure CNI gives each pod an IP address from the VNet subnet, so the pod is directly routable from connected networks such as on-premises.
How to reach the answer
- Clue: on-premises clients connect using the pod's IP address, so pod IPs must be routable outside the cluster.
- kubenet places pods on a separate overlay range and NATs their traffic behind the node IP, so pods are not directly reachable.
- Azure CNI assigns pods real VNet addresses that can be reached over VPN or ExpressRoute.
- Hybrid Connections and Private Link are not AKS network plugins, which eliminates them.
Each option
Common trap: kubenet is the simpler default and saves IP space, so candidates pick it without noticing it NATs pod traffic.
In practice: Choosing between kubenet, Azure CNI, and CNI Overlay is a design-time decision that affects IP planning. It matters most when legacy clients or firewalls need to reach pod IPs directly.
Remember: If anything outside the cluster must reach pod IPs directly, choose Azure CNI (VNet-assigned pod IPs).
Official documentation: Network concepts for applications in AKS · Configure Azure CNI networking in AKS
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free AZ-104 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AZ-104 practice questions
- Question 1You have an Azure App Services web app named App1. You plan to deploy App1 by using Web D…
- Question 2Your company has an azure subscription that includes a storage account, a resource group,…
- Question 3You have an Azure Active Directory (Azure AD) tenant named contoso.com. You have a CSV fil…
- Question 6You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Res…
- Question 7You need to ensure that VM1 can communicate with VM4. The solution must minimize administ…
- Question 9You have an Azure virtual machine named VM1 that runs Windows Server 2016. You need to cr…
