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 47

Question 460

A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement.

Which cloud-native practice should the team adopt?

  1. Choose emptyDir for Pod-lifetime scratch data and a persistent claim for information that must outlive a Pod's replacement
  2. Create a compatible PersistentVolumeClaim and configure suitable provisioned or existing PersistentVolume capacity before starting the stateful app
  3. Use a StatefulSet with a suitable headless Service and volumeClaimTemplates for identity-sensitive stateful replicas
  4. Select a storage backend with the required supported access mode, using RWX only when genuinely shared simultaneous mounts are necessary

Explanation

Correct Answer

A:

Choose emptyDir for Pod-lifetime scratch data and a persistent claim for information that must outlive a Pod's replacement. This action directly addresses the described situation: A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement. An emptyDir volume persists across container restarts in the same Pod but is discarded when the Pod itself is removed. To distinguish a correct change from an unverified configuration, check that a scratch-data test resets after Pod replacement, while the separate persisted dataset remains intact on its PVC. The relevant failure concern is that confusing Pod-lifetime scratch storage with persistent volume semantics can erase important state during normal rolling updates. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

B:

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: A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement. The more direct corrective action is to choose emptyDir for Pod-lifetime scratch data and a persistent claim for information that must outlive a Pod's replacement. An emptyDir volume persists across container restarts in the same Pod but is discarded when the Pod itself is removed. 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: A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement. The more direct corrective action is to choose emptyDir for Pod-lifetime scratch data and a persistent claim for information that must outlive a Pod's replacement. An emptyDir volume persists across container restarts in the same Pod but is discarded when the Pod itself is removed. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Select a storage backend with the required supported access mode, using RWX only when genuinely shared simultaneous mounts are necessary. That action is sensible for the separate ReadWriteOnce versus ReadWriteMany modes problem, for example: Two replicas need to access the same shared content but the chosen volume supports only a single-node writer attachment. This scenario instead describes: A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement. The more direct corrective action is to choose emptyDir for Pod-lifetime scratch data and a persistent claim for information that must outlive a Pod's replacement. An emptyDir volume persists across container restarts in the same Pod but is discarded when the Pod itself is removed. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 461

A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest.

Which operational observation most convincingly validates the fix?

  1. Kubectl config current-context and a read-only namespace query identify the approved cluster before the change
  2. The Pod receives the expected approved configuration without rebuilding the image and the application behavior reflects it
  3. Reapplying the approved manifest leaves the desired spec consistent and the controller reaches the declared replica count
  4. Only authorized service accounts and workloads can retrieve the required value and the secret is not exposed in logs or source control

Explanation

Correct Answer

D:

Only authorized service accounts and workloads can retrieve the required value and the secret is not exposed in logs or source control. This result checks the exact operational requirement in the scenario: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. It should be obtained after the team takes the step to store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. Kubernetes Secrets provide a dedicated API type for sensitive values, but base64 is encoding rather than encryption and access controls remain essential. The acceptance evidence must guard against the failure in which treating encoded values as cryptographically protected can leak credentials through permissive RBAC or exposed manifests. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

Kubectl config current-context and a read-only namespace query identify the approved cluster before the change. This would provide useful evidence for a different kubectl context and active cluster selection situation such as: A developer has access to a test cluster and production cluster and must confirm the target before applying a manifest. That is not the specific requirement here: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. The directly matching evidence is that only authorized service accounts and workloads can retrieve the required value and the secret is not exposed in logs or source control. The associated implementation is to store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

The Pod receives the expected approved configuration without rebuilding the image and the application behavior reflects it. This would provide useful evidence for a different ConfigMap for nonsecret settings situation such as: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. That is not the specific requirement here: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. The directly matching evidence is that only authorized service accounts and workloads can retrieve the required value and the secret is not exposed in logs or source control. The associated implementation is to store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

Reapplying the approved manifest leaves the desired spec consistent and the controller reaches the declared replica count. This would provide useful evidence for a different declarative manifests and kubectl apply situation such as: A team needs repeatable configuration for Kubernetes Deployments without relying on screenshots or ad hoc shell history. That is not the specific requirement here: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. The directly matching evidence is that only authorized service accounts and workloads can retrieve the required value and the secret is not exposed in logs or source control. The associated implementation is to store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 462

An application process is running but cannot serve requests until a dependent database connection is established.

What is the most appropriate operational decision here?

  1. Add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds
  2. Inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration
  3. Inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision
  4. Configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests

Explanation

Correct Answer

D:

Configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests. This action directly addresses the described situation: An application process is running but cannot serve requests until a dependent database connection is established. Readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready. To distinguish a correct change from an unverified configuration, check that the Service has no endpoints for the warming Pod until readiness succeeds, then correctly includes it after application initialization. The relevant failure concern is that without readiness validation, clients can receive failures from running Pods that are not yet able to serve traffic. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. That action is sensible for the separate startup probe protects slow initialization problem, for example: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. This scenario instead describes: An application process is running but cannot serve requests until a dependent database connection is established. The more direct corrective action is to configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests. Readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. That action is sensible for the separate kubectl logs and previous container output problem, for example: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. This scenario instead describes: An application process is running but cannot serve requests until a dependent database connection is established. The more direct corrective action is to configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests. Readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. That action is sensible for the separate rollout revision history for regression recovery problem, for example: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. This scenario instead describes: An application process is running but cannot serve requests until a dependent database connection is established. The more direct corrective action is to configure an application-appropriate readiness probe so Kubernetes does not consider a Pod ready for Service traffic until it can handle requests. Readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 463

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

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

  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 kubectl logs with the previous-container option alongside Pod termination reasons and application configuration
  3. Inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision
  4. Use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal

Explanation

Correct Answer

D:

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

Incorrect Answers

A:

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 web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. The more direct corrective action is to use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. That action is sensible for the separate kubectl logs and previous container output problem, for example: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. This scenario instead describes: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. The more direct corrective action is to use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. That action is sensible for the separate rollout revision history for regression recovery problem, for example: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. This scenario instead describes: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. The more direct corrective action is to use a liveness probe that detects unrecoverable application failures without making ordinary startup or temporary dependency slowness fatal. A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 464

An application update needs a controlled overlap between old and new Pods to avoid downtime caused by replacing every replica simultaneously.

What is the most appropriate operational decision here?

  1. Manage desired Kubernetes manifests in Git and use a GitOps controller to reconcile the cluster from approved repository revisions
  2. Configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status
  3. Maintain separate blue and green versions, smoke-test the inactive environment, then switch the approved routing target
  4. Use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set

Explanation

Correct Answer

B:

Configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status. This action directly addresses the described situation: An application update needs a controlled overlap between old and new Pods to avoid downtime caused by replacing every replica simultaneously. Rolling updates replace Deployment replicas in controlled batches and respect configured limits on surge capacity and unavailable instances. To distinguish a correct change from an unverified configuration, check that the new image becomes available incrementally while user requests continue meeting the accepted availability target. The relevant failure concern is that an overly aggressive rollout without readiness control can temporarily remove all usable backend Pods. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Manage desired Kubernetes manifests in Git and use a GitOps controller to reconcile the cluster from approved repository revisions. That action is sensible for the separate GitOps desired-state reconciliation problem, for example: Operators want Kubernetes production configuration changes to be audited through reviewed Git commits instead of manual kubectl edits. This scenario instead describes: An application update needs a controlled overlap between old and new Pods to avoid downtime caused by replacing every replica simultaneously. The more direct corrective action is to configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status. Rolling updates replace Deployment replicas in controlled batches and respect configured limits on surge capacity and unavailable instances. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Maintain separate blue and green versions, smoke-test the inactive environment, then switch the approved routing target. That action is sensible for the separate blue-green release cutover problem, for example: A critical application needs a full parallel environment for a fast verified cutover and easy return to the old release. This scenario instead describes: An application update needs a controlled overlap between old and new Pods to avoid downtime caused by replacing every replica simultaneously. The more direct corrective action is to configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status. Rolling updates replace Deployment replicas in controlled batches and respect configured limits on surge capacity and unavailable instances. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set. That action is sensible for the separate Kustomize overlays for environment variants problem, for example: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. This scenario instead describes: An application update needs a controlled overlap between old and new Pods to avoid downtime caused by replacing every replica simultaneously. The more direct corrective action is to configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status. Rolling updates replace Deployment replicas in controlled batches and respect configured limits on surge capacity and unavailable instances. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 465

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

What operational hazard is most important in the described case?

  1. Deploying tightly coupled containers into unrelated Pods breaks assumptions about shared localhost and coordinated placement
  2. Broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend
  3. Using stand-alone Pods without an appropriate controller loses automatic replacement when the Pod object is removed
  4. Confusing scheduling with container execution can leave the Pod unplaced even when all target nodes have healthy kubelets

Explanation

Correct Answer

B:

Broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend. This failure path follows the case as described: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. The appropriate corrective decision is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions. The control should be accepted only when a selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. Risk statements should identify the affected workload or trust boundary, rather than generically claiming that every Kubernetes misconfiguration causes the same outage.

Incorrect Answers

A:

Deploying tightly coupled containers into unrelated Pods breaks assumptions about shared localhost and coordinated placement. This is a plausible risk for the different Pod as smallest deployable scheduling unit scenario, for example: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. However, the presented case concerns: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. The more direct risk is that broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend. The relevant mitigation is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

C:

Using stand-alone Pods without an appropriate controller loses automatic replacement when the Pod object is removed. This is a plausible risk for the different ReplicaSet maintaining replica count scenario, for example: An application owner needs three matching Pods to exist despite one being removed during routine maintenance. However, the presented case concerns: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. The more direct risk is that broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend. The relevant mitigation is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. 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: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. The more direct risk is that broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend. The relevant mitigation is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. 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 466

A worker needs a scheduled operating-system patch while running applications should move to healthy nodes.

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

  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. Without namespace-level limits, one tenant can exhaust shared capacity and interfere with other teams' deployments
  4. Deleting replacement Pods individually does not reliably restore the previous Deployment template and can perpetuate a faulty rollout

Explanation

Correct Answer

A:

Rebooting without workload evacuation can interrupt user traffic or violate disruption constraints. This failure path follows the case as described: A worker needs a scheduled operating-system patch while running applications should move to healthy nodes. The appropriate corrective decision is to cordon the node to prevent new scheduling and drain supported workloads with disruption policies before planned maintenance. Cordon marks a node unschedulable; drain safely evicts compatible managed Pods so their controllers can place replacements elsewhere. The control should be accepted only when the node is unschedulable and evictable workloads become healthy on alternate nodes before maintenance begins. 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:

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 worker needs a scheduled operating-system patch while running applications should move to healthy nodes. The more direct risk is that rebooting without workload evacuation can interrupt user traffic or violate disruption constraints. The relevant mitigation is to cordon the node to prevent new scheduling and drain supported workloads with disruption policies before planned maintenance. 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 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 worker needs a scheduled operating-system patch while running applications should move to healthy nodes. The more direct risk is that rebooting without workload evacuation can interrupt user traffic or violate disruption constraints. The relevant mitigation is to cordon the node to prevent new scheduling and drain supported workloads with disruption policies before planned maintenance. 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:

Deleting replacement Pods individually does not reliably restore the previous Deployment template and can perpetuate a faulty rollout. This is a plausible risk for the different Deployment rollout status and undo scenario, for example: A new Deployment revision is serving errors and the team needs to return to the preceding healthy revision. However, the presented case concerns: A worker needs a scheduled operating-system patch while running applications should move to healthy nodes. The more direct risk is that rebooting without workload evacuation can interrupt user traffic or violate disruption constraints. The relevant mitigation is to cordon the node to prevent new scheduling and drain supported workloads with disruption policies before planned maintenance. 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 467

An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved.

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

  1. Cordon the node to prevent new scheduling and drain supported workloads with disruption policies before planned maintenance
  2. Apply a namespace ResourceQuota with appropriate compute and object limits, then monitor admission events for exceeded requests
  3. Store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods
  4. Create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files

Explanation

Correct Answer

D:

Create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. This action directly addresses the described situation: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. A ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes. To distinguish a correct change from an unverified configuration, check that the Pod receives the expected approved configuration without rebuilding the image and the application behavior reflects it. The relevant failure concern is that baking all environment settings into images makes promotions fragile, while treating confidential secrets as plain ConfigMap values is unsafe. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Cordon the node to prevent new scheduling and drain supported workloads with disruption policies before planned maintenance. That action is sensible for the separate cordon drain and node maintenance problem, for example: A worker needs a scheduled operating-system patch while running applications should move to healthy nodes. This scenario instead describes: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The more direct corrective action is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. A ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Apply a namespace ResourceQuota with appropriate compute and object limits, then monitor admission events for exceeded requests. That action is sensible for the separate ResourceQuota per Namespace problem, for example: One team's runaway batch Pods consume a disproportionate number of objects and resources in a shared cluster. This scenario instead describes: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The more direct corrective action is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. A ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. That action is sensible for the separate Secret as API object for sensitive application values problem, for example: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. This scenario instead describes: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The more direct corrective action is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. A ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 468

Developers are treating the latest mutable runtime installation on each host as the deployable release artifact.

Which cloud-native practice should the team adopt?

  1. Publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported
  2. Store data that must outlive container recreation in an appropriate mounted persistent volume or external durable service
  3. Reference a specific image digest or immutable version policy for production and verify the pulled artifact matches approval
  4. Build and publish a versioned OCI-compatible container image containing the application and required dependencies

Explanation

Correct Answer

D:

Build and publish a versioned OCI-compatible container image containing the application and required dependencies. This action directly addresses the described situation: Developers are treating the latest mutable runtime installation on each host as the deployable release artifact. A container image packages layered filesystem content and runtime metadata, separating the build artifact from the host operating system. To distinguish a correct change from an unverified configuration, check that two eligible workers start containers from the same immutable image digest and run consistent application versions. The relevant failure concern is that relying on host-specific installations produces configuration drift and unpredictable releases across cluster nodes. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported. That action is sensible for the separate container registry and image pulls problem, for example: A new Pod reports image pull errors because workers cannot reach the private image repository. This scenario instead describes: Developers are treating the latest mutable runtime installation on each host as the deployable release artifact. The more direct corrective action is to build and publish a versioned OCI-compatible container image containing the application and required dependencies. A container image packages layered filesystem content and runtime metadata, separating the build artifact from the host operating system. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Store data that must outlive container recreation in an appropriate mounted persistent volume or external durable service. That action is sensible for the separate ephemeral writable layer and persistent data problem, for example: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. This scenario instead describes: Developers are treating the latest mutable runtime installation on each host as the deployable release artifact. The more direct corrective action is to build and publish a versioned OCI-compatible container image containing the application and required dependencies. A container image packages layered filesystem content and runtime metadata, separating the build artifact from the host operating system. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Reference a specific image digest or immutable version policy for production and verify the pulled artifact matches approval. That action is sensible for the separate digest pinning versus mutable tags problem, for example: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. This scenario instead describes: Developers are treating the latest mutable runtime installation on each host as the deployable release artifact. The more direct corrective action is to build and publish a versioned OCI-compatible container image containing the application and required dependencies. A container image packages layered filesystem content and runtime metadata, separating the build artifact from the host operating system. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 469

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

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

  1. The container stays running with the intended application as its primary process and responds correctly to termination signals
  2. Each test Pod reports the expected imageID digest across nodes after deployment and rollback
  3. An authorized worker pulls the specified image and the Pod progresses past image retrieval into container creation
  4. Two eligible workers start containers from the same immutable image digest and run consistent application versions

Explanation

Correct Answer

B:

Each test Pod reports the expected imageID digest across nodes after deployment and rollback. This result checks the exact operational requirement in the scenario: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. It should be obtained after the team takes the step to reference a specific image digest or immutable version policy for production and verify the pulled artifact matches approval. An image digest identifies content immutably, whereas tags are names that can be moved to reference different image content. The acceptance evidence must guard against the failure in which trusting a mutable latest tag can silently change workloads between restarts without a reviewed deployment revision. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

The container stays running with the intended application as its primary process and responds correctly to termination signals. This would provide useful evidence for a different Dockerfile entrypoint and startup command situation such as: A container image builds successfully but exits immediately because its default process command is incorrect. That is not the specific requirement here: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. The directly matching evidence is that each test Pod reports the expected imageID digest across nodes after deployment and rollback. The associated implementation is to reference a specific image digest or immutable version policy for production and verify the pulled artifact matches approval. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

An authorized worker pulls the specified image and the Pod progresses past image retrieval into container creation. This would provide useful evidence for a different container registry and image pulls situation such as: A new Pod reports image pull errors because workers cannot reach the private image repository. That is not the specific requirement here: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. The directly matching evidence is that each test Pod reports the expected imageID digest across nodes after deployment and rollback. The associated implementation is to reference a specific image digest or immutable version policy for production and verify the pulled artifact matches approval. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

Two eligible workers start containers from the same immutable image digest and run consistent application versions. This would provide useful evidence for a different OCI container images and immutable build artifacts situation such as: An application team needs reproducible packaging of a runtime and dependencies to deploy across workers. That is not the specific requirement here: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. The directly matching evidence is that each test Pod reports the expected imageID digest across nodes after deployment and rollback. The associated implementation is to reference a specific image digest or immutable version policy for production and verify the pulled artifact matches approval. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 470

A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM.

What acceptance test result provides the strongest evidence of success?

  1. Each service can be deployed independently while a controlled dependency failure follows documented timeout and fallback behavior
  2. A controlled load change adjusts replicas within policy and the same workload manifest deploys consistently across eligible clusters
  3. An architecture decision correctly identifies Kubernetes for orchestration, Prometheus for metrics, and Envoy for proxying where each is appropriate
  4. A controlled service-to-service request follows the required identity and policy rules while permitted external ingress still works

Explanation

Correct Answer

B:

A controlled load change adjusts replicas within policy and the same workload manifest deploys consistently across eligible clusters. This result checks the exact operational requirement in the scenario: A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM. It should be obtained after the team takes the step to adopt declarative orchestration and independent containerized application components with measurable scaling and recovery controls. Cloud-native systems emphasize automation, elasticity, portability, and resilient reconciliation rather than fixed manually administered hosts. The acceptance evidence must guard against the failure in which hard-coded host assumptions and manual procedures make scaling and disaster recovery brittle across environments. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

Each service can be deployed independently while a controlled dependency failure follows documented timeout and fallback behavior. This would provide useful evidence for a different microservices boundaries and reliability tradeoffs situation such as: A monolithic application is being split into independently released services and must account for network calls and failure isolation. That is not the specific requirement here: A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM. The directly matching evidence is that a controlled load change adjusts replicas within policy and the same workload manifest deploys consistently across eligible clusters. The associated implementation is to adopt declarative orchestration and independent containerized application components with measurable scaling and recovery controls. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

An architecture decision correctly identifies Kubernetes for orchestration, Prometheus for metrics, and Envoy for proxying where each is appropriate. This would provide useful evidence for a different CNCF landscape and projects by function situation such as: An engineer must choose an observability component and confuses metrics projects with tools for service routing or image packaging. That is not the specific requirement here: A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM. The directly matching evidence is that a controlled load change adjusts replicas within policy and the same workload manifest deploys consistently across eligible clusters. The associated implementation is to adopt declarative orchestration and independent containerized application components with measurable scaling and recovery controls. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

A controlled service-to-service request follows the required identity and policy rules while permitted external ingress still works. This would provide useful evidence for a different service mesh versus north-south ingress situation such as: Teams need consistent service-to-service authentication and traffic policies across microservices, not just external HTTP routing. That is not the specific requirement here: A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM. The directly matching evidence is that a controlled load change adjusts replicas within policy and the same workload manifest deploys consistently across eligible clusters. The associated implementation is to adopt declarative orchestration and independent containerized application components with measurable scaling and recovery controls. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests

Purchase Individually

  • Premium File

    333 Questions & Answers
    Last Update: Oct 30, 2026

    $76.99
    $69.99
  • Training Course

    54 Lectures

    $43.99
    $39.99
  • Study Guide

    410 Pages

    $43.99
    $39.99

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

You save
10%

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

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

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

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

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

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