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 58

Question 570

A workload with a custom zone selector is stuck because nodes use a different label key than the manifest. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.
  2. Inspect Pod scheduling events, available node capacity, taints, selectors and assigned nodeName.
  3. Set workload requests for placement and limits for bounded runtime use based on measured application needs.
  4. Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics.
  5. Replica placement stays within the intended skew or reports clear scheduling limits.

Explanation

Correct Answers

A:

Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. This response implements the controlling Kubernetes or cloud native principle. Node allocatable excludes reservations from raw capacity; labels must reflect real node capabilities and administration. Check its effect by: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. This is the implementation part of the required paired answer. Workload context: A workload with a custom zone selector is stuck because nodes use a different label key than the manifest.

D:

Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. This is the most discriminating evidence for the described failure or requirement. Node allocatable excludes reservations from raw capacity; labels must reflect real node capabilities and administration. The corresponding implementation is: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. This is the diagnostic evidence part of the paired answer. Workload context: A workload with a custom zone selector is stuck because nodes use a different label key than the manifest.

Incorrect Answers

B:

Inspect Pod scheduling events, available node capacity, taints, selectors and assigned nodeName. This step belongs to Scheduler responsibility and binding rather than the complementary implementation and evidence pair. The intended approach is: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. Validate with: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: A workload with a custom zone selector is stuck because nodes use a different label key than the manifest.

C:

Set workload requests for placement and limits for bounded runtime use based on measured application needs. This step belongs to CPU requests and memory limits rather than the complementary implementation and evidence pair. The intended approach is: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. Validate with: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: A workload with a custom zone selector is stuck because nodes use a different label key than the manifest.

E:

Replica placement stays within the intended skew or reports clear scheduling limits. This step belongs to Topology spread constraints rather than the complementary implementation and evidence pair. The intended approach is: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. Validate with: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: A workload with a custom zone selector is stuck because nodes use a different label key than the manifest.

Question 571

A deployment has an /metrics endpoint but Prometheus shows the target as down because its Service port annotation is wrong. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts.
  2. Technical proposals reach appropriate reviewers with documented rationale and open community feedback.
  3. Project maintainers receive actionable confidential reports and releases can be coordinated without exposing affected users prematurely.
  4. Alerts identify meaningful user-impacting regressions before the service spends an unacceptable error budget.

Explanation

Correct Answer

A:

Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts. This is an observable service outcome, not just evidence that a configuration file was saved. Prometheus primarily scrapes targets on an interval; instrumentation must expose values and high-cardinality labels can overload storage. Workload context: A deployment has an /metrics endpoint but Prometheus shows the target as down because its Service port annotation is wrong.

Incorrect Answers

B:

Technical proposals reach appropriate reviewers with documented rationale and open community feedback. That result validates Kubernetes SIG and community governance rather than the requirement here. Verify instead: Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts. Workload context: A deployment has an /metrics endpoint but Prometheus shows the target as down because its Service port annotation is wrong.

C:

Project maintainers receive actionable confidential reports and releases can be coordinated without exposing affected users prematurely. That result validates Responsible vulnerability disclosure in communities rather than the requirement here. Verify instead: Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts. Workload context: A deployment has an /metrics endpoint but Prometheus shows the target as down because its Service port annotation is wrong.

D:

Alerts identify meaningful user-impacting regressions before the service spends an unacceptable error budget. That result validates SLIs SLOs and golden signals rather than the requirement here. Verify instead: Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts. Workload context: A deployment has an /metrics endpoint but Prometheus shows the target as down because its Service port annotation is wrong.

Question 572

A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices.
  2. Review SIG charter, KEP status, community meeting records and maintainer review responsibilities.
  3. Check a project's license, contributor requirements and redistribution obligations before copying or shipping components.
  4. Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence.
  5. Report suspected project security vulnerabilities through the designated private security channel before public reproduction details or exploit examples.

Explanation

Correct Answers

A:

Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices. This is the most discriminating evidence for the described failure or requirement. Open source permits work under a specific license; public availability of source code alone does not erase conditions. The corresponding implementation is: Check a project's license, contributor requirements and redistribution obligations before copying or shipping components. This is the diagnostic evidence part of the paired answer. Workload context: A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations.

C:

Check a project's license, contributor requirements and redistribution obligations before copying or shipping components. This response implements the controlling Kubernetes or cloud native principle. Open source permits work under a specific license; public availability of source code alone does not erase conditions. Check its effect by: Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices. This is the implementation part of the required paired answer. Workload context: A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations.

Incorrect Answers

B:

Review SIG charter, KEP status, community meeting records and maintainer review responsibilities. This step belongs to Kubernetes SIG and community governance rather than the complementary implementation and evidence pair. The intended approach is: Check a project's license, contributor requirements and redistribution obligations before copying or shipping components. Validate with: Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices. Workload context: A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations.

D:

Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence. This step belongs to Metrics logs and traces distinctions rather than the complementary implementation and evidence pair. The intended approach is: Check a project's license, contributor requirements and redistribution obligations before copying or shipping components. Validate with: Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices. Workload context: A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations.

E:

Report suspected project security vulnerabilities through the designated private security channel before public reproduction details or exploit examples. This step belongs to Responsible vulnerability disclosure in communities rather than the complementary implementation and evidence pair. The intended approach is: Check a project's license, contributor requirements and redistribution obligations before copying or shipping components. Validate with: Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices. Workload context: A business bundles third-party CNCF ecosystem tools into a product and assumes every project has identical legal obligations.

Question 573

A change from Service port 80 to 8080 breaks external routing because the Ingress backend still points to the old port. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal.
  2. Template rendering produces intended resources and upgrades or rollbacks remain tied to specific chart revisions.
  3. Public requests reach the intended application host and path with a valid certificate and matching backends.
  4. The faulty revision is identified and rollback or correction restores the intended application version.

Explanation

Correct Answer

C:

Public requests reach the intended application host and path with a valid certificate and matching backends. This is an observable service outcome, not just evidence that a configuration file was saved. A healthy Service does not guarantee correct edge routing; ingress controllers and TLS bindings add separate layers. Workload context: A change from Service port 80 to 8080 breaks external routing because the Ingress backend still points to the old port.

Incorrect Answers

A:

An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal. That result validates Correlating metrics logs and traces rather than the requirement here. Verify instead: Public requests reach the intended application host and path with a valid certificate and matching backends. Workload context: A change from Service port 80 to 8080 breaks external routing because the Ingress backend still points to the old port.

B:

Template rendering produces intended resources and upgrades or rollbacks remain tied to specific chart revisions. That result validates Helm charts templates and values rather than the requirement here. Verify instead: Public requests reach the intended application host and path with a valid certificate and matching backends. Workload context: A change from Service port 80 to 8080 breaks external routing because the Ingress backend still points to the old port.

D:

The faulty revision is identified and rollback or correction restores the intended application version. That result validates Rollout history status and change correlation rather than the requirement here. Verify instead: Public requests reach the intended application host and path with a valid certificate and matching backends. Workload context: A change from Service port 80 to 8080 breaks external routing because the Ingress backend still points to the old port.

Question 574

A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. A failing candidate build halts or rolls back before reaching full audience while healthy versions progress safely.
  2. Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers.
  3. Healthy Pods enter ready endpoints only after application dependencies function, without restarting healthy processes unnecessarily.
  4. Engineers identify the failing process message associated with the correct container instance and time window.

Explanation

Correct Answer

B:

Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers. This is an observable service outcome, not just evidence that a configuration file was saved. kubectl exec runs a process in an existing container; it does not persist edits across new image-based replacements. Workload context: A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change.

Incorrect Answers

A:

A failing candidate build halts or rolls back before reaching full audience while healthy versions progress safely. That result validates Progressive delivery and release metrics rather than the requirement here. Verify instead: Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers. Workload context: A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change.

C:

Healthy Pods enter ready endpoints only after application dependencies function, without restarting healthy processes unnecessarily. That result validates Readiness-probe failure versus process crash rather than the requirement here. Verify instead: Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers. Workload context: A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change.

D:

Engineers identify the failing process message associated with the correct container instance and time window. That result validates kubectl logs current versus previous instance rather than the requirement here. Verify instead: Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers. Workload context: A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change.

Question 575

A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis.
  2. Inspect metric labels and samples, log fields, trace/span correlation and sampling rates.
  3. Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality.
  4. Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost.
  5. Platform selections fit the actual problem without expecting one component to implement the whole cloud native stack.

Explanation

Correct Answers

A:

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 service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

B:

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 service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

Incorrect Answers

C:

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 service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

D:

Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. This step belongs to Open standards vendor-neutral portability 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 service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

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 service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

Question 576

An engineer checks image tag spelling to validate deployment but never compares running Pod imageID with approved digest. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls.
  2. Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history.
  3. Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage.
  4. Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing.

Explanation

Correct Answer

C:

Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. This response implements the controlling Kubernetes or cloud native principle. An image digest identifies the immutable artifact; matching labels or Git SHAs alone do not prove identical layers. Check its effect by: Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages. Workload context: An engineer checks image tag spelling to validate deployment but never compares running Pod imageID with approved digest.

Incorrect Answers

A:

Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls. This action addresses GitOps reconciliation and source of truth instead of the controlling requirement. GitOps is a pull/reconciliation operating model rather than merely running kubectl from a CI server. For this scenario prefer: Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. Workload context: An engineer checks image tag spelling to validate deployment but never compares running Pod imageID with approved digest.

B:

Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. This action addresses Helm charts templates and values instead of the controlling requirement. Helm templates generate manifests; a chart repository alone does not deploy resources or validate runtime behavior. For this scenario prefer: Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. Workload context: An engineer checks image tag spelling to validate deployment but never compares running Pod imageID with approved digest.

D:

Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing. This action addresses Readiness-probe failure versus process crash instead of the controlling requirement. Readiness-probe failure normally removes endpoint traffic without killing the container; liveness changes restart behavior. For this scenario prefer: Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. Workload context: An engineer checks image tag spelling to validate deployment but never compares running Pod imageID with approved digest.

Question 577

A debugging process mounts a long-lived token with cluster-admin rights even though it only needs to watch its own namespace's Pods. 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. Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API.
  3. Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed.
  4. Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.

Explanation

Correct Answer

B:

Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. This response implements the controlling Kubernetes or cloud native principle. A service account is an API identity; granting Pods a namespace does not automatically limit an overbroad ClusterRoleBinding. Check its effect by: Inspect serviceAccountName, RoleBindings, projected tokens, audience and kubectl auth can-i permissions. Workload context: A debugging process mounts a long-lived token with cluster-admin rights even though it only needs to watch its own namespace's Pods.

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: Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. Workload context: A debugging process mounts a long-lived token with cluster-admin rights even though it only needs to watch its own namespace's Pods.

C:

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: Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. Workload context: A debugging process mounts a long-lived token with cluster-admin rights even though it only needs to watch its own namespace's Pods.

D:

Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. This action addresses Authentication authorization and admission order instead of the controlling requirement. Authentication answers who called, authorization answers what may be done, and admission can apply policy to allowed requests. For this scenario prefer: Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. Workload context: A debugging process mounts a long-lived token with cluster-admin rights even though it only needs to watch its own namespace's Pods.

Question 578

An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect PVC phase, PV claimRef, capacity, accessModes, storageClassName and volume-mount events.
  2. Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API.
  3. Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods.
  4. Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity.
  5. Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement.

Explanation

Correct Answers

A:

Inspect PVC phase, PV claimRef, capacity, accessModes, storageClassName and volume-mount events. This is the most discriminating evidence for the described failure or requirement. A PVC is a storage request and a PV is a cluster storage resource; neither should be confused with an emptyDir volume. The corresponding implementation is: Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods. This is the diagnostic evidence part of the paired answer. Workload context: An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically.

C:

Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods. This response implements the controlling Kubernetes or cloud native principle. A PVC is a storage request and a PV is a cluster storage resource; neither should be confused with an emptyDir volume. Check its effect by: Inspect PVC phase, PV claimRef, capacity, accessModes, storageClassName and volume-mount events. This is the implementation part of the required paired answer. Workload context: An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically.

Incorrect Answers

B:

Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API. This step belongs to Secret base64 encoding versus encryption rather than the complementary implementation and evidence pair. The intended approach is: Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods. Validate with: Inspect PVC phase, PV claimRef, capacity, accessModes, storageClassName and volume-mount events. Workload context: An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically.

D:

Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. This step belongs to Pending pod FailedScheduling events rather than the complementary implementation and evidence pair. The intended approach is: Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods. Validate with: Inspect PVC phase, PV claimRef, capacity, accessModes, storageClassName and volume-mount events. Workload context: An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically.

E:

Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement. This step belongs to Ephemeral emptyDir versus persistent volumes rather than the complementary implementation and evidence pair. The intended approach is: Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods. Validate with: Inspect PVC phase, PV claimRef, capacity, accessModes, storageClassName and volume-mount events. Workload context: An admin deletes a Pod and expects its bound persistent volume's underlying data to disappear automatically.

Question 579

A manifest overrides command with an interactive shell that exits immediately instead of starting the web process. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events.
  2. Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs.
  3. Inspect verbs, apiGroups, resources, RoleBinding/ClusterRoleBinding subjects and kubectl auth can-i results.
  4. Inspect image metadata, Pod command/args, process exit code and startup logs.

Explanation

Correct Answer

D:

Inspect image metadata, Pod command/args, process exit code and startup logs. This is the most discriminating evidence for the described failure or requirement. Kubernetes command maps to the image ENTRYPOINT override and args maps to CMD arguments; a process exit can restart a Pod. The corresponding implementation is: Set container command and args with awareness of how Kubernetes overrides image ENTRYPOINT and CMD defaults. Workload context: A manifest overrides command with an interactive shell that exits immediately instead of starting the web process.

Incorrect Answers

A:

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: Inspect image metadata, Pod command/args, process exit code and startup logs. Workload context: A manifest overrides command with an interactive shell that exits immediately instead of starting the web process.

B:

Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs. These observations are more relevant to OCI registries and image distribution, not this case. The distinguishing check is: Inspect image metadata, Pod command/args, process exit code and startup logs. Workload context: A manifest overrides command with an interactive shell that exits immediately instead of starting the web process.

C:

Inspect verbs, apiGroups, resources, RoleBinding/ClusterRoleBinding subjects and kubectl auth can-i results. These observations are more relevant to Role and ClusterRole authorization, not this case. The distinguishing check is: Inspect image metadata, Pod command/args, process exit code and startup logs. Workload context: A manifest overrides command with an interactive shell that exits immediately instead of starting the web process.

Question 580

A cluster autoscaler adds nodes of the same small instance type and the oversized Pod still cannot fit. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image.
  2. Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes.
  3. Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices.
  4. Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results.
  5. Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests.

Explanation

Correct Answers

A:

Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image. This response implements the controlling Kubernetes or cloud native principle. A Pending unscheduled Pod has no running container logs; scheduler events reveal placement failures. Check its effect by: Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. This is the implementation part of the required paired answer. Workload context: A cluster autoscaler adds nodes of the same small instance type and the oversized Pod still cannot fit.

B:

Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. This is the most discriminating evidence for the described failure or requirement. A Pending unscheduled Pod has no running container logs; scheduler events reveal placement failures. The corresponding implementation is: Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image. This is the diagnostic evidence part of the paired answer. Workload context: A cluster autoscaler adds nodes of the same small instance type and the oversized Pod still cannot fit.

Incorrect Answers

C:

Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. This step belongs to Node affinity required vs preferred rather than the complementary implementation and evidence pair. The intended approach is: Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image. Validate with: Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. Workload context: A cluster autoscaler adds nodes of the same small instance type and the oversized Pod still cannot fit.

D:

Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results. This step belongs to PodDisruptionBudget during voluntary eviction rather than the complementary implementation and evidence pair. The intended approach is: Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image. Validate with: Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. Workload context: A cluster autoscaler adds nodes of the same small instance type and the oversized Pod still cannot fit.

E:

Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests. This step belongs to Image scanning and software bills of materials rather than the complementary implementation and evidence pair. The intended approach is: Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image. Validate with: Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. Workload context: A cluster autoscaler adds nodes of the same small instance type and the oversized Pod still cannot fit.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests