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 17

Question 160

A product team commits a code change and needs automated unit tests and an approved image before deployment.

Why does the relevant technology satisfy this specific requirement?

  1. Continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact
  2. GitOps uses version-controlled declarative desired state and automated reconciliation to detect and correct divergence from source
  3. Helm charts render Kubernetes manifests from templates and values, reducing repetition while retaining explicit release configuration
  4. Canary releases gradually expose a limited user or traffic subset to a new revision while maintaining the stable version

Explanation

Correct Answer

A:

Continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact. This component or control behavior explains what matters in the case: A product team commits a code change and needs automated unit tests and an approved image before deployment. The corresponding operational decision is to define a CI pipeline that builds, tests, scans, and publishes a traceable immutable image before any deployment promotion. The expected evidence is that the pipeline records a passing test result and image digest matching the release that later appears in Kubernetes. If the requirement is misunderstood, skipping consistent build and test gates allows unreviewed or irreproducible artifacts to reach application environments. The distinction matters because cloud-native controls are specific to layers, resource lifecycles, and declared ownership; similar-sounding features are not always substitutes.

Incorrect Answers

B:

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: A product team commits a code change and needs automated unit tests and an approved image before deployment. The relevant mechanism is that continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact. The matching implementation is to define a CI pipeline that builds, tests, scans, and publishes a traceable immutable image before any deployment promotion. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

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 product team commits a code change and needs automated unit tests and an approved image before deployment. The relevant mechanism is that continuous integration automates build and test feedback for frequent code changes; deployment should consume an identified validated artifact. The matching implementation is to define a CI pipeline that builds, tests, scans, and publishes a traceable immutable image before any deployment promotion. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

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

Question 161

An HTTP Deployment must move gradually to a new image while limiting unavailable replicas during the transition.

What acceptance test result provides the strongest evidence of success?

  1. Production deployment follows the documented approval policy while build and test automation still produce a verified artifact
  2. The pipeline records a passing test result and image digest matching the release that later appears in Kubernetes
  3. The rendered production overlay has only the intended differences and still preserves stable shared labels and Service selectors
  4. The new image becomes available incrementally while user requests continue meeting the accepted availability target

Explanation

Correct Answer

D:

The new image becomes available incrementally while user requests continue meeting the accepted availability target. This result checks the exact operational requirement in the scenario: An HTTP Deployment must move gradually to a new image while limiting unavailable replicas during the transition. It should be obtained after the team takes the step to configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status. Rolling updates replace Deployment replicas in controlled batches and respect configured limits on surge capacity and unavailable instances. The acceptance evidence must guard against the failure in which an overly aggressive rollout without readiness control can temporarily remove all usable backend Pods. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

Production deployment follows the documented approval policy while build and test automation still produce a verified artifact. This would provide useful evidence for a different continuous delivery versus continuous deployment situation such as: A business requires a human approval gate before promoting an otherwise fully tested container image to production. That is not the specific requirement here: An HTTP Deployment must move gradually to a new image while limiting unavailable replicas during the transition. The directly matching evidence is that the new image becomes available incrementally while user requests continue meeting the accepted availability target. The associated implementation is to configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

The pipeline records a passing test result and image digest matching the release that later appears in Kubernetes. This would provide useful evidence for a different CI build test and artifact promotion situation such as: A product team commits a code change and needs automated unit tests and an approved image before deployment. That is not the specific requirement here: An HTTP Deployment must move gradually to a new image while limiting unavailable replicas during the transition. The directly matching evidence is that the new image becomes available incrementally while user requests continue meeting the accepted availability target. The associated implementation is to configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

The rendered production overlay has only the intended differences and still preserves stable shared labels and Service selectors. This would provide useful evidence for a different Kustomize overlays for environment variants situation such as: A shared base Kubernetes Deployment should have small production-specific differences without editing a separate full manifest copy. That is not the specific requirement here: An HTTP Deployment must move gradually to a new image while limiting unavailable replicas during the transition. The directly matching evidence is that the new image becomes available incrementally while user requests continue meeting the accepted availability target. The associated implementation is to configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 162

A newly deployed Namespace gets intermittent unknown-host errors while backend Service endpoints remain healthy.

What technical distinction should guide the decision?

  1. Pending means a Pod may not be schedulable or ready to run; events can identify insufficient resources or unsatisfiable constraints
  2. Service objects need matching ready backend endpoints; a DNS A record and Service port alone do not create an application target
  3. ImagePullBackOff indicates retries after failed image retrieval, distinct from an application crash that occurs after a container starts
  4. Internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability

Explanation

Correct Answer

D:

Internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability. This component or control behavior explains what matters in the case: A newly deployed Namespace gets intermittent unknown-host errors while backend Service endpoints remain healthy. The corresponding operational decision is to query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend. The expected evidence is that the Pod resolves the correct fully qualified Service name and application requests succeed without hard-coded IP addresses. If the requirement is misunderstood, misdiagnosing DNS as a failing database can prompt unnecessary changes while real service discovery remains unavailable. 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:

Pending means a Pod may not be schedulable or ready to run; events can identify insufficient resources or unsatisfiable constraints. This explanation belongs to the nearby Pending Pod scheduling diagnosis topic, for example: A new Pod remains Pending and events show all eligible nodes have insufficient allocatable memory. The actual scenario is: A newly deployed Namespace gets intermittent unknown-host errors while backend Service endpoints remain healthy. The relevant mechanism is that internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability. The matching implementation is to query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

Service objects need matching ready backend endpoints; a DNS A record and Service port alone do not create an application target. This explanation belongs to the nearby Service connection failure with empty endpoints topic, for example: A Kubernetes Service exists and resolves in DNS but every request fails after a Deployment's labels changed. The actual scenario is: A newly deployed Namespace gets intermittent unknown-host errors while backend Service endpoints remain healthy. The relevant mechanism is that internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability. The matching implementation is to query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

ImagePullBackOff indicates retries after failed image retrieval, distinct from an application crash that occurs after a container starts. This explanation belongs to the nearby ImagePullBackOff credential or registry fault topic, for example: A scheduled Pod cannot start because the private registry rejects its pull credentials. The actual scenario is: A newly deployed Namespace gets intermittent unknown-host errors while backend Service endpoints remain healthy. The relevant mechanism is that internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability. The matching implementation is to query DNS from an affected Pod and inspect CoreDNS, search domains, and service naming before changing the healthy backend. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 163

A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM.

What technical distinction should guide the decision?

  1. Microservices permit independent delivery and scaling but introduce distributed network dependencies that need resilience and operations discipline
  2. A service mesh manages selected service-to-service traffic policies, telemetry, and identities, while Ingress or Gateway resources primarily expose routed entry traffic
  3. Cloud-native systems emphasize automation, elasticity, portability, and resilient reconciliation rather than fixed manually administered hosts
  4. CNCF cloud-native projects span orchestration, networking, observability, service proxies, and more; sharing an ecosystem does not make them interchangeable

Explanation

Correct Answer

C:

Cloud-native systems emphasize automation, elasticity, portability, and resilient reconciliation rather than fixed manually administered hosts. This component or control behavior explains what matters in the case: A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM. The corresponding operational decision is to adopt declarative orchestration and independent containerized application components with measurable scaling and recovery controls. The expected evidence is that a controlled load change adjusts replicas within policy and the same workload manifest deploys consistently across eligible clusters. If the requirement is misunderstood, hard-coded host assumptions and manual procedures make scaling and disaster recovery brittle across environments. The distinction matters because cloud-native controls are specific to layers, resource lifecycles, and declared ownership; similar-sounding features are not always substitutes.

Incorrect Answers

A:

Microservices permit independent delivery and scaling but introduce distributed network dependencies that need resilience and operations discipline. This explanation belongs to the nearby microservices boundaries and reliability tradeoffs topic, for example: A monolithic application is being split into independently released services and must account for network calls and failure isolation. The actual scenario is: A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM. The relevant mechanism is that cloud-native systems emphasize automation, elasticity, portability, and resilient reconciliation rather than fixed manually administered hosts. The matching implementation is to adopt declarative orchestration and independent containerized application components with measurable scaling and recovery controls. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

B:

A service mesh manages selected service-to-service traffic policies, telemetry, and identities, while Ingress or Gateway resources primarily expose routed entry traffic. This explanation belongs to the nearby service mesh versus north-south ingress topic, for example: Teams need consistent service-to-service authentication and traffic policies across microservices, not just external HTTP routing. The actual scenario is: A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM. The relevant mechanism is that cloud-native systems emphasize automation, elasticity, portability, and resilient reconciliation rather than fixed manually administered hosts. The matching implementation is to adopt declarative orchestration and independent containerized application components with measurable scaling and recovery controls. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

CNCF cloud-native projects span orchestration, networking, observability, service proxies, and more; sharing an ecosystem does not make them interchangeable. This explanation belongs to the nearby CNCF landscape and projects by function topic, for example: An engineer must choose an observability component and confuses metrics projects with tools for service routing or image packaging. The actual scenario is: A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM. The relevant mechanism is that cloud-native systems emphasize automation, elasticity, portability, and resilient reconciliation rather than fixed manually administered hosts. The matching implementation is to adopt declarative orchestration and independent containerized application components with measurable scaling and recovery controls. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 164

A team asks which node-side Kubernetes process reports Pod status and coordinates the configured container runtime.

What acceptance test result provides the strongest evidence of success?

  1. The same Deployment name exists in two Namespaces with independently retrieved specifications and correct access permissions
  2. A client resolves the Service DNS name and reaches a healthy selected backend before and after a controlled Pod replacement
  3. The kubelet reports Ready and the assigned Pod reaches its expected container and probe states on the target node
  4. Both containers start on the same node and communicate over localhost while the shared volume contains the expected data

Explanation

Correct Answer

C:

The kubelet reports Ready and the assigned Pod reaches its expected container and probe states on the target node. This result checks the exact operational requirement in the scenario: A team asks which node-side Kubernetes process reports Pod status and coordinates the configured container runtime. It should be obtained after the team takes the step to inspect kubelet status and node events on the assigned worker while preserving the control-plane API and workload definition. The kubelet runs on a node, observes assigned Pod specifications, interacts with the container runtime, and reports status back to the control plane. The acceptance evidence must guard against the failure in which healthy API and scheduler services do not guarantee container startup if the assigned node's kubelet cannot operate. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

The same Deployment name exists in two Namespaces with independently retrieved specifications and correct access permissions. This would provide useful evidence for a different Namespace namespaced scope versus cluster scope situation such as: Two departments want identically named application Deployments without colliding in a shared multi-team Kubernetes cluster. That is not the specific requirement here: A team asks which node-side Kubernetes process reports Pod status and coordinates the configured container runtime. The directly matching evidence is that the kubelet reports Ready and the assigned Pod reaches its expected container and probe states on the target node. The associated implementation is to inspect kubelet status and node events on the assigned worker while preserving the control-plane API and workload definition. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

A client resolves the Service DNS name and reaches a healthy selected backend before and after a controlled Pod replacement. This would provide useful evidence for a different Service stable identity across changing Pods situation such as: An internal client loses connectivity whenever a Deployment replaces Pods and their ephemeral Pod IP addresses change. That is not the specific requirement here: A team asks which node-side Kubernetes process reports Pod status and coordinates the configured container runtime. The directly matching evidence is that the kubelet reports Ready and the assigned Pod reaches its expected container and probe states on the target node. The associated implementation is to inspect kubelet status and node events on the assigned worker while preserving the control-plane API and workload definition. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

Both containers start on the same node and communicate over localhost while the shared volume contains the expected data. This would provide useful evidence for a different Pod as smallest deployable scheduling unit situation such as: Two tightly coupled processes must share localhost and a temporary volume while being placed on the same node as one unit. That is not the specific requirement here: A team asks which node-side Kubernetes process reports Pod status and coordinates the configured container runtime. The directly matching evidence is that the kubelet reports Ready and the assigned Pod reaches its expected container and probe states on the target node. The associated implementation is to inspect kubelet status and node events on the assigned worker while preserving the control-plane API and workload definition. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 165

Developers need new persistent volumes automatically created from a supported block storage provisioner.

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

  1. A scratch-data test resets after Pod replacement, while the separate persisted dataset remains intact on its PVC
  2. The claim becomes Bound, the Pod mounts its path, and written data survives a controlled Pod replacement
  3. The chosen PV supports the specified mount topology and approved replicas can access data according to the real backend capabilities
  4. A new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics

Explanation

Correct Answer

D:

A new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. This result checks the exact operational requirement in the scenario: Developers need new persistent volumes automatically created from a supported block storage provisioner. It should be obtained after the team takes the step to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. StorageClass describes provisioning behavior and parameters; a CSI driver can dynamically provision PVs for matching PVCs. The acceptance evidence must guard against the failure in which an absent or incorrect provisioner leaves claims Pending or creates storage with incompatible performance and durability properties. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

A scratch-data test resets after Pod replacement, while the separate persisted dataset remains intact on its PVC. This would provide useful evidence for a different ephemeral emptyDir versus persistent PVC situation such as: A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement. That is not the specific requirement here: Developers need new persistent volumes automatically created from a supported block storage provisioner. The directly matching evidence is that a new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. The associated implementation is to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

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: Developers need new persistent volumes automatically created from a supported block storage provisioner. The directly matching evidence is that a new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. The associated implementation is to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. 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: Developers need new persistent volumes automatically created from a supported block storage provisioner. The directly matching evidence is that a new PVC reaches Bound and its dynamically created backing volume appears with the expected capacity and access semantics. The associated implementation is to configure a supported StorageClass and compatible CSI provisioner and create claims referencing the intended storage class. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 166

A container image builds successfully but exits immediately because its default process command is incorrect.

Which Kubernetes principle explains the appropriate solution?

  1. An image's entrypoint and command define its default process arguments, and the container typically exits when its main process terminates
  2. Registries store and distribute container images; kubelet asks the container runtime to retrieve referenced images before starting containers
  3. An image digest identifies content immutably, whereas tags are names that can be moved to reference different image content
  4. A container image packages layered filesystem content and runtime metadata, separating the build artifact from the host operating system

Explanation

Correct Answer

A:

An image's entrypoint and command define its default process arguments, and the container typically exits when its main process terminates. This component or control behavior explains what matters in the case: A container image builds successfully but exits immediately because its default process command is incorrect. The corresponding operational decision is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. The expected evidence is that the container stays running with the intended application as its primary process and responds correctly to termination signals. If the requirement is misunderstood, an incorrect startup command can produce repeated container exits despite a successfully built and published image. 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:

Registries store and distribute container images; kubelet asks the container runtime to retrieve referenced images before starting containers. This explanation belongs to the nearby container registry and image pulls topic, for example: A new Pod reports image pull errors because workers cannot reach the private image repository. The actual scenario is: A container image builds successfully but exits immediately because its default process command is incorrect. The relevant mechanism is that an image's entrypoint and command define its default process arguments, and the container typically exits when its main process terminates. The matching implementation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

An image digest identifies content immutably, whereas tags are names that can be moved to reference different image content. This explanation belongs to the nearby digest pinning versus mutable tags topic, for example: A production deployment unexpectedly fetched different bytes from an image tag that an operator had reused. The actual scenario is: A container image builds successfully but exits immediately because its default process command is incorrect. The relevant mechanism is that an image's entrypoint and command define its default process arguments, and the container typically exits when its main process terminates. The matching implementation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

A container image packages layered filesystem content and runtime metadata, separating the build artifact from the host operating system. This explanation belongs to the nearby OCI container images and immutable build artifacts topic, for example: An application team needs reproducible packaging of a runtime and dependencies to deploy across workers. The actual scenario is: A container image builds successfully but exits immediately because its default process command is incorrect. The relevant mechanism is that an image's entrypoint and command define its default process arguments, and the container typically exits when its main process terminates. The matching implementation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 167

A container fails immediately after launch and the current log stream omits the message from the preceding failed instance.

Which explanation best matches the observed cluster behavior?

  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. Container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible
  4. Startup probes give slow-starting applications time to initialize before liveness and readiness probes become active

Explanation

Correct Answer

C:

Container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible. This component or control behavior explains what matters in the case: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. The corresponding operational decision is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. The expected evidence is that the retrieved previous log explains the failing process and a corrected rollout runs without repeated restarts. If the requirement is misunderstood, restarting and redeploying without collecting previous logs can erase useful context for the original failure. 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: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. The relevant mechanism is that container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible. The matching implementation is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. 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: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. The relevant mechanism is that container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible. The matching implementation is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

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: A container fails immediately after launch and the current log stream omits the message from the preceding failed instance. The relevant mechanism is that container log retrieval can show stdout and stderr from current or preceding instances, making application startup failures visible. The matching implementation is to inspect kubectl logs with the previous-container option alongside Pod termination reasons and application configuration. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 168

A business requires a human approval gate before promoting an otherwise fully tested container image to production.

Which implementation approach best matches the stated constraint?

  1. Configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status
  2. Implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure
  3. Maintain separate blue and green versions, smoke-test the inactive environment, then switch the approved routing target
  4. Choose continuous delivery with an explicit production approval gate, or continuous deployment only when automated release is authorized

Explanation

Correct Answer

D:

Choose continuous delivery with an explicit production approval gate, or continuous deployment only when automated release is authorized. This action directly addresses the described situation: A business requires a human approval gate before promoting an otherwise fully tested container image to production. Continuous delivery prepares a releasable artifact with manual approval possible; continuous deployment automatically releases qualifying changes. To distinguish a correct change from an unverified configuration, check that production deployment follows the documented approval policy while build and test automation still produce a verified artifact. The relevant failure concern is that treating every continuous delivery pipeline as automatic production deployment can bypass required release approvals. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Configure a Deployment rolling-update strategy with suitable maxSurge and maxUnavailable, then observe readiness and rollout status. That action is sensible for the separate rolling update strategy and maxUnavailable problem, for example: An HTTP Deployment must move gradually to a new image while limiting unavailable replicas during the transition. This scenario instead describes: A business requires a human approval gate before promoting an otherwise fully tested container image to production. The more direct corrective action is to choose continuous delivery with an explicit production approval gate, or continuous deployment only when automated release is authorized. Continuous delivery prepares a releasable artifact with manual approval possible; continuous deployment automatically releases qualifying changes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Implement a supported canary deployment and traffic split, comparing representative health and latency before increasing exposure. That action is sensible for the separate canary release with measured traffic problem, for example: A team wants to expose only a small share of requests to a new version before broad production rollout. This scenario instead describes: A business requires a human approval gate before promoting an otherwise fully tested container image to production. The more direct corrective action is to choose continuous delivery with an explicit production approval gate, or continuous deployment only when automated release is authorized. Continuous delivery prepares a releasable artifact with manual approval possible; continuous deployment automatically releases qualifying changes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Maintain separate blue and green versions, smoke-test the inactive environment, then switch the approved routing target. That action is sensible for the separate blue-green release cutover problem, for example: A critical application needs a full parallel environment for a fast verified cutover and easy return to the old release. This scenario instead describes: A business requires a human approval gate before promoting an otherwise fully tested container image to production. The more direct corrective action is to choose continuous delivery with an explicit production approval gate, or continuous deployment only when automated release is authorized. Continuous delivery prepares a releasable artifact with manual approval possible; continuous deployment automatically releases qualifying changes. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 169

A release engineer needs a runtime command that starts the intended long-running web server inside the image.

Which result most specifically confirms the intended Kubernetes behavior?

  1. An authorized worker pulls the specified image and the Pod progresses past image retrieval into container creation
  2. Two eligible workers start containers from the same immutable image digest and run consistent application versions
  3. A compatible workload starts promptly from its image and uses the host kernel while access boundaries pass the security review
  4. The container stays running with the intended application as its primary process and responds correctly to termination signals

Explanation

Correct Answer

D:

The container stays running with the intended application as its primary process and responds correctly to termination signals. This result checks the exact operational requirement in the scenario: A release engineer needs a runtime command that starts the intended long-running web server inside the image. It should be obtained after the team takes the step to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. An image's entrypoint and command define its default process arguments, and the container typically exits when its main process terminates. The acceptance evidence must guard against the failure in which an incorrect startup command can produce repeated container exits despite a successfully built and published image. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

An authorized worker pulls the specified image and the Pod progresses past image retrieval into container creation. This would provide useful evidence for a different container registry and image pulls situation such as: A new Pod reports image pull errors because workers cannot reach the private image repository. That is not the specific requirement here: A release engineer needs a runtime command that starts the intended long-running web server inside the image. The directly matching evidence is that the container stays running with the intended application as its primary process and responds correctly to termination signals. The associated implementation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

Two eligible workers start containers from the same immutable image digest and run consistent application versions. This would provide useful evidence for a different OCI container images and immutable build artifacts situation such as: An application team needs reproducible packaging of a runtime and dependencies to deploy across workers. That is not the specific requirement here: A release engineer needs a runtime command that starts the intended long-running web server inside the image. The directly matching evidence is that the container stays running with the intended application as its primary process and responds correctly to termination signals. The associated implementation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

A compatible workload starts promptly from its image and uses the host kernel while access boundaries pass the security review. This would provide useful evidence for a different containers compared with virtual machines situation such as: A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance. That is not the specific requirement here: A release engineer needs a runtime command that starts the intended long-running web server inside the image. The directly matching evidence is that the container stays running with the intended application as its primary process and responds correctly to termination signals. The associated implementation is to set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 170

An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges.

What operational hazard is most important in the described case?

  1. Promoting unknown or mutable artifacts can introduce vulnerable or malicious components even when the Kubernetes scheduler is healthy
  2. Embedding a human admin credential in a Pod allows its compromise to expose excessive cluster control privileges
  3. Overly broad cluster permissions give a compromised automation credential access far beyond its operational task
  4. Without enforced admission policy, workloads may obtain host capabilities or filesystem exposure outside their intended trust boundary

Explanation

Correct Answer

A:

Promoting unknown or mutable artifacts can introduce vulnerable or malicious components even when the Kubernetes scheduler is healthy. This failure path follows the case as described: An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges. The appropriate corrective decision is to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks. The control should be accepted only when only an approved scanned image digest reaches the cluster and security policy prevents an untrusted release from running. 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:

Embedding a human admin credential in a Pod allows its compromise to expose excessive cluster control privileges. This is a plausible risk for the different ServiceAccount identity for workloads scenario, for example: An in-cluster controller requires permission to read a limited group of Kubernetes resources using its own identity. However, the presented case concerns: An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges. The more direct risk is that promoting unknown or mutable artifacts can introduce vulnerable or malicious components even when the Kubernetes scheduler is healthy. The relevant mitigation is to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. 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:

Overly broad cluster permissions give a compromised automation credential access far beyond its operational task. This is a plausible risk for the different RBAC least privilege for namespace users scenario, for example: A CI service account needs to read Deployments in staging but must not delete Secrets or touch production Namespaces. However, the presented case concerns: An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges. The more direct risk is that promoting unknown or mutable artifacts can introduce vulnerable or malicious components even when the Kubernetes scheduler is healthy. The relevant mitigation is to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. 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:

Without enforced admission policy, workloads may obtain host capabilities or filesystem exposure outside their intended trust boundary. This is a plausible risk for the different Pod Security Standards enforce restricted workloads scenario, for example: Developers submit Pods that request privileged execution and host mounts in a shared team Namespace. However, the presented case concerns: An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges. The more direct risk is that promoting unknown or mutable artifacts can introduce vulnerable or malicious components even when the Kubernetes scheduler is healthy. The relevant mitigation is to scan and pin approved images, reduce runtime privilege, and enforce image provenance or admission requirements where supported. 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