Linux Foundation KCNA Practice Test 120
Question 1190
An operator raises CPU shares in response to an OOMKilled event without investigating application memory usage. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic.
- Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts.
- Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events.
- Applications mount volumes with the requested access pattern without unsupported simultaneous access assumptions.
- Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics.
Explanation
Correct Answers
A:Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. This response implements the controlling Kubernetes or cloud native principle. Container memory exceeding its cgroup limit can trigger OOMKilled even when node aggregate memory seems available. Check its effect by: Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. This is the implementation part of the required paired answer. Workload context: An operator raises CPU shares in response to an OOMKilled event without investigating application memory usage.
E:Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. This is the most discriminating evidence for the described failure or requirement. Container memory exceeding its cgroup limit can trigger OOMKilled even when node aggregate memory seems available. The corresponding implementation is: Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. This is the diagnostic evidence part of the paired answer. Workload context: An operator raises CPU shares in response to an OOMKilled event without investigating application memory usage.
Incorrect Answers
B:Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts. This step belongs to Node pressure and Pod eviction analysis rather than the complementary implementation and evidence pair. The intended approach is: Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. Validate with: Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. Workload context: An operator raises CPU shares in response to an OOMKilled event without investigating application memory usage.
C:Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events. This step belongs to Readiness liveness and startup probe behavior rather than the complementary implementation and evidence pair. The intended approach is: Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. Validate with: Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. Workload context: An operator raises CPU shares in response to an OOMKilled event without investigating application memory usage.
D:Applications mount volumes with the requested access pattern without unsupported simultaneous access assumptions. This step belongs to ReadWriteOnce and ReadWriteMany semantics rather than the complementary implementation and evidence pair. The intended approach is: Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. Validate with: Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. Workload context: An operator raises CPU shares in response to an OOMKilled event without investigating application memory usage.
Question 1191
A new fourth replica remains Pending after DoNotSchedule maxSkew conflicts with nodes available in only one zone. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway.
- Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility.
- Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors.
- Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events.
Explanation
Correct Answer
A:Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. This is the most discriminating evidence for the described failure or requirement. Spread constraints balance matching Pods across topology domains; missing topology labels and strict maxSkew can prevent placement. The corresponding implementation is: Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. Workload context: A new fourth replica remains Pending after DoNotSchedule maxSkew conflicts with nodes available in only one zone.
Incorrect Answers
B:Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility. These observations are more relevant to PersistentVolume zone binding and placement, not this case. The distinguishing check is: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: A new fourth replica remains Pending after DoNotSchedule maxSkew conflicts with nodes available in only one zone.
C:Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors. These observations are more relevant to Container runtime and CRI, not this case. The distinguishing check is: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: A new fourth replica remains Pending after DoNotSchedule maxSkew conflicts with nodes available in only one zone.
D:Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events. These observations are more relevant to Sidecar containers and shared Pod lifecycle, not this case. The distinguishing check is: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: A new fourth replica remains Pending after DoNotSchedule maxSkew conflicts with nodes available in only one zone.
Question 1192
A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Review security policy, affected version, maintainer contact, severity evidence and coordinated disclosure plan.
- Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels.
- Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality.
- Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis.
- Maintainers can reproduce and triage the problem without access to private credentials or customer systems.
Explanation
Correct Answers
B:Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. This is the most discriminating evidence for the described failure or requirement. Prometheus primarily scrapes targets on an interval; instrumentation must expose values and high-cardinality labels can overload storage. The corresponding implementation is: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. This is the diagnostic evidence part of the paired answer. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.
C:Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. This response implements the controlling Kubernetes or cloud native principle. Prometheus primarily scrapes targets on an interval; instrumentation must expose values and high-cardinality labels can overload storage. Check its effect by: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. This is the implementation part of the required paired answer. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.
Incorrect Answers
A:Review security policy, affected version, maintainer contact, severity evidence and coordinated disclosure plan. This step belongs to Responsible vulnerability disclosure in communities rather than the complementary implementation and evidence pair. The intended approach is: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. Validate with: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.
D:Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. This step belongs to Metrics logs and traces distinctions rather than the complementary implementation and evidence pair. The intended approach is: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. Validate with: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.
E:Maintainers can reproduce and triage the problem without access to private credentials or customer systems. This step belongs to Upstream issue reporting and review collaboration rather than the complementary implementation and evidence pair. The intended approach is: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. Validate with: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.
Question 1193
A worker cannot validate the registry certificate after an internal CA rotation while other nodes still pull images successfully. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- The PVC binds to a suitable volume and survives recreation of the application Pod as designed.
- Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.
- Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings.
- Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency.
- Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references.
Explanation
Correct Answers
B:Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This response implements the controlling Kubernetes or cloud native principle. ImagePullBackOff is a retrieval or authorization problem; changing app readiness probes cannot fix a missing image. Check its effect by: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. This is the implementation part of the required paired answer. Workload context: A worker cannot validate the registry certificate after an internal CA rotation while other nodes still pull images successfully.
E:Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. This is the most discriminating evidence for the described failure or requirement. ImagePullBackOff is a retrieval or authorization problem; changing app readiness probes cannot fix a missing image. The corresponding implementation is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This is the diagnostic evidence part of the paired answer. Workload context: A worker cannot validate the registry certificate after an internal CA rotation while other nodes still pull images successfully.
Incorrect Answers
A:The PVC binds to a suitable volume and survives recreation of the application Pod as designed. This step belongs to PersistentVolume and claim bindings rather than the complementary implementation and evidence pair. The intended approach is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Validate with: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A worker cannot validate the registry certificate after an internal CA rotation while other nodes still pull images successfully.
C:Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings. This step belongs to Node pressure and Pod eviction analysis rather than the complementary implementation and evidence pair. The intended approach is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Validate with: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A worker cannot validate the registry certificate after an internal CA rotation while other nodes still pull images successfully.
D:Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. This step belongs to Service selector and port mismatch diagnostics rather than the complementary implementation and evidence pair. The intended approach is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Validate with: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A worker cannot validate the registry certificate after an internal CA rotation while other nodes still pull images successfully.
Question 1194
A new team dismisses every CNCF sandbox project as unusable despite a well-scoped pilot and maintained code. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Report suspected project security vulnerabilities through the designated private security channel before public reproduction details or exploit examples.
- Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions.
- Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit.
- Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities.
Explanation
Correct Answer
C:Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit. This response implements the controlling Kubernetes or cloud native principle. CNCF maturity levels indicate aspects of governance and adoption, not a guarantee of security or perfect product fit. Check its effect by: Review CNCF landscape category, project governance, release cadence, support ecosystem and security disclosures. Workload context: A new team dismisses every CNCF sandbox project as unusable despite a well-scoped pilot and maintained code.
Incorrect Answers
A:Report suspected project security vulnerabilities through the designated private security channel before public reproduction details or exploit examples. This action addresses Responsible vulnerability disclosure in communities instead of the controlling requirement. Public bug trackers are not always the right venue for undisclosed security issues; project security policies define channels. For this scenario prefer: Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit. Workload context: A new team dismisses every CNCF sandbox project as unusable despite a well-scoped pilot and maintained code.
B:Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. This action addresses Open standards vendor-neutral portability instead of the controlling requirement. Cloud native APIs improve portability but do not guarantee identical storage classes, load balancers or custom controllers across clouds. For this scenario prefer: Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit. Workload context: A new team dismisses every CNCF sandbox project as unusable despite a well-scoped pilot and maintained code.
D:Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities. This action addresses CNCF ecosystem and Kubernetes roles instead of the controlling requirement. The CNCF ecosystem contains complementary projects; Kubernetes itself is not a complete application observability or delivery platform. For this scenario prefer: Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit. Workload context: A new team dismisses every CNCF sandbox project as unusable despite a well-scoped pilot and maintained code.
Question 1195
A Pod reports Running yet its Service has no ready endpoints because the readiness probe uses a nonexistent URL. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- The precise scheduling blocker is removed and the workload binds to an eligible node.
- Only authorized artifacts enter the cluster and each workload is traceable to a reviewed build.
- External clients reach only the intended healthy Service backends and the allocated endpoint matches network policy.
- Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops.
Explanation
Correct Answer
D:Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. This is an observable service outcome, not just evidence that a configuration file was saved. Readiness failure removes a Pod from ready endpoints; liveness failure may restart a container. Workload context: A Pod reports Running yet its Service has no ready endpoints because the readiness probe uses a nonexistent URL.
Incorrect Answers
A:The precise scheduling blocker is removed and the workload binds to an eligible node. That result validates Pending pod FailedScheduling events rather than the requirement here. Verify instead: Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. Workload context: A Pod reports Running yet its Service has no ready endpoints because the readiness probe uses a nonexistent URL.
B:Only authorized artifacts enter the cluster and each workload is traceable to a reviewed build. That result validates Image provenance and admission policies rather than the requirement here. Verify instead: Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. Workload context: A Pod reports Running yet its Service has no ready endpoints because the readiness probe uses a nonexistent URL.
C:External clients reach only the intended healthy Service backends and the allocated endpoint matches network policy. That result validates LoadBalancer Service provisioning rather than the requirement here. Verify instead: Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. Workload context: A Pod reports Running yet its Service has no ready endpoints because the readiness probe uses a nonexistent URL.
Question 1196
A developer puts an unsupported spec field in a ConfigMap and assumes YAML formatting guarantees correct Kubernetes behavior. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries.
- Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads.
- Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API.
- Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status.
Explanation
Correct Answer
C:Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API. This response implements the controlling Kubernetes or cloud native principle. Kubernetes API versions are resource-specific and evolve; a valid YAML file does not guarantee the API accepts its kind or schema. Check its effect by: Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts. Workload context: A developer puts an unsupported spec field in a ConfigMap and assumes YAML formatting guarantees correct Kubernetes behavior.
Incorrect Answers
A:Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. This action addresses OCI registries and image distribution instead of the controlling requirement. OCI registries store/distribute image artifacts; they do not orchestrate Pods or apply cluster networking. For this scenario prefer: Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API. Workload context: A developer puts an unsupported spec field in a ConfigMap and assumes YAML formatting guarantees correct Kubernetes behavior.
B:Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads. This action addresses PriorityClass and preemption instead of the controlling requirement. Priority influences scheduling and potential preemption but does not bypass hard affinity or lack of suitable hardware. For this scenario prefer: Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API. Workload context: A developer puts an unsupported spec field in a ConfigMap and assumes YAML formatting guarantees correct Kubernetes behavior.
D:Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status. This action addresses Kubelet node agent responsibilities instead of the controlling requirement. kubelet manages Pod execution on a node; it does not serve the central Kubernetes API or select new nodes. For this scenario prefer: Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API. Workload context: A developer puts an unsupported spec field in a ConfigMap and assumes YAML formatting guarantees correct Kubernetes behavior.
Question 1197
A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes.
- Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval.
- Check Pod priority, preemptionPolicy, scheduling events, available alternatives and victim selection.
- Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway.
Explanation
Correct Answer
D:Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. This is the most discriminating evidence for the described failure or requirement. Spread constraints balance matching Pods across topology domains; missing topology labels and strict maxSkew can prevent placement. The corresponding implementation is: Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.
Incorrect Answers
A:Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes. These observations are more relevant to Pod shared network namespace and lifecycle, not this case. The distinguishing check is: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.
B:Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval. These observations are more relevant to Immutable container images and digests, not this case. The distinguishing check is: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.
C:Check Pod priority, preemptionPolicy, scheduling events, available alternatives and victim selection. These observations are more relevant to PriorityClass and preemption, not this case. The distinguishing check is: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.
Question 1198
An operator deploys two clusters using the same version label and later discovers a registry mirror serves a changed tag. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes.
- Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements.
- Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval.
- Inspect etcd quorum health, member status, snapshot freshness, certificate validity and restore procedure.
Explanation
Correct Answer
C:Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval. This is the most discriminating evidence for the described failure or requirement. Mutable image tags can resolve to different builds over time; digests identify immutable content. The corresponding implementation is: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. Workload context: An operator deploys two clusters using the same version label and later discovers a registry mirror serves a changed tag.
Incorrect Answers
A:Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. These observations are more relevant to Pending Pods and resource-fit checks, not this case. The distinguishing check is: Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval. Workload context: An operator deploys two clusters using the same version label and later discovers a registry mirror serves a changed tag.
B:Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements. These observations are more relevant to Container versus virtual machine isolation, not this case. The distinguishing check is: Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval. Workload context: An operator deploys two clusters using the same version label and later discovers a registry mirror serves a changed tag.
D:Inspect etcd quorum health, member status, snapshot freshness, certificate validity and restore procedure. These observations are more relevant to etcd consistency and cluster state, not this case. The distinguishing check is: Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval. Workload context: An operator deploys two clusters using the same version label and later discovers a registry mirror serves a changed tag.
Question 1199
A release uses image:latest and nodes pull different revisions because registry tags were moved between schedules. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- All intended replicas run the approved digest and upgrades trace back to a reviewed artifact.
- Replicas spread or co-locate according to declared constraints with predictable behavior when no feasible topology exists.
- The Pod schedules only onto eligible labeled nodes while other nodes remain untouched.
- An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers.
Explanation
Correct Answer
A:All intended replicas run the approved digest and upgrades trace back to a reviewed artifact. This is an observable service outcome, not just evidence that a configuration file was saved. Mutable image tags can resolve to different builds over time; digests identify immutable content. Workload context: A release uses image:latest and nodes pull different revisions because registry tags were moved between schedules.
Incorrect Answers
B:Replicas spread or co-locate according to declared constraints with predictable behavior when no feasible topology exists. That result validates Pod affinity anti-affinity rather than the requirement here. Verify instead: All intended replicas run the approved digest and upgrades trace back to a reviewed artifact. Workload context: A release uses image:latest and nodes pull different revisions because registry tags were moved between schedules.
C:The Pod schedules only onto eligible labeled nodes while other nodes remain untouched. That result validates nodeSelector equality placement rather than the requirement here. Verify instead: All intended replicas run the approved digest and upgrades trace back to a reviewed artifact. Workload context: A release uses image:latest and nodes pull different revisions because registry tags were moved between schedules.
D:An operator investigates a running Pod without modifying its immutable application image or replacing production workload containers. That result validates Ephemeral debugging containers rather than the requirement here. Verify instead: All intended replicas run the approved digest and upgrades trace back to a reviewed artifact. Workload context: A release uses image:latest and nodes pull different revisions because registry tags were moved between schedules.
Question 1200
A cluster reports a NotReady node when kubelet cannot reach the configured runtime after a host reboot. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Place a Kubernetes Service in front of ephemeral Pods when callers need stable discovery independent of individual Pod IP changes.
- Confirm the active kubeconfig context and namespace before using kubectl on production clusters.
- Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd.
- Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status.
Explanation
Correct Answer
D:Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status. This response implements the controlling Kubernetes or cloud native principle. kubelet manages Pod execution on a node; it does not serve the central Kubernetes API or select new nodes. Check its effect by: Review kubelet service logs, node conditions, CRI connectivity and Pod events for assigned nodes. Workload context: A cluster reports a NotReady node when kubelet cannot reach the configured runtime after a host reboot.
Incorrect Answers
A:Place a Kubernetes Service in front of ephemeral Pods when callers need stable discovery independent of individual Pod IP changes. This action addresses Service stable virtual endpoint instead of the controlling requirement. A Service abstracts changing Pod endpoints; exposing a ClusterIP does not automatically create public Internet access. For this scenario prefer: Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status. Workload context: A cluster reports a NotReady node when kubelet cannot reach the configured runtime after a host reboot.
B:Confirm the active kubeconfig context and namespace before using kubectl on production clusters. This action addresses kubectl context and cluster selection instead of the controlling requirement. A context combines cluster, user and namespace settings; the current shell directory alone does not select a cluster. For this scenario prefer: Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status. Workload context: A cluster reports a NotReady node when kubelet cannot reach the configured runtime after a host reboot.
C:Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd. This action addresses Kubernetes API server and API requests instead of the controlling requirement. kube-apiserver validates and serves API requests; etcd stores cluster state rather than exposing the user API. For this scenario prefer: Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status. Workload context: A cluster reports a NotReady node when kubelet cannot reach the configured runtime after a host reboot.