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 59

Question 580

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

What is the most appropriate operational decision here?

  1. Check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints
  2. Select NodePort only for suitable node-address access, or a supported LoadBalancer Service when managed external load balancing is required
  3. Create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod
  4. Inspect Service selectors and EndpointSlices, correct label matches, and ensure backends satisfy readiness requirements

Explanation

Correct Answer

A:

Check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. This action directly addresses the described situation: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. Kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. To distinguish a correct change from an unverified configuration, check that a DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint. The relevant failure concern is that hard-coding Pod IPs or overlooking CoreDNS failures can break service discovery after otherwise healthy Pod replacements. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

B:

Select NodePort only for suitable node-address access, or a supported LoadBalancer Service when managed external load balancing is required. That action is sensible for the separate NodePort versus LoadBalancer external access problem, for example: A test environment must expose a simple TCP application through an explicitly allowed port on Kubernetes nodes. This scenario instead describes: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. The more direct corrective action is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. Kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. 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 ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. That action is sensible for the separate ClusterIP service for private east-west access problem, for example: A backend API should accept traffic only through an internal Kubernetes virtual Service address and not via a public load balancer. This scenario instead describes: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. The more direct corrective action is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. Kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Inspect Service selectors and EndpointSlices, correct label matches, and ensure backends satisfy readiness requirements. That action is sensible for the separate Service endpoints reflect matching Ready Pods problem, for example: A Service resolves in DNS but returns no application responses because its selector does not match any Ready Pods. This scenario instead describes: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. The more direct corrective action is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. Kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 581

A worker is registered but is not starting its assigned containers, so platform staff must inspect the node-local component.

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

  1. Healthy API and scheduler services do not guarantee container startup if the assigned node's kubelet cannot operate
  2. Deploying tightly coupled containers into unrelated Pods breaks assumptions about shared localhost and coordinated placement
  3. Broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend
  4. Editing individual running Pod images circumvents controller-managed revisions and can be undone by reconciliation

Explanation

Correct Answer

A:

Healthy API and scheduler services do not guarantee container startup if the assigned node's kubelet cannot operate. This failure path follows the case as described: A worker is registered but is not starting its assigned containers, so platform staff must inspect the node-local component. The appropriate corrective decision is to inspect kubelet status and node events on the assigned worker while preserving the control-plane API and workload definition. The kubelet runs on a node, observes assigned Pod specifications, interacts with the container runtime, and reports status back to the control plane. The control should be accepted only when the kubelet reports Ready and the assigned Pod reaches its expected container and probe states on the target node. Risk statements should identify the affected workload or trust boundary, rather than generically claiming that every Kubernetes misconfiguration causes the same outage.

Incorrect Answers

B:

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 worker is registered but is not starting its assigned containers, so platform staff must inspect the node-local component. The more direct risk is that healthy API and scheduler services do not guarantee container startup if the assigned node's kubelet cannot operate. The relevant mitigation is to inspect kubelet status and node events on the assigned worker while preserving the control-plane API and workload definition. 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:

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 worker is registered but is not starting its assigned containers, so platform staff must inspect the node-local component. The more direct risk is that healthy API and scheduler services do not guarantee container startup if the assigned node's kubelet cannot operate. The relevant mitigation is to inspect kubelet status and node events on the assigned worker while preserving the control-plane API and workload definition. 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:

Editing individual running Pod images circumvents controller-managed revisions and can be undone by reconciliation. This is a plausible risk for the different Deployment revision and replica orchestration scenario, for example: A stateless web service must gradually use a new container image without deleting every instance at once. However, the presented case concerns: A worker is registered but is not starting its assigned containers, so platform staff must inspect the node-local component. The more direct risk is that healthy API and scheduler services do not guarantee container startup if the assigned node's kubelet cannot operate. The relevant mitigation is to inspect kubelet status and node events on the assigned worker while preserving the control-plane API and workload definition. 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 582

A stateless web service must gradually use a new container image without deleting every instance at once.

Which underlying mechanism best explains why the right approach works?

  1. Services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates
  2. The kubelet runs on a node, observes assigned Pod specifications, interacts with the container runtime, and reports status back to the control plane
  3. The kube-scheduler evaluates unscheduled Pods against resource requests and placement constraints and selects a suitable node for binding
  4. A Deployment manages ReplicaSets and applies declared revisions for stateless Pods, enabling gradual updates and rollback support

Explanation

Correct Answer

D:

A Deployment manages ReplicaSets and applies declared revisions for stateless Pods, enabling gradual updates and rollback support. This component or control behavior explains what matters in the case: A stateless web service must gradually use a new container image without deleting every instance at once. The corresponding operational decision is to create or update a Deployment with the approved image, replicas, and rolling-update strategy, then check rollout status. The expected evidence is that deployment rollout status reports the desired updated replicas available while the prior ReplicaSet transitions to its historical revision. If the requirement is misunderstood, editing individual running Pod images circumvents controller-managed revisions and can be undone by reconciliation. 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:

Services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates. This explanation belongs to the nearby Service stable identity across changing Pods topic, for example: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. The actual scenario is: A stateless web service must gradually use a new container image without deleting every instance at once. The relevant mechanism is that a Deployment manages ReplicaSets and applies declared revisions for stateless Pods, enabling gradual updates and rollback support. The matching implementation is to create or update a Deployment with the approved image, replicas, and rolling-update strategy, then check rollout status. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

The kubelet runs on a node, observes assigned Pod specifications, interacts with the container runtime, and reports status back to the control plane. This explanation belongs to the nearby kubelet worker-node agent topic, for example: A worker is registered but is not starting its assigned containers, so platform staff must inspect the node-local component. The actual scenario is: A stateless web service must gradually use a new container image without deleting every instance at once. The relevant mechanism is that a Deployment manages ReplicaSets and applies declared revisions for stateless Pods, enabling gradual updates and rollback support. The matching implementation is to create or update a Deployment with the approved image, replicas, and rolling-update strategy, then check rollout status. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

The kube-scheduler evaluates unscheduled Pods against resource requests and placement constraints and selects a suitable node for binding. This explanation belongs to the nearby scheduler binding of pending Pods topic, for example: A new Pod has no assigned node despite healthy containers already running elsewhere and the team must identify the scheduling component. The actual scenario is: A stateless web service must gradually use a new container image without deleting every instance at once. The relevant mechanism is that a Deployment manages ReplicaSets and applies declared revisions for stateless Pods, enabling gradual updates and rollback support. The matching implementation is to create or update a Deployment with the approved image, replicas, and rolling-update strategy, then check rollout status. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 583

Microservices rely on stable service names and the team must identify the component resolving those names inside Pods.

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

  1. Hard-coding Pod IPs or overlooking CoreDNS failures can break service discovery after otherwise healthy Pod replacements
  2. A missing or broken Pod networking implementation can strand application traffic while node health and container startup appear normal
  3. Exposing a node or external load balancer for an internal-only workload unnecessarily expands its reachable surface
  4. Writing an Ingress object without a controller does not create the routing implementation and can leave applications unreachable

Explanation

Correct Answer

A:

Hard-coding Pod IPs or overlooking CoreDNS failures can break service discovery after otherwise healthy Pod replacements. This failure path follows the case as described: Microservices rely on stable service names and the team must identify the component resolving those names inside Pods. The appropriate corrective decision is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. Kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. The control should be accepted only when a DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint. 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:

A missing or broken Pod networking implementation can strand application traffic while node health and container startup appear normal. This is a plausible risk for the different CNI Pod-to-Pod networking scenario, for example: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. However, the presented case concerns: Microservices rely on stable service names and the team must identify the component resolving those names inside Pods. The more direct risk is that hard-coding Pod IPs or overlooking CoreDNS failures can break service discovery after otherwise healthy Pod replacements. The relevant mitigation is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. 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:

Exposing a node or external load balancer for an internal-only workload unnecessarily expands its reachable surface. This is a plausible risk for the different ClusterIP service for private east-west access scenario, for example: A backend API should accept traffic only through an internal Kubernetes virtual Service address and not via a public load balancer. However, the presented case concerns: Microservices rely on stable service names and the team must identify the component resolving those names inside Pods. The more direct risk is that hard-coding Pod IPs or overlooking CoreDNS failures can break service discovery after otherwise healthy Pod replacements. The relevant mitigation is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. 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:

Writing an Ingress object without a controller does not create the routing implementation and can leave applications unreachable. This is a plausible risk for the different Ingress or Gateway for HTTP routing scenario, for example: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. However, the presented case concerns: Microservices rely on stable service names and the team must identify the component resolving those names inside Pods. The more direct risk is that hard-coding Pod IPs or overlooking CoreDNS failures can break service discovery after otherwise healthy Pod replacements. The relevant mitigation is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. 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 584

Developers embedded a non-sensitive endpoint configuration into a container image and now need easy environment-specific tuning.

Which implementation approach best matches the stated constraint?

  1. Create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files
  2. Apply a namespace ResourceQuota with appropriate compute and object limits, then monitor admission events for exceeded requests
  3. Store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows
  4. Inspect the current kubeconfig context and explicit namespace, selecting the intended cluster before issuing a mutating kubectl command

Explanation

Correct Answer

A:

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: Developers embedded a non-sensitive endpoint configuration into a container image and now need easy environment-specific tuning. 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

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: Developers embedded a non-sensitive endpoint configuration into a container image and now need easy environment-specific tuning. 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 the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. That action is sensible for the separate declarative manifests and kubectl apply problem, for example: A team needs repeatable configuration for Kubernetes Deployments without relying on screenshots or ad hoc shell history. This scenario instead describes: Developers embedded a non-sensitive endpoint configuration into a container image and now need easy environment-specific tuning. 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.

D:

Inspect the current kubeconfig context and explicit namespace, selecting the intended cluster before issuing a mutating kubectl command. That action is sensible for the separate kubectl context and active cluster selection problem, for example: A developer has access to a test cluster and production cluster and must confirm the target before applying a manifest. This scenario instead describes: Developers embedded a non-sensitive endpoint configuration into a container image and now need easy environment-specific tuning. 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 585

Developers embedded a non-sensitive endpoint configuration into a container image and now need easy environment-specific tuning.

What technical distinction should guide the decision?

  1. Declarative configuration describes intended object state and Kubernetes reconciliation drives actual resources toward that specification
  2. Cordon marks a node unschedulable; drain safely evicts compatible managed Pods so their controllers can place replacements elsewhere
  3. A ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes
  4. Kubernetes Secrets provide a dedicated API type for sensitive values, but base64 is encoding rather than encryption and access controls remain essential

Explanation

Correct Answer

C:

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: Developers embedded a non-sensitive endpoint configuration into a container image and now need easy environment-specific tuning. 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:

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: Developers embedded a non-sensitive endpoint configuration into a container image and now need easy environment-specific tuning. 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.

B:

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: Developers embedded a non-sensitive endpoint configuration into a container image and now need easy environment-specific tuning. 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:

Kubernetes Secrets provide a dedicated API type for sensitive values, but base64 is encoding rather than encryption and access controls remain essential. This explanation belongs to the nearby Secret as API object for sensitive application values topic, for example: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. The actual scenario is: Developers embedded a non-sensitive endpoint configuration into a container image and now need easy environment-specific tuning. 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 586

An application has two containers that must be scheduled together and communicate through the same network namespace.

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

  1. Deploying tightly coupled containers into unrelated Pods breaks assumptions about shared localhost and coordinated placement
  2. Treating Namespaces as separate physical clusters can hide shared failure domains and omit required access or network isolation
  3. Healthy API and scheduler services do not guarantee container startup if the assigned node's kubelet cannot operate
  4. Bypassing or losing the API-server control path leaves cluster changes unvalidated or unavailable despite working node-level processes

Explanation

Correct Answer

A:

Deploying tightly coupled containers into unrelated Pods breaks assumptions about shared localhost and coordinated placement. This failure path follows the case as described: An application has two containers that must be scheduled together and communicate through the same network namespace. The appropriate corrective decision 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. The control should be accepted only when both containers start on the same node and communicate over localhost while the shared volume contains the expected data. 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:

Treating Namespaces as separate physical clusters can hide shared failure domains and omit required access or network isolation. This is a plausible risk for the different Namespace namespaced scope versus cluster scope scenario, for example: Two departments want identically named application Deployments without colliding in a shared multi-team Kubernetes cluster. However, the presented case concerns: An application has two containers that must be scheduled together and communicate through the same network namespace. The more direct risk is that deploying tightly coupled containers into unrelated Pods breaks assumptions about shared localhost and coordinated placement. The relevant mitigation is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. 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:

Healthy API and scheduler services do not guarantee container startup if the assigned node's kubelet cannot operate. This is a plausible risk for the different kubelet worker-node agent scenario, for example: A worker is registered but is not starting its assigned containers, so platform staff must inspect the node-local component. However, the presented case concerns: An application has two containers that must be scheduled together and communicate through the same network namespace. The more direct risk is that deploying tightly coupled containers into unrelated Pods breaks assumptions about shared localhost and coordinated placement. The relevant mitigation is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. 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:

Bypassing or losing the API-server control path leaves cluster changes unvalidated or unavailable despite working node-level processes. This is a plausible risk for the different API server as Kubernetes control-plane entry scenario, for example: An engineer wants all workload updates to pass through one authenticated Kubernetes control-plane endpoint before any resource state changes. However, the presented case concerns: An application has two containers that must be scheduled together and communicate through the same network namespace. The more direct risk is that deploying tightly coupled containers into unrelated Pods breaks assumptions about shared localhost and coordinated placement. The relevant mitigation is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. 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 587

A team wants a stable discovery name for a set of backend replicas without directly tracking every Pod replacement.

Which architectural behavior is decisive in this example?

  1. Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions
  2. Namespaces provide naming and policy scope for many resources inside one cluster, but nodes and several infrastructure objects remain cluster-scoped
  3. Kubernetes controllers continuously compare observed objects with desired specifications and create or update resources to close the difference
  4. Services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates

Explanation

Correct Answer

D:

Services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates. This component or control behavior explains what matters in the case: A team wants a stable discovery name for a set of backend replicas without directly tracking every Pod replacement. The corresponding operational decision is to define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name. The expected evidence is that a client resolves the Service DNS name and reaches a healthy selected backend before and after a controlled Pod replacement. If the requirement is misunderstood, hard-coding individual Pod IPs makes applications brittle when replicas restart, reschedule, or change during an update. 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:

Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions. This explanation belongs to the nearby Labels and selectors for workload membership topic, for example: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. The actual scenario is: A team wants a stable discovery name for a set of backend replicas without directly tracking every Pod replacement. The relevant mechanism is that services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates. The matching implementation is to define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Namespaces provide naming and policy scope for many resources inside one cluster, but nodes and several infrastructure objects remain cluster-scoped. This explanation belongs to the nearby Namespace namespaced scope versus cluster scope topic, for example: Two departments want identically named application Deployments without colliding in a shared multi-team Kubernetes cluster. The actual scenario is: A team wants a stable discovery name for a set of backend replicas without directly tracking every Pod replacement. The relevant mechanism is that services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates. The matching implementation is to define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Kubernetes controllers continuously compare observed objects with desired specifications and create or update resources to close the difference. This explanation belongs to the nearby controller-manager desired-state reconciliation topic, for example: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. The actual scenario is: A team wants a stable discovery name for a set of backend replicas without directly tracking every Pod replacement. The relevant mechanism is that services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates. The matching implementation is to define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 588

Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy.

What should the platform team prioritize for this case?

  1. Install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths
  2. Configure a supported Ingress or Gateway API route with a working controller and appropriate TLS and backend Service references
  3. Create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod
  4. Inspect Service selectors and EndpointSlices, correct label matches, and ensure backends satisfy readiness requirements

Explanation

Correct Answer

A:

Install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. This action directly addresses the described situation: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. A CNI implementation configures Pod network interfaces and addresses; it enables the cluster's chosen network connectivity model across nodes. To distinguish a correct change from an unverified configuration, check that two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy. The relevant failure concern is that a missing or broken Pod networking implementation can strand application traffic while node health and container startup appear normal. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

B:

Configure a supported Ingress or Gateway API route with a working controller and appropriate TLS and backend Service references. That action is sensible for the separate Ingress or Gateway for HTTP routing problem, for example: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. This scenario instead describes: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The more direct corrective action is to install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. A CNI implementation configures Pod network interfaces and addresses; it enables the cluster's chosen network connectivity model across nodes. 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 ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. That action is sensible for the separate ClusterIP service for private east-west access problem, for example: A backend API should accept traffic only through an internal Kubernetes virtual Service address and not via a public load balancer. This scenario instead describes: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The more direct corrective action is to install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. A CNI implementation configures Pod network interfaces and addresses; it enables the cluster's chosen network connectivity model across nodes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Inspect Service selectors and EndpointSlices, correct label matches, and ensure backends satisfy readiness requirements. That action is sensible for the separate Service endpoints reflect matching Ready Pods problem, for example: A Service resolves in DNS but returns no application responses because its selector does not match any Ready Pods. This scenario instead describes: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The more direct corrective action is to install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. A CNI implementation configures Pod network interfaces and addresses; it enables the cluster's chosen network connectivity model across nodes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 589

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

Which measured or visible outcome should close the implementation check?

  1. Production deployment follows the documented approval policy while build and test automation still produce a verified artifact
  2. A reviewed commit changes a workload predictably, and an unauthorized live drift is detected or reverted by the controller
  3. Observed error rates and service metrics for the canary remain within thresholds before the traffic percentage increases
  4. The rendered production overlay has only the intended differences and still preserves stable shared labels and Service selectors

Explanation

Correct Answer

D:

The rendered production overlay has only the intended differences and still preserves stable shared labels and Service selectors. This result checks the exact operational requirement in the scenario: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. It should be obtained after the team takes the step to use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set. Kustomize transforms source manifests using overlays and patches without requiring application-level template syntax. The acceptance evidence must guard against the failure in which maintaining full independent manifest forks can create unnoticed configuration drift as common settings evolve. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

Production deployment follows the documented approval policy while build and test automation still produce a verified artifact. This would provide useful evidence for a different continuous delivery versus continuous deployment situation such as: A business requires a human approval gate before promoting an otherwise fully tested container image to production. That is not the specific requirement here: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. The directly matching evidence is that the rendered production overlay has only the intended differences and still preserves stable shared labels and Service selectors. The associated implementation is to use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

A reviewed commit changes a workload predictably, and an unauthorized live drift is detected or reverted by the controller. This would provide useful evidence for a different GitOps desired-state reconciliation situation such as: Operators want Kubernetes production configuration changes to be audited through reviewed Git commits instead of manual kubectl edits. That is not the specific requirement here: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. The directly matching evidence is that the rendered production overlay has only the intended differences and still preserves stable shared labels and Service selectors. The associated implementation is to use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

Observed error rates and service metrics for the canary remain within thresholds before the traffic percentage increases. This would provide useful evidence for a different canary release with measured traffic situation such as: A team wants to expose only a small share of requests to a new version before broad production rollout. That is not the specific requirement here: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. The directly matching evidence is that the rendered production overlay has only the intended differences and still preserves stable shared labels and Service selectors. The associated implementation is to use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

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.

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