Question 80
At Brookside Manufacturing, the factory applications team is managing a production dashboard cluster with requirements for maintenance windows and dependable telemetry. The team claims a correction and requests independent validation for: A training lab treats YAML metadata labels as human comments and fails to use them for workload grouping. Which observed result BEST confirms the intended correction?
Explanation
Correct Answer
A Service selects only Pods with the matching label, while descriptive annotations remain non-selecting metadata. This demonstrates that the originally documented problem was resolved: A training lab treats YAML metadata labels as human comments and fails to use them for workload grouping. The corresponding corrective approach is: Use labels as key-value selectors for organizing resources and connecting Service or controller selection to Pods. For Brookside Manufacturing, this observed outcome is more meaningful than a completed ticket or configuration claim.
Incorrect Answers
The demo configuration is in a ConfigMap while secret values are separated and exposed only to authorized workloads. That observed result would support another specific correction: Use ConfigMaps for non-secret configuration and Kubernetes Secrets with suitable protections for credentials. The other scenario concerns: An application guide tells engineers to place database credentials directly inside a ConfigMap because it stores configuration. The current Brookside Manufacturing problem is: A training lab treats YAML metadata labels as human comments and fails to use them for workload grouping. The evidence required here is: A Service selects only Pods with the matching label, while descriptive annotations remain non-selecting metadata.
Altering an annotation does not change Service endpoint selection, while modifying the intended label selector does. That observed result would support another specific correction: Distinguish annotations as non-identifying metadata from labels used by selectors and other Kubernetes mechanisms. The other scenario concerns: An engineer changes a descriptive annotation expecting it to route production traffic to a different set of Pods. The current Brookside Manufacturing problem is: A training lab treats YAML metadata labels as human comments and fails to use them for workload grouping. The evidence required here is: A Service selects only Pods with the matching label, while descriptive annotations remain non-selecting metadata.
Two containers in a demonstrator Pod communicate over localhost while separate Pods use their distinct assigned addresses. That observed result would support another specific correction: Describe a Pod as one or more tightly coupled containers sharing a network namespace and selected storage volumes. The other scenario concerns: A development team calls each individual container a Pod and cannot explain why a logging sidecar shares networking with its main process. The current Brookside Manufacturing problem is: A training lab treats YAML metadata labels as human comments and fails to use them for workload grouping. The evidence required here is: A Service selects only Pods with the matching label, while descriptive annotations remain non-selecting metadata.