Kubernetes and Cloud Native Associate (KCNA) — Question 32
Which are the two primary modes for Service discovery within a Kubernetes cluster?
Answer options
- A. Environment variables and DNS
- B. API Calls and LDAP
- C. Labels and Radius
- D. Selectors and DHCP
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.