Question 40
At Brookside Manufacturing, the factory applications team is managing a production dashboard cluster with requirements for maintenance windows and dependable telemetry. An acceptance check is required after fixing: An application guide tells engineers to place database credentials directly inside a ConfigMap because it stores configuration. Which observed result BEST confirms the intended correction?
Explanation
Correct Answer
The demo configuration is in a ConfigMap while secret values are separated and exposed only to authorized workloads. This demonstrates that the originally documented problem was resolved: An application guide tells engineers to place database credentials directly inside a ConfigMap because it stores configuration. The corresponding corrective approach is: Use ConfigMaps for non-secret configuration and Kubernetes Secrets with suitable protections for credentials. For Brookside Manufacturing, this observed outcome is more meaningful than a completed ticket or configuration claim.
Incorrect Answers
The app stays reachable through a Service name while selected Pod IP addresses change during replacement. That observed result would support another specific correction: Define a Service as a stable logical endpoint selecting backend Pods, with cluster networking directing traffic to eligible endpoints. The other scenario concerns: A team expects a Service to be a container process and cannot explain how clients reach changing backend Pod addresses. The current Brookside Manufacturing problem is: An application guide tells engineers to place database credentials directly inside a ConfigMap because it stores configuration. The evidence required here is: The demo configuration is in a ConfigMap while secret values are separated and exposed only to authorized workloads.
Client requests continue when the old Pod name disappears and the controller creates a replacement. That observed result would support another specific correction: Use a Service or other stable discovery mechanism rather than relying on replaceable Pod names and IP addresses. The other scenario concerns: A user believes the pod name is a stable identity that a client should store as its permanent service endpoint. The current Brookside Manufacturing problem is: An application guide tells engineers to place database credentials directly inside a ConfigMap because it stores configuration. The evidence required here is: The demo configuration is in a ConfigMap while secret values are separated and exposed only to authorized workloads.
The deployment uses the same image with different approved configuration values across test and production. That observed result would support another specific correction: Separate runtime configuration from the image through a ConfigMap mounted or exposed by the Pod specification. The other scenario concerns: A team hard-codes feature toggles into container images so a small configuration edit triggers a full rebuild. The current Brookside Manufacturing problem is: An application guide tells engineers to place database credentials directly inside a ConfigMap because it stores configuration. The evidence required here is: The demo configuration is in a ConfigMap while secret values are separated and exposed only to authorized workloads.