Kubernetes and Cloud Native Associate (KCNA) — Question 166

What is the name of the Kubernetes resource used to expose an application?

Answer options

Correct answer: B

Explanation

The correct answer is B, Service, as it is specifically designed to expose applications running on Kubernetes. Option A, Port, refers to a network endpoint, while C, DNS, is used for domain name resolution, and D, Deployment, is a resource for managing application replicas, not for exposure.