Sample question 1 — Application Environment, Configuration and Security
Under mandates to reduce operational toil, teams expect a compliant design before operators take ownership. Observed need: has to deliver the Ingress to target the nginx controller only. Which response BEST fits this situation?
- A. Set ingressClassName to the nginx IngressClass.
- B. Enable topology-aware routing hints on the Service.
- C. Create a Service of type LoadBalancer and wait for status.loadBalancer.ingress.
- D. Create a Service of type ExternalName with externalName set to that DNS name.
Answer: A. Option A is correct: "Set ingressClassName to the nginx IngressClass." For Ingress class nginx, CKAD guidance supports this approach: Set ingressClassName to the nginx IngressClass. Option B is incorrect because it addresses Topology aware hints (needs traffic to prefer same-zone Endpoints) rather than the need described here. Option C is incorrect because it addresses LoadBalancer cloud (must provision a cloud load balancer for the frontend) rather than the need described here. Option D is incorrect because it addresses ExternalName alias (must alias a Service to an external hostname) rather than the need described here.
