This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Which Service type should you use when you need to expose an application to the internet with an Azure-managed load balancer?
LoadBalancer
ClusterIP
NodePort
What happens if a Pod's resource requests exceed the available capacity on all cluster nodes?
The Pod stays in Pending status until sufficient resources become available
Kubernetes automatically scales the cluster to add more nodes
The Pod starts but with reduced resource allocation
What must match between a Deployment and a Service for traffic to route correctly?
The Pod labels in the Deployment template must match the Service selector
The container port in the Deployment must match the Service port
The Deployment name must match the Service name
Which kubectl command should you use to view logs from a Pod that crashed and restarted?
kubectl logs <pod-name> --previous
kubectl logs <pod-name>
kubectl describe pod <pod-name>
What does the replicas field in a Deployment manifest control?
replicas
The number of Pod copies that should run simultaneously
The number of containers in each Pod
The number of Services that can connect to the Deployment
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?