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 82

Question 810

A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources.
  2. Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes.
  3. Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.
  4. Inspect resource status, conditions, events, generation, owner references and logs from the relevant container.
  5. Authorized clients create or read resources through the API and unauthorized calls fail consistently.

Explanation

Correct Answers

A:

Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. This response implements the controlling Kubernetes or cloud native principle. kubectl get summarizes objects; describe reveals events and details; logs reveals container stdout/stderr, not complete API diagnostics. Check its effect by: Inspect resource status, conditions, events, generation, owner references and logs from the relevant container. This is the implementation part of the required paired answer. Workload context: A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs.

D:

Inspect resource status, conditions, events, generation, owner references and logs from the relevant container. This is the most discriminating evidence for the described failure or requirement. kubectl get summarizes objects; describe reveals events and details; logs reveals container stdout/stderr, not complete API diagnostics. The corresponding implementation is: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. This is the diagnostic evidence part of the paired answer. Workload context: A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs.

Incorrect Answers

B:

Inspect FailedScheduling events, Pod requests, node allocatable and scheduler filter outcomes. This step belongs to Pending Pods and resource-fit checks rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Validate with: Inspect resource status, conditions, events, generation, owner references and logs from the relevant container. Workload context: A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs.

C:

Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. This step belongs to Node labels and allocatable inventory rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Validate with: Inspect resource status, conditions, events, generation, owner references and logs from the relevant container. Workload context: A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs.

E:

Authorized clients create or read resources through the API and unauthorized calls fail consistently. This step belongs to Kubernetes API server and API requests rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. Validate with: Inspect resource status, conditions, events, generation, owner references and logs from the relevant container. Workload context: A Deployment appears Available but one pod has recurring restarts and administrators need to correlate describe events with app logs.

Question 811

Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults.
  2. Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports.
  3. Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint.
  4. Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests.
  5. Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API.

Explanation

Correct Answers

A:

Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. This response implements the controlling Kubernetes or cloud native principle. Service routing depends on endpoints and the cluster's Service dataplane; some clusters replace kube-proxy with an alternate implementation. Check its effect by: Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. This is the implementation part of the required paired answer. Workload context: Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails.

B:

Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. This is the most discriminating evidence for the described failure or requirement. Service routing depends on endpoints and the cluster's Service dataplane; some clusters replace kube-proxy with an alternate implementation. The corresponding implementation is: Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. This is the diagnostic evidence part of the paired answer. Workload context: Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails.

Incorrect Answers

C:

Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. This step belongs to LoadBalancer Service provisioning rather than the complementary implementation and evidence pair. The intended approach is: Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. Validate with: Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. Workload context: Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails.

D:

Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. This step belongs to Namespace segmentation with NetworkPolicies rather than the complementary implementation and evidence pair. The intended approach is: Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. Validate with: Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. Workload context: Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails.

E:

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: Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. Validate with: Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. Workload context: Pods are Ready and endpoint slices contain valid addresses but traffic drops after a node's service proxy configuration fails.

Question 812

An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures.
  2. The PVC binds to a suitable volume and survives recreation of the application Pod as designed.
  3. Review container lastState, exit code, restart count, previous logs and application configuration.
  4. Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.
  5. Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests.

Explanation

Correct Answers

A:

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. This is the implementation part of the required paired answer. Workload context: An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs.

C:

Review container lastState, exit code, restart count, previous logs and application configuration. This is the most discriminating evidence for the described failure or requirement. CrashLoopBackOff indicates repeated container exits and restart delays, not a scheduler placement failure. The corresponding implementation is: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. This is the diagnostic evidence part of the paired answer. Workload context: An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs.

Incorrect Answers

B:

The PVC binds to a suitable volume and survives recreation of the application Pod as designed. This step belongs to PersistentVolume and claim bindings rather than the complementary implementation and evidence pair. The intended approach is: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. Validate with: Review container lastState, exit code, restart count, previous logs and application configuration. Workload context: An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs.

D:

Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This step belongs to ImagePullBackOff registry and auth errors rather than the complementary implementation and evidence pair. The intended approach is: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. Validate with: Review container lastState, exit code, restart count, previous logs and application configuration. Workload context: An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs.

E:

Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. This step belongs to Namespace segmentation with NetworkPolicies rather than the complementary implementation and evidence pair. The intended approach is: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. Validate with: Review container lastState, exit code, restart count, previous logs and application configuration. Workload context: An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs.

Question 813

A PVC stays Pending with WaitForFirstConsumer and an operator mislabels this as a storage failure before any consuming Pod is scheduled. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image.
  2. Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries.
  3. Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage.
  4. Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd.

Explanation

Correct Answer

C:

Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage. This response implements the controlling Kubernetes or cloud native principle. Immediate volume binding can constrain later Pod placement, while WaitForFirstConsumer accounts for scheduling topology. Check its effect by: Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility. Workload context: A PVC stays Pending with WaitForFirstConsumer and an operator mislabels this as a storage failure before any consuming Pod is scheduled.

Incorrect Answers

A:

Match Pod CPU/memory requests to node allocatable resources and scheduling constraints before blaming a container image. This action addresses Pending Pods and resource-fit checks instead of the controlling requirement. A Pending unscheduled Pod has no running container logs; scheduler events reveal placement failures. For this scenario prefer: Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage. Workload context: A PVC stays Pending with WaitForFirstConsumer and an operator mislabels this as a storage failure before any consuming Pod is scheduled.

B:

Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. This action addresses OCI registries and image distribution instead of the controlling requirement. OCI registries store/distribute image artifacts; they do not orchestrate Pods or apply cluster networking. For this scenario prefer: Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage. Workload context: A PVC stays Pending with WaitForFirstConsumer and an operator mislabels this as a storage failure before any consuming Pod is scheduled.

D:

Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd. This action addresses Kubernetes API server and API requests instead of the controlling requirement. kube-apiserver validates and serves API requests; etcd stores cluster state rather than exposing the user API. For this scenario prefer: Align volume topology with Pod scheduling, using StorageClass binding behavior appropriate for zonal storage. Workload context: A PVC stays Pending with WaitForFirstConsumer and an operator mislabels this as a storage failure before any consuming Pod is scheduled.

Question 814

The workload's spread selector matches no Pods and the controller reports an apparently balanced but incorrect placement. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results.
  2. Validate manifest API group/version, field schema, kind, namespace, admission responses and managed-field conflicts.
  3. Inspect Pod label selectors, namespaces, topologyKey and actual placement of matching peer Pods.
  4. Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway.

Explanation

Correct Answer

D:

Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. This is the most discriminating evidence for the described failure or requirement. Spread constraints balance matching Pods across topology domains; missing topology labels and strict maxSkew can prevent placement. The corresponding implementation is: Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. Workload context: The workload's spread selector matches no Pods and the controller reports an apparently balanced but incorrect placement.

Incorrect Answers

A:

Inspect allowedDisruptions, healthy replicas, minAvailable/maxUnavailable and drain eviction results. These observations are more relevant to PodDisruptionBudget during voluntary eviction, not this case. The distinguishing check is: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: The workload's spread selector matches no Pods and the controller reports an apparently balanced but incorrect placement.

B:

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 topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: The workload's spread selector matches no Pods and the controller reports an apparently balanced but incorrect placement.

C:

Inspect Pod label selectors, namespaces, topologyKey and actual placement of matching peer Pods. These observations are more relevant to Pod affinity anti-affinity, not this case. The distinguishing check is: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: The workload's spread selector matches no Pods and the controller reports an apparently balanced but incorrect placement.

Question 815

A developer receives forbidden for pods/exec although able to get and list Pods, revealing separate RBAC verbs. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Template rendering produces intended resources and upgrades or rollbacks remain tied to specific chart revisions.
  2. Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers.
  3. Engineers identify the failing process message associated with the correct container instance and time window.
  4. Production uses a tested traceable artifact only after required promotion and environment gates succeed.

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 developer receives forbidden for pods/exec although able to get and list Pods, revealing separate RBAC verbs.

Incorrect Answers

A:

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: Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers. Workload context: A developer receives forbidden for pods/exec although able to get and list Pods, revealing separate RBAC verbs.

C:

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 developer receives forbidden for pods/exec although able to get and list Pods, revealing separate RBAC verbs.

D:

Production uses a tested traceable artifact only after required promotion and environment gates succeed. That result validates CI versus CD pipeline separation rather than the requirement here. Verify instead: Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers. Workload context: A developer receives forbidden for pods/exec although able to get and list Pods, revealing separate RBAC verbs.

Question 816

A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes.
  2. Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels.
  3. Inspect metric labels and samples, log fields, trace/span correlation and sampling rates.
  4. Review CNCF landscape category, project governance, release cadence, support ecosystem and security disclosures.

Explanation

Correct Answer

A:

Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. This is the most discriminating evidence for the described failure or requirement. An SLI is a measurement, an SLO is a target and an SLA is a contractual commitment; they should not be conflated. The corresponding implementation is: Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. Workload context: A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures.

Incorrect Answers

B:

Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. These observations are more relevant to Prometheus pull scraping and metrics endpoints, not this case. The distinguishing check is: Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. Workload context: A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures.

C:

Inspect metric labels and samples, log fields, trace/span correlation and sampling rates. These observations are more relevant to Metrics logs and traces distinctions, not this case. The distinguishing check is: Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. Workload context: A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures.

D:

Review CNCF landscape category, project governance, release cadence, support ecosystem and security disclosures. These observations are more relevant to CNCF project maturity and adoption decisions, not this case. The distinguishing check is: Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. Workload context: A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures.

Question 817

A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Review storageClass volumeBindingMode, PVC condition, Pod node constraints and CSI topology events.
  2. Review image references, signing identities, attestations, admission decisions and deployed imageIDs.
  3. Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets.
  4. Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings.

Explanation

Correct Answer

C:

Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. This is the most discriminating evidence for the described failure or requirement. A Service can resolve in DNS yet have zero endpoints or forward to an incorrect port. The corresponding implementation is: Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. Workload context: A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS.

Incorrect Answers

A:

Review storageClass volumeBindingMode, PVC condition, Pod node constraints and CSI topology events. These observations are more relevant to WaitForFirstConsumer volume binding, not this case. The distinguishing check is: Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. Workload context: A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS.

B:

Review image references, signing identities, attestations, admission decisions and deployed imageIDs. These observations are more relevant to Image provenance and admission policies, not this case. The distinguishing check is: Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. Workload context: A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS.

D:

Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings. These observations are more relevant to Node pressure and Pod eviction analysis, not this case. The distinguishing check is: Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. Workload context: A team adds a LoadBalancer public IP to fix a timeout between two Pods that already communicate through internal DNS.

Question 818

A scheduler reports FailedScheduling for topology constraints and developers waste time changing the web-app 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. Production uses a tested traceable artifact only after required promotion and environment gates succeed.
  3. Template rendering produces intended resources and upgrades or rollbacks remain tied to specific chart revisions.
  4. Root-cause hypotheses align with recorded warning events and targeted corrective actions.

Explanation

Correct Answer

D:

Root-cause hypotheses align with recorded warning events and targeted corrective actions. This is an observable service outcome, not just evidence that a configuration file was saved. Events describe control-plane and kubelet observations but are not a permanent complete incident log. Workload context: A scheduler reports FailedScheduling for topology constraints and developers waste time changing the web-app 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: Root-cause hypotheses align with recorded warning events and targeted corrective actions. Workload context: A scheduler reports FailedScheduling for topology constraints and developers waste time changing the web-app port.

B:

Production uses a tested traceable artifact only after required promotion and environment gates succeed. That result validates CI versus CD pipeline separation rather than the requirement here. Verify instead: Root-cause hypotheses align with recorded warning events and targeted corrective actions. Workload context: A scheduler reports FailedScheduling for topology constraints and developers waste time changing the web-app port.

C:

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: Root-cause hypotheses align with recorded warning events and targeted corrective actions. Workload context: A scheduler reports FailedScheduling for topology constraints and developers waste time changing the web-app port.

Question 819

A private image pull returns Unauthorized because the namespace has no correctly scoped imagePullSecret. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions.
  2. Inspect DaemonSet desired/current/ready counts, node eligibility, tolerations and per-node Pod placement.
  3. Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors.
  4. Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs.

Explanation

Correct Answer

D:

Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs. This is the most discriminating evidence for the described failure or requirement. OCI registries store/distribute image artifacts; they do not orchestrate Pods or apply cluster networking. The corresponding implementation is: Pull images from approved OCI-compatible registries with controlled image credentials and documented access boundaries. Workload context: A private image pull returns Unauthorized because the namespace has no correctly scoped imagePullSecret.

Incorrect Answers

A:

Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions. These observations are more relevant to Ephemeral debugging containers, not this case. The distinguishing check is: Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs. Workload context: A private image pull returns Unauthorized because the namespace has no correctly scoped imagePullSecret.

B:

Inspect DaemonSet desired/current/ready counts, node eligibility, tolerations and per-node Pod placement. These observations are more relevant to DaemonSet node-local workloads, not this case. The distinguishing check is: Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs. Workload context: A private image pull returns Unauthorized because the namespace has no correctly scoped imagePullSecret.

C:

Inspect kubelet runtime endpoint, CRI protocol support, containerd service status and runtime errors. These observations are more relevant to Container runtime and CRI, not this case. The distinguishing check is: Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs. Workload context: A private image pull returns Unauthorized because the namespace has no correctly scoped imagePullSecret.

Question 820

A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets.
  2. Review container lastState, exit code, restart count, previous logs and application configuration.
  3. Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings.
  4. Compare Service type, clusterIP, nodePort, targetPort, node addresses and backend EndpointSlices.

Explanation

Correct Answer

B:

Review container lastState, exit code, restart count, previous logs and application configuration. This is the most discriminating evidence for the described failure or requirement. CrashLoopBackOff indicates repeated container exits and restart delays, not a scheduler placement failure. The corresponding implementation is: 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.

Incorrect Answers

A:

Inspect Service metadata, selected Pod labels, EndpointSlice readiness, containerPort and actual listening sockets. These observations are more relevant to Service selector and port mismatch diagnostics, not this case. The distinguishing check is: 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.

C:

Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings. These observations are more relevant to Node pressure and Pod eviction analysis, not this case. The distinguishing check is: 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.

D:

Compare Service type, clusterIP, nodePort, targetPort, node addresses and backend EndpointSlices. These observations are more relevant to ClusterIP and NodePort Service exposure, not this case. The distinguishing check is: 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.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests