cert
cert-1
cert-2

Pass Linux Foundation KCNA Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
KCNA Exam - Verified By Experts
KCNA Premium Bundle
$29.98

KCNA Premium Bundle

$79.99
$109.97
  • Premium File 333 Questions & Answers. Last update: Nov 02, 2026
  • Training Course 54 Video Lectures
  • Study Guide 410 Pages
 
$109.97
$79.99
accept 39 downloads in last 7 days
block-screenshots
Purchase Linux Foundation KCNA Exam Training Products Individually
Linux Foundation KCNA Premium File
Premium File 333 Q&A
$76.99$69.99
Linux Foundation KCNA Video Training Course
Training Course 54 Lectures
$21.99 $19.99
Linux Foundation KCNA PDF Study Guide
Study Guide 410 Pages
$21.99 $19.99
Linux Foundation KCNA Practice Test 119

Question 1180

A platform team drains a node hosting local ephemeral data without evaluating whether eviction will discard required state. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily.
  2. Assign PriorityClasses carefully and understand when the scheduler may preempt lower-priority Pods to place urgent workloads.
  3. Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status.
  4. Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation.

Explanation

Correct Answer

D:

Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation. This response implements the controlling Kubernetes or cloud native principle. cordon prevents new scheduling while drain attempts safe evictions; existing Pods are not deleted by cordon alone. Check its effect by: Check node unschedulable state, PodDisruptionBudgets, DaemonSets, local storage and eviction events. Workload context: A platform team drains a node hosting local ephemeral data without evaluating whether eviction will discard required state.

Incorrect Answers

A:

Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. This action addresses Kubernetes upgrades and version skew instead of the controlling requirement. API compatibility and supported component skew determine upgrade sequencing; not every Kubernetes version jump is supported. For this scenario prefer: Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation. Workload context: A platform team drains a node hosting local ephemeral data without evaluating whether eviction will discard required state.

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: Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation. Workload context: A platform team drains a node hosting local ephemeral data without evaluating whether eviction will discard required state.

C:

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: Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation. Workload context: A platform team drains a node hosting local ephemeral data without evaluating whether eviction will discard required state.

Question 1181

A test batch job stores intermediate scratch files in emptyDir and appropriately discards them when it completes. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement.
  2. Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests.
  3. Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs.
  4. Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic.

Explanation

Correct Answer

A:

Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement. This response implements the controlling Kubernetes or cloud native principle. emptyDir exists for the lifetime of a Pod on a node and is lost when the Pod is removed. Check its effect by: Inspect volume type, mount paths, Pod owner, node placement and data recovery requirements. Workload context: A test batch job stores intermediate scratch files in emptyDir and appropriately discards them when it completes.

Incorrect Answers

B:

Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests. This action addresses Secret base64 encoding versus encryption instead of the controlling requirement. Base64 is a reversible encoding, not encryption; Secret storage and access policies require separate protection. For this scenario prefer: Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement. Workload context: A test batch job stores intermediate scratch files in emptyDir and appropriately discards them when it completes.

C:

Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. This action addresses StorageClass dynamic provisioning instead of the controlling requirement. StorageClass names provisioning behavior; a controller and backend must support dynamic provisioning. For this scenario prefer: Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement. Workload context: A test batch job stores intermediate scratch files in emptyDir and appropriately discards them when it completes.

D:

Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. This action addresses Namespace segmentation with NetworkPolicies instead of the controlling requirement. NetworkPolicy governs data-plane traffic, whereas RBAC governs API actions; neither alone replaces the other. For this scenario prefer: Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement. Workload context: A test batch job stores intermediate scratch files in emptyDir and appropriately discards them when it completes.

Question 1182

A cluster adds nodes successfully but the scheduler still rejects the workload because it requests a nonexistent topology label. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts.
  2. Check Pod nodeSelector keys and values against node labels and scheduling events.
  3. Review Pod scheduling reasons, node group templates, provisioning limits and autoscaler scale-up decisions.
  4. Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway.

Explanation

Correct Answer

C:

Review Pod scheduling reasons, node group templates, provisioning limits and autoscaler scale-up decisions. This is the most discriminating evidence for the described failure or requirement. The autoscaler provisions nodes; it does not assign Pod nodeName or fix impossible affinity or quota constraints by itself. The corresponding implementation is: Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. Workload context: A cluster adds nodes successfully but the scheduler still rejects the workload because it requests a nonexistent topology label.

Incorrect Answers

A:

Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts. These observations are more relevant to Declarative resource manifests and API versions, not this case. The distinguishing check is: Review Pod scheduling reasons, node group templates, provisioning limits and autoscaler scale-up decisions. Workload context: A cluster adds nodes successfully but the scheduler still rejects the workload because it requests a nonexistent topology label.

B:

Check Pod nodeSelector keys and values against node labels and scheduling events. These observations are more relevant to nodeSelector equality placement, not this case. The distinguishing check is: Review Pod scheduling reasons, node group templates, provisioning limits and autoscaler scale-up decisions. Workload context: A cluster adds nodes successfully but the scheduler still rejects the workload because it requests a nonexistent topology label.

D:

Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. These observations are more relevant to Topology spread constraints, not this case. The distinguishing check is: Review Pod scheduling reasons, node group templates, provisioning limits and autoscaler scale-up decisions. Workload context: A cluster adds nodes successfully but the scheduler still rejects the workload because it requests a nonexistent topology label.

Question 1183

A pipeline signs a release tag string without binding its attestation to the exact image digest deployed later. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership.
  2. Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history.
  3. Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result.
  4. Healthy Pods enter ready endpoints only after application dependencies function, without restarting healthy processes unnecessarily.
  5. Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source.

Explanation

Correct Answers

C:

Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. This is the most discriminating evidence for the described failure or requirement. SBOM inventory and signed provenance provide different evidence; neither replaces vulnerability and security-policy review. The corresponding implementation is: Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. This is the diagnostic evidence part of the paired answer. Workload context: A pipeline signs a release tag string without binding its attestation to the exact image digest deployed later.

E:

Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. This response implements the controlling Kubernetes or cloud native principle. SBOM inventory and signed provenance provide different evidence; neither replaces vulnerability and security-policy review. Check its effect by: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. This is the implementation part of the required paired answer. Workload context: A pipeline signs a release tag string without binding its attestation to the exact image digest deployed later.

Incorrect Answers

A:

Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership. This step belongs to kubectl describe and event chronology rather than the complementary implementation and evidence pair. The intended approach is: Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. Validate with: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. Workload context: A pipeline signs a release tag string without binding its attestation to the exact image digest deployed later.

B:

Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. This step belongs to Helm charts templates and values rather than the complementary implementation and evidence pair. The intended approach is: Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. Validate with: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. Workload context: A pipeline signs a release tag string without binding its attestation to the exact image digest deployed later.

D:

Healthy Pods enter ready endpoints only after application dependencies function, without restarting healthy processes unnecessarily. This step belongs to Readiness-probe failure versus process crash rather than the complementary implementation and evidence pair. The intended approach is: Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. Validate with: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. Workload context: A pipeline signs a release tag string without binding its attestation to the exact image digest deployed later.

Question 1184

A release renames Pod labels and the frontend's Service has no endpoints despite available healthy Pods. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic.
  2. Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate.
  3. Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs.
  4. Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency.

Explanation

Correct Answer

D:

Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. This response implements the controlling Kubernetes or cloud native principle. A Service can resolve in DNS yet have zero endpoints or forward to an incorrect port. Check its effect by: Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. Workload context: A release renames Pod labels and the frontend's Service has no endpoints despite available healthy Pods.

Incorrect Answers

A:

Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. This action addresses Container OOMKilled and resource pressure instead of the controlling requirement. Container memory exceeding its cgroup limit can trigger OOMKilled even when node aggregate memory seems available. For this scenario prefer: Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. Workload context: A release renames Pod labels and the frontend's Service has no endpoints despite available healthy Pods.

B:

Assign readiness for traffic acceptance, liveness for unhealthy restarts and startup for slow initialization when appropriate. This action addresses Readiness liveness and startup probe behavior instead of the controlling requirement. Readiness failure removes a Pod from ready endpoints; liveness failure may restart a container. For this scenario prefer: Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. Workload context: A release renames Pod labels and the frontend's Service has no endpoints despite available healthy Pods.

C:

Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. This action addresses StorageClass dynamic provisioning instead of the controlling requirement. StorageClass names provisioning behavior; a controller and backend must support dynamic provisioning. For this scenario prefer: Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. Workload context: A release renames Pod labels and the frontend's Service has no endpoints despite available healthy Pods.

Question 1185

A developer receives permission to list Pods in one namespace but believes it also allows deleting Nodes across the cluster. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege.
  2. Inspect verbs, apiGroups, resources, RoleBinding/ClusterRoleBinding subjects and kubectl auth can-i results.
  3. Containers launch the intended process with arguments preserved and failures remain visible through status.
  4. Confirm the active kubeconfig context and namespace before using kubectl on production clusters.
  5. Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions.

Explanation

Correct Answers

A:

Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege. This response implements the controlling Kubernetes or cloud native principle. A RoleBinding can bind a ClusterRole within its namespace; a ClusterRoleBinding grants its rules at cluster scope. Check its effect by: Inspect verbs, apiGroups, resources, RoleBinding/ClusterRoleBinding subjects and kubectl auth can-i results. This is the implementation part of the required paired answer. Workload context: A developer receives permission to list Pods in one namespace but believes it also allows deleting Nodes across the cluster.

B:

Inspect verbs, apiGroups, resources, RoleBinding/ClusterRoleBinding subjects and kubectl auth can-i results. This is the most discriminating evidence for the described failure or requirement. A RoleBinding can bind a ClusterRole within its namespace; a ClusterRoleBinding grants its rules at cluster scope. The corresponding implementation is: Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege. This is the diagnostic evidence part of the paired answer. Workload context: A developer receives permission to list Pods in one namespace but believes it also allows deleting Nodes across the cluster.

Incorrect Answers

C:

Containers launch the intended process with arguments preserved and failures remain visible through status. This step belongs to Container command entrypoint and arguments rather than the complementary implementation and evidence pair. The intended approach is: Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege. Validate with: Inspect verbs, apiGroups, resources, RoleBinding/ClusterRoleBinding subjects and kubectl auth can-i results. Workload context: A developer receives permission to list Pods in one namespace but believes it also allows deleting Nodes across the cluster.

D:

Confirm the active kubeconfig context and namespace before using kubectl on production clusters. This step belongs to kubectl context and cluster selection rather than the complementary implementation and evidence pair. The intended approach is: Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege. Validate with: Inspect verbs, apiGroups, resources, RoleBinding/ClusterRoleBinding subjects and kubectl auth can-i results. Workload context: A developer receives permission to list Pods in one namespace but believes it also allows deleting Nodes across the cluster.

E:

Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions. This step belongs to Image scanning and software bills of materials rather than the complementary implementation and evidence pair. The intended approach is: Assign a Role to namespaced permissions and a ClusterRole where appropriate for cluster-scoped or reusable rules, binding least privilege. Validate with: Inspect verbs, apiGroups, resources, RoleBinding/ClusterRoleBinding subjects and kubectl auth can-i results. Workload context: A developer receives permission to list Pods in one namespace but believes it also allows deleting Nodes across the cluster.

Question 1186

A release contains an Ingress manifest using an API version removed by the current Kubernetes release. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation.
  2. Inspect etcd quorum health, member status, snapshot freshness, certificate validity and restore procedure.
  3. Check NodeReady condition, kubelet heartbeats, network connectivity, pressure conditions and scheduler events.
  4. Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts.

Explanation

Correct Answer

D:

Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts. This is the most discriminating evidence for the described failure or requirement. Kubernetes API versions are resource-specific and evolve; a valid YAML file does not guarantee the API accepts its kind or schema. The corresponding implementation is: Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API. Workload context: A release contains an Ingress manifest using an API version removed by the current Kubernetes release.

Incorrect Answers

A:

Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation. These observations are more relevant to kubectl apply and declarative updates, not this case. The distinguishing check is: Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts. Workload context: A release contains an Ingress manifest using an API version removed by the current Kubernetes release.

B:

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: Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts. Workload context: A release contains an Ingress manifest using an API version removed by the current Kubernetes release.

C:

Check NodeReady condition, kubelet heartbeats, network connectivity, pressure conditions and scheduler events. These observations are more relevant to Node readiness and scheduling exclusion, not this case. The distinguishing check is: Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts. Workload context: A release contains an Ingress manifest using an API version removed by the current Kubernetes release.

Question 1187

A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic.
  2. Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed.
  3. Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.
  4. Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures.

Explanation

Correct Answer

D:

Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. This response implements the controlling Kubernetes or cloud native principle. CrashLoopBackOff indicates repeated container exits and restart delays, not a scheduler placement failure. Check its effect by: Review container lastState, exit code, restart count, previous logs and application configuration. Workload context: A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts.

Incorrect Answers

A:

Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. This action addresses Namespace segmentation with NetworkPolicies instead of the controlling requirement. NetworkPolicy governs data-plane traffic, whereas RBAC governs API actions; neither alone replaces the other. For this scenario prefer: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. Workload context: A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts.

B:

Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed. This action addresses ClusterIP and NodePort Service exposure instead of the controlling requirement. ClusterIP does not automatically provide an external endpoint; NodePort opens a port on eligible nodes with network policy constraints. For this scenario prefer: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. Workload context: A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts.

C:

Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This action addresses ImagePullBackOff registry and auth errors instead of the controlling requirement. ImagePullBackOff is a retrieval or authorization problem; changing app readiness probes cannot fix a missing image. For this scenario prefer: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. Workload context: A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts.

Question 1188

A team stores distributed traces without matching service names or trace IDs and cannot reconstruct an end-user request. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect metric labels and samples, log fields, trace/span correlation and sampling rates.
  2. Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality.
  3. Inspect tracer/provider setup, context propagation, collector pipeline, resource attributes and exporter endpoint health.
  4. Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis.
  5. Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack.

Explanation

Correct Answers

A:

Inspect metric labels and samples, log fields, trace/span correlation and sampling rates. This is the most discriminating evidence for the described failure or requirement. Logs, metrics and traces answer different questions; observability requires instrumenting and interpreting their context. The corresponding implementation is: Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. This is the diagnostic evidence part of the paired answer. Workload context: A team stores distributed traces without matching service names or trace IDs and cannot reconstruct an end-user request.

D:

Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. This response implements the controlling Kubernetes or cloud native principle. Logs, metrics and traces answer different questions; observability requires instrumenting and interpreting their context. Check its effect by: Inspect metric labels and samples, log fields, trace/span correlation and sampling rates. This is the implementation part of the required paired answer. Workload context: A team stores distributed traces without matching service names or trace IDs and cannot reconstruct an end-user request.

Incorrect Answers

B:

Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. This step belongs to Prometheus pull scraping and metrics endpoints rather than the complementary implementation and evidence pair. The intended approach is: Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. Validate with: Inspect metric labels and samples, log fields, trace/span correlation and sampling rates. Workload context: A team stores distributed traces without matching service names or trace IDs and cannot reconstruct an end-user request.

C:

Inspect tracer/provider setup, context propagation, collector pipeline, resource attributes and exporter endpoint health. This step belongs to OpenTelemetry instrumentation and exporters rather than the complementary implementation and evidence pair. The intended approach is: Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. Validate with: Inspect metric labels and samples, log fields, trace/span correlation and sampling rates. Workload context: A team stores distributed traces without matching service names or trace IDs and cannot reconstruct an end-user request.

E:

Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack. This step belongs to CNCF ecosystem and Kubernetes roles rather than the complementary implementation and evidence pair. The intended approach is: Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. Validate with: Inspect metric labels and samples, log fields, trace/span correlation and sampling rates. Workload context: A team stores distributed traces without matching service names or trace IDs and cannot reconstruct an end-user request.

Question 1189

A node loses CNI connectivity and control-plane heartbeats before workloads appear stuck in Terminating state. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Diagnose NotReady nodes and distinguish node health from Pod-level readiness before reopening scheduling.
  2. Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API.
  3. Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation.
  4. Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action.

Explanation

Correct Answer

A:

Diagnose NotReady nodes and distinguish node health from Pod-level readiness before reopening scheduling. This response implements the controlling Kubernetes or cloud native principle. Node readiness affects cluster placement and lifecycle; a single Pod readiness-probe failure does not make the entire node NotReady. Check its effect by: Check NodeReady condition, kubelet heartbeats, network connectivity, pressure conditions and scheduler events. Workload context: A node loses CNI connectivity and control-plane heartbeats before workloads appear stuck in Terminating state.

Incorrect Answers

B:

Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API. This action addresses Declarative resource manifests and API versions instead of the controlling requirement. Kubernetes API versions are resource-specific and evolve; a valid YAML file does not guarantee the API accepts its kind or schema. For this scenario prefer: Diagnose NotReady nodes and distinguish node health from Pod-level readiness before reopening scheduling. Workload context: A node loses CNI connectivity and control-plane heartbeats before workloads appear stuck in Terminating state.

C:

Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation. This action addresses Node cordon drain maintenance instead of the controlling requirement. cordon prevents new scheduling while drain attempts safe evictions; existing Pods are not deleted by cordon alone. For this scenario prefer: Diagnose NotReady nodes and distinguish node health from Pod-level readiness before reopening scheduling. Workload context: A node loses CNI connectivity and control-plane heartbeats before workloads appear stuck in Terminating state.

D:

Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. This action addresses Topology spread constraints instead of the controlling requirement. Spread constraints balance matching Pods across topology domains; missing topology labels and strict maxSkew can prevent placement. For this scenario prefer: Diagnose NotReady nodes and distinguish node health from Pod-level readiness before reopening scheduling. Workload context: A node loses CNI connectivity and control-plane heartbeats before workloads appear stuck in Terminating state.

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.

  1. Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic.
  2. Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts.
  3. Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events.
  4. Applications mount volumes with the requested access pattern without unsupported simultaneous access assumptions.
  5. 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.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests