Bird
0
0

What is the main difference between Kubernetes Endpoints and EndpointSlices?

easy📝 Conceptual Q1 of 15
Kubernetes - Services
What is the main difference between Kubernetes Endpoints and EndpointSlices?
AEndpoints are deprecated and replaced by EndpointSlices
BEndpoints list all IPs directly, EndpointSlices group them for scalability
CEndpoints store service logs, EndpointSlices store metrics
DEndpoints are used only for pods, EndpointSlices only for nodes
Step-by-Step Solution
Solution:
  1. Step 1: Understand Endpoints role

    Endpoints list all IP addresses of pods backing a service directly.
  2. Step 2: Understand EndpointSlices role

    EndpointSlices group these IPs into smaller chunks to improve scalability and performance.
  3. Final Answer:

    Endpoints list all IPs directly, EndpointSlices group them for scalability -> Option B
  4. Quick Check:

    Endpoints list IPs directly, EndpointSlices group for scalability [OK]
Quick Trick: EndpointSlices improve scalability by grouping IPs [OK]
Common Mistakes:
  • Thinking EndpointSlices are only for nodes
  • Confusing Endpoints with logs or metrics
  • Assuming Endpoints are deprecated

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes