Kubernetes and Cloud Native Associate (KCNA) — Question 32

Which are the two primary modes for Service discovery within a Kubernetes cluster?

Answer options

Correct answer: A

Explanation

The correct answer is A, as Kubernetes primarily uses environment variables and DNS for service discovery. The other options, such as API Calls and LDAP, do not represent standard service discovery methods within Kubernetes, while Labels and Radius, and Selectors and DHCP are unrelated to Kubernetes service discovery mechanisms.