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 37

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.

Question 361

A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest.

Which Kubernetes principle explains the appropriate solution?

  1. A kubectl context associates cluster, user credentials, and a default namespace, so the same command can target different resources depending on context
  2. Describe and events expose Pod conditions, scheduling decisions, and admission messages even when no application container has started
  3. Deployment revisions preserve rollout history, and rollout status reports whether desired updated Pods reach availability
  4. Kubernetes Secrets provide a dedicated API type for sensitive values, but base64 is encoding rather than encryption and access controls remain essential

Explanation

Correct Answer

D:

Kubernetes Secrets provide a dedicated API type for sensitive values, but base64 is encoding rather than encryption and access controls remain essential. This component or control behavior explains what matters in the case: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. The corresponding operational decision is to store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. The expected evidence is that only authorized service accounts and workloads can retrieve the required value and the secret is not exposed in logs or source control. If the requirement is misunderstood, treating encoded values as cryptographically protected can leak credentials through permissive RBAC or exposed manifests. 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 kubectl context associates cluster, user credentials, and a default namespace, so the same command can target different resources depending on context. This explanation belongs to the nearby kubectl context and active cluster selection topic, for example: A developer has access to a test cluster and production cluster and must confirm the target before applying a manifest. The actual scenario is: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. The relevant mechanism is that kubernetes Secrets provide a dedicated API type for sensitive values, but base64 is encoding rather than encryption and access controls remain essential. The matching implementation is to store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Describe and events expose Pod conditions, scheduling decisions, and admission messages even when no application container has started. This explanation belongs to the nearby kubectl describe and event inspection topic, for example: A Pod remains Pending with no container logs because it was never assigned to a worker node. The actual scenario is: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. The relevant mechanism is that kubernetes Secrets provide a dedicated API type for sensitive values, but base64 is encoding rather than encryption and access controls remain essential. The matching implementation is to store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Deployment revisions preserve rollout history, and rollout status reports whether desired updated Pods reach availability. This explanation belongs to the nearby Deployment rollout status and undo topic, for example: A new Deployment revision is serving errors and the team needs to return to the preceding healthy revision. The actual scenario is: A workload requires a database password and operators must avoid putting the credential directly into its image or plain manifest. The relevant mechanism is that kubernetes Secrets provide a dedicated API type for sensitive values, but base64 is encoding rather than encryption and access controls remain essential. The matching implementation is to store credentials in a Secret with restrictive access, consider encryption at rest, and mount or inject only into authorized Pods. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 362

A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone.

Which underlying mechanism best explains why the right approach works?

  1. The scheduler uses resource requests and node allocatable capacity to determine feasibility, while CPU limits bound runtime consumption
  2. Topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible
  3. Pod anti-affinity can discourage or forbid placement near other Pods matching a label within a topology domain
  4. Node affinity and node selectors constrain which node labels satisfy a Pod's placement requirements, unlike labels that merely group Pods

Explanation

Correct Answer

B:

Topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible. This component or control behavior explains what matters in the case: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. The corresponding operational decision is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. The expected evidence is that replicas occupy the expected available zones within the configured skew while scheduler events show no unintended pending Pods. If the requirement is misunderstood, using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free. 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:

The scheduler uses resource requests and node allocatable capacity to determine feasibility, while CPU limits bound runtime consumption. This explanation belongs to the nearby CPU requests influence scheduling feasibility topic, for example: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. The actual scenario is: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. The relevant mechanism is that topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible. The matching implementation is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Pod anti-affinity can discourage or forbid placement near other Pods matching a label within a topology domain. This explanation belongs to the nearby pod anti-affinity for failure separation topic, for example: Three identical replicas should avoid sharing one worker so a single-node failure does not remove every replica. The actual scenario is: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. The relevant mechanism is that topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible. The matching implementation is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

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 Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. The relevant mechanism is that topology spread constraints measure replica imbalance across eligible topology domains and influence which placements remain feasible. The matching implementation is to specify topologySpreadConstraints with a matching selector, topology key, maxSkew, and an appropriate unsatisfiable policy. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 363

A critical application needs a full parallel environment for a fast verified cutover and easy return to the old release.

Which explanation best matches the observed cluster behavior?

  1. Blue-green deployment keeps two complete environments and changes the traffic destination at cutover, unlike progressively shifting percentages
  2. Helm charts render Kubernetes manifests from templates and values, reducing repetition while retaining explicit release configuration
  3. Continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact
  4. Kustomize transforms source manifests using overlays and patches without requiring application-level template syntax

Explanation

Correct Answer

A:

Blue-green deployment keeps two complete environments and changes the traffic destination at cutover, unlike progressively shifting percentages. This component or control behavior explains what matters in the case: A critical application needs a full parallel environment for a fast verified cutover and easy return to the old release. The corresponding operational decision is to maintain separate blue and green versions, smoke-test the inactive environment, then switch the approved routing target. The expected evidence is that the newly active environment serves validated requests while a documented switch back to the previous environment remains feasible. If the requirement is misunderstood, switching before validating backend dependencies can expose all customers to a faulty environment at once. 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:

Helm charts render Kubernetes manifests from templates and values, reducing repetition while retaining explicit release configuration. This explanation belongs to the nearby Helm templating and values topic, for example: The same Kubernetes application chart must be installed in development and production with different replica counts and resources. The actual scenario is: A critical application needs a full parallel environment for a fast verified cutover and easy return to the old release. The relevant mechanism is that blue-green deployment keeps two complete environments and changes the traffic destination at cutover, unlike progressively shifting percentages. The matching implementation is to maintain separate blue and green versions, smoke-test the inactive environment, then switch the approved routing target. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact. This explanation belongs to the nearby CI build test and artifact promotion topic, for example: A product team commits a code change and needs automated unit tests and an approved image before deployment. The actual scenario is: A critical application needs a full parallel environment for a fast verified cutover and easy return to the old release. The relevant mechanism is that blue-green deployment keeps two complete environments and changes the traffic destination at cutover, unlike progressively shifting percentages. The matching implementation is to maintain separate blue and green versions, smoke-test the inactive environment, then switch the approved routing target. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Kustomize transforms source manifests using overlays and patches without requiring application-level template syntax. This explanation belongs to the nearby Kustomize overlays for environment variants topic, for example: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. The actual scenario is: A critical application needs a full parallel environment for a fast verified cutover and easy return to the old release. The relevant mechanism is that blue-green deployment keeps two complete environments and changes the traffic destination at cutover, unlike progressively shifting percentages. The matching implementation is to maintain separate blue and green versions, smoke-test the inactive environment, then switch the approved routing target. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 364

Operators plan to replace all replicas with a new application version despite wanting measurable risk-limited customer feedback first.

Why does the relevant technology satisfy this specific requirement?

  1. Blue-green deployment keeps two complete environments and changes the traffic destination at cutover, unlike progressively shifting percentages
  2. Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version
  3. Kustomize transforms source manifests using overlays and patches without requiring application-level template syntax
  4. GitOps uses version-controlled declarative desired state and automated reconciliation to detect and correct divergence from source

Explanation

Correct Answer

B:

Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version. This component or control behavior explains what matters in the case: Operators plan to replace all replicas with a new application version despite wanting measurable risk-limited customer feedback first. The corresponding operational decision is to implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure. The expected evidence is that observed error rates and service metrics for the canary remain within thresholds before the traffic percentage increases. If the requirement is misunderstood, promoting an unobserved release to all users can magnify defects that a controlled canary would have detected. 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:

Blue-green deployment keeps two complete environments and changes the traffic destination at cutover, unlike progressively shifting percentages. This explanation belongs to the nearby blue-green release cutover topic, for example: A critical application needs a full parallel environment for a fast verified cutover and easy return to the old release. The actual scenario is: Operators plan to replace all replicas with a new application version despite wanting measurable risk-limited customer feedback first. The relevant mechanism is that canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version. The matching implementation is to implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Kustomize transforms source manifests using overlays and patches without requiring application-level template syntax. This explanation belongs to the nearby Kustomize overlays for environment variants topic, for example: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. The actual scenario is: Operators plan to replace all replicas with a new application version despite wanting measurable risk-limited customer feedback first. The relevant mechanism is that canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version. The matching implementation is to implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

GitOps uses version-controlled declarative desired state and automated reconciliation to detect and correct divergence from source. This explanation belongs to the nearby GitOps desired-state reconciliation topic, for example: Operators want Kubernetes production configuration changes to be audited through reviewed Git commits instead of manual kubectl edits. The actual scenario is: Operators plan to replace all replicas with a new application version despite wanting measurable risk-limited customer feedback first. The relevant mechanism is that canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version. The matching implementation is to implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 365

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

Which explanation best matches the observed cluster behavior?

  1. Services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates
  2. Containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently
  3. The kubelet runs on a node, observes assigned Pod specifications, interacts with the container runtime, and reports status back to the control plane
  4. A ReplicaSet maintains a target count of matching Pods, usually under a Deployment that also manages revisions and updates

Explanation

Correct Answer

B:

Containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently. This component or control behavior explains what matters in the case: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. The corresponding operational decision is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. The expected evidence is that both containers start on the same node and communicate over localhost while the shared volume contains the expected data. If the requirement is misunderstood, deploying tightly coupled containers into unrelated Pods breaks assumptions about shared localhost and coordinated placement. The distinction matters because cloud-native controls are specific to layers, resource lifecycles, and declared ownership; similar-sounding features are not always substitutes.

Incorrect Answers

A:

Services provide stable logical endpoints and route to selected Pods while backend Pod addresses may change during scaling or rolling updates. This explanation belongs to the nearby Service stable identity across changing Pods topic, for example: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. The actual scenario is: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. The relevant mechanism is that containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently. The matching implementation is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

The kubelet runs on a node, observes assigned Pod specifications, interacts with the container runtime, and reports status back to the control plane. This explanation belongs to the nearby kubelet worker-node agent topic, for example: A worker is registered but is not starting its assigned containers, so platform staff must inspect the node-local component. The actual scenario is: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. The relevant mechanism is that containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently. The matching implementation is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

A ReplicaSet maintains a target count of matching Pods, usually under a Deployment that also manages revisions and updates. This explanation belongs to the nearby ReplicaSet maintaining replica count topic, for example: An application owner needs three matching Pods to exist despite one being removed during routine maintenance. The actual scenario is: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. The relevant mechanism is that containers in one Pod share its network namespace and can share declared volumes; Kubernetes schedules the Pod rather than placing its containers independently. The matching implementation is to describe both containers in one Pod specification when their tight lifecycle, local networking, and storage sharing justify co-location. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 366

A production application needs an automatically provisioned cloud-facing address rather than manually coordinating every node's published port.

Which adverse result is the best match for the facts?

  1. Writing an Ingress object without a controller does not create the routing implementation and can leave applications unreachable
  2. Assuming every ClusterIP is Internet reachable or every bare-metal cluster automatically provisions a cloud load balancer causes failed connectivity
  3. Exposing a node or external load balancer for an internal-only workload unnecessarily expands its reachable surface
  4. Broad or mismatched selectors and failing readiness probes can produce no endpoints or route traffic to the wrong backend

Explanation

Correct Answer

B:

Assuming every ClusterIP is Internet reachable or every bare-metal cluster automatically provisions a cloud load balancer causes failed connectivity. This failure path follows the case as described: A production application needs an automatically provisioned cloud-facing address rather than manually coordinating every node's published port. The appropriate corrective decision is to select NodePort only for suitable node-address access, or a supported LoadBalancer Service when managed external load balancing is required. A NodePort exposes a chosen port on eligible node addresses, while LoadBalancer asks a supported infrastructure integration for an external load balancer. The control should be accepted only when the intended external client connects through the chosen Service type and the actual backend Pod receives the request. 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:

Writing an Ingress object without a controller does not create the routing implementation and can leave applications unreachable. This is a plausible risk for the different Ingress or Gateway for HTTP routing scenario, for example: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. However, the presented case concerns: A production application needs an automatically provisioned cloud-facing address rather than manually coordinating every node's published port. The more direct risk is that assuming every ClusterIP is Internet reachable or every bare-metal cluster automatically provisions a cloud load balancer causes failed connectivity. The relevant mitigation is to select NodePort only for suitable node-address access, or a supported LoadBalancer Service when managed external load balancing is required. 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: A production application needs an automatically provisioned cloud-facing address rather than manually coordinating every node's published port. The more direct risk is that assuming every ClusterIP is Internet reachable or every bare-metal cluster automatically provisions a cloud load balancer causes failed connectivity. The relevant mitigation is to select NodePort only for suitable node-address access, or a supported LoadBalancer Service when managed external load balancing is required. 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:

Broad or mismatched selectors and failing readiness probes can produce no endpoints or route traffic to the wrong backend. This is a plausible risk for the different Service endpoints reflect matching Ready Pods scenario, for example: A Service resolves in DNS but returns no application responses because its selector does not match any Ready Pods. However, the presented case concerns: A production application needs an automatically provisioned cloud-facing address rather than manually coordinating every node's published port. The more direct risk is that assuming every ClusterIP is Internet reachable or every bare-metal cluster automatically provisions a cloud load balancer causes failed connectivity. The relevant mitigation is to select NodePort only for suitable node-address access, or a supported LoadBalancer Service when managed external load balancing is required. 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 367

A specialized Pod needs permission to run on tainted nodes but should not bypass cluster admission or resource rules.

Which risk belongs in the change assessment?

  1. Assuming tolerations guarantee placement can strand specialized workloads or accidentally admit unrelated workloads to reserved nodes
  2. Incorrect required affinity can leave the Pod Pending when matching partner Pods are absent or unschedulable
  3. Using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free
  4. Mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware

Explanation

Correct Answer

A:

Assuming tolerations guarantee placement can strand specialized workloads or accidentally admit unrelated workloads to reserved nodes. This failure path follows the case as described: A specialized Pod needs permission to run on tainted nodes but should not bypass cluster admission or resource rules. The appropriate corrective decision is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. A NoSchedule taint repels Pods without matching tolerations; a toleration permits scheduling but does not force placement on that node. The control should be accepted only when ordinary Pods remain off the tainted nodes, while an approved eligible Pod can be scheduled when sufficient resources exist. 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:

Incorrect required affinity can leave the Pod Pending when matching partner Pods are absent or unschedulable. This is a plausible risk for the different pod affinity to co-locate related workloads scenario, for example: A latency-sensitive side service needs to run near a labeled cache tier on the same eligible host when possible. However, the presented case concerns: A specialized Pod needs permission to run on tainted nodes but should not bypass cluster admission or resource rules. The more direct risk is that assuming tolerations guarantee placement can strand specialized workloads or accidentally admit unrelated workloads to reserved nodes. The relevant mitigation is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

C:

Using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free. This is a plausible risk for the different topology spread constraints scenario, for example: A Deployment's replicas should be roughly balanced between failure zones instead of all landing in the first available zone. However, the presented case concerns: A specialized Pod needs permission to run on tainted nodes but should not bypass cluster admission or resource rules. The more direct risk is that assuming tolerations guarantee placement can strand specialized workloads or accidentally admit unrelated workloads to reserved nodes. The relevant mitigation is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. 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:

Mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware. This is a plausible risk for the different node labels and node affinity scenario, for example: A latency-sensitive workload must run only on workers labeled for the intended hardware architecture. However, the presented case concerns: A specialized Pod needs permission to run on tainted nodes but should not bypass cluster admission or resource rules. The more direct risk is that assuming tolerations guarantee placement can strand specialized workloads or accidentally admit unrelated workloads to reserved nodes. The relevant mitigation is to set the intended node taint and give only eligible Pods the matching toleration, along with placement constraints where needed. 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 368

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

What operational hazard is most important in the described case?

  1. Repeated manual imperative edits make state drift difficult to reproduce, inspect, or reverse reliably
  2. Treating encoded values as cryptographically protected can leak credentials through permissive RBAC or exposed manifests
  3. Rebooting without workload evacuation can interrupt user traffic or violate disruption constraints
  4. Baking all environment settings into images makes promotions fragile, while treating confidential secrets as plain ConfigMap values is unsafe

Explanation

Correct Answer

D:

Baking all environment settings into images makes promotions fragile, while treating confidential secrets as plain ConfigMap values is unsafe. This failure path follows the case as described: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The appropriate corrective decision is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. A ConfigMap separates nonconfidential application configuration from images, while consuming workloads may need restart or reload to observe changes. The control should be accepted only when the Pod receives the expected approved configuration without rebuilding the image and the application behavior reflects it. 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:

Repeated manual imperative edits make state drift difficult to reproduce, inspect, or reverse reliably. This is a plausible risk for the different declarative manifests and kubectl apply scenario, for example: A team needs repeatable configuration for Kubernetes Deployments without relying on screenshots or ad hoc shell history. However, the presented case concerns: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The more direct risk is that baking all environment settings into images makes promotions fragile, while treating confidential secrets as plain ConfigMap values is unsafe. The relevant mitigation is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. 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:

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: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The more direct risk is that baking all environment settings into images makes promotions fragile, while treating confidential secrets as plain ConfigMap values is unsafe. The relevant mitigation is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. 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:

Rebooting without workload evacuation can interrupt user traffic or violate disruption constraints. This is a plausible risk for the different cordon drain and node maintenance scenario, for example: A worker needs a scheduled operating-system patch while running applications should move to healthy nodes. However, the presented case concerns: An application needs a configurable feature flag and display label shared among Pods, but no passwords are involved. The more direct risk is that baking all environment settings into images makes promotions fragile, while treating confidential secrets as plain ConfigMap values is unsafe. The relevant mitigation is to create a ConfigMap for nonsecret key-value configuration and reference it from Pod environment variables or mounted files. 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 369

Developers submit Pods that request privileged execution and host mounts in a shared team Namespace.

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

  1. Scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported
  2. Create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions
  3. Assign a dedicated ServiceAccount and appropriate minimal RBAC to the Pod rather than reuse a human user's privileged access
  4. Configure appropriate Pod Security Admission namespace policy or equivalent admission controls and test restricted manifests

Explanation

Correct Answer

D:

Configure appropriate Pod Security Admission namespace policy or equivalent admission controls and test restricted manifests. This action directly addresses the described situation: Developers submit Pods that request privileged execution and host mounts in a shared team Namespace. Pod Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege. To distinguish a correct change from an unverified configuration, check that a deliberately noncompliant Pod is rejected by admission and an approved least-privilege Pod remains deployable. The relevant failure concern is that without enforced admission policy, workloads may obtain host capabilities or filesystem exposure outside their intended trust boundary. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. That action is sensible for the separate container image trust and vulnerability remediation problem, for example: An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges. This scenario instead describes: Developers submit Pods that request privileged execution and host mounts in a shared team Namespace. The more direct corrective action is to configure appropriate Pod Security Admission namespace policy or equivalent admission controls and test restricted manifests. Pod Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. That action is sensible for the separate RBAC least privilege for namespace users problem, for example: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. This scenario instead describes: Developers submit Pods that request privileged execution and host mounts in a shared team Namespace. The more direct corrective action is to configure appropriate Pod Security Admission namespace policy or equivalent admission controls and test restricted manifests. Pod Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Assign a dedicated ServiceAccount and appropriate minimal RBAC to the Pod rather than reuse a human user's privileged access. That action is sensible for the separate ServiceAccount identity for workloads problem, for example: An in-cluster controller requires permission to read a limited group of Kubernetes resources using its own identity. This scenario instead describes: Developers submit Pods that request privileged execution and host mounts in a shared team Namespace. The more direct corrective action is to configure appropriate Pod Security Admission namespace policy or equivalent admission controls and test restricted manifests. Pod Security Standards define Privileged, Baseline, and Restricted policy profiles for Pod configuration risks such as host access and privilege. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 370

Multiple replicas emit warnings across workers, making incident reconstruction difficult without a centralized searchable log stream.

What operational hazard is most important in the described case?

  1. Without metrics collection, gradual degradation can remain invisible until a user-facing incident is reported
  2. Using only generic host utilization alarms can obscure true service reliability and create frequent unactionable notifications
  3. Without consistent trace propagation, cross-service response delays are hard to attribute even when overall metrics are available
  4. Relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures

Explanation

Correct Answer

D:

Relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. This failure path follows the case as described: Multiple replicas emit warnings across workers, making incident reconstruction difficult without a centralized searchable log stream. The appropriate corrective decision is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Centralized logging aggregates application stdout and stderr from multiple ephemeral containers and retains evidence beyond individual Pod lifetimes. The control should be accepted only when a controlled log record appears centrally with correct Pod, Namespace, timestamp, and correlation fields after Pod replacement. Risk statements should identify the affected workload or trust boundary, rather than generically claiming that every Kubernetes misconfiguration causes the same outage.

Incorrect Answers

A:

Without metrics collection, gradual degradation can remain invisible until a user-facing incident is reported. This is a plausible risk for the different Prometheus metrics and service monitoring scenario, for example: A team wants time-series HTTP error rates, request counts, and CPU measurements from Kubernetes workloads. However, the presented case concerns: Multiple replicas emit warnings across workers, making incident reconstruction difficult without a centralized searchable log stream. The more direct risk is that relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. The relevant mitigation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. 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 only generic host utilization alarms can obscure true service reliability and create frequent unactionable notifications. This is a plausible risk for the different SLIs SLOs and symptom-based alerts scenario, for example: A service owner wants meaningful availability objectives instead of paging on every brief CPU utilization spike. However, the presented case concerns: Multiple replicas emit warnings across workers, making incident reconstruction difficult without a centralized searchable log stream. The more direct risk is that relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. The relevant mitigation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. 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 consistent trace propagation, cross-service response delays are hard to attribute even when overall metrics are available. This is a plausible risk for the different OpenTelemetry distributed traces scenario, for example: A single user request crosses three microservices and the team cannot tell which hop causes most latency. However, the presented case concerns: Multiple replicas emit warnings across workers, making incident reconstruction difficult without a centralized searchable log stream. The more direct risk is that relying only on short-lived node-local logs can erase the evidence needed to diagnose repeated or cross-service failures. The relevant mitigation is to configure authorized log shipping with a supported collector to a centralized store, retaining timestamps and workload identity. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

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