CiscoCisco
300-910 · Question #44
300-910 Question #44: Real Exam Question with Answer & Explanation
The correct answer is B: Has exposed ports 80 and 8080 to a public IP address and directs incoming connections to the port named nginx-port. The question asks about the properties of a Kubernetes LoadBalancer, implying common configuration and behavior, even without an exhibit.
Application Deployment and Operations
Question
Refer to the exhibit. What are the properties of the load balancer in a Kubernetes environment?
Options
- AHas exposed ports 80 and 8080 to a private IP address and directs outgoing connections to the port named http-port1
- BHas exposed ports 80 and 8080 to a public IP address and directs incoming connections to the port named nginx-port
- CForwards incoming traffic from the port named nginx-port to ports 80 and 8080 of nginxapp
- DForwards any outgoing traffic from the port named nginx-port to exposed ports http-port1 and http-port2 of nginxapp
Explanation
The question asks about the properties of a Kubernetes LoadBalancer, implying common configuration and behavior, even without an exhibit.
Common mistakes.
- A. LoadBalancer services are primarily for exposing services to the public internet, not typically just a private IP, unless explicitly configured for internal load balancing. It also handles incoming, not outgoing, connections.
- C. Load balancers forward incoming traffic from an exposed service port (e.g., 80 or 8080) to the target port (like
nginx-port) of the backend pods, not the other way around. - D. Load balancers handle incoming traffic to the service, not outgoing traffic. The concept of forwarding outgoing traffic from a specific port name to exposed ports is incorrect for a LoadBalancer Service.
Concept tested. Kubernetes LoadBalancer Service properties
Reference. https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
Topics
#Kubernetes#Load Balancer#Services#Networking
Community Discussion
No community discussion yet for this question.