Question 340
A Kubernetes administrator recommends: Use a NodePort Service and verify the allocated nodePort and corresponding node firewall rules. Which situation most directly calls for that operation?
Explanation
Correct Answer
This is the original issue addressed by NodePort external reachability: The application is reachable through a node address and the Service's assigned NodePort when network policies permit.
Incorrect Answers
That separate problem requires another operation: Provide a supported load-balancer controller implementation such as MetalLB or use an appropriate alternative Service type. An implementation supplies external address allocation rather than expecting the Kubernetes core API to provision hardware.
That separate problem requires another operation: Add an Ingress rule with host portal.example.org, path /app and the correct backend Service port. The controller routes only requests matching the intended host and path to the application Service.
That separate problem requires another operation: Allocate nonconflicting listening ports because containers within a Pod share its network namespace. Both containers coexist on the Pod IP without conflicting listeners in the shared network stack.