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 60

Question 590

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

What acceptance test result provides the strongest evidence of success?

  1. The designated identity can list the intended staging Deployments but cannot delete Secrets or modify production objects
  2. A deliberately noncompliant Pod is rejected by admission and an approved least-privilege Pod remains deployable
  3. API calls from the Pod are attributed to its dedicated ServiceAccount and succeed only for the explicitly allowed operations
  4. Only an approved scanned image digest reaches the cluster and security policy prevents an untrusted release from running

Explanation

Correct Answer

D:

Only an approved scanned image digest reaches the cluster and security policy prevents an untrusted release from running. This result checks the exact operational requirement in the scenario: A security gate must decide whether a container artifact should be promoted despite missing provenance and scan results. It should be obtained after the team takes the step to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks. The acceptance evidence must guard against the failure in which promoting unknown or mutable artifacts can introduce vulnerable or malicious components even when the Kubernetes scheduler is healthy. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

The designated identity can list the intended staging Deployments but cannot delete Secrets or modify production objects. This would provide useful evidence for a different RBAC least privilege for namespace users situation such as: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. That is not the specific requirement here: A security gate must decide whether a container artifact should be promoted despite missing provenance and scan results. The directly matching evidence is that only an approved scanned image digest reaches the cluster and security policy prevents an untrusted release from running. The associated implementation is to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

A deliberately noncompliant Pod is rejected by admission and an approved least-privilege Pod remains deployable. This would provide useful evidence for a different Pod Security Standards enforce restricted workloads situation such as: Developers submit Pods that request privileged execution and host mounts in a shared team Namespace. That is not the specific requirement here: A security gate must decide whether a container artifact should be promoted despite missing provenance and scan results. The directly matching evidence is that only an approved scanned image digest reaches the cluster and security policy prevents an untrusted release from running. The associated implementation is to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

API calls from the Pod are attributed to its dedicated ServiceAccount and succeed only for the explicitly allowed operations. This would provide useful evidence for a different ServiceAccount identity for workloads situation such as: An in-cluster controller requires permission to read a limited group of Kubernetes resources using its own identity. That is not the specific requirement here: A security gate must decide whether a container artifact should be promoted despite missing provenance and scan results. The directly matching evidence is that only an approved scanned image digest reaches the cluster and security policy prevents an untrusted release from running. The associated implementation is to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 591

A new Pod reports image pull errors because workers cannot reach the private image repository.

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

  1. Set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling
  2. Choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls
  3. Publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported
  4. Verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker

Explanation

Correct Answer

C:

Publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported. This action directly addresses the described situation: A new Pod reports image pull errors because workers cannot reach the private image repository. Registries store and distribute container images; kubelet asks the container runtime to retrieve referenced images before starting containers. To distinguish a correct change from an unverified configuration, check that an authorized worker pulls the specified image and the Pod progresses past image retrieval into container creation. The relevant failure concern is that missing registry reachability or credentials leaves Pods in image pull backoff despite healthy scheduling capacity. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. That action is sensible for the separate Dockerfile entrypoint and startup command problem, for example: A container image builds successfully but exits immediately because its default process command is incorrect. This scenario instead describes: A new Pod reports image pull errors because workers cannot reach the private image repository. The more direct corrective action is to publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported. Registries store and distribute container images; kubelet asks the container runtime to retrieve referenced images before starting containers. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls. That action is sensible for the separate containers compared with virtual machines problem, for example: A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance. This scenario instead describes: A new Pod reports image pull errors because workers cannot reach the private image repository. The more direct corrective action is to publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported. Registries store and distribute container images; kubelet asks the container runtime to retrieve referenced images before starting containers. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker. That action is sensible for the separate CRI runtime responsibilities problem, for example: Kubernetes workers use containerd and administrators want to understand what launches containers on those nodes. This scenario instead describes: A new Pod reports image pull errors because workers cannot reach the private image repository. The more direct corrective action is to publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported. Registries store and distribute container images; kubelet asks the container runtime to retrieve referenced images before starting containers. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 592

A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces.

Which architectural behavior is decisive in this example?

  1. NetworkPolicy defines permitted Pod ingress and egress traffic for selected Pods, but enforcement requires a network implementation supporting policies
  2. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management
  3. Kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects
  4. Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks

Explanation

Correct Answer

C:

Kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects. This component or control behavior explains what matters in the case: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. The corresponding operational decision is to create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. The expected evidence is that the designated identity can list the intended staging Deployments but cannot delete Secrets or modify production objects. If the requirement is misunderstood, overly broad cluster permissions give a compromised automation credential access far beyond its operational task. 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:

NetworkPolicy defines permitted Pod ingress and egress traffic for selected Pods, but enforcement requires a network implementation supporting policies. This explanation belongs to the nearby NetworkPolicy isolation for east-west traffic topic, for example: A database Pod should receive TCP connections from its approved API Pods but not from arbitrary Pods in other namespaces. The actual scenario is: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. The relevant mechanism is that kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects. The matching implementation is to create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. This explanation belongs to the nearby secret encryption and API access controls topic, for example: An operator believes Kubernetes Secret values are encrypted at rest solely because YAML displays them in base64. The actual scenario is: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. The relevant mechanism is that kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects. The matching implementation is to create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks. This explanation belongs to the nearby container image trust and vulnerability remediation topic, for example: An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges. The actual scenario is: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. The relevant mechanism is that kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects. The matching implementation is to create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 593

An operator tries to use a block volume attached for ReadWriteOnce across Pods scheduled on different nodes.

What would be the most suitable first corrective action?

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

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: An operator tries to use a block volume attached for ReadWriteOnce across Pods scheduled on different nodes. 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:

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: An operator tries to use a block volume attached for ReadWriteOnce across Pods scheduled on different nodes. 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:

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: An operator tries to use a block volume attached for ReadWriteOnce across Pods scheduled on different nodes. 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:

Choose emptyDir for Pod-lifetime scratch data and a persistent claim for information that must outlive a Pod's replacement. That action is sensible for the separate ephemeral emptyDir versus persistent PVC problem, for example: A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement. This scenario instead describes: An operator tries to use a block volume attached for ReadWriteOnce across Pods scheduled on different nodes. 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 594

An organization wants portable workload definitions with repeatable environments instead of one-off host configuration.

Which configuration decision should the administrator make?

  1. Match each cloud-native project to its intended function and review its maturity, interoperability, and operational requirements
  2. Define coherent service boundaries, explicit APIs, retry/timeouts, and observability that match business ownership and failure tolerance
  3. Evaluate a supported service mesh or equivalent workload-identity and east-west traffic policy mechanism while keeping ingress routing separate
  4. Adopt declarative orchestration and independent containerized application components with measurable scaling and recovery controls

Explanation

Correct Answer

D:

Adopt declarative orchestration and independent containerized application components with measurable scaling and recovery controls. This action directly addresses the described situation: An organization wants portable workload definitions with repeatable environments instead of one-off host configuration. Cloud-native systems emphasize automation, elasticity, portability, and resilient reconciliation rather than fixed manually administered hosts. To distinguish a correct change from an unverified configuration, check that a controlled load change adjusts replicas within policy and the same workload manifest deploys consistently across eligible clusters. The relevant failure concern is that hard-coded host assumptions and manual procedures make scaling and disaster recovery brittle across environments. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Match each cloud-native project to its intended function and review its maturity, interoperability, and operational requirements. That action is sensible for the separate CNCF landscape and projects by function problem, for example: An engineer must choose an observability component and confuses metrics projects with tools for service routing or image packaging. This scenario instead describes: An organization wants portable workload definitions with repeatable environments instead of one-off host configuration. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Define coherent service boundaries, explicit APIs, retry/timeouts, and observability that match business ownership and failure tolerance. That action is sensible for the separate microservices boundaries and reliability tradeoffs problem, for example: A monolithic application is being split into independently released services and must account for network calls and failure isolation. This scenario instead describes: An organization wants portable workload definitions with repeatable environments instead of one-off host configuration. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Evaluate a supported service mesh or equivalent workload-identity and east-west traffic policy mechanism while keeping ingress routing separate. That action is sensible for the separate service mesh versus north-south ingress problem, for example: Teams need consistent service-to-service authentication and traffic policies across microservices, not just external HTTP routing. This scenario instead describes: An organization wants portable workload definitions with repeatable environments instead of one-off host configuration. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 595

A client can reach cluster nodes but cannot create Pods because the Kubernetes API endpoint is unavailable.

What is the likely impact of retaining this faulty assumption?

  1. Broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend
  2. Removing a managed Pod without changing its controller does not permanently change desired replicas and can cause recurring surprise replacements
  3. Bypassing or losing the API-server control path leaves cluster changes unvalidated or unavailable despite working node-level processes
  4. Confusing scheduling with container execution can leave the Pod unplaced even when all target nodes have healthy kubelets

Explanation

Correct Answer

C:

Bypassing or losing the API-server control path leaves cluster changes unvalidated or unavailable despite working node-level processes. This failure path follows the case as described: A client can reach cluster nodes but cannot create Pods because the Kubernetes API endpoint is unavailable. The appropriate corrective decision is to use kubectl or a supported client to send authenticated resource operations to kube-apiserver and verify its connectivity. The API server exposes the Kubernetes API, validates requests, applies admission controls, and persists accepted object state through the cluster store. The control should be accepted only when a read of the intended resource through the API returns the newly accepted specification and a valid authenticated response. Risk statements should identify the affected workload or trust boundary, rather than generically claiming that every Kubernetes misconfiguration causes the same outage.

Incorrect Answers

A:

Broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend. This is a plausible risk for the different Labels and selectors for workload membership scenario, for example: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. However, the presented case concerns: A client can reach cluster nodes but cannot create Pods because the Kubernetes API endpoint is unavailable. The more direct risk is that bypassing or losing the API-server control path leaves cluster changes unvalidated or unavailable despite working node-level processes. The relevant mitigation is to use kubectl or a supported client to send authenticated resource operations to kube-apiserver and verify its connectivity. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

B:

Removing a managed Pod without changing its controller does not permanently change desired replicas and can cause recurring surprise replacements. This is a plausible risk for the different controller-manager desired-state reconciliation scenario, for example: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. However, the presented case concerns: A client can reach cluster nodes but cannot create Pods because the Kubernetes API endpoint is unavailable. The more direct risk is that bypassing or losing the API-server control path leaves cluster changes unvalidated or unavailable despite working node-level processes. The relevant mitigation is to use kubectl or a supported client to send authenticated resource operations to kube-apiserver and verify its connectivity. 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 client can reach cluster nodes but cannot create Pods because the Kubernetes API endpoint is unavailable. The more direct risk is that bypassing or losing the API-server control path leaves cluster changes unvalidated or unavailable despite working node-level processes. The relevant mitigation is to use kubectl or a supported client to send authenticated resource operations to kube-apiserver and verify its connectivity. 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 596

A platform proposal incorrectly equates a container image with a complete separately booted virtual machine operating system.

Which architectural behavior is decisive in this example?

  1. Containers typically share the host kernel and isolate processes with kernel mechanisms, unlike virtual machines that run guest operating systems
  2. Registries store and distribute container images; kubelet asks the container runtime to retrieve referenced images before starting containers
  3. An image digest identifies content immutably, whereas tags are names that can be moved to reference different image content
  4. A container writable layer is generally tied to that container instance; Pod replacement can discard the data stored there

Explanation

Correct Answer

A:

Containers typically share the host kernel and isolate processes with kernel mechanisms, unlike virtual machines that run guest operating systems. This component or control behavior explains what matters in the case: A platform proposal incorrectly equates a container image with a complete separately booted virtual machine operating system. The corresponding operational decision is to choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls. The expected evidence is that a compatible workload starts promptly from its image and uses the host kernel while access boundaries pass the security review. If the requirement is misunderstood, assuming container isolation is identical to VM isolation may lead to unsupported kernel requirements or a weak security boundary. 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:

Registries store and distribute container images; kubelet asks the container runtime to retrieve referenced images before starting containers. This explanation belongs to the nearby container registry and image pulls topic, for example: A new Pod reports image pull errors because workers cannot reach the private image repository. The actual scenario is: A platform proposal incorrectly equates a container image with a complete separately booted virtual machine operating system. The relevant mechanism is that containers typically share the host kernel and isolate processes with kernel mechanisms, unlike virtual machines that run guest operating systems. The matching implementation is to choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

An image digest identifies content immutably, whereas tags are names that can be moved to reference different image content. This explanation belongs to the nearby digest pinning versus mutable tags topic, for example: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. The actual scenario is: A platform proposal incorrectly equates a container image with a complete separately booted virtual machine operating system. The relevant mechanism is that containers typically share the host kernel and isolate processes with kernel mechanisms, unlike virtual machines that run guest operating systems. The matching implementation is to choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

A container writable layer is generally tied to that container instance; Pod replacement can discard the data stored there. This explanation belongs to the nearby ephemeral writable layer and persistent data topic, for example: A containerized reporting job writes results inside its image filesystem and loses them when the Pod is replaced. The actual scenario is: A platform proposal incorrectly equates a container image with a complete separately booted virtual machine operating system. The relevant mechanism is that containers typically share the host kernel and isolate processes with kernel mechanisms, unlike virtual machines that run guest operating systems. The matching implementation is to choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 597

A database Pod needs durable disk data and its PersistentVolumeClaim stays Pending while no compatible volume exists.

What acceptance test result provides the strongest evidence of success?

  1. The claim becomes Bound, the Pod mounts its path, and written data survives a controlled Pod replacement
  2. A scratch-data test resets after Pod replacement, while the separate persisted dataset remains intact on its PVC
  3. A new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics
  4. Each replica retains the intended ordinal identity and associated data claim after a controlled restart or reschedule

Explanation

Correct Answer

A:

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

Incorrect Answers

B:

A scratch-data test resets after Pod replacement, while the separate persisted dataset remains intact on its PVC. This would provide useful evidence for a different ephemeral emptyDir versus persistent PVC situation such as: A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement. That is not the specific requirement here: A database Pod needs durable disk data and its PersistentVolumeClaim stays Pending while no compatible volume exists. The directly matching evidence is that the claim becomes Bound, the Pod mounts its path, and written data survives a controlled Pod replacement. The associated implementation is to create a compatible PersistentVolumeClaim and configure suitable provisioned or existing PersistentVolume capacity before starting the stateful app. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

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

D:

Each replica retains the intended ordinal identity and associated data claim after a controlled restart or reschedule. This would provide useful evidence for a different StatefulSet stable identity and claims situation such as: A clustered database requires stable Pod identities and a separate durable volume for every ordered replica. That is not the specific requirement here: A database Pod needs durable disk data and its PersistentVolumeClaim stays Pending while no compatible volume exists. The directly matching evidence is that the claim becomes Bound, the Pod mounts its path, and written data survives a controlled Pod replacement. The associated implementation is to create a compatible PersistentVolumeClaim and configure suitable provisioned or existing PersistentVolume capacity before starting the stateful app. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 598

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

Why does the relevant technology satisfy this specific requirement?

  1. Describe and events expose Pod conditions, scheduling decisions, and admission messages even when no application container has started
  2. A ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes
  3. Declarative configuration describes intended object state and Kubernetes reconciliation drives actual resources toward that specification
  4. Cordon marks a node unschedulable; drain safely evicts compatible managed Pods so their controllers can place replacements elsewhere

Explanation

Correct Answer

B:

A ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes. This component or control behavior explains what matters in the case: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The corresponding operational decision is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. The expected evidence is that the Pod receives the expected approved configuration without rebuilding the image and the application behavior reflects it. If the requirement is misunderstood, baking all environment settings into images makes promotions fragile, while treating confidential secrets as plain ConfigMap values is unsafe. 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:

Describe and events expose Pod conditions, scheduling decisions, and admission messages even when no application container has started. This explanation belongs to the nearby kubectl describe and event inspection topic, for example: A Pod remains Pending with no container logs because it was never assigned to a worker node. The actual scenario is: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The relevant mechanism is that a ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes. The matching implementation is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Declarative configuration describes intended object state and Kubernetes reconciliation drives actual resources toward that specification. This explanation belongs to the nearby declarative manifests and kubectl apply topic, for example: A team needs repeatable configuration for Kubernetes Deployments without relying on screenshots or ad hoc shell history. The actual scenario is: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The relevant mechanism is that a ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes. The matching implementation is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Cordon marks a node unschedulable; drain safely evicts compatible managed Pods so their controllers can place replacements elsewhere. This explanation belongs to the nearby cordon drain and node maintenance topic, for example: A worker needs a scheduled operating-system patch while running applications should move to healthy nodes. The actual scenario is: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The relevant mechanism is that a ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes. The matching implementation is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 599

A Service resolves in DNS but returns no application responses because its selector does not match any Ready Pods.

What verification would distinguish success from merely creating a resource?

  1. A test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created
  2. The EndpointSlice contains expected ready addresses and client requests through the Service reach the intended application replicas
  3. The intended external client connects through the chosen Service type and the actual backend Pod receives the request
  4. A DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint

Explanation

Correct Answer

B:

The EndpointSlice contains expected ready addresses and client requests through the Service reach the intended application replicas. This result checks the exact operational requirement in the scenario: A Service resolves in DNS but returns no application responses because its selector does not match any Ready Pods. It should be obtained after the team takes the step to inspect Service selectors and EndpointSlices, correct label matches, and ensure backends satisfy readiness requirements. Service endpoint membership derives from selected Pods and readiness conditions; a valid Service name alone does not prove healthy backends. The acceptance evidence must guard against the failure in which broad or mismatched selectors and failing readiness probes can produce no endpoints or route traffic to the wrong backend. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

A test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created. This would provide useful evidence for a different ClusterIP service for private east-west access situation such as: A backend API should accept traffic only through an internal Kubernetes virtual Service address and not via a public load balancer. That is not the specific requirement here: A Service resolves in DNS but returns no application responses because its selector does not match any Ready Pods. The directly matching evidence is that the EndpointSlice contains expected ready addresses and client requests through the Service reach the intended application replicas. The associated implementation is to inspect Service selectors and EndpointSlices, correct label matches, and ensure backends satisfy readiness requirements. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

The intended external client connects through the chosen Service type and the actual backend Pod receives the request. This would provide useful evidence for a different NodePort versus LoadBalancer external access situation such as: A test environment must expose a simple TCP application through an explicitly allowed port on Kubernetes nodes. That is not the specific requirement here: A Service resolves in DNS but returns no application responses because its selector does not match any Ready Pods. The directly matching evidence is that the EndpointSlice contains expected ready addresses and client requests through the Service reach the intended application replicas. The associated implementation is to inspect Service selectors and EndpointSlices, correct label matches, and ensure backends satisfy readiness requirements. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

A DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint. This would provide useful evidence for a different Cluster DNS service discovery situation such as: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. That is not the specific requirement here: A Service resolves in DNS but returns no application responses because its selector does not match any Ready Pods. The directly matching evidence is that the EndpointSlice contains expected ready addresses and client requests through the Service reach the intended application replicas. The associated implementation is to inspect Service selectors and EndpointSlices, correct label matches, and ensure backends satisfy readiness requirements. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 600

Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit.

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

  1. Check pod scheduling events and kube-scheduler health, then verify node feasibility rather than manually editing the Pod node field
  2. Create or update a Deployment with the approved image, replicas, and rolling-update strategy, then check rollout status
  3. Inspect the owning controller's desired state and controller-manager health before disabling or repeatedly removing managed Pods
  4. Describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location

Explanation

Correct Answer

D:

Describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. This action directly addresses the described situation: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. Containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently. To distinguish a correct change from an unverified configuration, check that both containers start on the same node and communicate over localhost while the shared volume contains the expected data. The relevant failure concern is that deploying tightly coupled containers into unrelated Pods breaks assumptions about shared localhost and coordinated placement. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Check pod scheduling events and kube-scheduler health, then verify node feasibility rather than manually editing the Pod node field. That action is sensible for the separate scheduler binding of pending Pods problem, for example: A new Pod has no assigned node despite healthy containers already running elsewhere and the team must identify the scheduling component. This scenario instead describes: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. The more direct corrective action is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. Containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Create or update a Deployment with the approved image, replicas, and rolling-update strategy, then check rollout status. That action is sensible for the separate Deployment revision and replica orchestration problem, for example: A stateless web service must gradually use a new container image without deleting every instance at once. This scenario instead describes: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. The more direct corrective action is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. Containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Inspect the owning controller's desired state and controller-manager health before disabling or repeatedly removing managed Pods. That action is sensible for the separate controller-manager desired-state reconciliation problem, for example: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. This scenario instead describes: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. The more direct corrective action is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. Containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

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