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 36

Question 350

A dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there.

What technical distinction should guide the decision?

  1. Pod priority influences scheduling order and may allow preemption of lower-priority Pods to satisfy a pending higher-priority workload
  2. A NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node
  3. Node affinity and node selectors constrain which node labels satisfy a Pod's placement requirements, unlike labels that merely group Pods
  4. Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels

Explanation

Correct Answer

B:

A NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node. This component or control behavior explains what matters in the case: A dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. The corresponding operational decision is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. The expected evidence is that ordinary Pods remain off the tainted nodes, while an approved eligible Pod can be scheduled when sufficient resources exist. If the requirement is misunderstood, assuming tolerations guarantee placement can strand specialized workloads or accidentally admit unrelated workloads to reserved nodes. 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 dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. The relevant mechanism is that a NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node. The matching implementation is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Node affinity and node selectors constrain which node labels satisfy a Pod's placement requirements, unlike labels that merely group Pods. This explanation belongs to the nearby node labels and node affinity topic, for example: A latency-sensitive workload must run only on workers labeled for the intended hardware architecture. The actual scenario is: A dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. The relevant mechanism is that a NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node. The matching implementation is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Pod affinity places Pods relative to other matching Pods in a topology domain, rather than directly selecting arbitrary node labels. This explanation belongs to the nearby pod affinity to co-locate related workloads topic, for example: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. The actual scenario is: A dedicated GPU node has a NoSchedule taint and ordinary web Pods should not be placed there. The relevant mechanism is that a NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node. The matching implementation is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 351

An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests.

Why does the relevant technology satisfy this specific requirement?

  1. A failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility
  2. Readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready
  3. Startup probes give slow-starting applications time to initialize before liveness and readiness probes become active
  4. Deployment revision history supports reversing a template change, while application monitoring confirms whether the previous version truly restored service

Explanation

Correct Answer

D:

Deployment revision history supports reversing a template change, while application monitoring confirms whether the previous version truly restored service. This component or control behavior explains what matters in the case: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. The corresponding operational decision is to inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. The expected evidence is that after rollback, the expected prior image is serving and user-path tests recover with reduced error rates. If the requirement is misunderstood, deleting only faulty Pods recreates the same revision and can prolong regression instead of restoring a known-good template. 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 failed liveness probe can trigger a container restart, whereas a readiness probe only affects traffic eligibility. This explanation belongs to the nearby liveness probe restarts stuck containers topic, for example: A web process stays alive but becomes permanently unresponsive after a deadlock and needs recovery. The actual scenario is: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. The relevant mechanism is that deployment revision history supports reversing a template change, while application monitoring confirms whether the previous version truly restored service. The matching implementation is to inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Readiness probes control endpoint eligibility for traffic and do not automatically restart a container merely because it is not ready. This explanation belongs to the nearby readiness probe excludes unhealthy Pods topic, for example: An application process is running but cannot serve requests until a dependent database connection is established. The actual scenario is: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. The relevant mechanism is that deployment revision history supports reversing a template change, while application monitoring confirms whether the previous version truly restored service. The matching implementation is to inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Startup probes give slow-starting applications time to initialize before liveness and readiness probes become active. This explanation belongs to the nearby startup probe protects slow initialization topic, for example: A Java application legitimately takes several minutes to initialize and liveness checks restart it before startup completes. The actual scenario is: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. The relevant mechanism is that deployment revision history supports reversing a template change, while application monitoring confirms whether the previous version truly restored service. The matching implementation is to inspect Deployment rollout history and application health metrics, then roll back to the verified healthy revision. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 352

A shared cluster needs baseline restrictions on containers without relying solely on code review to reject unsafe Pod settings.

Why does the relevant technology satisfy this specific requirement?

  1. Pod Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege
  2. Kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects
  3. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management
  4. ServiceAccounts provide workload identities for authenticating to the Kubernetes API, subject to configured token mounting and authorizations

Explanation

Correct Answer

A:

Pod Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege. This component or control behavior explains what matters in the case: A shared cluster needs baseline restrictions on containers without relying solely on code review to reject unsafe Pod settings. The corresponding operational decision is to configure appropriate Pod Security Admission namespace policy or equivalent admission controls and test restricted manifests. The expected evidence is that a deliberately noncompliant Pod is rejected by admission and an approved least-privilege Pod remains deployable. If the requirement is misunderstood, without enforced admission policy, workloads may obtain host capabilities or filesystem exposure outside their intended trust boundary. The distinction matters because cloud-native controls are specific to layers, resource lifecycles, and declared ownership; similar-sounding features are not always substitutes.

Incorrect Answers

B:

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 shared cluster needs baseline restrictions on containers without relying solely on code review to reject unsafe Pod settings. The relevant mechanism is that pod Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege. The matching implementation is to configure appropriate Pod Security Admission namespace policy or equivalent admission controls and test restricted manifests. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

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 shared cluster needs baseline restrictions on containers without relying solely on code review to reject unsafe Pod settings. The relevant mechanism is that pod Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege. The matching implementation is to configure appropriate Pod Security Admission namespace policy or equivalent admission controls and test restricted manifests. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

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 shared cluster needs baseline restrictions on containers without relying solely on code review to reject unsafe Pod settings. The relevant mechanism is that pod Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege. The matching implementation is to configure appropriate Pod Security Admission namespace policy or equivalent admission controls and test restricted manifests. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 353

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

What should the platform team prioritize for this case?

  1. Check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints
  2. Install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths
  3. Configure a supported Ingress or Gateway API route with a working controller and appropriate TLS and backend Service references
  4. Inspect Service selectors and EndpointSlices, correct label matches, and ensure backends satisfy readiness requirements

Explanation

Correct Answer

A:

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

Incorrect Answers

B:

Install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. That action is sensible for the separate CNI Pod-to-Pod networking problem, for example: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. This scenario instead describes: Microservices rely on stable service names and the team must identify the component resolving those names inside Pods. The more direct corrective action is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. Kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Configure a supported Ingress or Gateway API route with a working controller and appropriate TLS and backend Service references. That action is sensible for the separate Ingress or Gateway for HTTP routing problem, for example: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. This scenario instead describes: Microservices rely on stable service names and the team must identify the component resolving those names inside Pods. The more direct corrective action is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. Kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

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

Question 354

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

Which Kubernetes principle explains the appropriate solution?

  1. CNCF technical community groups foster cross-project technical discussion, guidance, and collaboration without replacing individual project maintainers
  2. Responsible disclosure routes sensitive vulnerability reports privately so maintainers can investigate, patch, and communicate before broad publication
  3. Sandbox, Incubating, and Graduated are CNCF project maturity categories, not interchangeable guarantees of a particular vendor's SLA
  4. Open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority

Explanation

Correct Answer

D:

Open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority. This component or control behavior explains what matters in the case: A developer finds a documentation bug in an open-source Kubernetes ecosystem project and wants a change reviewed transparently. The corresponding operational decision is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. The expected evidence is that the proposed change has a reproducible issue reference, review feedback, and documented acceptance or revision in the upstream repository. If the requirement is misunderstood, keeping fixes solely in an untracked private fork can create upgrade conflicts and prevent the wider community from benefiting. 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:

CNCF technical community groups foster cross-project technical discussion, guidance, and collaboration without replacing individual project maintainers. This explanation belongs to the nearby CNCF TAG and working group collaboration topic, for example: An engineer wants to discuss a cross-project observability concern with the wider CNCF community rather than one vendor's private roadmap. The actual scenario is: A developer finds a documentation bug in an open-source Kubernetes ecosystem project and wants a change reviewed transparently. The relevant mechanism is that open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority. The matching implementation is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Responsible disclosure routes sensitive vulnerability reports privately so maintainers can investigate, patch, and communicate before broad publication. This explanation belongs to the nearby responsible vulnerability disclosure in open source topic, for example: A contributor discovers a potentially exploitable issue in a CNCF-related project and wants maintainers to coordinate a fix. The actual scenario is: A developer finds a documentation bug in an open-source Kubernetes ecosystem project and wants a change reviewed transparently. The relevant mechanism is that open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority. The matching implementation is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Sandbox, Incubating, and Graduated are CNCF project maturity categories, not interchangeable guarantees of a particular vendor's SLA. This explanation belongs to the nearby CNCF project maturity levels topic, for example: A procurement review wants to distinguish CNCF Sandbox, Incubating, and Graduated project maturity claims. The actual scenario is: A developer finds a documentation bug in an open-source Kubernetes ecosystem project and wants a change reviewed transparently. The relevant mechanism is that open-source projects use transparent issue discussion, version control and peer review to coordinate changes while maintainers retain merge authority. The matching implementation is to follow the project's CONTRIBUTING guidance, open a focused issue or pull request, and respond to maintainer review. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 355

A clustered database requires stable Pod identities and a separate durable volume for every ordered replica.

Which observation most directly proves this requirement has been met?

  1. A new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics
  2. Each replica retains the intended ordinal identity and associated data claim after a controlled restart or reschedule
  3. The chosen PV supports the specified mount topology and approved replicas can access data according to the real backend capabilities
  4. The claim becomes Bound, the Pod mounts its path, and written data survives a controlled Pod replacement

Explanation

Correct Answer

B:

Each replica retains the intended ordinal identity and associated data claim after a controlled restart or reschedule. This result checks the exact operational requirement in the scenario: A clustered database requires stable Pod identities and a separate durable volume for every ordered replica. It should be obtained after the team takes the step to use a StatefulSet with a suitable headless Service and volumeClaimTemplates for identity-sensitive stateful replicas. StatefulSets manage stable Pod identities and persistent claim relationships, unlike stateless Deployment replicas with interchangeable identities. The acceptance evidence must guard against the failure in which treating stateful replicas as disposable stateless Pods can break identity assumptions and lead to misplaced or lost state. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

A new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. This would provide useful evidence for a different StorageClass dynamic provisioning situation such as: Developers need new persistent volumes automatically created from a supported block storage provisioner. That is not the specific requirement here: A clustered database requires stable Pod identities and a separate durable volume for every ordered replica. The directly matching evidence is that each replica retains the intended ordinal identity and associated data claim after a controlled restart or reschedule. The associated implementation is to use a StatefulSet with a suitable headless Service and volumeClaimTemplates for identity-sensitive stateful replicas. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

The chosen PV supports the specified mount topology and approved replicas can access data according to the real backend capabilities. This would provide useful evidence for a different ReadWriteOnce versus ReadWriteMany modes situation such as: Two replicas need to access the same shared content but the chosen volume supports only a single-node writer attachment. That is not the specific requirement here: A clustered database requires stable Pod identities and a separate durable volume for every ordered replica. The directly matching evidence is that each replica retains the intended ordinal identity and associated data claim after a controlled restart or reschedule. The associated implementation is to use a StatefulSet with a suitable headless Service and volumeClaimTemplates for identity-sensitive stateful replicas. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

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

Question 356

Operators want to modify the desired replica count through a reviewed YAML file kept with application source.

What is the likely impact of retaining this faulty assumption?

  1. Treating encoded values as cryptographically protected can leak credentials through permissive RBAC or exposed manifests
  2. Using a stale context can modify a production resource while the operator believes the command targets a safe staging environment
  3. Repeated manual imperative edits make state drift difficult to reproduce, inspect, or reverse reliably
  4. Deleting replacement Pods individually does not reliably restore the previous Deployment template and can perpetuate a faulty rollout

Explanation

Correct Answer

C:

Repeated manual imperative edits make state drift difficult to reproduce, inspect, or reverse reliably. This failure path follows the case as described: Operators want to modify the desired replica count through a reviewed YAML file kept with application source. The appropriate corrective decision is to store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. Declarative configuration describes intended object state and Kubernetes reconciliation drives actual resources toward that specification. The control should be accepted only when reapplying the approved manifest leaves the desired spec consistent and the controller reaches the declared replica count. 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:

Treating encoded values as cryptographically protected can leak credentials through permissive RBAC or exposed manifests. This is a plausible risk for the different Secret as API object for sensitive application values scenario, for example: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. However, the presented case concerns: Operators want to modify the desired replica count through a reviewed YAML file kept with application source. The more direct risk is that repeated manual imperative edits make state drift difficult to reproduce, inspect, or reverse reliably. The relevant mitigation is to store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

B:

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: Operators want to modify the desired replica count through a reviewed YAML file kept with application source. The more direct risk is that repeated manual imperative edits make state drift difficult to reproduce, inspect, or reverse reliably. The relevant mitigation is to store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

D:

Deleting replacement Pods individually does not reliably restore the previous Deployment template and can perpetuate a faulty rollout. This is a plausible risk for the different Deployment rollout status and undo scenario, for example: A new Deployment revision is serving errors and the team needs to return to the preceding healthy revision. However, the presented case concerns: Operators want to modify the desired replica count through a reviewed YAML file kept with application source. The more direct risk is that repeated manual imperative edits make state drift difficult to reproduce, inspect, or reverse reliably. The relevant mitigation is to store the desired Kubernetes object specification in version control and apply reviewed manifest changes through supported kubectl apply workflows. 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 357

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

What is the likely impact of retaining this faulty assumption?

  1. A missing or broken Pod networking implementation can strand application traffic while node health and container startup appear normal
  2. Hard-coding Pod IPs or overlooking CoreDNS failures can break service discovery after otherwise healthy Pod replacements
  3. Exposing a node or external load balancer for an internal-only workload unnecessarily expands its reachable surface
  4. Assuming every ClusterIP is Internet reachable or every bare-metal cluster automatically provisions a cloud load balancer causes failed connectivity

Explanation

Correct Answer

A:

A missing or broken Pod networking implementation can strand application traffic while node health and container startup appear normal. This failure path follows the case as described: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The appropriate corrective decision is to install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. A CNI implementation configures Pod network interfaces and addresses; it enables the cluster's chosen network connectivity model across nodes. The control should be accepted only when two authorized Pods on different workers exchange traffic successfully through their Pod IP addresses under the expected network policy. 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: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The more direct risk is that a missing or broken Pod networking implementation can strand application traffic while node health and container startup appear normal. The relevant mitigation is to install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

C:

Exposing a node or external load balancer for an internal-only workload unnecessarily expands its reachable surface. This is a plausible risk for the different ClusterIP service for private east-west access scenario, for example: A backend API should accept traffic only through an internal Kubernetes virtual Service address and not via a public load balancer. However, the presented case concerns: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The more direct risk is that a missing or broken Pod networking implementation can strand application traffic while node health and container startup appear normal. The relevant mitigation is to install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. 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:

Assuming every ClusterIP is Internet reachable or every bare-metal cluster automatically provisions a cloud load balancer causes failed connectivity. This is a plausible risk for the different NodePort versus LoadBalancer external access scenario, for example: A test environment must expose a simple TCP application through an explicitly allowed port on Kubernetes nodes. However, the presented case concerns: Pods on separate worker nodes cannot communicate though their containers start successfully and the API is healthy. The more direct risk is that a missing or broken Pod networking implementation can strand application traffic while node health and container startup appear normal. The relevant mitigation is to install or repair a compatible Container Network Interface plugin and verify pod routes, policy configuration, and cross-node packet paths. 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 358

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

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

  1. Define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name
  2. Describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location
  3. Inspect the owning controller's desired state and controller-manager health before disabling or repeatedly removing managed Pods
  4. Check pod scheduling events and kube-scheduler health, then verify node feasibility rather than manually editing the Pod node field

Explanation

Correct Answer

B:

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

Incorrect Answers

A:

Define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name. That action is sensible for the separate Service stable identity across changing Pods problem, for example: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. This scenario instead describes: An application has two containers that must be scheduled together and communicate through the same network namespace. The more direct corrective action is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. Containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

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

D:

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

Question 359

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

Which engineering change is most justified by these facts?

  1. Inspect kubelet status and node events on the assigned worker while preserving the control-plane API and workload definition
  2. Choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set
  3. Define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name
  4. Create separate Namespaces for teams and apply namespace-scoped resources and policies while retaining cluster-wide security governance

Explanation

Correct Answer

B:

Choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. This action directly addresses the described situation: The platform team needs to group Pods by intended application and revision without encoding those categories into resource names. Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions. To distinguish a correct change from an unverified configuration, check that a selector query and Service endpoint list include only the required workload Pods and exclude similarly named unrelated Pods. The relevant failure concern is that broad or mismatched label selectors may route traffic to unintended workloads or leave a Service with no eligible backend. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Inspect kubelet status and node events on the assigned worker while preserving the control-plane API and workload definition. That action is sensible for the separate kubelet worker-node agent problem, for example: A worker is registered but is not starting its assigned containers, so platform staff must inspect the node-local component. This scenario instead describes: The platform team needs to group Pods by intended application and revision without encoding those categories into resource names. The more direct corrective action is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Define a Kubernetes Service whose label selector matches ready backend Pods, and have clients use its stable DNS name. That action is sensible for the separate Service stable identity across changing Pods problem, for example: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. This scenario instead describes: The platform team needs to group Pods by intended application and revision without encoding those categories into resource names. The more direct corrective action is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Create separate Namespaces for teams and apply namespace-scoped resources and policies while retaining cluster-wide security governance. That action is sensible for the separate Namespace namespaced scope versus cluster scope problem, for example: Two departments want identically named application Deployments without colliding in a shared multi-team Kubernetes cluster. This scenario instead describes: The platform team needs to group Pods by intended application and revision without encoding those categories into resource names. The more direct corrective action is to choose distinct workload labels and matching selectors, then verify only the intended Pods enter a Service or controller set. Labels are key-value resource metadata used by selectors to group objects; matching depends on label values rather than naming conventions. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 360

A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API.

Which underlying mechanism best explains why the right approach works?

  1. Pod Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege
  2. Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks
  3. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management
  4. Kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects

Explanation

Correct Answer

C:

Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. This component or control behavior explains what matters in the case: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. The corresponding operational decision is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. The expected evidence is that authorized workloads retrieve required values while nonprivileged identities cannot read them and storage encryption is validated. If the requirement is misunderstood, treating base64 encoding as encryption or allowing broad Secret read permissions creates a path to credential disclosure. 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 Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege. This explanation belongs to the nearby Pod Security Standards enforce restricted workloads topic, for example: Developers submit Pods that request privileged execution and host mounts in a shared team Namespace. The actual scenario is: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. The relevant mechanism is that secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. The matching implementation is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks. This explanation belongs to the nearby container image trust and vulnerability remediation topic, for example: An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges. The actual scenario is: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. The relevant mechanism is that secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. The matching implementation is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. 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 platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. The relevant mechanism is that secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. The matching implementation is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. 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