Correct Answer: ExternalName
An ExternalName service maps a Kubernetes service name to an external DNS name (e.g., a CNAME record). This abstracts the external resource so internal pods can use standard servic...
Correct Answer
ExternalName
Why This Answer Is Correct
An ExternalName service maps a Kubernetes service name to an external DNS name (e.g., a CNAME record). This abstracts the external resource so internal pods can use standard service discovery.
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.
When defining a Kubernetes Service, which type ensures the service is exposed on each nodeβs IP at a static port?
Your organization wants to expose a web application running on Kubernetes to external traffic. You need a solution that assigns a static public IP address and routes traffic across all healthy nodes. Which Kubernetes Service type is most appropriate?
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?
A frontend deployment needs to communicate with a backend API deployment named 'payment-api' within the same namespace. How should the frontend securely and dynamically resolve the backend's address?