You are deploying a StatefulSet for a distributed database (Cassandra) that requires each pod to have a stable, resolvable network identity. Which Kubernetes Service configuration is required?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: A Service with ClusterIP set to 'None'

Setting ClusterIP to 'None' creates a Headless Service. This allows direct DNS resolution to the individual Pod IPs, which is required for StatefulSets to maintain network identity...

Real Exam ScenarioKubernetes Services

You are deploying a StatefulSet for a distributed database (Cassandra) that requires each pod to have a stable, resolvable network identity. Which Kubernetes Service configuration is required?

βœ“ Correct Answer & ExplanationKubernetes Services

Correct Answer

A Service with ClusterIP set to 'None'

Why This Answer Is Correct

Setting ClusterIP to 'None' creates a Headless Service. This allows direct DNS resolution to the individual Pod IPs, which is required for StatefulSets to maintain network identity.

πŸ“š What This Question Tests

This question evaluates your knowledge of Kubernetes Services β€” a core concept tested in cloud certification exams. Understanding Kubernetes Services is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.