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 13

Question 120

A beginner runs kubectl logs repeatedly against a Pod that has not yet started and needs a better first observation.

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

  1. Rebooting without workload evacuation can interrupt user traffic or violate disruption constraints
  2. Baking all environment settings into images makes promotions fragile, while treating confidential secrets as plain ConfigMap values is unsafe
  3. Using only application logs misses failures that occur before container creation and delays basic cluster diagnosis
  4. Without namespace-level limits, one tenant can exhaust shared capacity and interfere with other teams' deployments

Explanation

Correct Answer

C:

Using only application logs misses failures that occur before container creation and delays basic cluster diagnosis. This failure path follows the case as described: A beginner runs kubectl logs repeatedly against a Pod that has not yet started and needs a better first observation. The appropriate corrective decision is to inspect kubectl describe pod output and namespace events to identify scheduling or admission failures before looking for container logs. Describe and events expose Pod conditions, scheduling decisions, and admission messages even when no application container has started. The control should be accepted only when the event stream identifies a concrete Pending cause and subsequent remediation allows a successful node assignment. 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:

Rebooting without workload evacuation can interrupt user traffic or violate disruption constraints. This is a plausible risk for the different cordon drain and node maintenance scenario, for example: A worker needs a scheduled operating-system patch while running applications should move to healthy nodes. However, the presented case concerns: A beginner runs kubectl logs repeatedly against a Pod that has not yet started and needs a better first observation. The more direct risk is that using only application logs misses failures that occur before container creation and delays basic cluster diagnosis. The relevant mitigation is to inspect kubectl describe pod output and namespace events to identify scheduling or admission failures before looking for container logs. 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:

Baking all environment settings into images makes promotions fragile, while treating confidential secrets as plain ConfigMap values is unsafe. This is a plausible risk for the different ConfigMap for nonsecret settings scenario, for example: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. However, the presented case concerns: A beginner runs kubectl logs repeatedly against a Pod that has not yet started and needs a better first observation. The more direct risk is that using only application logs misses failures that occur before container creation and delays basic cluster diagnosis. The relevant mitigation is to inspect kubectl describe pod output and namespace events to identify scheduling or admission failures before looking for container logs. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

D:

Without namespace-level limits, one tenant can exhaust shared capacity and interfere with other teams' deployments. This is a plausible risk for the different ResourceQuota per Namespace scenario, for example: One team's runaway batch Pods consume a disproportionate number of objects and resources in a shared cluster. However, the presented case concerns: A beginner runs kubectl logs repeatedly against a Pod that has not yet started and needs a better first observation. The more direct risk is that using only application logs misses failures that occur before container creation and delays basic cluster diagnosis. The relevant mitigation is to inspect kubectl describe pod output and namespace events to identify scheduling or admission failures before looking for container logs. 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 121

An engineer wants to discuss a cross-project observability concern with the wider CNCF community rather than one vendor's private roadmap.

Which underlying mechanism best explains why the right approach works?

  1. Open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority
  2. Sandbox, Incubating, and Graduated are CNCF project maturity categories, not interchangeable guarantees of a particular vendor's SLA
  3. CNCF technical community groups foster cross-project technical discussion, guidance, and collaboration without replacing individual project maintainers
  4. Responsible disclosure routes sensitive vulnerability reports privately so maintainers can investigate, patch, and communicate before broad publication

Explanation

Correct Answer

C:

CNCF technical community groups foster cross-project technical discussion, guidance, and collaboration without replacing individual project maintainers. This component or control behavior explains what matters in the case: An engineer wants to discuss a cross-project observability concern with the wider CNCF community rather than one vendor's private roadmap. The corresponding operational decision is to engage the appropriate CNCF technical advisory group, working group, or project community using its open participation channels. The expected evidence is that the topic receives feedback or a published recommendation through the relevant open group with traceable community participation. If the requirement is misunderstood, relying exclusively on a single vendor channel can miss community-wide guidance or propose a change to the wrong governance body. 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:

Open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority. This explanation belongs to the nearby upstream contribution through issues and pull requests topic, for example: A developer finds a documentation bug in an open-source Kubernetes ecosystem project and wants a change reviewed transparently. The actual scenario is: An engineer wants to discuss a cross-project observability concern with the wider CNCF community rather than one vendor's private roadmap. The relevant mechanism is that cNCF technical community groups foster cross-project technical discussion, guidance, and collaboration without replacing individual project maintainers. The matching implementation is to engage the appropriate CNCF technical advisory group, working group, or project community using its open participation channels. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Sandbox, Incubating, and Graduated are CNCF project maturity categories, not interchangeable guarantees of a particular vendor's SLA. This explanation belongs to the nearby CNCF project maturity levels topic, for example: A procurement review wants to distinguish CNCF Sandbox, Incubating, and Graduated project maturity claims. The actual scenario is: An engineer wants to discuss a cross-project observability concern with the wider CNCF community rather than one vendor's private roadmap. The relevant mechanism is that cNCF technical community groups foster cross-project technical discussion, guidance, and collaboration without replacing individual project maintainers. The matching implementation is to engage the appropriate CNCF technical advisory group, working group, or project community using its open participation channels. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Responsible disclosure routes sensitive vulnerability reports privately so maintainers can investigate, patch, and communicate before broad publication. This explanation belongs to the nearby responsible vulnerability disclosure in open source topic, for example: A contributor discovers a potentially exploitable issue in a CNCF-related project and wants maintainers to coordinate a fix. The actual scenario is: An engineer wants to discuss a cross-project observability concern with the wider CNCF community rather than one vendor's private roadmap. The relevant mechanism is that cNCF technical community groups foster cross-project technical discussion, guidance, and collaboration without replacing individual project maintainers. The matching implementation is to engage the appropriate CNCF technical advisory group, working group, or project community using its open participation channels. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 122

Two replicas need to access the same shared content but the chosen volume supports only a single-node writer attachment.

Which implementation approach best matches the stated constraint?

  1. Create a compatible PersistentVolumeClaim and configure suitable provisioned or existing PersistentVolume capacity before starting the stateful app
  2. Select a storage backend with the required supported access mode, using RWX only when genuinely shared simultaneous mounts are necessary
  3. Use a StatefulSet with a suitable headless Service and volumeClaimTemplates for identity-sensitive stateful replicas
  4. Configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class

Explanation

Correct Answer

B:

Select a storage backend with the required supported access mode, using RWX only when genuinely shared simultaneous mounts are necessary. This action directly addresses the described situation: Two replicas need to access the same shared content but the chosen volume supports only a single-node writer attachment. PV access modes describe attachment and sharing capabilities; RWO is not a promise of simultaneous multi-node read-write access. To distinguish a correct change from an unverified configuration, check that the chosen PV supports the specified mount topology and approved replicas can access data according to the real backend capabilities. The relevant failure concern is that assuming RWO permits concurrent multi-node writers can cause attachment failures or incorrect application storage design. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Create a compatible PersistentVolumeClaim and configure suitable provisioned or existing PersistentVolume capacity before starting the stateful app. That action is sensible for the separate PersistentVolumeClaim and PersistentVolume binding problem, for example: A database Pod needs durable disk data and its PersistentVolumeClaim stays Pending while no compatible volume exists. This scenario instead describes: Two replicas need to access the same shared content but the chosen volume supports only a single-node writer attachment. The more direct corrective action is to select a storage backend with the required supported access mode, using RWX only when genuinely shared simultaneous mounts are necessary. PV access modes describe attachment and sharing capabilities; RWO is not a promise of simultaneous multi-node read-write access. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Use a StatefulSet with a suitable headless Service and volumeClaimTemplates for identity-sensitive stateful replicas. That action is sensible for the separate StatefulSet stable identity and claims problem, for example: A clustered database requires stable Pod identities and a separate durable volume for every ordered replica. This scenario instead describes: Two replicas need to access the same shared content but the chosen volume supports only a single-node writer attachment. The more direct corrective action is to select a storage backend with the required supported access mode, using RWX only when genuinely shared simultaneous mounts are necessary. PV access modes describe attachment and sharing capabilities; RWO is not a promise of simultaneous multi-node read-write access. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. That action is sensible for the separate StorageClass dynamic provisioning problem, for example: Developers need new persistent volumes automatically created from a supported block storage provisioner. This scenario instead describes: Two replicas need to access the same shared content but the chosen volume supports only a single-node writer attachment. The more direct corrective action is to select a storage backend with the required supported access mode, using RWX only when genuinely shared simultaneous mounts are necessary. PV access modes describe attachment and sharing capabilities; RWO is not a promise of simultaneous multi-node read-write access. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 123

A team patches a vendored copy of a CNCF project but wants the correction considered and maintained upstream.

Which explanation best matches the observed cluster behavior?

  1. Open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority
  2. Responsible disclosure routes sensitive vulnerability reports privately so maintainers can investigate, patch, and communicate before broad publication
  3. Sandbox, Incubating, and Graduated are CNCF project maturity categories, not interchangeable guarantees of a particular vendor's SLA
  4. CNCF technical community groups foster cross-project technical discussion, guidance, and collaboration without replacing individual project maintainers

Explanation

Correct Answer

A:

Open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority. This component or control behavior explains what matters in the case: A team patches a vendored copy of a CNCF project but wants the correction considered and maintained upstream. The corresponding operational decision is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. The expected evidence is that the proposed change has a reproducible issue reference, review feedback, and documented acceptance or revision in the upstream repository. If the requirement is misunderstood, keeping fixes solely in an untracked private fork can create upgrade conflicts and prevent the wider community from benefiting. 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:

Responsible disclosure routes sensitive vulnerability reports privately so maintainers can investigate, patch, and communicate before broad publication. This explanation belongs to the nearby responsible vulnerability disclosure in open source topic, for example: A contributor discovers a potentially exploitable issue in a CNCF-related project and wants maintainers to coordinate a fix. The actual scenario is: A team patches a vendored copy of a CNCF project but wants the correction considered and maintained upstream. The relevant mechanism is that open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority. The matching implementation is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Sandbox, Incubating, and Graduated are CNCF project maturity categories, not interchangeable guarantees of a particular vendor's SLA. This explanation belongs to the nearby CNCF project maturity levels topic, for example: A procurement review wants to distinguish CNCF Sandbox, Incubating, and Graduated project maturity claims. The actual scenario is: A team patches a vendored copy of a CNCF project but wants the correction considered and maintained upstream. The relevant mechanism is that open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority. The matching implementation is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

CNCF technical community groups foster cross-project technical discussion, guidance, and collaboration without replacing individual project maintainers. This explanation belongs to the nearby CNCF TAG and working group collaboration topic, for example: An engineer wants to discuss a cross-project observability concern with the wider CNCF community rather than one vendor's private roadmap. The actual scenario is: A team patches a vendored copy of a CNCF project but wants the correction considered and maintained upstream. The relevant mechanism is that open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority. The matching implementation is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 124

A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count.

What component behavior is most important in this situation?

  1. Kubernetes controllers continuously compare observed objects with desired specifications and create or update resources to close the difference
  2. Services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates
  3. A Deployment manages ReplicaSets and applies declared revisions for stateless Pods, enabling gradual updates and rollback support
  4. Containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently

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: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. 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:

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: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. 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:

A Deployment manages ReplicaSets and applies declared revisions for stateless Pods, enabling gradual updates and rollback support. This explanation belongs to the nearby Deployment revision and replica orchestration topic, for example: A stateless web service must gradually use a new container image without deleting every instance at once. The actual scenario is: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. 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:

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: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. 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 125

Two Running Pods cannot resolve a ClusterIP Service by DNS name although direct IP calls succeed.

What is the most appropriate operational decision here?

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

Explanation

Correct Answer

C:

Query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend. This action directly addresses the described situation: Two Running Pods cannot resolve a ClusterIP Service by DNS name although direct IP calls succeed. Internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability. To distinguish a correct change from an unverified configuration, check that the Pod resolves the correct fully qualified Service name and application requests succeed without hard-coded IP addresses. The relevant failure concern is that misdiagnosing DNS as a failing database can prompt unnecessary changes while real service discovery remains unavailable. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

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: Two Running Pods cannot resolve a ClusterIP Service by DNS name although direct IP calls succeed. The more direct corrective action 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

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: Two Running Pods cannot resolve a ClusterIP Service by DNS name although direct IP calls succeed. The more direct corrective action 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. That action is sensible for the separate CrashLoopBackOff from failing application process problem, for example: A Pod repeatedly restarts because its main process exits with a configuration error after startup. This scenario instead describes: Two Running Pods cannot resolve a ClusterIP Service by DNS name although direct IP calls succeed. The more direct corrective action 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 126

A container fails immediately after launch and the current log stream omits the message from the preceding failed instance.

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

  1. Using short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload
  2. Deleting only faulty Pods recreates the same revision and can prolong regression instead of restoring a known-good template
  3. Without readiness validation, clients can receive failures from running Pods that are not yet able to serve traffic
  4. Restarting and redeploying without collecting previous logs can erase useful context for the original failure

Explanation

Correct Answer

D:

Restarting and redeploying without collecting previous logs can erase useful context for the original failure. This failure path follows the case as described: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. The appropriate corrective decision is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. Container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible. The control should be accepted only when the retrieved previous log explains the failing process and a corrected rollout runs without repeated restarts. Risk statements should identify the affected workload or trust boundary, rather than generically claiming that every Kubernetes misconfiguration causes the same outage.

Incorrect Answers

A:

Using short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload. This is a plausible risk for the different startup probe protects slow initialization scenario, for example: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. However, the presented case concerns: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. The more direct risk is that restarting and redeploying without collecting previous logs can erase useful context for the original failure. The relevant mitigation is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. 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:

Deleting only faulty Pods recreates the same revision and can prolong regression instead of restoring a known-good template. This is a plausible risk for the different rollout revision history for regression recovery scenario, for example: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. However, the presented case concerns: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. The more direct risk is that restarting and redeploying without collecting previous logs can erase useful context for the original failure. The relevant mitigation is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

C:

Without readiness validation, clients can receive failures from running Pods that are not yet able to serve traffic. This is a plausible risk for the different readiness probe excludes unhealthy Pods scenario, for example: An application process is running but cannot serve requests until a dependent database connection is established. However, the presented case concerns: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. The more direct risk is that restarting and redeploying without collecting previous logs can erase useful context for the original failure. The relevant mitigation is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. 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 127

A rollout prematurely sends production traffic to starting web Pods that have not finished warming caches.

Which architectural behavior is decisive in this example?

  1. Readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready
  2. Deployment revision history supports reversing a template change, while application monitoring confirms whether the previous version truly restored service
  3. A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility
  4. Container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible

Explanation

Correct Answer

A:

Readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready. This component or control behavior explains what matters in the case: A rollout prematurely sends production traffic to starting web Pods that have not finished warming caches. The corresponding operational decision is to configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests. The expected evidence is that the Service has no endpoints for the warming Pod until readiness succeeds, then correctly includes it after application initialization. If the requirement is misunderstood, without readiness validation, clients can receive failures from running Pods that are not yet able to serve traffic. 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:

Deployment revision history supports reversing a template change, while application monitoring confirms whether the previous version truly restored service. This explanation belongs to the nearby rollout revision history for regression recovery topic, for example: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. The actual scenario is: A rollout prematurely sends production traffic to starting web Pods that have not finished warming caches. The relevant mechanism is that readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready. The matching implementation is to configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility. This explanation belongs to the nearby liveness probe restarts stuck containers topic, for example: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. The actual scenario is: A rollout prematurely sends production traffic to starting web Pods that have not finished warming caches. The relevant mechanism is that readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready. The matching implementation is to configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible. This explanation belongs to the nearby kubectl logs and previous container output topic, for example: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. The actual scenario is: A rollout prematurely sends production traffic to starting web Pods that have not finished warming caches. The relevant mechanism is that readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready. The matching implementation is to configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 128

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

What should the platform team prioritize for this case?

  1. Review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure
  2. Inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest
  3. Inspect EndpointSlices, Service selectors, and backend readiness; fix the label or probe mismatch and retry through the Service
  4. Query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend

Explanation

Correct Answer

A:

Review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure. This action directly addresses the described situation: A Deployment uses an image name that does not exist in the chosen repository and remains in image pull backoff. ImagePullBackOff indicates retries after failed image retrieval, distinct from an application crash that occurs after a container starts. To distinguish a correct change from an unverified configuration, check that a worker successfully pulls the approved digest and the Pod advances from image retrieval to container creation. The relevant failure concern is that investigating app logs before the image exists misses the registry or authentication cause and delays recovery. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

B:

Inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. That action is sensible for the separate CrashLoopBackOff from failing application process problem, for example: A Pod repeatedly restarts because its main process exits with a configuration error after startup. This scenario instead describes: A Deployment uses an image name that does not exist in the chosen repository and remains in image pull backoff. The more direct corrective action is to review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure. ImagePullBackOff indicates retries after failed image retrieval, distinct from an application crash that occurs after a container starts. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Inspect EndpointSlices, Service selectors, and backend readiness; fix the label or probe mismatch and retry through the Service. That action is sensible for the separate Service connection failure with empty endpoints problem, for example: A Kubernetes Service exists and resolves in DNS but every request fails after a Deployment's labels changed. This scenario instead describes: A Deployment uses an image name that does not exist in the chosen repository and remains in image pull backoff. The more direct corrective action is to review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure. ImagePullBackOff indicates retries after failed image retrieval, distinct from an application crash that occurs after a container starts. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

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 Deployment uses an image name that does not exist in the chosen repository and remains in image pull backoff. The more direct corrective action is to review image references, registry reachability, and pull authentication in Pod events; correct the specific image retrieval failure. ImagePullBackOff indicates retries after failed image retrieval, distinct from an application crash that occurs after a container starts. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 129

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

Which adverse result is the best match for the facts?

  1. Treating a disposable container layer as durable storage can lose application state during normal updates and restarts
  2. Assuming container isolation is identical to VM isolation may lead to unsupported kernel requirements or a weak security boundary
  3. Relying on host-specific installations produces configuration drift and unpredictable releases across cluster nodes
  4. An incorrect startup command can produce repeated container exits despite a successfully built and published image

Explanation

Correct Answer

A:

Treating a disposable container layer as durable storage can lose application state during normal updates and restarts. This failure path follows the case as described: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The appropriate corrective decision is to store data that must outlive container recreation in an appropriate mounted persistent volume or external durable service. A container writable layer is generally tied to that container instance; Pod replacement can discard the data stored there. The control should be accepted only when after replacing the container or Pod, required records remain accessible from the chosen persistent data path. 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:

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 containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The more direct risk is that treating a disposable container layer as durable storage can lose application state during normal updates and restarts. The relevant mitigation is to store data that must outlive container recreation in an appropriate mounted persistent volume or external durable 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:

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 containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The more direct risk is that treating a disposable container layer as durable storage can lose application state during normal updates and restarts. The relevant mitigation is to store data that must outlive container recreation in an appropriate mounted persistent volume or external durable 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:

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: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The more direct risk is that treating a disposable container layer as durable storage can lose application state during normal updates and restarts. The relevant mitigation is to store data that must outlive container recreation in an appropriate mounted persistent volume or external durable 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 130

Developers need new persistent volumes automatically created from a supported block storage provisioner.

Which underlying mechanism best explains why the right approach works?

  1. A PVC requests storage characteristics and binds to a compatible PV, while the Pod mounts the claim for data persistence
  2. StatefulSets manage stable Pod identities and persistent claim relationships, unlike stateless Deployment replicas with interchangeable identities
  3. StorageClass describes provisioning behavior and parameters; a CSI driver can dynamically provision PVs for matching PVCs
  4. An emptyDir volume persists across container restarts in the same Pod but is discarded when the Pod itself is removed

Explanation

Correct Answer

C:

StorageClass describes provisioning behavior and parameters; a CSI driver can dynamically provision PVs for matching PVCs. This component or control behavior explains what matters in the case: Developers need new persistent volumes automatically created from a supported block storage provisioner. The corresponding operational decision is to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. The expected evidence is that a new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. If the requirement is misunderstood, an absent or incorrect provisioner leaves claims Pending or creates storage with incompatible performance and durability properties. 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:

A PVC requests storage characteristics and binds to a compatible PV, while the Pod mounts the claim for data persistence. This explanation belongs to the nearby PersistentVolumeClaim and PersistentVolume binding topic, for example: A database Pod needs durable disk data and its PersistentVolumeClaim stays Pending while no compatible volume exists. The actual scenario is: Developers need new persistent volumes automatically created from a supported block storage provisioner. The relevant mechanism is that storageClass describes provisioning behavior and parameters; a CSI driver can dynamically provision PVs for matching PVCs. The matching implementation is to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

StatefulSets manage stable Pod identities and persistent claim relationships, unlike stateless Deployment replicas with interchangeable identities. This explanation belongs to the nearby StatefulSet stable identity and claims topic, for example: A clustered database requires stable Pod identities and a separate durable volume for every ordered replica. The actual scenario is: Developers need new persistent volumes automatically created from a supported block storage provisioner. The relevant mechanism is that storageClass describes provisioning behavior and parameters; a CSI driver can dynamically provision PVs for matching PVCs. The matching implementation is to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

An emptyDir volume persists across container restarts in the same Pod but is discarded when the Pod itself is removed. This explanation belongs to the nearby ephemeral emptyDir versus persistent PVC topic, for example: A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement. The actual scenario is: Developers need new persistent volumes automatically created from a supported block storage provisioner. The relevant mechanism is that storageClass describes provisioning behavior and parameters; a CSI driver can dynamically provision PVs for matching PVCs. The matching implementation is to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. 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