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 26

Question 250

The platform team needs to group Pods by intended application and revision without encoding those categories into resource names.

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

  1. After deleting one test-managed Pod, the controller restores the specified number of matching replicas without manual recreation
  2. A selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods
  3. Both containers start on the same node and communicate over localhost while the shared volume contains the expected data
  4. A read of the intended resource through the API returns the newly accepted specification and a valid authenticated response

Explanation

Correct Answer

B:

A selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. This result checks the exact operational requirement in the scenario: The platform team needs to group Pods by intended application and revision without encoding those categories into resource names. It should be obtained after the team takes the step to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions. The acceptance evidence must guard against the failure in which broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

After deleting one test-managed Pod, the controller restores the specified number of matching replicas without manual recreation. This would provide useful evidence for a different controller-manager desired-state reconciliation situation such as: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. That is not the specific requirement here: The platform team needs to group Pods by intended application and revision without encoding those categories into resource names. The directly matching evidence is that a selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. The associated implementation is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

Both containers start on the same node and communicate over localhost while the shared volume contains the expected data. This would provide useful evidence for a different Pod as smallest deployable scheduling unit situation such as: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. That is not the specific requirement here: The platform team needs to group Pods by intended application and revision without encoding those categories into resource names. The directly matching evidence is that a selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. The associated implementation is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

A read of the intended resource through the API returns the newly accepted specification and a valid authenticated response. This would provide useful evidence for a different API server as Kubernetes control-plane entry situation such as: An engineer wants all workload updates to pass through one authenticated Kubernetes control-plane endpoint before any resource state changes. That is not the specific requirement here: The platform team needs to group Pods by intended application and revision without encoding those categories into resource names. The directly matching evidence is that a selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. The associated implementation is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 251

Teams need consistent service-to-service authentication and traffic policies across microservices, not just external HTTP routing.

Which operational observation most convincingly validates the fix?

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

Explanation

Correct Answer

C:

A controlled service-to-service request follows the required identity and policy rules while permitted external ingress still works. This result checks the exact operational requirement in the scenario: Teams need consistent service-to-service authentication and traffic policies across microservices, not just external HTTP routing. It should be obtained after the team takes the step to evaluate a supported service mesh or equivalent workload-identity and east-west traffic policy mechanism while keeping ingress routing separate. A service mesh manages selected service-to-service traffic policies, telemetry, and identities, while Ingress or Gateway resources primarily expose routed entry traffic. The acceptance evidence must guard against the failure in which confusing ingress with a mesh can leave internal service identities and east-west controls unmanaged. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

A controlled load change adjusts replicas within policy and the same workload manifest deploys consistently across eligible clusters. This would provide useful evidence for a different cloud-native elasticity and declarative infrastructure situation such as: A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM. That is not the specific requirement here: Teams need consistent service-to-service authentication and traffic policies across microservices, not just external HTTP routing. The directly matching evidence is that a controlled service-to-service request follows the required identity and policy rules while permitted external ingress still works. The associated implementation is to evaluate a supported service mesh or equivalent workload-identity and east-west traffic policy mechanism while keeping ingress routing separate. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

Each service can be deployed independently while a controlled dependency failure follows documented timeout and fallback behavior. This would provide useful evidence for a different microservices boundaries and reliability tradeoffs situation such as: A monolithic application is being split into independently released services and must account for network calls and failure isolation. That is not the specific requirement here: Teams need consistent service-to-service authentication and traffic policies across microservices, not just external HTTP routing. The directly matching evidence is that a controlled service-to-service request follows the required identity and policy rules while permitted external ingress still works. The associated implementation is to evaluate a supported service mesh or equivalent workload-identity and east-west traffic policy mechanism while keeping ingress routing separate. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

An architecture decision correctly identifies Kubernetes for orchestration, Prometheus for metrics, and Envoy for proxying where each is appropriate. This would provide useful evidence for a different CNCF landscape and projects by function situation such as: An engineer must choose an observability component and confuses metrics projects with tools for service routing or image packaging. That is not the specific requirement here: Teams need consistent service-to-service authentication and traffic policies across microservices, not just external HTTP routing. The directly matching evidence is that a controlled service-to-service request follows the required identity and policy rules while permitted external ingress still works. The associated implementation is to evaluate a supported service mesh or equivalent workload-identity and east-west traffic policy mechanism while keeping ingress routing separate. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 252

Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path.

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

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

Explanation

Correct Answer

A:

Writing an Ingress object without a controller does not create the routing implementation and can leave applications unreachable. This failure path follows the case as described: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. The appropriate corrective decision is to configure a supported Ingress or Gateway API route with a working controller and appropriate TLS and backend Service references. Ingress or Gateway resources express Layer 7 routing intent; a compatible controller or implementation is required to program real traffic. The control should be accepted only when requests for each approved host and path reach the correct Service over the intended TLS termination and return expected responses. 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:

Hard-coding Pod IPs or overlooking CoreDNS failures can break service discovery after otherwise healthy Pod replacements. This is a plausible risk for the different Cluster DNS service discovery scenario, for example: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. However, the presented case concerns: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. The more direct risk is that writing an Ingress object without a controller does not create the routing implementation and can leave applications unreachable. The relevant mitigation is to configure a supported Ingress or Gateway API route with a working controller and appropriate TLS and backend Service references. 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:

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: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. The more direct risk is that writing an Ingress object without a controller does not create the routing implementation and can leave applications unreachable. The relevant mitigation is to configure a supported Ingress or Gateway API route with a working controller and appropriate TLS and backend Service references. 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:

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: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. The more direct risk is that writing an Ingress object without a controller does not create the routing implementation and can leave applications unreachable. The relevant mitigation is to configure a supported Ingress or Gateway API route with a working controller and appropriate TLS and backend Service references. 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 253

Developers are mounting a human administrator's kubeconfig into Pods instead of using workload-scoped credentials.

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

  1. Overly broad cluster permissions give a compromised automation credential access far beyond its operational task
  2. Embedding a human admin credential in a Pod allows its compromise to expose excessive cluster control privileges
  3. Assuming RBAC alone filters network packets or defining an unenforced policy leaves lateral network paths open
  4. Treating base64 encoding as encryption or allowing broad Secret read permissions creates a path to credential disclosure

Explanation

Correct Answer

B:

Embedding a human admin credential in a Pod allows its compromise to expose excessive cluster control privileges. This failure path follows the case as described: Developers are mounting a human administrator's kubeconfig into Pods instead of using workload-scoped credentials. The appropriate corrective decision is to assign a dedicated ServiceAccount and appropriate minimal RBAC to the Pod rather than reuse a human user's privileged access. ServiceAccounts provide workload identities for authenticating to the Kubernetes API, subject to configured token mounting and authorizations. The control should be accepted only when aPI calls from the Pod are attributed to its dedicated ServiceAccount and succeed only for the explicitly allowed operations. 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:

Overly broad cluster permissions give a compromised automation credential access far beyond its operational task. This is a plausible risk for the different RBAC least privilege for namespace users scenario, for example: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. However, the presented case concerns: Developers are mounting a human administrator's kubeconfig into Pods instead of using workload-scoped credentials. The more direct risk is that embedding a human admin credential in a Pod allows its compromise to expose excessive cluster control privileges. The relevant mitigation is to assign a dedicated ServiceAccount and appropriate minimal RBAC to the Pod rather than reuse a human user's privileged access. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

C:

Assuming RBAC alone filters network packets or defining an unenforced policy leaves lateral network paths open. This is a plausible risk for the different NetworkPolicy isolation for east-west traffic scenario, for example: A database Pod should receive TCP connections from its approved API Pods but not from arbitrary Pods in other namespaces. However, the presented case concerns: Developers are mounting a human administrator's kubeconfig into Pods instead of using workload-scoped credentials. The more direct risk is that embedding a human admin credential in a Pod allows its compromise to expose excessive cluster control privileges. The relevant mitigation is to assign a dedicated ServiceAccount and appropriate minimal RBAC to the Pod rather than reuse a human user's privileged access. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

D:

Treating base64 encoding as encryption or allowing broad Secret read permissions creates a path to credential disclosure. This is a plausible risk for the different secret encryption and API access controls scenario, for example: An operator believes Kubernetes Secret values are encrypted at rest solely because YAML displays them in base64. However, the presented case concerns: Developers are mounting a human administrator's kubeconfig into Pods instead of using workload-scoped credentials. The more direct risk is that embedding a human admin credential in a Pod allows its compromise to expose excessive cluster control privileges. The relevant mitigation is to assign a dedicated ServiceAccount and appropriate minimal RBAC to the Pod rather than reuse a human user's privileged access. 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 254

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

Which measured or visible outcome should close the implementation check?

  1. Two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy
  2. The EndpointSlice contains expected ready addresses and client requests through the Service reach the intended application replicas
  3. Requests for each approved host and path reach the correct Service over the intended TLS termination and return expected responses
  4. A test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created

Explanation

Correct Answer

A:

Two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy. This result checks the exact operational requirement in the scenario: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. It should be obtained after the team takes the step 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. The acceptance evidence must guard against the failure in which a missing or broken Pod networking implementation can strand application traffic while node health and container startup appear normal. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

B:

The EndpointSlice contains expected ready addresses and client requests through the Service reach the intended application replicas. This would provide useful evidence for a different Service endpoints reflect matching Ready Pods situation such as: A Service resolves in DNS but returns no application responses because its selector does not match any Ready Pods. That is not the specific requirement here: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The directly matching evidence is that two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy. The associated implementation is to install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

Requests for each approved host and path reach the correct Service over the intended TLS termination and return expected responses. This would provide useful evidence for a different Ingress or Gateway for HTTP routing situation such as: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. That is not the specific requirement here: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The directly matching evidence is that two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy. The associated implementation is to install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

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: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The directly matching evidence is that two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy. The associated implementation is to install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 255

An operator believes Kubernetes Secret values are encrypted at rest solely because YAML displays them in base64.

What would be the most suitable first corrective action?

  1. Enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling
  2. Create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions
  3. Scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported
  4. Assign a dedicated ServiceAccount and appropriate minimal RBAC to the Pod rather than reuse a human user's privileged access

Explanation

Correct Answer

A:

Enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. This action directly addresses the described situation: An operator believes Kubernetes Secret values are encrypted at rest solely because YAML displays them in base64. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. To distinguish a correct change from an unverified configuration, check that authorized workloads retrieve required values while nonprivileged identities cannot read them and storage encryption is validated. The relevant failure concern is that treating base64 encoding as encryption or allowing broad Secret read permissions creates a path to credential disclosure. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

B:

Create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. That action is sensible for the separate RBAC least privilege for namespace users problem, for example: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. This scenario instead describes: An operator believes Kubernetes Secret values are encrypted at rest solely because YAML displays them in base64. The more direct corrective action is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. That action is sensible for the separate container image trust and vulnerability remediation problem, for example: An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges. This scenario instead describes: An operator believes Kubernetes Secret values are encrypted at rest solely because YAML displays them in base64. The more direct corrective action is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Assign a dedicated ServiceAccount and appropriate minimal RBAC to the Pod rather than reuse a human user's privileged access. That action is sensible for the separate ServiceAccount identity for workloads problem, for example: An in-cluster controller requires permission to read a limited group of Kubernetes resources using its own identity. This scenario instead describes: An operator believes Kubernetes Secret values are encrypted at rest solely because YAML displays them in base64. The more direct corrective action is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 256

A deployment's live replica count was changed out of band and the team wants a controller to restore the approved repository state.

What is the likely impact of retaining this faulty assumption?

  1. Promoting an unobserved release to all users can magnify defects that a controlled canary would have detected
  2. Untracked direct cluster edits undermine reproducibility and may be overwritten when automated reconciliation resumes
  3. An overly aggressive rollout without readiness control can temporarily remove all usable backend Pods
  4. Skipping consistent build and test gates allows unreviewed or irreproducible artifacts to reach application environments

Explanation

Correct Answer

B:

Untracked direct cluster edits undermine reproducibility and may be overwritten when automated reconciliation resumes. This failure path follows the case as described: A deployment's live replica count was changed out of band and the team wants a controller to restore the approved repository state. The appropriate corrective decision is to manage desired Kubernetes manifests in Git and use a GitOps controller to reconcile the cluster from approved repository revisions. GitOps uses version-controlled declarative desired state and automated reconciliation to detect and correct divergence from source. The control should be accepted only when a reviewed commit changes a workload predictably, and an unauthorized live drift is detected or reverted by the controller. 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:

Promoting an unobserved release to all users can magnify defects that a controlled canary would have detected. This is a plausible risk for the different canary release with measured traffic scenario, for example: A team wants to expose only a small share of requests to a new version before broad production rollout. However, the presented case concerns: A deployment's live replica count was changed out of band and the team wants a controller to restore the approved repository state. The more direct risk is that untracked direct cluster edits undermine reproducibility and may be overwritten when automated reconciliation resumes. The relevant mitigation is to manage desired Kubernetes manifests in Git and use a GitOps controller to reconcile the cluster from approved repository revisions. 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:

An overly aggressive rollout without readiness control can temporarily remove all usable backend Pods. This is a plausible risk for the different rolling update strategy and maxUnavailable scenario, for example: An HTTP Deployment must move gradually to a new image while limiting unavailable replicas during the transition. However, the presented case concerns: A deployment's live replica count was changed out of band and the team wants a controller to restore the approved repository state. The more direct risk is that untracked direct cluster edits undermine reproducibility and may be overwritten when automated reconciliation resumes. The relevant mitigation is to manage desired Kubernetes manifests in Git and use a GitOps controller to reconcile the cluster from approved repository revisions. 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:

Skipping consistent build and test gates allows unreviewed or irreproducible artifacts to reach application environments. This is a plausible risk for the different CI build test and artifact promotion scenario, for example: A product team commits a code change and needs automated unit tests and an approved image before deployment. However, the presented case concerns: A deployment's live replica count was changed out of band and the team wants a controller to restore the approved repository state. The more direct risk is that untracked direct cluster edits undermine reproducibility and may be overwritten when automated reconciliation resumes. The relevant mitigation is to manage desired Kubernetes manifests in Git and use a GitOps controller to reconcile the cluster from approved repository revisions. 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 257

A Pod remains Pending with no container logs because it was never assigned to a worker node.

Which risk belongs in the change assessment?

  1. Without namespace-level limits, one tenant can exhaust shared capacity and interfere with other teams' deployments
  2. Using only application logs misses failures that occur before container creation and delays basic cluster diagnosis
  3. Using a stale context can modify a production resource while the operator believes the command targets a safe staging environment
  4. Rebooting without workload evacuation can interrupt user traffic or violate disruption constraints

Explanation

Correct Answer

B:

Using only application logs misses failures that occur before container creation and delays basic cluster diagnosis. This failure path follows the case as described: A Pod remains Pending with no container logs because it was never assigned to a worker node. The appropriate corrective decision is to inspect kubectl describe pod output and namespace events to identify scheduling or admission failures before looking for container logs. Describe and events expose Pod conditions, scheduling decisions, and admission messages even when no application container has started. The control should be accepted only when the event stream identifies a concrete Pending cause and subsequent remediation allows a successful node assignment. Risk statements should identify the affected workload or trust boundary, rather than generically claiming that every Kubernetes misconfiguration causes the same outage.

Incorrect Answers

A:

Without namespace-level limits, one tenant can exhaust shared capacity and interfere with other teams' deployments. This is a plausible risk for the different ResourceQuota per Namespace scenario, for example: One team's runaway batch Pods consume a disproportionate number of objects and resources in a shared cluster. However, the presented case concerns: A Pod remains Pending with no container logs because it was never assigned to a worker node. The more direct risk is that using only application logs misses failures that occur before container creation and delays basic cluster diagnosis. The relevant mitigation is to inspect kubectl describe pod output and namespace events to identify scheduling or admission failures before looking for container logs. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

C:

Using a stale context can modify a production resource while the operator believes the command targets a safe staging environment. This is a plausible risk for the different kubectl context and active cluster selection scenario, for example: A developer has access to a test cluster and production cluster and must confirm the target before applying a manifest. However, the presented case concerns: A Pod remains Pending with no container logs because it was never assigned to a worker node. The more direct risk is that using only application logs misses failures that occur before container creation and delays basic cluster diagnosis. The relevant mitigation is to inspect kubectl describe pod output and namespace events to identify scheduling or admission failures before looking for container logs. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

D:

Rebooting without workload evacuation can interrupt user traffic or violate disruption constraints. This is a plausible risk for the different cordon drain and node maintenance scenario, for example: A worker needs a scheduled operating-system patch while running applications should move to healthy nodes. However, the presented case concerns: A Pod remains Pending with no container logs because it was never assigned to a worker node. The more direct risk is that using only application logs misses failures that occur before container creation and delays basic cluster diagnosis. The relevant mitigation is to inspect kubectl describe pod output and namespace events to identify scheduling or admission failures before looking for container logs. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

Question 258

A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible.

What component behavior is most important in this situation?

  1. Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload
  2. Pod anti-affinity can discourage or forbid placement near other Pods matching a label within a topology domain
  3. Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels
  4. The scheduler uses resource requests and node allocatable capacity to determine feasibility, while CPU limits bound runtime consumption

Explanation

Correct Answer

C:

Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. This component or control behavior explains what matters in the case: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The corresponding operational decision is to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. The expected evidence is that the scheduled Pod shares the intended topology domain with a matching target while satisfying resource and policy constraints. If the requirement is misunderstood, incorrect required affinity can leave the Pod Pending when matching partner Pods are absent or unschedulable. The distinction matters because cloud-native controls are specific to layers, resource lifecycles, and declared ownership; similar-sounding features are not always substitutes.

Incorrect Answers

A:

Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload. This explanation belongs to the nearby PriorityClass and preemption under contention topic, for example: A high-priority control workload needs preference over expendable batch jobs during sustained node resource pressure. The actual scenario is: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The relevant mechanism is that pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. The matching implementation is to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Pod anti-affinity can discourage or forbid placement near other Pods matching a label within a topology domain. This explanation belongs to the nearby pod anti-affinity for failure separation topic, for example: Three identical replicas should avoid sharing one worker so a single-node failure does not remove every replica. The actual scenario is: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The relevant mechanism is that pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. The matching implementation is to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

The scheduler uses resource requests and node allocatable capacity to determine feasibility, while CPU limits bound runtime consumption. This explanation belongs to the nearby CPU requests influence scheduling feasibility topic, for example: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. The actual scenario is: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The relevant mechanism is that pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. The matching implementation is to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 259

Operators need a workload resource that owns ReplicaSets and supports declarative revision history for a scalable stateless app.

Which operational observation most convincingly validates the fix?

  1. A selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods
  2. After deleting one test-managed Pod, the controller restores the specified number of matching replicas without manual recreation
  3. A read of the intended resource through the API returns the newly accepted specification and a valid authenticated response
  4. Deployment rollout status reports the desired updated replicas available while the prior ReplicaSet transitions to its historical revision

Explanation

Correct Answer

D:

Deployment rollout status reports the desired updated replicas available while the prior ReplicaSet transitions to its historical revision. This result checks the exact operational requirement in the scenario: Operators need a workload resource that owns ReplicaSets and supports declarative revision history for a scalable stateless app. It should be obtained after the team takes the step to create or update a Deployment with the approved image, replicas, and rolling-update strategy, then check rollout status. A Deployment manages ReplicaSets and applies declared revisions for stateless Pods, enabling gradual updates and rollback support. The acceptance evidence must guard against the failure in which editing individual running Pod images circumvents controller-managed revisions and can be undone by reconciliation. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

A selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. This would provide useful evidence for a different Labels and selectors for workload membership situation such as: A Service unexpectedly targets staging Pods because application labels were reused across environments in one Namespace. That is not the specific requirement here: Operators need a workload resource that owns ReplicaSets and supports declarative revision history for a scalable stateless app. The directly matching evidence is that deployment rollout status reports the desired updated replicas available while the prior ReplicaSet transitions to its historical revision. The associated implementation is to create or update a Deployment with the approved image, replicas, and rolling-update strategy, then check rollout status. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

After deleting one test-managed Pod, the controller restores the specified number of matching replicas without manual recreation. This would provide useful evidence for a different controller-manager desired-state reconciliation situation such as: A manually deleted ReplicaSet Pod reappears and an engineer needs to identify what restored the intended replica count. That is not the specific requirement here: Operators need a workload resource that owns ReplicaSets and supports declarative revision history for a scalable stateless app. The directly matching evidence is that deployment rollout status reports the desired updated replicas available while the prior ReplicaSet transitions to its historical revision. The associated implementation is to create or update a Deployment with the approved image, replicas, and rolling-update strategy, then check rollout status. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

A read of the intended resource through the API returns the newly accepted specification and a valid authenticated response. This would provide useful evidence for a different API server as Kubernetes control-plane entry situation such as: An engineer wants all workload updates to pass through one authenticated Kubernetes control-plane endpoint before any resource state changes. That is not the specific requirement here: Operators need a workload resource that owns ReplicaSets and supports declarative revision history for a scalable stateless app. The directly matching evidence is that deployment rollout status reports the desired updated replicas available while the prior ReplicaSet transitions to its historical revision. The associated implementation is to create or update a Deployment with the approved image, replicas, and rolling-update strategy, then check rollout status. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 260

Developers build images manually on laptops and have no consistent evidence that a release passed preproduction tests.

Which explanation best matches the observed cluster behavior?

  1. Helm charts render Kubernetes manifests from templates and values, reducing repetition while retaining explicit release configuration
  2. Continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact
  3. Kustomize transforms source manifests using overlays and patches without requiring application-level template syntax
  4. Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version

Explanation

Correct Answer

B:

Continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact. This component or control behavior explains what matters in the case: Developers build images manually on laptops and have no consistent evidence that a release passed preproduction tests. The corresponding operational decision is to define a CI pipeline that builds, tests, scans, and publishes a traceable immutable image before any deployment promotion. The expected evidence is that the pipeline records a passing test result and image digest matching the release that later appears in Kubernetes. If the requirement is misunderstood, skipping consistent build and test gates allows unreviewed or irreproducible artifacts to reach application environments. 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:

Helm charts render Kubernetes manifests from templates and values, reducing repetition while retaining explicit release configuration. This explanation belongs to the nearby Helm templating and values topic, for example: The same Kubernetes application chart must be installed in development and production with different replica counts and resources. The actual scenario is: Developers build images manually on laptops and have no consistent evidence that a release passed preproduction tests. The relevant mechanism is that continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact. The matching implementation is to define a CI pipeline that builds, tests, scans, and publishes a traceable immutable image before any deployment promotion. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Kustomize transforms source manifests using overlays and patches without requiring application-level template syntax. This explanation belongs to the nearby Kustomize overlays for environment variants topic, for example: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. The actual scenario is: Developers build images manually on laptops and have no consistent evidence that a release passed preproduction tests. The relevant mechanism is that continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact. The matching implementation is to define a CI pipeline that builds, tests, scans, and publishes a traceable immutable image before any deployment promotion. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version. This explanation belongs to the nearby canary release with measured traffic topic, for example: A team wants to expose only a small share of requests to a new version before broad production rollout. The actual scenario is: Developers build images manually on laptops and have no consistent evidence that a release passed preproduction tests. The relevant mechanism is that continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact. The matching implementation is to define a CI pipeline that builds, tests, scans, and publishes a traceable immutable image before any deployment promotion. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests

Purchase Individually

  • Premium File

    333 Questions & Answers
    Last Update: Oct 30, 2026

    $76.99
    $69.99
  • Training Course

    54 Lectures

    $43.99
    $39.99
  • Study Guide

    410 Pages

    $43.99
    $39.99

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

You save
10%

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

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

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

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

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

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