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 22

Question 210

Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call.

What acceptance test result provides the strongest evidence of success?

  1. The intended external client connects through the chosen Service type and the actual backend Pod receives the request
  2. Two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy
  3. A test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created
  4. A DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint

Explanation

Correct Answer

C:

A test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created. This result checks the exact operational requirement in the scenario: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. It should be obtained after the team takes the step to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. ClusterIP provides a stable cluster-internal virtual Service address that routes to eligible backend Pods without directly exposing a node port. The acceptance evidence must guard against the failure in which exposing a node or external load balancer for an internal-only workload unnecessarily expands its reachable surface. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

The intended external client connects through the chosen Service type and the actual backend Pod receives the request. This would provide useful evidence for a different NodePort versus LoadBalancer external access situation such as: A test environment must expose a simple TCP application through an explicitly allowed port on Kubernetes nodes. That is not the specific requirement here: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. The directly matching evidence is that a test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created. The associated implementation is to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

Two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy. This would provide useful evidence for a different CNI Pod-to-Pod networking situation such as: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. That is not the specific requirement here: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. The directly matching evidence is that a test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created. The associated implementation is to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

A DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint. This would provide useful evidence for a different Cluster DNS service discovery situation such as: A Pod can connect to a backend by IP but fails when using the Service name after a DNS configuration mistake. That is not the specific requirement here: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. The directly matching evidence is that a test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created. The associated implementation is to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 211

A team creates several independent Pods and expects Kubernetes to automatically replace each one if deleted later.

What verification would distinguish success from merely creating a resource?

  1. Three matching healthy Pods remain after a controlled single-Pod deletion and the owning ReplicaSet reports its desired count
  2. A client resolves the Service DNS name and reaches a healthy selected backend before and after a controlled Pod replacement
  3. A selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods
  4. The Pod receives an eligible node assignment and scheduling events show a normal selection rather than a permanent Pending state

Explanation

Correct Answer

A:

Three matching healthy Pods remain after a controlled single-Pod deletion and the owning ReplicaSet reports its desired count. This result checks the exact operational requirement in the scenario: A team creates several independent Pods and expects Kubernetes to automatically replace each one if deleted later. It should be obtained after the team takes the step to specify the desired replicas through a Deployment-managed ReplicaSet and inspect the current versus desired replica count. A ReplicaSet maintains a target count of matching Pods, usually under a Deployment that also manages revisions and updates. The acceptance evidence must guard against the failure in which using stand-alone Pods without an appropriate controller loses automatic replacement when the Pod object is removed. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

B:

A client resolves the Service DNS name and reaches a healthy selected backend before and after a controlled Pod replacement. This would provide useful evidence for a different Service stable identity across changing Pods situation such as: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. That is not the specific requirement here: A team creates several independent Pods and expects Kubernetes to automatically replace each one if deleted later. The directly matching evidence is that three matching healthy Pods remain after a controlled single-Pod deletion and the owning ReplicaSet reports its desired count. The associated implementation is to specify the desired replicas through a Deployment-managed ReplicaSet and inspect the current versus desired replica count. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

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: A team creates several independent Pods and expects Kubernetes to automatically replace each one if deleted later. The directly matching evidence is that three matching healthy Pods remain after a controlled single-Pod deletion and the owning ReplicaSet reports its desired count. The associated implementation is to specify the desired replicas through a Deployment-managed ReplicaSet and inspect the current versus desired replica count. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

The Pod receives an eligible node assignment and scheduling events show a normal selection rather than a permanent Pending state. This would provide useful evidence for a different scheduler binding of pending Pods situation such as: A new Pod has no assigned node despite healthy containers already running elsewhere and the team must identify the scheduling component. That is not the specific requirement here: A team creates several independent Pods and expects Kubernetes to automatically replace each one if deleted later. The directly matching evidence is that three matching healthy Pods remain after a controlled single-Pod deletion and the owning ReplicaSet reports its desired count. The associated implementation is to specify the desired replicas through a Deployment-managed ReplicaSet and inspect the current versus desired replica count. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 212

A developer finds a documentation bug in an open-source Kubernetes ecosystem project and wants a change reviewed transparently.

Which result most specifically confirms the intended Kubernetes behavior?

  1. Maintainers acknowledge a scoped private report and coordinate a remediation and advisory under the project security policy
  2. The decision record cites the correct current project status and independently verifies maintenance, security, and support needs
  3. The topic receives feedback or a published recommendation through the relevant open group with traceable community participation
  4. The proposed change has a reproducible issue reference, review feedback, and documented acceptance or revision in the upstream repository

Explanation

Correct Answer

D:

The proposed change has a reproducible issue reference, review feedback, and documented acceptance or revision in the upstream repository. This result checks the exact operational requirement in the scenario: A developer finds a documentation bug in an open-source Kubernetes ecosystem project and wants a change reviewed transparently. It should be obtained after the team takes the step to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. Open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority. The acceptance evidence must guard against the failure in which keeping fixes solely in an untracked private fork can create upgrade conflicts and prevent the wider community from benefiting. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

Maintainers acknowledge a scoped private report and coordinate a remediation and advisory under the project security policy. This would provide useful evidence for a different responsible vulnerability disclosure in open source situation such as: A contributor discovers a potentially exploitable issue in a CNCF-related project and wants maintainers to coordinate a fix. That is not the specific requirement here: A developer finds a documentation bug in an open-source Kubernetes ecosystem project and wants a change reviewed transparently. The directly matching evidence is that the proposed change has a reproducible issue reference, review feedback, and documented acceptance or revision in the upstream repository. The associated implementation is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

The decision record cites the correct current project status and independently verifies maintenance, security, and support needs. This would provide useful evidence for a different CNCF project maturity levels situation such as: A procurement review wants to distinguish CNCF Sandbox, Incubating, and Graduated project maturity claims. That is not the specific requirement here: A developer finds a documentation bug in an open-source Kubernetes ecosystem project and wants a change reviewed transparently. The directly matching evidence is that the proposed change has a reproducible issue reference, review feedback, and documented acceptance or revision in the upstream repository. The associated implementation is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

The topic receives feedback or a published recommendation through the relevant open group with traceable community participation. This would provide useful evidence for a different CNCF TAG and working group collaboration situation such as: An engineer wants to discuss a cross-project observability concern with the wider CNCF community rather than one vendor's private roadmap. That is not the specific requirement here: A developer finds a documentation bug in an open-source Kubernetes ecosystem project and wants a change reviewed transparently. The directly matching evidence is that the proposed change has a reproducible issue reference, review feedback, and documented acceptance or revision in the upstream repository. The associated implementation is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 213

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

Which measured or visible outcome should close the implementation check?

  1. The scheduled Pod shares the intended topology domain with a matching target while satisfying resource and policy constraints
  2. The Pod binds to a node with adequate requested CPU and does not remain Pending for insufficient capacity
  3. Critical workloads receive intended preference and any preemption events affect only eligible lower-priority Pods within policy
  4. All selected Pods run on nodes with the required label and incompatible nodes are excluded by scheduling evaluation

Explanation

Correct Answer

A:

The scheduled Pod shares the intended topology domain with a matching target while satisfying resource and policy constraints. This result checks the exact operational requirement in the scenario: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. It should be obtained after the team takes the step to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. The acceptance evidence must guard against the failure in which incorrect required affinity can leave the Pod Pending when matching partner Pods are absent or unschedulable. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

B:

The Pod binds to a node with adequate requested CPU and does not remain Pending for insufficient capacity. This would provide useful evidence for a different CPU requests influence scheduling feasibility situation such as: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. That is not the specific requirement here: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The directly matching evidence is that the scheduled Pod shares the intended topology domain with a matching target while satisfying resource and policy constraints. The associated implementation is to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

Critical workloads receive intended preference and any preemption events affect only eligible lower-priority Pods within policy. This would provide useful evidence for a different PriorityClass and preemption under contention situation such as: A high-priority control workload needs preference over expendable batch jobs during sustained node resource pressure. That is not the specific requirement here: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The directly matching evidence is that the scheduled Pod shares the intended topology domain with a matching target while satisfying resource and policy constraints. The associated implementation is to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

All selected Pods run on nodes with the required label and incompatible nodes are excluded by scheduling evaluation. This would provide useful evidence for a different node labels and node affinity situation such as: A latency-sensitive workload must run only on workers labeled for the intended hardware architecture. That is not the specific requirement here: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The directly matching evidence is that the scheduled Pod shares the intended topology domain with a matching target while satisfying resource and policy constraints. The associated implementation is to configure appropriate Pod affinity using the target Pod labels and topology key, distinguishing required and preferred placement. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 214

A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs.

Why does the relevant technology satisfy this specific requirement?

  1. Prometheus collects labeled numeric time-series metrics from configured targets, supporting queries for rates, trends, and thresholds
  2. Centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes
  3. Distributed tracing connects spans under a trace context, allowing latency and dependency analysis for a particular request path
  4. SLIs quantify service behavior, SLOs set reliability targets, and alerting can focus on sustained user-impacting deviations

Explanation

Correct Answer

B:

Centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. This component or control behavior explains what matters in the case: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The corresponding operational decision is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. The expected evidence is that a controlled log record appears centrally with correct Pod, Namespace, timestamp, and correlation fields after Pod replacement. If the requirement is misunderstood, relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. 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:

Prometheus collects labeled numeric time-series metrics from configured targets, supporting queries for rates, trends, and thresholds. This explanation belongs to the nearby Prometheus metrics and service monitoring topic, for example: A team wants time-series HTTP error rates, request counts, and CPU measurements from Kubernetes workloads. The actual scenario is: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The relevant mechanism is that centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. The matching implementation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Distributed tracing connects spans under a trace context, allowing latency and dependency analysis for a particular request path. This explanation belongs to the nearby OpenTelemetry distributed traces topic, for example: A single user request crosses three microservices and the team cannot tell which hop causes most latency. The actual scenario is: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The relevant mechanism is that centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. The matching implementation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

SLIs quantify service behavior, SLOs set reliability targets, and alerting can focus on sustained user-impacting deviations. This explanation belongs to the nearby SLIs SLOs and symptom-based alerts topic, for example: A service owner wants meaningful availability objectives instead of paging on every brief CPU utilization spike. The actual scenario is: A Pod was replaced after a crash and the team can no longer retrieve the earlier node-local application logs. The relevant mechanism is that centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. The matching implementation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 215

A team duplicates nearly identical YAML manifests across environments and struggles to keep shared Service templates consistent.

What verification would distinguish success from merely creating a resource?

  1. Production deployment follows the documented approval policy while build and test automation still produce a verified artifact
  2. Observed error rates and service metrics for the canary remain within thresholds before the traffic percentage increases
  3. The new image becomes available incrementally while user requests continue meeting the accepted availability target
  4. Rendered manifests show each environment's intended replica and resource settings and the Helm release matches the approved version

Explanation

Correct Answer

D:

Rendered manifests show each environment's intended replica and resource settings and the Helm release matches the approved version. This result checks the exact operational requirement in the scenario: A team duplicates nearly identical YAML manifests across environments and struggles to keep shared Service templates consistent. It should be obtained after the team takes the step to package the application as a Helm chart and provide reviewed values for environment-specific template settings. Helm charts render Kubernetes manifests from templates and values, reducing repetition while retaining explicit release configuration. The acceptance evidence must guard against the failure in which copying manifests without controlled values can produce inconsistent selectors, image references, and resource specifications. 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 team duplicates nearly identical YAML manifests across environments and struggles to keep shared Service templates consistent. The directly matching evidence is that rendered manifests show each environment's intended replica and resource settings and the Helm release matches the approved version. The associated implementation is to package the application as a Helm chart and provide reviewed values for environment-specific template settings. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

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 team duplicates nearly identical YAML manifests across environments and struggles to keep shared Service templates consistent. The directly matching evidence is that rendered manifests show each environment's intended replica and resource settings and the Helm release matches the approved version. The associated implementation is to package the application as a Helm chart and provide reviewed values for environment-specific template settings. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

The new image becomes available incrementally while user requests continue meeting the accepted availability target. This would provide useful evidence for a different rolling update strategy and maxUnavailable situation such as: An HTTP Deployment must move gradually to a new image while limiting unavailable replicas during the transition. That is not the specific requirement here: A team duplicates nearly identical YAML manifests across environments and struggles to keep shared Service templates consistent. The directly matching evidence is that rendered manifests show each environment's intended replica and resource settings and the Helm release matches the approved version. The associated implementation is to package the application as a Helm chart and provide reviewed values for environment-specific template settings. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 216

A console command unexpectedly changed resources in a different cluster because the local kubeconfig selected an old context.

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

  1. Store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods
  2. Inspect the current kubeconfig context and explicit namespace, selecting the intended cluster before issuing a mutating kubectl command
  3. Create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files
  4. Cordon the node to prevent new scheduling and drain supported workloads with disruption policies before planned maintenance

Explanation

Correct Answer

B:

Inspect the current kubeconfig context and explicit namespace, selecting the intended cluster before issuing a mutating kubectl command. This action directly addresses the described situation: A console command unexpectedly changed resources in a different cluster because the local kubeconfig selected an old context. A kubectl context associates cluster, user credentials, and a default namespace, so the same command can target different resources depending on context. To distinguish a correct change from an unverified configuration, check that kubectl config current-context and a read-only namespace query identify the approved cluster before the change. The relevant failure concern is that using a stale context can modify a production resource while the operator believes the command targets a safe staging environment. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. That action is sensible for the separate Secret as API object for sensitive application values problem, for example: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. This scenario instead describes: A console command unexpectedly changed resources in a different cluster because the local kubeconfig selected an old context. The more direct corrective action is to inspect the current kubeconfig context and explicit namespace, selecting the intended cluster before issuing a mutating kubectl command. A kubectl context associates cluster, user credentials, and a default namespace, so the same command can target different resources depending on context. 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 ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. That action is sensible for the separate ConfigMap for nonsecret settings problem, for example: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. This scenario instead describes: A console command unexpectedly changed resources in a different cluster because the local kubeconfig selected an old context. The more direct corrective action is to inspect the current kubeconfig context and explicit namespace, selecting the intended cluster before issuing a mutating kubectl command. A kubectl context associates cluster, user credentials, and a default namespace, so the same command can target different resources depending on context. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Cordon the node to prevent new scheduling and drain supported workloads with disruption policies before planned maintenance. That action is sensible for the separate cordon drain and node maintenance problem, for example: A worker needs a scheduled operating-system patch while running applications should move to healthy nodes. This scenario instead describes: A console command unexpectedly changed resources in a different cluster because the local kubeconfig selected an old context. The more direct corrective action is to inspect the current kubeconfig context and explicit namespace, selecting the intended cluster before issuing a mutating kubectl command. A kubectl context associates cluster, user credentials, and a default namespace, so the same command can target different resources depending on context. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 217

A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes.

What is the likely impact of retaining this faulty assumption?

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

Explanation

Correct Answer

B:

Using short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload. This failure path follows the case as described: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. The appropriate corrective decision is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. Startup probes give slow-starting applications time to initialize before liveness and readiness probes become active. The control should be accepted only when the application completes a representative cold start once and then transitions to normal readiness and liveness monitoring. 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:

Restarting and redeploying without collecting previous logs can erase useful context for the original failure. This is a plausible risk for the different kubectl logs and previous container output scenario, for example: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. However, the presented case concerns: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. The more direct risk is that using short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload. The relevant mitigation is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

C:

Without readiness validation, clients can receive failures from running Pods that are not yet able to serve traffic. This is a plausible risk for the different readiness probe excludes unhealthy Pods scenario, for example: An application process is running but cannot serve requests until a dependent database connection is established. However, the presented case concerns: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. The more direct risk is that using short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload. The relevant mitigation is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

D:

Deleting only faulty Pods recreates the same revision and can prolong regression instead of restoring a known-good template. This is a plausible risk for the different rollout revision history for regression recovery scenario, for example: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. However, the presented case concerns: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. The more direct risk is that using short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload. The relevant mitigation is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. 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 218

Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call.

Which architectural behavior is decisive in this example?

  1. A CNI implementation configures Pod network interfaces and addresses; it enables the cluster's chosen network connectivity model across nodes
  2. ClusterIP provides a stable cluster-internal virtual Service address that routes to eligible backend Pods without directly exposing a node port
  3. Ingress or Gateway resources express Layer 7 routing intent; a compatible controller or implementation is required to program real traffic
  4. A NodePort exposes a chosen port on eligible node addresses, while LoadBalancer asks a supported infrastructure integration for an external load balancer

Explanation

Correct Answer

B:

ClusterIP provides a stable cluster-internal virtual Service address that routes to eligible backend Pods without directly exposing a node port. This component or control behavior explains what matters in the case: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. The corresponding operational decision is to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. The expected evidence is that a test Pod inside the cluster reaches the backend by Service DNS name while no external ingress endpoint is created. If the requirement is misunderstood, exposing a node or external load balancer for an internal-only workload unnecessarily expands its reachable surface. The distinction matters because cloud-native controls are specific to layers, resource lifecycles, and declared ownership; similar-sounding features are not always substitutes.

Incorrect Answers

A:

A CNI implementation configures Pod network interfaces and addresses; it enables the cluster's chosen network connectivity model across nodes. This explanation belongs to the nearby CNI Pod-to-Pod networking topic, for example: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The actual scenario is: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. The relevant mechanism is that clusterIP provides a stable cluster-internal virtual Service address that routes to eligible backend Pods without directly exposing a node port. The matching implementation is to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Ingress or Gateway resources express Layer 7 routing intent; a compatible controller or implementation is required to program real traffic. This explanation belongs to the nearby Ingress or Gateway for HTTP routing topic, for example: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. The actual scenario is: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. The relevant mechanism is that clusterIP provides a stable cluster-internal virtual Service address that routes to eligible backend Pods without directly exposing a node port. The matching implementation is to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

A NodePort exposes a chosen port on eligible node addresses, while LoadBalancer asks a supported infrastructure integration for an external load balancer. This explanation belongs to the nearby NodePort versus LoadBalancer external access topic, for example: A test environment must expose a simple TCP application through an explicitly allowed port on Kubernetes nodes. The actual scenario is: Developers have several changing backend Pods and want an internal cluster endpoint for other Pods to call. The relevant mechanism is that clusterIP provides a stable cluster-internal virtual Service address that routes to eligible backend Pods without directly exposing a node port. The matching implementation is to create a ClusterIP Service with a correct selector and port mapping, then test connectivity from another authorized Pod. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 219

A database Pod should receive TCP connections from its approved API Pods but not from arbitrary Pods in other namespaces.

What component behavior is most important in this situation?

  1. NetworkPolicy defines permitted Pod ingress and egress traffic for selected Pods, but enforcement requires a network implementation supporting policies
  2. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management
  3. ServiceAccounts provide workload identities for authenticating to the Kubernetes API, subject to configured token mounting and authorizations
  4. Kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects

Explanation

Correct Answer

A:

NetworkPolicy defines permitted Pod ingress and egress traffic for selected Pods, but enforcement requires a network implementation supporting policies. This component or control behavior explains what matters in the case: A database Pod should receive TCP connections from its approved API Pods but not from arbitrary Pods in other namespaces. The corresponding operational decision is to apply an appropriate NetworkPolicy with correct Pod and Namespace selectors and verify that the selected CNI enforces it. The expected evidence is that connectivity tests succeed from explicitly allowed clients and fail from unrelated Pods while DNS and required egress continue. If the requirement is misunderstood, assuming RBAC alone filters network packets or defining an unenforced policy leaves lateral network paths open. The distinction matters because cloud-native controls are specific to layers, resource lifecycles, and declared ownership; similar-sounding features are not always substitutes.

Incorrect Answers

B:

Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. This explanation belongs to the nearby secret encryption and API access controls topic, for example: An operator believes Kubernetes Secret values are encrypted at rest solely because YAML displays them in base64. The actual scenario is: A database Pod should receive TCP connections from its approved API Pods but not from arbitrary Pods in other namespaces. The relevant mechanism is that networkPolicy defines permitted Pod ingress and egress traffic for selected Pods, but enforcement requires a network implementation supporting policies. The matching implementation is to apply an appropriate NetworkPolicy with correct Pod and Namespace selectors and verify that the selected CNI enforces it. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

ServiceAccounts provide workload identities for authenticating to the Kubernetes API, subject to configured token mounting and authorizations. This explanation belongs to the nearby ServiceAccount identity for workloads topic, for example: An in-cluster controller requires permission to read a limited group of Kubernetes resources using its own identity. The actual scenario is: A database Pod should receive TCP connections from its approved API Pods but not from arbitrary Pods in other namespaces. The relevant mechanism is that networkPolicy defines permitted Pod ingress and egress traffic for selected Pods, but enforcement requires a network implementation supporting policies. The matching implementation is to apply an appropriate NetworkPolicy with correct Pod and Namespace selectors and verify that the selected CNI enforces it. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects. This explanation belongs to the nearby RBAC least privilege for namespace users topic, for example: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. The actual scenario is: A database Pod should receive TCP connections from its approved API Pods but not from arbitrary Pods in other namespaces. The relevant mechanism is that networkPolicy defines permitted Pod ingress and egress traffic for selected Pods, but enforcement requires a network implementation supporting policies. The matching implementation is to apply an appropriate NetworkPolicy with correct Pod and Namespace selectors and verify that the selected CNI enforces it. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 220

A team wants to expose only a small share of requests to a new version before broad production rollout.

Which configuration decision should the administrator make?

  1. Manage desired Kubernetes manifests in Git and use a GitOps controller to reconcile the cluster from approved repository revisions
  2. Use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set
  3. Maintain separate blue and green versions, smoke-test the inactive environment, then switch the approved routing target
  4. Implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure

Explanation

Correct Answer

D:

Implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure. This action directly addresses the described situation: A team wants to expose only a small share of requests to a new version before broad production rollout. Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version. To distinguish a correct change from an unverified configuration, check that observed error rates and service metrics for the canary remain within thresholds before the traffic percentage increases. The relevant failure concern is that promoting an unobserved release to all users can magnify defects that a controlled canary would have detected. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Manage desired Kubernetes manifests in Git and use a GitOps controller to reconcile the cluster from approved repository revisions. That action is sensible for the separate GitOps desired-state reconciliation problem, for example: Operators want Kubernetes production configuration changes to be audited through reviewed Git commits instead of manual kubectl edits. This scenario instead describes: A team wants to expose only a small share of requests to a new version before broad production rollout. The more direct corrective action is to implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure. Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Use Kustomize bases and overlays to apply environment-specific patches to a common declarative resource set. That action is sensible for the separate Kustomize overlays for environment variants problem, for example: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. This scenario instead describes: A team wants to expose only a small share of requests to a new version before broad production rollout. The more direct corrective action is to implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure. Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Maintain separate blue and green versions, smoke-test the inactive environment, then switch the approved routing target. That action is sensible for the separate blue-green release cutover problem, for example: A critical application needs a full parallel environment for a fast verified cutover and easy return to the old release. This scenario instead describes: A team wants to expose only a small share of requests to a new version before broad production rollout. The more direct corrective action is to implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure. Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests

Purchase Individually

  • Premium File

    333 Questions & Answers
    Last Update: Oct 30, 2026

    $76.99
    $69.99
  • Training Course

    54 Lectures

    $43.99
    $39.99
  • Study Guide

    410 Pages

    $43.99
    $39.99

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

You save
10%

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

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

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

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

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

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