Kubernetes and Cloud Native Associate (KCNA) — Question 45
What is a Kubernetes Service Endpoint?
Answer options
- A. It is the API Endpoint of our Kubernetes cluster.
- B. It is a name of special Pod in kube-system namespace.
- C. It is an IP address that we can access from the Internet.
- D. It is an object that gets IP addresses of individual Pods assigned to it.
Correct answer: D
Explanation
The correct answer is D because a Kubernetes Service Endpoint is indeed an object that maps to the IP addresses of the Pods that it manages. Option A is incorrect as it refers to the API Endpoint, not a Service Endpoint. Option B is wrong since it mistakenly identifies a Pod instead of an object related to IP addresses. Option C is misleading because it describes a general IP address, not specifically linked to Service Endpoints.