AZ-300 Azure App Services & Containers 2 — Questions and Answers
Question 1: Which Azure Kubernetes Service networking mode provides each pod with an IP address directly from the VNet subnet?
- kubenet
- Azure CNI (Correct answer)
- Bridge networking
- Host networking
Correct answer: Azure CNI
Azure CNI (Container Network Interface) allocates VNet IP addresses to each pod, enabling direct VNet-native connectivity and NSG/route table support.
Question 2: What is the purpose of AKS 'node pools' with different VM sizes?
- Isolate production from development subscriptions
- Allow different workloads to run on hardware optimized for their requirements (Correct answer)
- Separate cluster control plane from workers
- Enable multi-region deployment
Correct answer: Allow different workloads to run on hardware optimized for their requirements
AKS node pools let you run different VM types (GPU, memory-optimized) in the same cluster, dedicating the right hardware to each workload type.
Question 3: Which Azure service allows you to run event-driven containerized microservices without managing Kubernetes infrastructure?
- Azure Kubernetes Service
- Azure Container Instances
- Azure Container Apps (Correct answer)
- Azure Functions
Correct answer: Azure Container Apps
Azure Container Apps is a serverless container platform built on Kubernetes and KEDA that lets you run microservices with auto-scaling to zero.
Question 4: What is the benefit of using Azure App Service 'Hybrid Connections'?
- Load balance traffic across regions
- Allow web apps to securely access on-premises resources without VPN or inbound firewall changes (Correct answer)
- Enable WebSocket support
- Provide custom domain SSL
Correct answer: Allow web apps to securely access on-premises resources without VPN or inbound firewall changes
Hybrid Connections allow App Service apps to reach on-premises TCP resources by establishing an outbound relay connection via Azure Service Bus, requiring no inbound firewall changes.
Question 5: Which AKS feature automatically right-sizes node VM counts based on pending pod scheduling requirements?
- Horizontal Pod Autoscaler
- Vertical Pod Autoscaler
- Cluster Autoscaler (Correct answer)
- Node Pool Scaling
Correct answer: Cluster Autoscaler
The Cluster Autoscaler adds or removes nodes based on whether pods cannot be scheduled (scale-out) or nodes are underutilized (scale-in).
Question 6: Which App Service authentication feature allows you to integrate Azure AD login into your web app without writing auth code?
- App Service Managed Identity
- Easy Auth (App Service Authentication) (Correct answer)
- CORS configuration
- Custom Token Middleware
Correct answer: Easy Auth (App Service Authentication)
App Service Authentication (Easy Auth) adds authentication middleware in front of your app, handling Azure AD token validation without modifying app code.
Which Azure Kubernetes Service networking mode provides each pod with an IP address directly from the VNet subnet?