Questions
- How does a service know what pods should be used as endpoints for the service?
- By the service port
- By the namespace
- By the author
- By the selector label
Answer: d
- What
kubectl
command helps you troubleshoot services that may not be working properly?kubectl get services <service name>
kubectl get ep <service name>
kubectl get pods <service name>
kubectl get servers <service name>
Answer: b
- All Kubernetes distributions include support for services that use the
LoadBalancer
type.- True
- False
Answer: b
- Which load balancer type supports all TCP/UDP ports and accepts traffic regardless of the packet’s contents?
- Layer 7
- Cisco layer
- Layer 2
- Layer 4
Answer: d