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 21

Question 200

A team is configuring a health probe and wants Kubernetes to restart a container that cannot recover from a hang.

Which next step most directly solves this Kubernetes or cloud-native requirement?

  1. Add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds
  2. Use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal
  3. Inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision
  4. Configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests

Explanation

Correct Answer

B:

Use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. This action directly addresses the described situation: A team is configuring a health probe and wants Kubernetes to restart a container that cannot recover from a hang. A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility. To distinguish a correct change from an unverified configuration, check that a deliberately wedged test process is restarted by kubelet and later resumes service without repeated false-positive restarts. The relevant failure concern is that overly aggressive liveness checks can create a restart loop and compound a transient dependency outage. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

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: A team is configuring a health probe and wants Kubernetes to restart a container that cannot recover from a hang. The more direct corrective action is to use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

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: A team is configuring a health probe and wants Kubernetes to restart a container that cannot recover from a hang. The more direct corrective action is to use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests. That action is sensible for the separate readiness probe excludes unhealthy Pods problem, for example: An application process is running but cannot serve requests until a dependent database connection is established. This scenario instead describes: A team is configuring a health probe and wants Kubernetes to restart a container that cannot recover from a hang. The more direct corrective action is to use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 201

A team created a Pod volumeMount but forgot to request actual persistent capacity from the cluster storage system.

What acceptance test result provides the strongest evidence of success?

  1. A new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics
  2. The chosen PV supports the specified mount topology and approved replicas can access data according to the real backend capabilities
  3. Each replica retains the intended ordinal identity and associated data claim after a controlled restart or reschedule
  4. The claim becomes Bound, the Pod mounts its path, and written data survives a controlled Pod replacement

Explanation

Correct Answer

D:

The claim becomes Bound, the Pod mounts its path, and written data survives a controlled Pod replacement. This result checks the exact operational requirement in the scenario: A team created a Pod volumeMount but forgot to request actual persistent capacity from the cluster storage system. It should be obtained after the team takes the step to create a compatible PersistentVolumeClaim and configure suitable provisioned or existing PersistentVolume capacity before starting the stateful app. A PVC requests storage characteristics and binds to a compatible PV, while the Pod mounts the claim for data persistence. The acceptance evidence must guard against the failure in which a missing or incompatible claim prevents persistent storage attachment and can block stateful workloads. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

A new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. This would provide useful evidence for a different StorageClass dynamic provisioning situation such as: Developers need new persistent volumes automatically created from a supported block storage provisioner. That is not the specific requirement here: A team created a Pod volumeMount but forgot to request actual persistent capacity from the cluster storage system. The directly matching evidence is that the claim becomes Bound, the Pod mounts its path, and written data survives a controlled Pod replacement. The associated implementation is to create a compatible PersistentVolumeClaim and configure suitable provisioned or existing PersistentVolume capacity before starting the stateful app. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

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 team created a Pod volumeMount but forgot to request actual persistent capacity from the cluster storage system. The directly matching evidence is that the claim becomes Bound, the Pod mounts its path, and written data survives a controlled Pod replacement. The associated implementation is to create a compatible PersistentVolumeClaim and configure suitable provisioned or existing PersistentVolume capacity before starting the stateful app. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

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 team created a Pod volumeMount but forgot to request actual persistent capacity from the cluster storage system. The directly matching evidence is that the claim becomes Bound, the Pod mounts its path, and written data survives a controlled Pod replacement. The associated implementation is to create a compatible PersistentVolumeClaim and configure suitable provisioned or existing PersistentVolume capacity before starting the stateful app. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 202

A new Deployment revision is serving errors and the team needs to return to the preceding healthy revision.

What would be the most suitable first corrective action?

  1. Inspect kubectl describe pod output and namespace events to identify scheduling or admission failures before looking for container logs
  2. Check Deployment rollout history and status, then invoke a supported rollback to the prior verified revision if needed
  3. Create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files
  4. Apply a namespace ResourceQuota with appropriate compute and object limits, then monitor admission events for exceeded requests

Explanation

Correct Answer

B:

Check Deployment rollout history and status, then invoke a supported rollback to the prior verified revision if needed. This action directly addresses the described situation: A new Deployment revision is serving errors and the team needs to return to the preceding healthy revision. Deployment revisions preserve rollout history, and rollout status reports whether desired updated Pods reach availability. To distinguish a correct change from an unverified configuration, check that the prior known-good image becomes active through the Deployment controller and application smoke tests pass. The relevant failure concern is that deleting replacement Pods individually does not reliably restore the previous Deployment template and can perpetuate a faulty rollout. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Inspect kubectl describe pod output and namespace events to identify scheduling or admission failures before looking for container logs. That action is sensible for the separate kubectl describe and event inspection problem, for example: A Pod remains Pending with no container logs because it was never assigned to a worker node. This scenario instead describes: A new Deployment revision is serving errors and the team needs to return to the preceding healthy revision. The more direct corrective action is to check Deployment rollout history and status, then invoke a supported rollback to the prior verified revision if needed. Deployment revisions preserve rollout history, and rollout status reports whether desired updated Pods reach availability. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. That action is sensible for the separate ConfigMap for nonsecret settings problem, for example: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. This scenario instead describes: A new Deployment revision is serving errors and the team needs to return to the preceding healthy revision. The more direct corrective action is to check Deployment rollout history and status, then invoke a supported rollback to the prior verified revision if needed. Deployment revisions preserve rollout history, and rollout status reports whether desired updated Pods reach availability. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Apply a namespace ResourceQuota with appropriate compute and object limits, then monitor admission events for exceeded requests. That action is sensible for the separate ResourceQuota per Namespace problem, for example: One team's runaway batch Pods consume a disproportionate number of objects and resources in a shared cluster. This scenario instead describes: A new Deployment revision is serving errors and the team needs to return to the preceding healthy revision. The more direct corrective action is to check Deployment rollout history and status, then invoke a supported rollback to the prior verified revision if needed. Deployment revisions preserve rollout history, and rollout status reports whether desired updated Pods reach availability. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 203

A team wants an explicit maximum skew for Pods across topology.kubernetes.io/zone domains.

Which explanation best matches the observed cluster behavior?

  1. Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels
  2. Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload
  3. Topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible
  4. The scheduler uses resource requests and node allocatable capacity to determine feasibility, while CPU limits bound runtime consumption

Explanation

Correct Answer

C:

Topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible. This component or control behavior explains what matters in the case: A team wants an explicit maximum skew for Pods across topology.kubernetes.io/zone domains. The corresponding operational decision is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. The expected evidence is that replicas occupy the expected available zones within the configured skew while scheduler events show no unintended pending Pods. If the requirement is misunderstood, using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free. The distinction matters because cloud-native controls are specific to layers, resource lifecycles, and declared ownership; similar-sounding features are not always substitutes.

Incorrect Answers

A:

Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. This explanation belongs to the nearby pod affinity to co-locate related workloads topic, for example: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The actual scenario is: A team wants an explicit maximum skew for Pods across topology.kubernetes.io/zone domains. The relevant mechanism is that topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible. The matching implementation is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload. This explanation belongs to the nearby PriorityClass and preemption under contention topic, for example: A high-priority control workload needs preference over expendable batch jobs during sustained node resource pressure. The actual scenario is: A team wants an explicit maximum skew for Pods across topology.kubernetes.io/zone domains. The relevant mechanism is that topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible. The matching implementation is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

The scheduler uses resource requests and node allocatable capacity to determine feasibility, while CPU limits bound runtime consumption. This explanation belongs to the nearby CPU requests influence scheduling feasibility topic, for example: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. The actual scenario is: A team wants an explicit maximum skew for Pods across topology.kubernetes.io/zone domains. The relevant mechanism is that topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible. The matching implementation is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 204

A team needs repeatable configuration for Kubernetes Deployments without relying on screenshots or ad hoc shell history.

What should the platform team prioritize for this case?

  1. Cordon the node to prevent new scheduling and drain supported workloads with disruption policies before planned maintenance
  2. Inspect the current kubeconfig context and explicit namespace, selecting the intended cluster before issuing a mutating kubectl command
  3. Store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows
  4. Create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files

Explanation

Correct Answer

C:

Store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. This action directly addresses the described situation: A team needs repeatable configuration for Kubernetes Deployments without relying on screenshots or ad hoc shell history. Declarative configuration describes intended object state and Kubernetes reconciliation drives actual resources toward that specification. To distinguish a correct change from an unverified configuration, check that reapplying the approved manifest leaves the desired spec consistent and the controller reaches the declared replica count. The relevant failure concern is that repeated manual imperative edits make state drift difficult to reproduce, inspect, or reverse reliably. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Cordon the node to prevent new scheduling and drain supported workloads with disruption policies before planned maintenance. That action is sensible for the separate cordon drain and node maintenance problem, for example: A worker needs a scheduled operating-system patch while running applications should move to healthy nodes. This scenario instead describes: A team needs repeatable configuration for Kubernetes Deployments without relying on screenshots or ad hoc shell history. The more direct corrective action is to store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. Declarative configuration describes intended object state and Kubernetes reconciliation drives actual resources toward that specification. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Inspect the current kubeconfig context and explicit namespace, selecting the intended cluster before issuing a mutating kubectl command. That action is sensible for the separate kubectl context and active cluster selection problem, for example: A developer has access to a test cluster and production cluster and must confirm the target before applying a manifest. This scenario instead describes: A team needs repeatable configuration for Kubernetes Deployments without relying on screenshots or ad hoc shell history. The more direct corrective action is to store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. Declarative configuration describes intended object state and Kubernetes reconciliation drives actual resources toward that specification. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. That action is sensible for the separate ConfigMap for nonsecret settings problem, for example: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. This scenario instead describes: A team needs repeatable configuration for Kubernetes Deployments without relying on screenshots or ad hoc shell history. The more direct corrective action is to store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. Declarative configuration describes intended object state and Kubernetes reconciliation drives actual resources toward that specification. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 205

A team confuses the kube-scheduler with the node component that pulls images and starts container processes.

What verification would distinguish success from merely creating a resource?

  1. Two eligible workers start containers from the same immutable image digest and run consistent application versions
  2. The configured runtime is healthy and the kubelet starts a scheduled test Pod on the worker node
  3. An authorized worker pulls the specified image and the Pod progresses past image retrieval into container creation
  4. A compatible workload starts promptly from its image and uses the host kernel while access boundaries pass the security review

Explanation

Correct Answer

B:

The configured runtime is healthy and the kubelet starts a scheduled test Pod on the worker node. This result checks the exact operational requirement in the scenario: A team confuses the kube-scheduler with the node component that pulls images and starts container processes. It should be obtained after the team takes the step to verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker. Kubelet uses the Container Runtime Interface to request image and container lifecycle operations from a compatible runtime such as containerd. The acceptance evidence must guard against the failure in which an absent or unhealthy container runtime prevents containers from starting even when scheduling and API access succeed. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

Two eligible workers start containers from the same immutable image digest and run consistent application versions. This would provide useful evidence for a different OCI container images and immutable build artifacts situation such as: An application team needs reproducible packaging of a runtime and dependencies to deploy across workers. That is not the specific requirement here: A team confuses the kube-scheduler with the node component that pulls images and starts container processes. The directly matching evidence is that the configured runtime is healthy and the kubelet starts a scheduled test Pod on the worker node. The associated implementation is to verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

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 team confuses the kube-scheduler with the node component that pulls images and starts container processes. The directly matching evidence is that the configured runtime is healthy and the kubelet starts a scheduled test Pod on the worker node. The associated implementation is to verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

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 team confuses the kube-scheduler with the node component that pulls images and starts container processes. The directly matching evidence is that the configured runtime is healthy and the kubelet starts a scheduled test Pod on the worker node. The associated implementation is to verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 206

A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API.

Which choice best meets the requirement without addressing an unrelated issue?

  1. Create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions
  2. Assign a dedicated ServiceAccount and appropriate minimal RBAC to the Pod rather than reuse a human user's privileged access
  3. Enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling
  4. Scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported

Explanation

Correct Answer

C:

Enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. This action directly addresses the described situation: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. To distinguish a correct change from an unverified configuration, check that authorized workloads retrieve required values while nonprivileged identities cannot read them and storage encryption is validated. The relevant failure concern is that treating base64 encoding as encryption or allowing broad Secret read permissions creates a path to credential disclosure. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. That action is sensible for the separate RBAC least privilege for namespace users problem, for example: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. This scenario instead describes: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. The more direct corrective action is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Assign a dedicated ServiceAccount and appropriate minimal RBAC to the Pod rather than reuse a human user's privileged access. That action is sensible for the separate ServiceAccount identity for workloads problem, for example: An in-cluster controller requires permission to read a limited group of Kubernetes resources using its own identity. This scenario instead describes: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. The more direct corrective action is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. That action is sensible for the separate container image trust and vulnerability remediation problem, for example: An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges. This scenario instead describes: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. The more direct corrective action is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 207

A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery.

What operational hazard is most important in the described case?

  1. Without readiness validation, clients can receive failures from running Pods that are not yet able to serve traffic
  2. Using short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload
  3. Deleting only faulty Pods recreates the same revision and can prolong regression instead of restoring a known-good template
  4. Overly aggressive liveness checks can create a restart loop and compound a transient dependency outage

Explanation

Correct Answer

D:

Overly aggressive liveness checks can create a restart loop and compound a transient dependency outage. This failure path follows the case as described: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. The appropriate corrective decision is to use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility. The control should be accepted only when a deliberately wedged test process is restarted by kubelet and later resumes service without repeated false-positive restarts. 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 readiness validation, clients can receive failures from running Pods that are not yet able to serve traffic. This is a plausible risk for the different readiness probe excludes unhealthy Pods scenario, for example: An application process is running but cannot serve requests until a dependent database connection is established. However, the presented case concerns: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. The more direct risk is that overly aggressive liveness checks can create a restart loop and compound a transient dependency outage. The relevant mitigation is to use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. 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 short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload. This is a plausible risk for the different startup probe protects slow initialization scenario, for example: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. However, the presented case concerns: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. The more direct risk is that overly aggressive liveness checks can create a restart loop and compound a transient dependency outage. The relevant mitigation is to use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. 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:

Deleting only faulty Pods recreates the same revision and can prolong regression instead of restoring a known-good template. This is a plausible risk for the different rollout revision history for regression recovery scenario, for example: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. However, the presented case concerns: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. The more direct risk is that overly aggressive liveness checks can create a restart loop and compound a transient dependency outage. The relevant mitigation is to use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. 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 208

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

What should the platform team prioritize for this case?

  1. Publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported
  2. Set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling
  3. Choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls
  4. Store data that must outlive container recreation in an appropriate mounted persistent volume or external durable service

Explanation

Correct Answer

D:

Store data that must outlive container recreation in an appropriate mounted persistent volume or external durable service. This action directly addresses the described situation: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. A container writable layer is generally tied to that container instance; Pod replacement can discard the data stored there. To distinguish a correct change from an unverified configuration, check that after replacing the container or Pod, required records remain accessible from the chosen persistent data path. The relevant failure concern is that treating a disposable container layer as durable storage can lose application state during normal updates and restarts. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported. That action is sensible for the separate container registry and image pulls problem, for example: A new Pod reports image pull errors because workers cannot reach the private image repository. This scenario instead describes: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. That action is sensible for the separate Dockerfile entrypoint and startup command problem, for example: A container image builds successfully but exits immediately because its default process command is incorrect. This scenario instead describes: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls. That action is sensible for the separate containers compared with virtual machines problem, for example: A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance. This scenario instead describes: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 209

A Deployment uses an image name that does not exist in the chosen repository and remains in image pull backoff.

What operational hazard is most important in the described case?

  1. Misdiagnosing DNS as a failing database can prompt unnecessary changes while real service discovery remains unavailable
  2. Leaving selectors or readiness broken can make a healthy-looking Service black-hole requests and hide behind valid DNS responses
  3. Investigating app logs before the image exists misses the registry or authentication cause and delays recovery
  4. Ignoring termination reasons and continuously deleting Pods repeats the same faulty image or configuration without fixing the crash

Explanation

Correct Answer

C:

Investigating app logs before the image exists misses the registry or authentication cause and delays recovery. This failure path follows the case as described: A Deployment uses an image name that does not exist in the chosen repository and remains in image pull backoff. The appropriate corrective decision is to review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure. ImagePullBackOff indicates retries after failed image retrieval, distinct from an application crash that occurs after a container starts. The control should be accepted only when a worker successfully pulls the approved digest and the Pod advances from image retrieval to container creation. 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:

Misdiagnosing DNS as a failing database can prompt unnecessary changes while real service discovery remains unavailable. This is a plausible risk for the different DNS failure within running application Pods scenario, for example: Two Running Pods cannot resolve a ClusterIP Service by DNS name although direct IP calls succeed. However, the presented case concerns: A Deployment uses an image name that does not exist in the chosen repository and remains in image pull backoff. The more direct risk is that investigating app logs before the image exists misses the registry or authentication cause and delays recovery. The relevant mitigation is to review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure. 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:

Leaving selectors or readiness broken can make a healthy-looking Service black-hole requests and hide behind valid DNS responses. This is a plausible risk for the different Service connection failure with empty endpoints scenario, for example: A Kubernetes Service exists and resolves in DNS but every request fails after a Deployment's labels changed. However, the presented case concerns: A Deployment uses an image name that does not exist in the chosen repository and remains in image pull backoff. The more direct risk is that investigating app logs before the image exists misses the registry or authentication cause and delays recovery. The relevant mitigation is to review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure. 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:

Ignoring termination reasons and continuously deleting Pods repeats the same faulty image or configuration without fixing the crash. This is a plausible risk for the different CrashLoopBackOff from failing application process scenario, for example: A Pod repeatedly restarts because its main process exits with a configuration error after startup. However, the presented case concerns: A Deployment uses an image name that does not exist in the chosen repository and remains in image pull backoff. The more direct risk is that investigating app logs before the image exists misses the registry or authentication cause and delays recovery. The relevant mitigation is to review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure. 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 210

Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call.

What acceptance test result provides the strongest evidence of success?

  1. The intended external client connects through the chosen Service type and the actual backend Pod receives the request
  2. Two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy
  3. A test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created
  4. A DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint

Explanation

Correct Answer

C:

A test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created. This result checks the exact operational requirement in the scenario: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. It should be obtained after the team takes the step to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. ClusterIP provides a stable cluster-internal virtual Service address that routes to eligible backend Pods without directly exposing a node port. The acceptance evidence must guard against the failure in which exposing a node or external load balancer for an internal-only workload unnecessarily expands its reachable surface. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

The intended external client connects through the chosen Service type and the actual backend Pod receives the request. This would provide useful evidence for a different NodePort versus LoadBalancer external access situation such as: A test environment must expose a simple TCP application through an explicitly allowed port on Kubernetes nodes. That is not the specific requirement here: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. The directly matching evidence is that a test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created. The associated implementation is to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

Two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy. This would provide useful evidence for a different CNI Pod-to-Pod networking situation such as: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. That is not the specific requirement here: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. The directly matching evidence is that a test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created. The associated implementation is to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

A DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint. This would provide useful evidence for a different Cluster DNS service discovery situation such as: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. That is not the specific requirement here: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. The directly matching evidence is that a test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created. The associated implementation is to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

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