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 35

Question 340

A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes.

Which implementation approach best matches the stated constraint?

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

Explanation

Correct Answer

C:

Add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. This action directly addresses the described situation: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. Startup probes give slow-starting applications time to initialize before liveness and readiness probes become active. To distinguish a correct change from an unverified configuration, check that the application completes a representative cold start once and then transitions to normal readiness and liveness monitoring. The relevant failure concern is that using short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

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 Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

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 Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. That action is sensible for the separate liveness probe restarts stuck containers problem, for example: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. This scenario instead describes: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 341

Operators mistakenly treat the container runtime as the service that recreates Kubernetes workload objects after an accidental Pod deletion.

What technical distinction should guide the decision?

  1. Kubernetes controllers continuously compare observed objects with desired specifications and create or update resources to close the difference
  2. A ReplicaSet maintains a target count of matching Pods, usually under a Deployment that also manages revisions and updates
  3. Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions
  4. Services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates

Explanation

Correct Answer

A:

Kubernetes controllers continuously compare observed objects with desired specifications and create or update resources to close the difference. This component or control behavior explains what matters in the case: Operators mistakenly treat the container runtime as the service that recreates Kubernetes workload objects after an accidental Pod deletion. The corresponding operational decision is to inspect the owning controller's desired state and controller-manager health before disabling or repeatedly removing managed Pods. The expected evidence is that after deleting one test-managed Pod, the controller restores the specified number of matching replicas without manual recreation. If the requirement is misunderstood, removing a managed Pod without changing its controller does not permanently change desired replicas and can cause recurring surprise replacements. 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

B:

A ReplicaSet maintains a target count of matching Pods, usually under a Deployment that also manages revisions and updates. This explanation belongs to the nearby ReplicaSet maintaining replica count topic, for example: An application owner needs three matching Pods to exist despite one being removed during routine maintenance. The actual scenario is: Operators mistakenly treat the container runtime as the service that recreates Kubernetes workload objects after an accidental Pod deletion. The relevant mechanism is that kubernetes controllers continuously compare observed objects with desired specifications and create or update resources to close the difference. The matching implementation is to inspect the owning controller's desired state and controller-manager health before disabling or repeatedly removing managed Pods. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions. This explanation belongs to the nearby Labels and selectors for workload membership topic, for example: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. The actual scenario is: Operators mistakenly treat the container runtime as the service that recreates Kubernetes workload objects after an accidental Pod deletion. The relevant mechanism is that kubernetes controllers continuously compare observed objects with desired specifications and create or update resources to close the difference. The matching implementation is to inspect the owning controller's desired state and controller-manager health before disabling or repeatedly removing managed Pods. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates. This explanation belongs to the nearby Service stable identity across changing Pods topic, for example: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. The actual scenario is: Operators mistakenly treat the container runtime as the service that recreates Kubernetes workload objects after an accidental Pod deletion. The relevant mechanism is that kubernetes controllers continuously compare observed objects with desired specifications and create or update resources to close the difference. The matching implementation is to inspect the owning controller's desired state and controller-manager health before disabling or repeatedly removing managed Pods. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 342

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

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

  1. Mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware
  2. Overusing high priority or assuming it creates new capacity can cause avoidable evictions without solving actual shortages
  3. Understating requests can overcommit scheduling decisions, while impossible requests can leave an application permanently Pending
  4. Using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free

Explanation

Correct Answer

B:

Overusing high priority or assuming it creates new capacity can cause avoidable evictions without solving actual shortages. This failure path follows the case as described: A cluster is full and a critical Pod remains Pending while lower-priority eligible Pods occupy scheduling capacity. The appropriate corrective decision is to assign suitable PriorityClasses with explicit policy and understand when scheduler preemption may evict lower-priority Pods. Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload. The control should be accepted only when critical workloads receive intended preference and any preemption events affect only eligible lower-priority Pods within policy. 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:

Mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware. This is a plausible risk for the different node labels and node affinity scenario, for example: A latency-sensitive workload must run only on workers labeled for the intended hardware architecture. However, the presented case concerns: A cluster is full and a critical Pod remains Pending while lower-priority eligible Pods occupy scheduling capacity. The more direct risk is that overusing high priority or assuming it creates new capacity can cause avoidable evictions without solving actual shortages. The relevant mitigation is to assign suitable PriorityClasses with explicit policy and understand when scheduler preemption may evict lower-priority Pods. 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:

Understating requests can overcommit scheduling decisions, while impossible requests can leave an application permanently Pending. This is a plausible risk for the different CPU requests influence scheduling feasibility scenario, for example: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. However, the presented case concerns: A cluster is full and a critical Pod remains Pending while lower-priority eligible Pods occupy scheduling capacity. The more direct risk is that overusing high priority or assuming it creates new capacity can cause avoidable evictions without solving actual shortages. The relevant mitigation is to assign suitable PriorityClasses with explicit policy and understand when scheduler preemption may evict lower-priority Pods. 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:

Using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free. This is a plausible risk for the different topology spread constraints scenario, for example: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. However, the presented case concerns: A cluster is full and a critical Pod remains Pending while lower-priority eligible Pods occupy scheduling capacity. The more direct risk is that overusing high priority or assuming it creates new capacity can cause avoidable evictions without solving actual shortages. The relevant mitigation is to assign suitable PriorityClasses with explicit policy and understand when scheduler preemption may evict lower-priority Pods. 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 343

Kubernetes workers use containerd and administrators want to understand what launches containers on those nodes.

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

  1. An absent or unhealthy container runtime prevents containers from starting even when scheduling and API access succeed
  2. An incorrect startup command can produce repeated container exits despite a successfully built and published image
  3. Assuming container isolation is identical to VM isolation may lead to unsupported kernel requirements or a weak security boundary
  4. Treating a disposable container layer as durable storage can lose application state during normal updates and restarts

Explanation

Correct Answer

A:

An absent or unhealthy container runtime prevents containers from starting even when scheduling and API access succeed. This failure path follows the case as described: Kubernetes workers use containerd and administrators want to understand what launches containers on those nodes. The appropriate corrective decision is 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 control should be accepted only when the configured runtime is healthy and the kubelet starts a scheduled test Pod on the worker node. 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:

An incorrect startup command can produce repeated container exits despite a successfully built and published image. This is a plausible risk for the different Dockerfile entrypoint and startup command scenario, for example: A container image builds successfully but exits immediately because its default process command is incorrect. However, the presented case concerns: Kubernetes workers use containerd and administrators want to understand what launches containers on those nodes. The more direct risk is that an absent or unhealthy container runtime prevents containers from starting even when scheduling and API access succeed. The relevant mitigation is to verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker. 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:

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: Kubernetes workers use containerd and administrators want to understand what launches containers on those nodes. The more direct risk is that an absent or unhealthy container runtime prevents containers from starting even when scheduling and API access succeed. The relevant mitigation is to verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker. 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:

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: Kubernetes workers use containerd and administrators want to understand what launches containers on those nodes. The more direct risk is that an absent or unhealthy container runtime prevents containers from starting even when scheduling and API access succeed. The relevant mitigation is to verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker. 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 344

A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake.

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. A DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint
  3. Requests for each approved host and path reach the correct Service over the intended TLS termination and return expected responses
  4. The EndpointSlice contains expected ready addresses and client requests through the Service reach the intended application replicas

Explanation

Correct Answer

B:

A DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint. This result checks the exact operational requirement in the scenario: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. It should be obtained after the team takes the step to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. Kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. The acceptance evidence must guard against the failure in which hard-coding Pod IPs or overlooking CoreDNS failures can break service discovery after otherwise healthy Pod replacements. 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: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. The directly matching evidence is that a DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint. The associated implementation is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

Requests for each approved host and path reach the correct Service over the intended TLS termination and return expected responses. This would provide useful evidence for a different Ingress or Gateway for HTTP routing situation such as: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. That is not the specific requirement here: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. The directly matching evidence is that a DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint. The associated implementation is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

The EndpointSlice contains expected ready addresses and client requests through the Service reach the intended application replicas. This would provide useful evidence for a different Service endpoints reflect matching Ready Pods situation such as: A Service resolves in DNS but returns no application responses because its selector does not match any Ready Pods. That is not the specific requirement here: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. The directly matching evidence is that a DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint. The associated implementation is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 345

A new Pod remains Pending and events show all eligible nodes have insufficient allocatable memory.

Which underlying mechanism best explains why the right approach works?

  1. ImagePullBackOff indicates retries after failed image retrieval, distinct from an application crash that occurs after a container starts
  2. Internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability
  3. Service objects need matching ready backend endpoints; a DNS A record and Service port alone do not create an application target
  4. Pending means a Pod may not be schedulable or ready to run; events can identify insufficient resources or unsatisfiable constraints

Explanation

Correct Answer

D:

Pending means a Pod may not be schedulable or ready to run; events can identify insufficient resources or unsatisfiable constraints. This component or control behavior explains what matters in the case: A new Pod remains Pending and events show all eligible nodes have insufficient allocatable memory. The corresponding operational decision is to inspect Pod events and placement constraints, then correct resource requests or eligible node capacity without hiding the scheduling error. The expected evidence is that the Pod binds to a suitable worker after the constraint is corrected and no longer reports FailedScheduling. If the requirement is misunderstood, restarting kubelet blindly does not create missing capacity and can distract from the scheduler's explicit infeasibility message. 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:

ImagePullBackOff indicates retries after failed image retrieval, distinct from an application crash that occurs after a container starts. This explanation belongs to the nearby ImagePullBackOff credential or registry fault topic, for example: A scheduled Pod cannot start because the private registry rejects its pull credentials. The actual scenario is: A new Pod remains Pending and events show all eligible nodes have insufficient allocatable memory. The relevant mechanism is that pending means a Pod may not be schedulable or ready to run; events can identify insufficient resources or unsatisfiable constraints. The matching implementation is to inspect Pod events and placement constraints, then correct resource requests or eligible node capacity without hiding the scheduling error. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability. This explanation belongs to the nearby DNS failure within running application Pods topic, for example: Two Running Pods cannot resolve a ClusterIP Service by DNS name although direct IP calls succeed. The actual scenario is: A new Pod remains Pending and events show all eligible nodes have insufficient allocatable memory. The relevant mechanism is that pending means a Pod may not be schedulable or ready to run; events can identify insufficient resources or unsatisfiable constraints. The matching implementation is to inspect Pod events and placement constraints, then correct resource requests or eligible node capacity without hiding the scheduling error. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Service objects need matching ready backend endpoints; a DNS A record and Service port alone do not create an application target. This explanation belongs to the nearby Service connection failure with empty endpoints topic, for example: A Kubernetes Service exists and resolves in DNS but every request fails after a Deployment's labels changed. The actual scenario is: A new Pod remains Pending and events show all eligible nodes have insufficient allocatable memory. The relevant mechanism is that pending means a Pod may not be schedulable or ready to run; events can identify insufficient resources or unsatisfiable constraints. The matching implementation is to inspect Pod events and placement constraints, then correct resource requests or eligible node capacity without hiding the scheduling error. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 346

A security gate must decide whether a container artifact should be promoted despite missing provenance and scan results.

Which cloud-native practice should the team adopt?

  1. Create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions
  2. Enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling
  3. Apply an appropriate NetworkPolicy with correct Pod and Namespace selectors and verify that the selected CNI enforces it
  4. Scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported

Explanation

Correct Answer

D:

Scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. This action directly addresses the described situation: A security gate must decide whether a container artifact should be promoted despite missing provenance and scan results. Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks. To distinguish a correct change from an unverified configuration, check that only an approved scanned image digest reaches the cluster and security policy prevents an untrusted release from running. The relevant failure concern is that promoting unknown or mutable artifacts can introduce vulnerable or malicious components even when the Kubernetes scheduler is healthy. 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 security gate must decide whether a container artifact should be promoted despite missing provenance and scan results. The more direct corrective action is to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. That action is sensible for the separate secret encryption and API access controls problem, for example: An operator believes Kubernetes Secret values are encrypted at rest solely because YAML displays them in base64. This scenario instead describes: A security gate must decide whether a container artifact should be promoted despite missing provenance and scan results. The more direct corrective action is to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Apply an appropriate NetworkPolicy with correct Pod and Namespace selectors and verify that the selected CNI enforces it. That action is sensible for the separate NetworkPolicy isolation for east-west traffic problem, for example: A database Pod should receive TCP connections from its approved API Pods but not from arbitrary Pods in other namespaces. This scenario instead describes: A security gate must decide whether a container artifact should be promoted despite missing provenance and scan results. The more direct corrective action is to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 347

An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change.

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

  1. Broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend
  2. Removing a managed Pod without changing its controller does not permanently change desired replicas and can cause recurring surprise replacements
  3. Hard-coding individual Pod IPs makes applications brittle when replicas restart, reschedule, or change during an update
  4. Confusing scheduling with container execution can leave the Pod unplaced even when all target nodes have healthy kubelets

Explanation

Correct Answer

C:

Hard-coding individual Pod IPs makes applications brittle when replicas restart, reschedule, or change during an update. This failure path follows the case as described: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. The appropriate corrective decision is to define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name. Services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates. The control should be accepted only when a client resolves the Service DNS name and reaches a healthy selected backend before and after a controlled Pod replacement. Risk statements should identify the affected workload or trust boundary, rather than generically claiming that every Kubernetes misconfiguration causes the same outage.

Incorrect Answers

A:

Broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend. This is a plausible risk for the different Labels and selectors for workload membership scenario, for example: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. However, the presented case concerns: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. The more direct risk is that hard-coding individual Pod IPs makes applications brittle when replicas restart, reschedule, or change during an update. The relevant mitigation is to define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name. 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:

Removing a managed Pod without changing its controller does not permanently change desired replicas and can cause recurring surprise replacements. This is a plausible risk for the different controller-manager desired-state reconciliation scenario, for example: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. However, the presented case concerns: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. The more direct risk is that hard-coding individual Pod IPs makes applications brittle when replicas restart, reschedule, or change during an update. The relevant mitigation is to define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name. 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:

Confusing scheduling with container execution can leave the Pod unplaced even when all target nodes have healthy kubelets. This is a plausible risk for the different scheduler binding of pending Pods scenario, for example: A new Pod has no assigned node despite healthy containers already running elsewhere and the team must identify the scheduling component. However, the presented case concerns: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. The more direct risk is that hard-coding individual Pod IPs makes applications brittle when replicas restart, reschedule, or change during an update. The relevant mitigation is to define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name. 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 348

A web container appears briefly Running then restarts while the team has not checked termination reason or previous logs.

Which implementation approach best matches the stated constraint?

  1. Inspect Pod events and placement constraints, then correct resource requests or eligible node capacity without hiding the scheduling error
  2. Inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest
  3. Query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend
  4. Review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure

Explanation

Correct Answer

B:

Inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. This action directly addresses the described situation: A web container appears briefly Running then restarts while the team has not checked termination reason or previous logs. CrashLoopBackOff is a retry delay after repeated container failures and often reflects application exit or failed probes rather than a scheduler defect. To distinguish a correct change from an unverified configuration, check that the corrected container remains Running through the observation interval and restart counts stop increasing unexpectedly. The relevant failure concern is that ignoring termination reasons and continuously deleting Pods repeats the same faulty image or configuration without fixing the crash. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Inspect Pod events and placement constraints, then correct resource requests or eligible node capacity without hiding the scheduling error. That action is sensible for the separate Pending Pod scheduling diagnosis problem, for example: A new Pod remains Pending and events show all eligible nodes have insufficient allocatable memory. This scenario instead describes: A web container appears briefly Running then restarts while the team has not checked termination reason or previous logs. The more direct corrective action is to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. CrashLoopBackOff is a retry delay after repeated container failures and often reflects application exit or failed probes rather than a scheduler defect. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend. That action is sensible for the separate DNS failure within running application Pods problem, for example: Two Running Pods cannot resolve a ClusterIP Service by DNS name although direct IP calls succeed. This scenario instead describes: A web container appears briefly Running then restarts while the team has not checked termination reason or previous logs. The more direct corrective action is to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. CrashLoopBackOff is a retry delay after repeated container failures and often reflects application exit or failed probes rather than a scheduler defect. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure. That action is sensible for the separate ImagePullBackOff credential or registry fault problem, for example: A scheduled Pod cannot start because the private registry rejects its pull credentials. This scenario instead describes: A web container appears briefly Running then restarts while the team has not checked termination reason or previous logs. The more direct corrective action is to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. CrashLoopBackOff is a retry delay after repeated container failures and often reflects application exit or failed probes rather than a scheduler defect. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 349

An application owner needs three matching Pods to exist despite one being removed during routine maintenance.

What technical distinction should guide the decision?

  1. A ReplicaSet maintains a target count of matching Pods, usually under a Deployment that also manages revisions and updates
  2. The API server exposes the Kubernetes API, validates requests, applies admission controls, and persists accepted object state through the cluster store
  3. Containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently
  4. The kubelet runs on a node, observes assigned Pod specifications, interacts with the container runtime, and reports status back to the control plane

Explanation

Correct Answer

A:

A ReplicaSet maintains a target count of matching Pods, usually under a Deployment that also manages revisions and updates. This component or control behavior explains what matters in the case: An application owner needs three matching Pods to exist despite one being removed during routine maintenance. The corresponding operational decision is to specify the desired replicas through a Deployment-managed ReplicaSet and inspect the current versus desired replica count. The expected evidence is that three matching healthy Pods remain after a controlled single-Pod deletion and the owning ReplicaSet reports its desired count. If the requirement is misunderstood, using stand-alone Pods without an appropriate controller loses automatic replacement when the Pod object is removed. 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

B:

The API server exposes the Kubernetes API, validates requests, applies admission controls, and persists accepted object state through the cluster store. This explanation belongs to the nearby API server as Kubernetes control-plane entry topic, for example: An engineer wants all workload updates to pass through one authenticated Kubernetes control-plane endpoint before any resource state changes. The actual scenario is: An application owner needs three matching Pods to exist despite one being removed during routine maintenance. The relevant mechanism is that a ReplicaSet maintains a target count of matching Pods, usually under a Deployment that also manages revisions and updates. The matching implementation is to specify the desired replicas through a Deployment-managed ReplicaSet and inspect the current versus desired replica count. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently. This explanation belongs to the nearby Pod as smallest deployable scheduling unit topic, for example: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. The actual scenario is: An application owner needs three matching Pods to exist despite one being removed during routine maintenance. The relevant mechanism is that a ReplicaSet maintains a target count of matching Pods, usually under a Deployment that also manages revisions and updates. The matching implementation is to specify the desired replicas through a Deployment-managed ReplicaSet and inspect the current versus desired replica count. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

The kubelet runs on a node, observes assigned Pod specifications, interacts with the container runtime, and reports status back to the control plane. This explanation belongs to the nearby kubelet worker-node agent topic, for example: A worker is registered but is not starting its assigned containers, so platform staff must inspect the node-local component. The actual scenario is: An application owner needs three matching Pods to exist despite one being removed during routine maintenance. The relevant mechanism is that a ReplicaSet maintains a target count of matching Pods, usually under a Deployment that also manages revisions and updates. The matching implementation is to specify the desired replicas through a Deployment-managed ReplicaSet and inspect the current versus desired replica count. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 350

A dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there.

What technical distinction should guide the decision?

  1. Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload
  2. A NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node
  3. Node affinity and node selectors constrain which node labels satisfy a Pod's placement requirements, unlike labels that merely group Pods
  4. Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels

Explanation

Correct Answer

B:

A NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node. This component or control behavior explains what matters in the case: A dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. The corresponding operational decision is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. The expected evidence is that ordinary Pods remain off the tainted nodes, while an approved eligible Pod can be scheduled when sufficient resources exist. If the requirement is misunderstood, assuming tolerations guarantee placement can strand specialized workloads or accidentally admit unrelated workloads to reserved nodes. 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 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 dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. The relevant mechanism is that a NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node. The matching implementation is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Node affinity and node selectors constrain which node labels satisfy a Pod's placement requirements, unlike labels that merely group Pods. This explanation belongs to the nearby node labels and node affinity topic, for example: A latency-sensitive workload must run only on workers labeled for the intended hardware architecture. The actual scenario is: A dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. The relevant mechanism is that a NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node. The matching implementation is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

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 dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. The relevant mechanism is that a NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node. The matching implementation is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. 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