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 51

Question 500

A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy.

Which underlying mechanism best explains why the right approach works?

  1. Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version
  2. Rolling updates replace Deployment replicas in controlled batches and respect configured limits on surge capacity and unavailable instances
  3. Kustomize transforms source manifests using overlays and patches without requiring application-level template syntax
  4. Blue-green deployment keeps two complete environments and changes the traffic destination at cutover, unlike progressively shifting percentages

Explanation

Correct Answer

C:

Kustomize transforms source manifests using overlays and patches without requiring application-level template syntax. This component or control behavior explains what matters in the case: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. The corresponding operational decision is to use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set. The expected evidence is that the rendered production overlay has only the intended differences and still preserves stable shared labels and Service selectors. If the requirement is misunderstood, maintaining full independent manifest forks can create unnoticed configuration drift as common settings evolve. 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:

Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version. This explanation belongs to the nearby canary release with measured traffic topic, for example: A team wants to expose only a small share of requests to a new version before broad production rollout. The actual scenario is: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. The relevant mechanism is that kustomize transforms source manifests using overlays and patches without requiring application-level template syntax. The matching implementation is to use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Rolling updates replace Deployment replicas in controlled batches and respect configured limits on surge capacity and unavailable instances. This explanation belongs to the nearby rolling update strategy and maxUnavailable topic, for example: An HTTP Deployment must move gradually to a new image while limiting unavailable replicas during the transition. The actual scenario is: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. The relevant mechanism is that kustomize transforms source manifests using overlays and patches without requiring application-level template syntax. The matching implementation is to use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Blue-green deployment keeps two complete environments and changes the traffic destination at cutover, unlike progressively shifting percentages. This explanation belongs to the nearby blue-green release cutover topic, for example: A critical application needs a full parallel environment for a fast verified cutover and easy return to the old release. The actual scenario is: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. The relevant mechanism is that kustomize transforms source manifests using overlays and patches without requiring application-level template syntax. The matching implementation is to use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 501

A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused.

What could go wrong if the proposed safeguard or configuration is omitted?

  1. Relying on host-specific installations produces configuration drift and unpredictable releases across cluster nodes
  2. Treating a disposable container layer as durable storage can lose application state during normal updates and restarts
  3. Trusting a mutable latest tag can silently change workloads between restarts without a reviewed deployment revision
  4. Assuming container isolation is identical to VM isolation may lead to unsupported kernel requirements or a weak security boundary

Explanation

Correct Answer

C:

Trusting a mutable latest tag can silently change workloads between restarts without a reviewed deployment revision. This failure path follows the case as described: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. The appropriate corrective decision is to reference a specific image digest or immutable version policy for production and verify the pulled artifact matches approval. An image digest identifies content immutably, whereas tags are names that can be moved to reference different image content. The control should be accepted only when each test Pod reports the expected imageID digest across nodes after deployment and rollback. 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:

Relying on host-specific installations produces configuration drift and unpredictable releases across cluster nodes. This is a plausible risk for the different OCI container images and immutable build artifacts scenario, for example: An application team needs reproducible packaging of a runtime and dependencies to deploy across workers. However, the presented case concerns: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. The more direct risk is that trusting a mutable latest tag can silently change workloads between restarts without a reviewed deployment revision. The relevant mitigation is to reference a specific image digest or immutable version policy for production and verify the pulled artifact matches approval. 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:

Treating a disposable container layer as durable storage can lose application state during normal updates and restarts. This is a plausible risk for the different ephemeral writable layer and persistent data scenario, for example: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. However, the presented case concerns: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. The more direct risk is that trusting a mutable latest tag can silently change workloads between restarts without a reviewed deployment revision. The relevant mitigation is to reference a specific image digest or immutable version policy for production and verify the pulled artifact matches approval. 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:

Assuming container isolation is identical to VM isolation may lead to unsupported kernel requirements or a weak security boundary. This is a plausible risk for the different containers compared with virtual machines scenario, for example: A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance. However, the presented case concerns: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. The more direct risk is that trusting a mutable latest tag can silently change workloads between restarts without a reviewed deployment revision. The relevant mitigation is to reference a specific image digest or immutable version policy for production and verify the pulled artifact matches approval. 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 502

A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled.

Which observation most directly proves this requirement has been met?

  1. The Pod binds to a node with adequate requested CPU and does not remain Pending for insufficient capacity
  2. Ordinary Pods remain off the tainted nodes, while an approved eligible Pod can be scheduled when sufficient resources exist
  3. Replicas occupy the expected available zones within the configured skew while scheduler events show no unintended pending Pods
  4. Critical workloads receive intended preference and any preemption events affect only eligible lower-priority Pods within policy

Explanation

Correct Answer

A:

The Pod binds to a node with adequate requested CPU and does not remain Pending for insufficient capacity. This result checks the exact operational requirement in the scenario: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. It should be obtained after the team takes the step to adjust realistic container resource requests or add eligible capacity, then inspect scheduling events and allocation. The scheduler uses resource requests and node allocatable capacity to determine feasibility, while CPU limits bound runtime consumption. The acceptance evidence must guard against the failure in which understating requests can overcommit scheduling decisions, while impossible requests can leave an application permanently Pending. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

B:

Ordinary Pods remain off the tainted nodes, while an approved eligible Pod can be scheduled when sufficient resources exist. This would provide useful evidence for a different taints and tolerations for placement restrictions situation such as: A dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. That is not the specific requirement here: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. The directly matching evidence is that the Pod binds to a node with adequate requested CPU and does not remain Pending for insufficient capacity. The associated implementation is to adjust realistic container resource requests or add eligible capacity, then inspect scheduling events and allocation. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

Replicas occupy the expected available zones within the configured skew while scheduler events show no unintended pending Pods. This would provide useful evidence for a different topology spread constraints situation such as: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. That is not the specific requirement here: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. The directly matching evidence is that the Pod binds to a node with adequate requested CPU and does not remain Pending for insufficient capacity. The associated implementation is to adjust realistic container resource requests or add eligible capacity, then inspect scheduling events and allocation. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

Critical workloads receive intended preference and any preemption events affect only eligible lower-priority Pods within policy. This would provide useful evidence for a different PriorityClass and preemption under contention situation such as: A high-priority control workload needs preference over expendable batch jobs during sustained node resource pressure. That is not the specific requirement here: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. The directly matching evidence is that the Pod binds to a node with adequate requested CPU and does not remain Pending for insufficient capacity. The associated implementation is to adjust realistic container resource requests or add eligible capacity, then inspect scheduling events and allocation. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 503

A Kubernetes Service exists and resolves in DNS but every request fails after a Deployment's labels changed.

What could go wrong if the proposed safeguard or configuration is omitted?

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

Explanation

Correct Answer

A:

Leaving selectors or readiness broken can make a healthy-looking Service black-hole requests and hide behind valid DNS responses. This failure path follows the case as described: A Kubernetes Service exists and resolves in DNS but every request fails after a Deployment's labels changed. The appropriate corrective decision is to inspect EndpointSlices, Service selectors, and backend readiness; fix the label or probe mismatch and retry through the Service. Service objects need matching ready backend endpoints; a DNS A record and Service port alone do not create an application target. The control should be accepted only when expected ready Pod addresses appear in EndpointSlices and clients successfully connect through the stable Service. 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:

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 Kubernetes Service exists and resolves in DNS but every request fails after a Deployment's labels changed. The more direct risk is that leaving selectors or readiness broken can make a healthy-looking Service black-hole requests and hide behind valid DNS responses. The relevant mitigation is to inspect EndpointSlices, Service selectors, and backend readiness; fix the label or probe mismatch and retry through the Service. 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:

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 Kubernetes Service exists and resolves in DNS but every request fails after a Deployment's labels changed. The more direct risk is that leaving selectors or readiness broken can make a healthy-looking Service black-hole requests and hide behind valid DNS responses. The relevant mitigation is to inspect EndpointSlices, Service selectors, and backend readiness; fix the label or probe mismatch and retry through the Service. 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:

Investigating app logs before the image exists misses the registry or authentication cause and delays recovery. This is a plausible risk for the different ImagePullBackOff credential or registry fault scenario, for example: A scheduled Pod cannot start because the private registry rejects its pull credentials. However, the presented case concerns: A Kubernetes Service exists and resolves in DNS but every request fails after a Deployment's labels changed. The more direct risk is that leaving selectors or readiness broken can make a healthy-looking Service black-hole requests and hide behind valid DNS responses. The relevant mitigation is to inspect EndpointSlices, Service selectors, and backend readiness; fix the label or probe mismatch and retry through the Service. 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 504

An application update is paused pending observation and operators want to identify whether updated replicas are available.

What should the platform team prioritize for this case?

  1. Store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods
  2. Check Deployment rollout history and status, then invoke a supported rollback to the prior verified revision if needed
  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

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: An application update is paused pending observation and operators want to identify whether updated replicas are available. 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:

Store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. That action is sensible for the separate Secret as API object for sensitive application values problem, for example: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. This scenario instead describes: An application update is paused pending observation and operators want to identify whether updated replicas are available. 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:

Store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. That action is sensible for the separate declarative manifests and kubectl apply problem, for example: A team needs repeatable configuration for Kubernetes Deployments without relying on screenshots or ad hoc shell history. This scenario instead describes: An application update is paused pending observation and operators want to identify whether updated replicas are available. 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:

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: An application update is paused pending observation and operators want to identify whether updated replicas are available. 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 505

A release engineer needs a runtime command that starts the intended long-running web server inside the image.

What operational hazard is most important in the described case?

  1. An incorrect startup command can produce repeated container exits despite a successfully built and published image
  2. Trusting a mutable latest tag can silently change workloads between restarts without a reviewed deployment revision
  3. Missing registry reachability or credentials leaves Pods in image pull backoff despite healthy scheduling capacity
  4. Assuming container isolation is identical to VM isolation may lead to unsupported kernel requirements or a weak security boundary

Explanation

Correct Answer

A:

An incorrect startup command can produce repeated container exits despite a successfully built and published image. This failure path follows the case as described: A release engineer needs a runtime command that starts the intended long-running web server inside the image. The appropriate corrective decision is 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 control should be accepted only when the container stays running with the intended application as its primary process and responds correctly to termination signals. 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:

Trusting a mutable latest tag can silently change workloads between restarts without a reviewed deployment revision. This is a plausible risk for the different digest pinning versus mutable tags scenario, for example: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. However, the presented case concerns: A release engineer needs a runtime command that starts the intended long-running web server inside the image. The more direct risk is that an incorrect startup command can produce repeated container exits despite a successfully built and published image. The relevant mitigation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. 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:

Missing registry reachability or credentials leaves Pods in image pull backoff despite healthy scheduling capacity. This is a plausible risk for the different container registry and image pulls scenario, for example: A new Pod reports image pull errors because workers cannot reach the private image repository. However, the presented case concerns: A release engineer needs a runtime command that starts the intended long-running web server inside the image. The more direct risk is that an incorrect startup command can produce repeated container exits despite a successfully built and published image. The relevant mitigation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. 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:

Assuming container isolation is identical to VM isolation may lead to unsupported kernel requirements or a weak security boundary. This is a plausible risk for the different containers compared with virtual machines scenario, for example: A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance. However, the presented case concerns: A release engineer needs a runtime command that starts the intended long-running web server inside the image. The more direct risk is that an incorrect startup command can produce repeated container exits despite a successfully built and published image. The relevant mitigation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. 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 506

Operators want to modify the desired replica count through a reviewed YAML file kept with application source.

Which operational observation most convincingly validates the fix?

  1. The event stream identifies a concrete Pending cause and subsequent remediation allows a successful node assignment
  2. Only authorized service accounts and workloads can retrieve the required value and the secret is not exposed in logs or source control
  3. Reapplying the approved manifest leaves the desired spec consistent and the controller reaches the declared replica count
  4. New requests beyond the chosen quota are rejected with clear admission events while existing permitted workloads continue

Explanation

Correct Answer

C:

Reapplying the approved manifest leaves the desired spec consistent and the controller reaches the declared replica count. This result checks the exact operational requirement in the scenario: Operators want to modify the desired replica count through a reviewed YAML file kept with application source. It should be obtained after the team takes the step 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. The acceptance evidence must guard against the failure in which repeated manual imperative edits make state drift difficult to reproduce, inspect, or reverse reliably. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

The event stream identifies a concrete Pending cause and subsequent remediation allows a successful node assignment. This would provide useful evidence for a different kubectl describe and event inspection situation such as: A Pod remains Pending with no container logs because it was never assigned to a worker node. That is not the specific requirement here: Operators want to modify the desired replica count through a reviewed YAML file kept with application source. The directly matching evidence is that reapplying the approved manifest leaves the desired spec consistent and the controller reaches the declared replica count. The associated implementation is to store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

Only authorized service accounts and workloads can retrieve the required value and the secret is not exposed in logs or source control. This would provide useful evidence for a different Secret as API object for sensitive application values situation such as: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. That is not the specific requirement here: Operators want to modify the desired replica count through a reviewed YAML file kept with application source. The directly matching evidence is that reapplying the approved manifest leaves the desired spec consistent and the controller reaches the declared replica count. The associated implementation is to store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

New requests beyond the chosen quota are rejected with clear admission events while existing permitted workloads continue. This would provide useful evidence for a different ResourceQuota per Namespace situation such as: One team's runaway batch Pods consume a disproportionate number of objects and resources in a shared cluster. That is not the specific requirement here: Operators want to modify the desired replica count through a reviewed YAML file kept with application source. The directly matching evidence is that reapplying the approved manifest leaves the desired spec consistent and the controller reaches the declared replica count. The associated implementation is to store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 507

A newly deployed Namespace gets intermittent unknown-host errors while backend Service endpoints remain healthy.

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

  1. Leaving selectors or readiness broken can make a healthy-looking Service black-hole requests and hide behind valid DNS responses
  2. Ignoring termination reasons and continuously deleting Pods repeats the same faulty image or configuration without fixing the crash
  3. Restarting kubelet blindly does not create missing capacity and can distract from the scheduler's explicit infeasibility message
  4. Misdiagnosing DNS as a failing database can prompt unnecessary changes while real service discovery remains unavailable

Explanation

Correct Answer

D:

Misdiagnosing DNS as a failing database can prompt unnecessary changes while real service discovery remains unavailable. This failure path follows the case as described: A newly deployed Namespace gets intermittent unknown-host errors while backend Service endpoints remain healthy. The appropriate corrective decision is to query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend. Internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability. The control should be accepted only when the Pod resolves the correct fully qualified Service name and application requests succeed without hard-coded IP addresses. 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:

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 newly deployed Namespace gets intermittent unknown-host errors while backend Service endpoints remain healthy. The more direct risk is that misdiagnosing DNS as a failing database can prompt unnecessary changes while real service discovery remains unavailable. The relevant mitigation is to query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend. 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:

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 newly deployed Namespace gets intermittent unknown-host errors while backend Service endpoints remain healthy. The more direct risk is that misdiagnosing DNS as a failing database can prompt unnecessary changes while real service discovery remains unavailable. The relevant mitigation is to query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend. 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:

Restarting kubelet blindly does not create missing capacity and can distract from the scheduler's explicit infeasibility message. This is a plausible risk for the different Pending Pod scheduling diagnosis scenario, for example: A new Pod remains Pending and events show all eligible nodes have insufficient allocatable memory. However, the presented case concerns: A newly deployed Namespace gets intermittent unknown-host errors while backend Service endpoints remain healthy. The more direct risk is that misdiagnosing DNS as a failing database can prompt unnecessary changes while real service discovery remains unavailable. The relevant mitigation is to query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend. 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 508

A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible.

Which engineering change is most justified by these facts?

  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. Adjust realistic container resource requests or add eligible capacity, then inspect scheduling events and allocation
  4. Configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement

Explanation

Correct Answer

D:

Configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. This action directly addresses the described situation: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. To distinguish a correct change from an unverified configuration, check that the scheduled Pod shares the intended topology domain with a matching target while satisfying resource and policy constraints. The relevant failure concern is that incorrect required affinity can leave the Pod Pending when matching partner Pods are absent or unschedulable. 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 latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The more direct corrective action is to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. 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 latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The more direct corrective action is to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Adjust realistic container resource requests or add eligible capacity, then inspect scheduling events and allocation. That action is sensible for the separate CPU requests influence scheduling feasibility problem, for example: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. This scenario instead describes: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The more direct corrective action is to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 509

A container's lengthy schema setup is expected, but fixed liveness thresholds are causing repeated early termination.

What acceptance test result provides the strongest evidence of success?

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

Explanation

Correct Answer

B:

The application completes a representative cold start once and then transitions to normal readiness and liveness monitoring. This result checks the exact operational requirement in the scenario: A container's lengthy schema setup is expected, but fixed liveness thresholds are causing repeated early termination. It should be obtained after the team takes the step to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. Startup probes give slow-starting applications time to initialize before liveness and readiness probes become active. The acceptance evidence must guard against the failure in which using short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

After rollback, the expected prior image is serving and user-path tests recover with reduced error rates. This would provide useful evidence for a different rollout revision history for regression recovery situation such as: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. That is not the specific requirement here: A container's lengthy schema setup is expected, but fixed liveness thresholds are causing repeated early termination. The directly matching evidence is that the application completes a representative cold start once and then transitions to normal readiness and liveness monitoring. The associated implementation is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

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: A container's lengthy schema setup is expected, but fixed liveness thresholds are causing repeated early termination. The directly matching evidence is that the application completes a representative cold start once and then transitions to normal readiness and liveness monitoring. The associated implementation is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

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: A container's lengthy schema setup is expected, but fixed liveness thresholds are causing repeated early termination. The directly matching evidence is that the application completes a representative cold start once and then transitions to normal readiness and liveness monitoring. The associated implementation is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 510

A highly available service is accidentally co-located on one node despite enough eligible workers elsewhere.

Why does the relevant technology satisfy this specific requirement?

  1. The scheduler uses resource requests and node allocatable capacity to determine feasibility, while CPU limits bound runtime consumption
  2. A NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node
  3. Pod anti-affinity can discourage or forbid placement near other Pods matching a label within a topology domain
  4. Topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible

Explanation

Correct Answer

C:

Pod anti-affinity can discourage or forbid placement near other Pods matching a label within a topology domain. This component or control behavior explains what matters in the case: A highly available service is accidentally co-located on one node despite enough eligible workers elsewhere. The corresponding operational decision is to use appropriate Pod anti-affinity or topology-spread rules to distribute replicas across distinct nodes or failure zones. The expected evidence is that pod placement shows replicas on distinct eligible nodes or zones and node-loss rehearsal preserves remaining healthy endpoints. If the requirement is misunderstood, ignoring co-location can concentrate supposedly redundant replicas in a single fault domain. 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:

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 highly available service is accidentally co-located on one node despite enough eligible workers elsewhere. The relevant mechanism is that pod anti-affinity can discourage or forbid placement near other Pods matching a label within a topology domain. The matching implementation is to use appropriate Pod anti-affinity or topology-spread rules to distribute replicas across distinct nodes or failure zones. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

A NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node. This explanation belongs to the nearby taints and tolerations for placement restrictions topic, for example: A dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. The actual scenario is: A highly available service is accidentally co-located on one node despite enough eligible workers elsewhere. The relevant mechanism is that pod anti-affinity can discourage or forbid placement near other Pods matching a label within a topology domain. The matching implementation is to use appropriate Pod anti-affinity or topology-spread rules to distribute replicas across distinct nodes or failure zones. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible. This explanation belongs to the nearby topology spread constraints topic, for example: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. The actual scenario is: A highly available service is accidentally co-located on one node despite enough eligible workers elsewhere. The relevant mechanism is that pod anti-affinity can discourage or forbid placement near other Pods matching a label within a topology domain. The matching implementation is to use appropriate Pod anti-affinity or topology-spread rules to distribute replicas across distinct nodes or failure zones. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

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