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 42

Question 410

Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning.
  2. Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability.
  3. Apply RBAC and encryption-at-rest controls to Kubernetes Secrets and avoid exposing decoded values in logs or public manifests.
  4. Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.

Explanation

Correct Answer

B:

Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. This response implements the controlling Kubernetes or cloud native principle. ReadWriteOnce normally limits read-write mounting to one node, not necessarily exactly one Pod; driver behavior matters. Check its effect by: Inspect PV/PVC accessModes, actual mount failures, driver support and multi-node workload placement. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

Incorrect Answers

A:

Configure StorageClass WaitForFirstConsumer when scheduling topology must influence dynamic volume provisioning. This action addresses WaitForFirstConsumer volume binding instead of the controlling requirement. A PVC may legitimately remain unbound until a Pod consumes it under WaitForFirstConsumer. For this scenario prefer: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

C:

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: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

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: Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. Workload context: Multiple Pods on the same node mount one ReadWriteOnce volume and an engineer mistakes the mode for a strict single-Pod guarantee.

Question 411

A team upgrades workers two minor versions ahead of an older API server without consulting supported skew policy. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect kubectl config current-context, cluster server, user identity and namespace field.
  2. Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits.
  3. A supported resource can be applied predictably and unknown fields or removed API versions are identified before rollout.
  4. Set workload requests for placement and limits for bounded runtime use based on measured application needs.
  5. Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily.

Explanation

Correct Answers

B:

Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. This is the most discriminating evidence for the described failure or requirement. API compatibility and supported component skew determine upgrade sequencing; not every Kubernetes version jump is supported. The corresponding implementation is: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. This is the diagnostic evidence part of the paired answer. Workload context: A team upgrades workers two minor versions ahead of an older API server without consulting supported skew policy.

E:

Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. This response implements the controlling Kubernetes or cloud native principle. API compatibility and supported component skew determine upgrade sequencing; not every Kubernetes version jump is supported. Check its effect by: Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. This is the implementation part of the required paired answer. Workload context: A team upgrades workers two minor versions ahead of an older API server without consulting supported skew policy.

Incorrect Answers

A:

Inspect kubectl config current-context, cluster server, user identity and namespace field. This step belongs to kubectl context and cluster selection rather than the complementary implementation and evidence pair. The intended approach is: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Validate with: Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. Workload context: A team upgrades workers two minor versions ahead of an older API server without consulting supported skew policy.

C:

A supported resource can be applied predictably and unknown fields or removed API versions are identified before rollout. This step belongs to Declarative resource manifests and API versions rather than the complementary implementation and evidence pair. The intended approach is: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Validate with: Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. Workload context: A team upgrades workers two minor versions ahead of an older API server without consulting supported skew policy.

D:

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: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Validate with: Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. Workload context: A team upgrades workers two minor versions ahead of an older API server without consulting supported skew policy.

Question 412

A team deploys three individually named Pods with no higher-level controller and expects automated rolling updates. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions.
  2. Compare object metadata labels, Service/Deployment selectors and selected object lists.
  3. Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings.
  4. Check API endpoint connectivity, request audit records, resource authorization and response status.

Explanation

Correct Answer

A:

Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. This is the most discriminating evidence for the described failure or requirement. A Deployment manages ReplicaSets and rolling changes; direct edits to controlled Pods are transient. The corresponding implementation is: Use a Deployment to manage stateless replicas, controlled updates and ReplicaSets rather than hand-editing Pod instances. Workload context: A team deploys three individually named Pods with no higher-level controller and expects automated rolling updates.

Incorrect Answers

B:

Compare object metadata labels, Service/Deployment selectors and selected object lists. These observations are more relevant to Labels selectors and annotations, not this case. The distinguishing check is: Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. Workload context: A team deploys three individually named Pods with no higher-level controller and expects automated rolling updates.

C:

Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. These observations are more relevant to Image layers and build cache, not this case. The distinguishing check is: Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. Workload context: A team deploys three individually named Pods with no higher-level controller and expects automated rolling updates.

D:

Check API endpoint connectivity, request audit records, resource authorization and response status. These observations are more relevant to Kubernetes API server and API requests, not this case. The distinguishing check is: Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. Workload context: A team deploys three individually named Pods with no higher-level controller and expects automated rolling updates.

Question 413

A new Kubernetes contributor submits a patch without required sign-off and wonders why maintainers cannot merge it. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices.
  2. Check upstream issue templates, duplicate reports, version matrix, clear reproduction and contributor communication.
  3. Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost.
  4. Review SIG charter, KEP status, community meeting records and maintainer review responsibilities.

Explanation

Correct Answer

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. Workload context: A new Kubernetes contributor submits a patch without required sign-off and wonders why maintainers cannot merge it.

Incorrect Answers

B:

Check upstream issue templates, duplicate reports, version matrix, clear reproduction and contributor communication. These observations are more relevant to Upstream issue reporting and review collaboration, not this case. The distinguishing check is: Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices. Workload context: A new Kubernetes contributor submits a patch without required sign-off and wonders why maintainers cannot merge it.

C:

Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. These observations are more relevant to Open standards vendor-neutral portability, not this case. The distinguishing check is: Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices. Workload context: A new Kubernetes contributor submits a patch without required sign-off and wonders why maintainers cannot merge it.

D:

Review SIG charter, KEP status, community meeting records and maintainer review responsibilities. These observations are more relevant to Kubernetes SIG and community governance, not this case. The distinguishing check is: Inspect LICENSE files, contribution guidelines, DCO or CLA requirements and third-party dependency notices. Workload context: A new Kubernetes contributor submits a patch without required sign-off and wonders why maintainers cannot merge it.

Question 414

After a node failure the Deployment stays below desired replicas and the platform team inspects only running application logs. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Compare desired and observed replicas, controller events, ReplicaSet ownership and controller-manager health.
  2. Check resource namespace, role bindings, quotas and effective network enforcement across namespaces.
  3. Check API endpoint connectivity, request audit records, resource authorization and response status.
  4. Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions.

Explanation

Correct Answer

A:

Compare desired and observed replicas, controller events, ReplicaSet ownership and controller-manager health. This is the most discriminating evidence for the described failure or requirement. Controllers continuously reconcile desired state; an isolated manually created Pod lacks a Deployment's replica management. The corresponding implementation is: Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure. Workload context: After a node failure the Deployment stays below desired replicas and the platform team inspects only running application logs.

Incorrect Answers

B:

Check resource namespace, role bindings, quotas and effective network enforcement across namespaces. These observations are more relevant to Namespace scope and limits, not this case. The distinguishing check is: Compare desired and observed replicas, controller events, ReplicaSet ownership and controller-manager health. Workload context: After a node failure the Deployment stays below desired replicas and the platform team inspects only running application logs.

C:

Check API endpoint connectivity, request audit records, resource authorization and response status. These observations are more relevant to Kubernetes API server and API requests, not this case. The distinguishing check is: Compare desired and observed replicas, controller events, ReplicaSet ownership and controller-manager health. Workload context: After a node failure the Deployment stays below desired replicas and the platform team inspects only running application logs.

D:

Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions. These observations are more relevant to Image scanning and software bills of materials, not this case. The distinguishing check is: Compare desired and observed replicas, controller events, ReplicaSet ownership and controller-manager health. Workload context: After a node failure the Deployment stays below desired replicas and the platform team inspects only running application logs.

Question 415

A cluster deletes a failed Pod and developers discover local kubectl logs are gone without centralized retention. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision.
  2. Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads.
  3. Gate rollout progression on suitable error, latency and business metrics with explicit thresholds and rollback authorization.
  4. Configure Deployment rollout strategy with availability bounds and use rollout history when an update requires controlled rollback.

Explanation

Correct Answer

B:

Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. This response implements the controlling Kubernetes or cloud native principle. kubectl logs streams container stdout/stderr, and --previous selects the prior terminated instance if available. Check its effect by: Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. Workload context: A cluster deletes a failed Pod and developers discover local kubectl logs are gone without centralized retention.

Incorrect Answers

A:

Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision. This action addresses Rollout history status and change correlation instead of the controlling requirement. A Deployment being Available does not prove all new replicas are healthy or that a rollout has fully progressed. For this scenario prefer: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Workload context: A cluster deletes a failed Pod and developers discover local kubectl logs are gone without centralized retention.

C:

Gate rollout progression on suitable error, latency and business metrics with explicit thresholds and rollback authorization. This action addresses Progressive delivery and release metrics instead of the controlling requirement. Automated analysis requires representative telemetry and guardrails; an unchanged rollout status does not prove user experience is healthy. For this scenario prefer: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Workload context: A cluster deletes a failed Pod and developers discover local kubectl logs are gone without centralized retention.

D:

Configure Deployment rollout strategy with availability bounds and use rollout history when an update requires controlled rollback. This action addresses Deployment rolling updates and rollback instead of the controlling requirement. A rolling update controls replacement pacing but application correctness still requires probes and release validation. For this scenario prefer: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Workload context: A cluster deletes a failed Pod and developers discover local kubectl logs are gone without centralized retention.

Question 416

An operator advertises a node as having GPU hardware by adding a label but no device plugin reports allocatable GPUs. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect etcd quorum health, member status, snapshot freshness, certificate validity and restore procedure.
  2. Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation.
  3. Inspect Pod requests/limits, node allocatable capacity, usage history, throttling and OOMKilled events.
  4. Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics.

Explanation

Correct Answer

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. Workload context: An operator advertises a node as having GPU hardware by adding a label but no device plugin reports allocatable GPUs.

Incorrect Answers

A:

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: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: An operator advertises a node as having GPU hardware by adding a label but no device plugin reports allocatable GPUs.

B:

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: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: An operator advertises a node as having GPU hardware by adding a label but no device plugin reports allocatable GPUs.

C:

Inspect Pod requests/limits, node allocatable capacity, usage history, throttling and OOMKilled events. These observations are more relevant to CPU requests and memory limits, not this case. The distinguishing check is: Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. Workload context: An operator advertises a node as having GPU hardware by adding a label but no device plugin reports allocatable GPUs.

Question 417

A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors.
  2. Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.
  3. Set workload requests for placement and limits for bounded runtime use based on measured application needs.
  4. Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools.

Explanation

Correct Answer

B:

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. Workload context: A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods.

Incorrect Answers

A:

Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors. This action addresses DaemonSet node-local workloads instead of the controlling requirement. A DaemonSet creates node-level replicas automatically rather than a fixed overall replica count like a Deployment. For this scenario prefer: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. Workload context: A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods.

C:

Set workload requests for placement and limits for bounded runtime use based on measured application needs. This action addresses CPU requests and memory limits instead of the controlling requirement. Requests influence scheduling; limits govern enforcement and memory-limit breaches can terminate containers. For this scenario prefer: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. Workload context: A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods.

D:

Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools. This action addresses Ephemeral debugging containers instead of the controlling requirement. Ephemeral containers are intended for debugging and do not behave like ordinary replicated application containers. For this scenario prefer: Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. Workload context: A capacity spreadsheet uses physical RAM instead of node allocatable and overestimates room for application Pods.

Question 418

A memory leak causes gradual growth and intermittent restart after each request burst despite unchanged code and service routing. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts.
  2. Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs.
  3. Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic.
  4. Use ClusterIP for private service access and NodePort only when node-level external ports are intentionally needed.

Explanation

Correct Answer

C:

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. Workload context: A memory leak causes gradual growth and intermittent restart after each request burst despite unchanged code and service routing.

Incorrect Answers

A:

Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts. This action addresses Node pressure and Pod eviction analysis instead of the controlling requirement. Kubelet can evict Pods under node pressure; eviction is different from a liveness probe killing one container. For this scenario prefer: Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. Workload context: A memory leak causes gradual growth and intermittent restart after each request burst despite unchanged code and service routing.

B:

Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. This action addresses Pending pod FailedScheduling events instead of the controlling requirement. Pending may mean unschedulable or image preparation; distinguish whether node assignment occurred before choosing next checks. For this scenario prefer: Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. Workload context: A memory leak causes gradual growth and intermittent restart after each request burst despite unchanged code and service routing.

D:

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: Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. Workload context: A memory leak causes gradual growth and intermittent restart after each request burst despite unchanged code and service routing.

Question 419

A production dataset's PV uses Delete and its administrator removes the claim assuming the raw disk must be retained. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion.
  2. Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods.
  3. Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops.
  4. Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior.
  5. Inspect controller readiness, class or Gateway association, route attachment status, TLS Secret and backend Service mapping.

Explanation

Correct Answers

A:

Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. This response implements the controlling Kubernetes or cloud native principle. Retain leaves storage for deliberate recovery; Delete usually removes underlying dynamically provisioned storage when supported. Check its effect by: Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. This is the implementation part of the required paired answer. Workload context: A production dataset's PV uses Delete and its administrator removes the claim assuming the raw disk must be retained.

D:

Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. This is the most discriminating evidence for the described failure or requirement. Retain leaves storage for deliberate recovery; Delete usually removes underlying dynamically provisioned storage when supported. The corresponding implementation is: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. This is the diagnostic evidence part of the paired answer. Workload context: A production dataset's PV uses Delete and its administrator removes the claim assuming the raw disk must be retained.

Incorrect Answers

B:

Use PVCs to request persistent storage and PVs to represent volumes whose lifecycle is separate from ephemeral Pods. This step belongs to PersistentVolume and claim bindings rather than the complementary implementation and evidence pair. The intended approach is: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. Validate with: Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. Workload context: A production dataset's PV uses Delete and its administrator removes the claim assuming the raw disk must be retained.

C:

Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. This step belongs to Readiness liveness and startup probe behavior rather than the complementary implementation and evidence pair. The intended approach is: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. Validate with: Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. Workload context: A production dataset's PV uses Delete and its administrator removes the claim assuming the raw disk must be retained.

E:

Inspect controller readiness, class or Gateway association, route attachment status, TLS Secret and backend Service mapping. This step belongs to Ingress and Gateway API routing rather than the complementary implementation and evidence pair. The intended approach is: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. Validate with: Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. Workload context: A production dataset's PV uses Delete and its administrator removes the claim assuming the raw disk must be retained.

Question 420

A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency.
  2. Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions.
  3. Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.
  4. Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API.

Explanation

Correct Answer

C:

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. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.

Incorrect Answers

A:

Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. This action addresses Service selector and port mismatch diagnostics instead of the controlling requirement. A Service can resolve in DNS yet have zero endpoints or forward to an incorrect port. For this scenario prefer: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.

B:

Configure Pod Security Admission policy levels for namespaces to restrict unsafe Pod settings while documenting exceptions. This action addresses Pod Security Admission and namespaces instead of the controlling requirement. Pod Security Admission evaluates security standards at admission; it does not continuously sandbox existing containers after admission. For this scenario prefer: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.

D:

Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. This action addresses ServiceAccount and workload RBAC boundaries instead of the controlling requirement. A service account is an API identity; granting Pods a namespace does not automatically limit an overbroad ClusterRoleBinding. For this scenario prefer: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests