Pass Linux Foundation KCNA Exam in First Attempt Easily
Real Linux Foundation KCNA Exam Questions, Accurate & Verified Answers As Experienced in the Actual Test!

Verified by experts
3 products

You save $69.98

KCNA Premium Bundle

  • Premium File 333 Questions & Answers
  • Last Update: Oct 30, 2026
  • Training Course 54 Lectures
  • Study Guide 410 Pages
$79.99 $149.97

Purchase Individually

  • Premium File

    333 Questions & Answers
    Last Update: Oct 30, 2026

    $76.99
    $69.99
  • Training Course

    54 Lectures

    $43.99
    $39.99
  • Study Guide

    410 Pages

    $43.99
    $39.99

Kubernetes and Cloud Native Associate KCNA Practice Test 38

Question 370

Multiple replicas emit warnings across workers, making incident reconstruction difficult without a centralized searchable log stream.

What operational hazard is most important in the described case?

  1. Without metrics collection, gradual degradation can remain invisible until a user-facing incident is reported
  2. Using only generic host utilization alarms can obscure true service reliability and create frequent unactionable notifications
  3. Without consistent trace propagation, cross-service response delays are hard to attribute even when overall metrics are available
  4. Relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures

Explanation

Correct Answer

D:

Relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. This failure path follows the case as described: Multiple replicas emit warnings across workers, making incident reconstruction difficult without a centralized searchable log stream. The appropriate corrective decision is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. The control should be accepted only when a controlled log record appears centrally with correct Pod, Namespace, timestamp, and correlation fields after Pod replacement. Risk statements should identify the affected workload or trust boundary, rather than generically claiming that every Kubernetes misconfiguration causes the same outage.

Incorrect Answers

A:

Without metrics collection, gradual degradation can remain invisible until a user-facing incident is reported. This is a plausible risk for the different Prometheus metrics and service monitoring scenario, for example: A team wants time-series HTTP error rates, request counts, and CPU measurements from Kubernetes workloads. However, the presented case concerns: Multiple replicas emit warnings across workers, making incident reconstruction difficult without a centralized searchable log stream. The more direct risk is that relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. The relevant mitigation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

B:

Using only generic host utilization alarms can obscure true service reliability and create frequent unactionable notifications. This is a plausible risk for the different SLIs SLOs and symptom-based alerts scenario, for example: A service owner wants meaningful availability objectives instead of paging on every brief CPU utilization spike. However, the presented case concerns: Multiple replicas emit warnings across workers, making incident reconstruction difficult without a centralized searchable log stream. The more direct risk is that relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. The relevant mitigation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

C:

Without consistent trace propagation, cross-service response delays are hard to attribute even when overall metrics are available. This is a plausible risk for the different OpenTelemetry distributed traces scenario, for example: A single user request crosses three microservices and the team cannot tell which hop causes most latency. However, the presented case concerns: Multiple replicas emit warnings across workers, making incident reconstruction difficult without a centralized searchable log stream. The more direct risk is that relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. The relevant mitigation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

Question 371

A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace.

What evidence should the team gather before declaring the change successful?

  1. A selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods
  2. Both containers start on the same node and communicate over localhost while the shared volume contains the expected data
  3. The Pod receives an eligible node assignment and scheduling events show a normal selection rather than a permanent Pending state
  4. After deleting one test-managed Pod, the controller restores the specified number of matching replicas without manual recreation

Explanation

Correct Answer

A:

A selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. This result checks the exact operational requirement in the scenario: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. It should be obtained after the team takes the step to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions. The acceptance evidence must guard against the failure in which broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

B:

Both containers start on the same node and communicate over localhost while the shared volume contains the expected data. This would provide useful evidence for a different Pod as smallest deployable scheduling unit situation such as: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. That is not the specific requirement here: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. The directly matching evidence is that a selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. The associated implementation is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

The Pod receives an eligible node assignment and scheduling events show a normal selection rather than a permanent Pending state. This would provide useful evidence for a different scheduler binding of pending Pods situation such as: A new Pod has no assigned node despite healthy containers already running elsewhere and the team must identify the scheduling component. That is not the specific requirement here: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. The directly matching evidence is that a selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. The associated implementation is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

After deleting one test-managed Pod, the controller restores the specified number of matching replicas without manual recreation. This would provide useful evidence for a different controller-manager desired-state reconciliation situation such as: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. That is not the specific requirement here: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. The directly matching evidence is that a selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. The associated implementation is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 372

A cluster is full and a critical Pod remains Pending while lower-priority eligible Pods occupy scheduling capacity.

Which implementation approach best matches the stated constraint?

  1. Specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy
  2. Set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed
  3. Configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement
  4. Assign suitable PriorityClasses with explicit policy and understand when scheduler preemption may evict lower-priority Pods

Explanation

Correct Answer

D:

Assign suitable PriorityClasses with explicit policy and understand when scheduler preemption may evict lower-priority Pods. This action directly addresses the described situation: A cluster is full and a critical Pod remains Pending while lower-priority eligible Pods occupy scheduling capacity. Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload. To distinguish a correct change from an unverified configuration, check that critical workloads receive intended preference and any preemption events affect only eligible lower-priority Pods within policy. The relevant failure concern is that overusing high priority or assuming it creates new capacity can cause avoidable evictions without solving actual shortages. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. That action is sensible for the separate topology spread constraints problem, for example: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. This scenario instead describes: A cluster is full and a critical Pod remains Pending while lower-priority eligible Pods occupy scheduling capacity. The more direct corrective action is to assign suitable PriorityClasses with explicit policy and understand when scheduler preemption may evict lower-priority Pods. Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. That action is sensible for the separate taints and tolerations for placement restrictions problem, for example: A dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. This scenario instead describes: A cluster is full and a critical Pod remains Pending while lower-priority eligible Pods occupy scheduling capacity. The more direct corrective action is to assign suitable PriorityClasses with explicit policy and understand when scheduler preemption may evict lower-priority Pods. Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. That action is sensible for the separate pod affinity to co-locate related workloads problem, for example: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. This scenario instead describes: A cluster is full and a critical Pod remains Pending while lower-priority eligible Pods occupy scheduling capacity. The more direct corrective action is to assign suitable PriorityClasses with explicit policy and understand when scheduler preemption may evict lower-priority Pods. Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 373

A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone.

Which failure outcome follows most directly from ignoring the required control?

  1. Ignoring co-location can concentrate supposedly redundant replicas in a single fault domain
  2. Mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware
  3. Using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free
  4. Understating requests can overcommit scheduling decisions, while impossible requests can leave an application permanently Pending

Explanation

Correct Answer

C:

Using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free. This failure path follows the case as described: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. The appropriate corrective decision is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. Topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible. The control should be accepted only when replicas occupy the expected available zones within the configured skew while scheduler events show no unintended pending Pods. Risk statements should identify the affected workload or trust boundary, rather than generically claiming that every Kubernetes misconfiguration causes the same outage.

Incorrect Answers

A:

Ignoring co-location can concentrate supposedly redundant replicas in a single fault domain. This is a plausible risk for the different pod anti-affinity for failure separation scenario, for example: Three identical replicas should avoid sharing one worker so a single-node failure does not remove every replica. However, the presented case concerns: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. The more direct risk is that using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free. The relevant mitigation is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

B:

Mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware. This is a plausible risk for the different node labels and node affinity scenario, for example: A latency-sensitive workload must run only on workers labeled for the intended hardware architecture. However, the presented case concerns: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. The more direct risk is that using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free. The relevant mitigation is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

D:

Understating requests can overcommit scheduling decisions, while impossible requests can leave an application permanently Pending. This is a plausible risk for the different CPU requests influence scheduling feasibility scenario, for example: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. However, the presented case concerns: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. The more direct risk is that using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free. The relevant mitigation is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

Question 374

A container image builds successfully but exits immediately because its default process command is incorrect.

What verification would distinguish success from merely creating a resource?

  1. After replacing the container or Pod, required records remain accessible from the chosen persistent data path
  2. An authorized worker pulls the specified image and the Pod progresses past image retrieval into container creation
  3. The container stays running with the intended application as its primary process and responds correctly to termination signals
  4. The configured runtime is healthy and the kubelet starts a scheduled test Pod on the worker node

Explanation

Correct Answer

C:

The container stays running with the intended application as its primary process and responds correctly to termination signals. This result checks the exact operational requirement in the scenario: A container image builds successfully but exits immediately because its default process command is incorrect. It should be obtained after the team takes the step to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. An image's entrypoint and command define its default process arguments, and the container typically exits when its main process terminates. The acceptance evidence must guard against the failure in which an incorrect startup command can produce repeated container exits despite a successfully built and published image. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

After replacing the container or Pod, required records remain accessible from the chosen persistent data path. This would provide useful evidence for a different ephemeral writable layer and persistent data situation such as: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. That is not the specific requirement here: A container image builds successfully but exits immediately because its default process command is incorrect. The directly matching evidence is that the container stays running with the intended application as its primary process and responds correctly to termination signals. The associated implementation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

An authorized worker pulls the specified image and the Pod progresses past image retrieval into container creation. This would provide useful evidence for a different container registry and image pulls situation such as: A new Pod reports image pull errors because workers cannot reach the private image repository. That is not the specific requirement here: A container image builds successfully but exits immediately because its default process command is incorrect. The directly matching evidence is that the container stays running with the intended application as its primary process and responds correctly to termination signals. The associated implementation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

The configured runtime is healthy and the kubelet starts a scheduled test Pod on the worker node. This would provide useful evidence for a different CRI runtime responsibilities situation such as: Kubernetes workers use containerd and administrators want to understand what launches containers on those nodes. That is not the specific requirement here: A container image builds successfully but exits immediately because its default process command is incorrect. The directly matching evidence is that the container stays running with the intended application as its primary process and responds correctly to termination signals. The associated implementation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 375

An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests.

Which result most specifically confirms the intended Kubernetes behavior?

  1. After rollback, the expected prior image is serving and user-path tests recover with reduced error rates
  2. The Service has no endpoints for the warming Pod until readiness succeeds, then correctly includes it after application initialization
  3. The application completes a representative cold start once and then transitions to normal readiness and liveness monitoring
  4. A deliberately wedged test process is restarted by kubelet and later resumes service without repeated false-positive restarts

Explanation

Correct Answer

A:

After rollback, the expected prior image is serving and user-path tests recover with reduced error rates. This result checks the exact operational requirement in the scenario: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. It should be obtained after the team takes the step to inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. Deployment revision history supports reversing a template change, while application monitoring confirms whether the previous version truly restored service. The acceptance evidence must guard against the failure in which deleting only faulty Pods recreates the same revision and can prolong regression instead of restoring a known-good template. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

B:

The Service has no endpoints for the warming Pod until readiness succeeds, then correctly includes it after application initialization. This would provide useful evidence for a different readiness probe excludes unhealthy Pods situation such as: An application process is running but cannot serve requests until a dependent database connection is established. That is not the specific requirement here: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. The directly matching evidence is that after rollback, the expected prior image is serving and user-path tests recover with reduced error rates. The associated implementation is to inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

The application completes a representative cold start once and then transitions to normal readiness and liveness monitoring. This would provide useful evidence for a different startup probe protects slow initialization situation such as: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. That is not the specific requirement here: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. The directly matching evidence is that after rollback, the expected prior image is serving and user-path tests recover with reduced error rates. The associated implementation is to inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

A deliberately wedged test process is restarted by kubelet and later resumes service without repeated false-positive restarts. This would provide useful evidence for a different liveness probe restarts stuck containers situation such as: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. That is not the specific requirement here: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. The directly matching evidence is that after rollback, the expected prior image is serving and user-path tests recover with reduced error rates. The associated implementation is to inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 376

A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs.

Which implementation approach best matches the stated constraint?

  1. Configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity
  2. Instrument supported services with OpenTelemetry traces and propagate context across service requests to an appropriate backend
  3. Define measurable service-level indicators and objectives, then configure alerts based on customer-impacting thresholds and suitable windows
  4. Expose appropriate application metrics and configure a Prometheus-compatible scraper and recording or alerting rules

Explanation

Correct Answer

A:

Configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. This action directly addresses the described situation: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. Centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. To distinguish a correct change from an unverified configuration, check that a controlled log record appears centrally with correct Pod, Namespace, timestamp, and correlation fields after Pod replacement. The relevant failure concern is that relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

B:

Instrument supported services with OpenTelemetry traces and propagate context across service requests to an appropriate backend. That action is sensible for the separate OpenTelemetry distributed traces problem, for example: A single user request crosses three microservices and the team cannot tell which hop causes most latency. This scenario instead describes: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The more direct corrective action is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Define measurable service-level indicators and objectives, then configure alerts based on customer-impacting thresholds and suitable windows. That action is sensible for the separate SLIs SLOs and symptom-based alerts problem, for example: A service owner wants meaningful availability objectives instead of paging on every brief CPU utilization spike. This scenario instead describes: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The more direct corrective action is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Expose appropriate application metrics and configure a Prometheus-compatible scraper and recording or alerting rules. That action is sensible for the separate Prometheus metrics and service monitoring problem, for example: A team wants time-series HTTP error rates, request counts, and CPU measurements from Kubernetes workloads. This scenario instead describes: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The more direct corrective action is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 377

A platform operator expects PVCs with a particular storageClassName to bind even though no matching class or CSI driver is available.

What acceptance test result provides the strongest evidence of success?

  1. A scratch-data test resets after Pod replacement, while the separate persisted dataset remains intact on its PVC
  2. Each replica retains the intended ordinal identity and associated data claim after a controlled restart or reschedule
  3. A new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics
  4. The chosen PV supports the specified mount topology and approved replicas can access data according to the real backend capabilities

Explanation

Correct Answer

C:

A new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. This result checks the exact operational requirement in the scenario: A platform operator expects PVCs with a particular storageClassName to bind even though no matching class or CSI driver is available. It should be obtained after the team takes the step to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. StorageClass describes provisioning behavior and parameters; a CSI driver can dynamically provision PVs for matching PVCs. The acceptance evidence must guard against the failure in which an absent or incorrect provisioner leaves claims Pending or creates storage with incompatible performance and durability properties. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

A scratch-data test resets after Pod replacement, while the separate persisted dataset remains intact on its PVC. This would provide useful evidence for a different ephemeral emptyDir versus persistent PVC situation such as: A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement. That is not the specific requirement here: A platform operator expects PVCs with a particular storageClassName to bind even though no matching class or CSI driver is available. The directly matching evidence is that a new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. The associated implementation is to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

Each replica retains the intended ordinal identity and associated data claim after a controlled restart or reschedule. This would provide useful evidence for a different StatefulSet stable identity and claims situation such as: A clustered database requires stable Pod identities and a separate durable volume for every ordered replica. That is not the specific requirement here: A platform operator expects PVCs with a particular storageClassName to bind even though no matching class or CSI driver is available. The directly matching evidence is that a new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. The associated implementation is to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

The chosen PV supports the specified mount topology and approved replicas can access data according to the real backend capabilities. This would provide useful evidence for a different ReadWriteOnce versus ReadWriteMany modes situation such as: Two replicas need to access the same shared content but the chosen volume supports only a single-node writer attachment. That is not the specific requirement here: A platform operator expects PVCs with a particular storageClassName to bind even though no matching class or CSI driver is available. The directly matching evidence is that a new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. The associated implementation is to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 378

A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs.

What is the most specific risk if the team leaves this situation unresolved?

  1. Relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures
  2. Without consistent trace propagation, cross-service response delays are hard to attribute even when overall metrics are available
  3. Using only generic host utilization alarms can obscure true service reliability and create frequent unactionable notifications
  4. Without metrics collection, gradual degradation can remain invisible until a user-facing incident is reported

Explanation

Correct Answer

A:

Relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. This failure path follows the case as described: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The appropriate corrective decision is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. The control should be accepted only when a controlled log record appears centrally with correct Pod, Namespace, timestamp, and correlation fields after Pod replacement. Risk statements should identify the affected workload or trust boundary, rather than generically claiming that every Kubernetes misconfiguration causes the same outage.

Incorrect Answers

B:

Without consistent trace propagation, cross-service response delays are hard to attribute even when overall metrics are available. This is a plausible risk for the different OpenTelemetry distributed traces scenario, for example: A single user request crosses three microservices and the team cannot tell which hop causes most latency. However, the presented case concerns: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The more direct risk is that relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. The relevant mitigation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

C:

Using only generic host utilization alarms can obscure true service reliability and create frequent unactionable notifications. This is a plausible risk for the different SLIs SLOs and symptom-based alerts scenario, for example: A service owner wants meaningful availability objectives instead of paging on every brief CPU utilization spike. However, the presented case concerns: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The more direct risk is that relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. The relevant mitigation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

D:

Without metrics collection, gradual degradation can remain invisible until a user-facing incident is reported. This is a plausible risk for the different Prometheus metrics and service monitoring scenario, for example: A team wants time-series HTTP error rates, request counts, and CPU measurements from Kubernetes workloads. However, the presented case concerns: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The more direct risk is that relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. The relevant mitigation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

Question 379

A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced.

Which measured or visible outcome should close the implementation check?

  1. The configured runtime is healthy and the kubelet starts a scheduled test Pod on the worker node
  2. A compatible workload starts promptly from its image and uses the host kernel while access boundaries pass the security review
  3. After replacing the container or Pod, required records remain accessible from the chosen persistent data path
  4. An authorized worker pulls the specified image and the Pod progresses past image retrieval into container creation

Explanation

Correct Answer

C:

After replacing the container or Pod, required records remain accessible from the chosen persistent data path. This result checks the exact operational requirement in the scenario: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. It should be obtained after the team takes the step to store data that must outlive container recreation in an appropriate mounted persistent volume or external durable service. A container writable layer is generally tied to that container instance; Pod replacement can discard the data stored there. The acceptance evidence must guard against the failure in which treating a disposable container layer as durable storage can lose application state during normal updates and restarts. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

The configured runtime is healthy and the kubelet starts a scheduled test Pod on the worker node. This would provide useful evidence for a different CRI runtime responsibilities situation such as: Kubernetes workers use containerd and administrators want to understand what launches containers on those nodes. That is not the specific requirement here: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The directly matching evidence is that after replacing the container or Pod, required records remain accessible from the chosen persistent data path. The associated implementation is to store data that must outlive container recreation in an appropriate mounted persistent volume or external durable service. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

A compatible workload starts promptly from its image and uses the host kernel while access boundaries pass the security review. This would provide useful evidence for a different containers compared with virtual machines situation such as: A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance. That is not the specific requirement here: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The directly matching evidence is that after replacing the container or Pod, required records remain accessible from the chosen persistent data path. The associated implementation is to store data that must outlive container recreation in an appropriate mounted persistent volume or external durable service. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

An authorized worker pulls the specified image and the Pod progresses past image retrieval into container creation. This would provide useful evidence for a different container registry and image pulls situation such as: A new Pod reports image pull errors because workers cannot reach the private image repository. That is not the specific requirement here: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The directly matching evidence is that after replacing the container or Pod, required records remain accessible from the chosen persistent data path. The associated implementation is to store data that must outlive container recreation in an appropriate mounted persistent volume or external durable service. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 380

Operators need to distinguish application exceptions from scheduler faults when a restarting Pod has already been assigned a worker.

Which engineering change is most justified by these facts?

  1. Inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision
  2. Use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal
  3. Add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds
  4. Inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration

Explanation

Correct Answer

D:

Inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. This action directly addresses the described situation: Operators need to distinguish application exceptions from scheduler faults when a restarting Pod has already been assigned a worker. Container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible. To distinguish a correct change from an unverified configuration, check that the retrieved previous log explains the failing process and a corrected rollout runs without repeated restarts. The relevant failure concern is that restarting and redeploying without collecting previous logs can erase useful context for the original failure. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. That action is sensible for the separate rollout revision history for regression recovery problem, for example: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. This scenario instead describes: Operators need to distinguish application exceptions from scheduler faults when a restarting Pod has already been assigned a worker. The more direct corrective action is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. Container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. That action is sensible for the separate liveness probe restarts stuck containers problem, for example: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. This scenario instead describes: Operators need to distinguish application exceptions from scheduler faults when a restarting Pod has already been assigned a worker. The more direct corrective action is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. Container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. That action is sensible for the separate startup probe protects slow initialization problem, for example: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. This scenario instead describes: Operators need to distinguish application exceptions from scheduler faults when a restarting Pod has already been assigned a worker. The more direct corrective action is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. Container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests

Purchase Individually

  • Premium File

    333 Questions & Answers
    Last Update: Oct 30, 2026

    $76.99
    $69.99
  • Training Course

    54 Lectures

    $43.99
    $39.99
  • Study Guide

    410 Pages

    $43.99
    $39.99

SPECIAL OFFER: GET 10% OFF
This is ONE TIME OFFER

You save
10%

Enter Your Email Address to Receive Your 10% Off Discount Code

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

Please check your mailbox for a message from support@examlabs.com and follow the directions.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your email address below to get started with our interactive software demo of your free trial.

  • Realistic exam simulation and exam editor with preview functions
  • Whole exam in a single file with several different question types
  • Customizable exam-taking mode & detailed score reports