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 to 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