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 8

Question 70

A container's lengthy schema setup is expected, but fixed liveness thresholds are causing repeated early termination.

What component behavior is most important in this situation?

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

Explanation

Correct Answer

C:

Startup probes give slow-starting applications time to initialize before liveness and readiness probes become active. This component or control behavior explains what matters in the case: A container's lengthy schema setup is expected, but fixed liveness thresholds are causing repeated early termination. The corresponding operational decision is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. The expected evidence is that the application completes a representative cold start once and then transitions to normal readiness and liveness monitoring. If the requirement is misunderstood, using short liveness timing during a valid slow startup can force endless restarts of an otherwise healthy workload. 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's lengthy schema setup is expected, but fixed liveness thresholds are causing repeated early termination. The relevant mechanism is that startup probes give slow-starting applications time to initialize before liveness and readiness probes become active. The matching implementation is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. 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's lengthy schema setup is expected, but fixed liveness thresholds are causing repeated early termination. The relevant mechanism is that startup probes give slow-starting applications time to initialize before liveness and readiness probes become active. The matching implementation is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Deployment revision history supports reversing a template change, while application monitoring confirms whether the previous version truly restored service. This explanation belongs to the nearby rollout revision history for regression recovery topic, for example: An application regression begins immediately after a Deployment revision and a prior version has passed smoke tests. The actual scenario is: A container's lengthy schema setup is expected, but fixed liveness thresholds are causing repeated early termination. The relevant mechanism is that startup probes give slow-starting applications time to initialize before liveness and readiness probes become active. The matching implementation is to add a startup probe with a realistic failure window so liveness and readiness behavior begins after startup succeeds. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 71

A web container appears briefly Running then restarts while the team has not checked termination reason or previous logs.

Which operational observation most convincingly validates the fix?

  1. The corrected container remains Running through the observation interval and restart counts stop increasing unexpectedly
  2. Expected ready Pod addresses appear in EndpointSlices and clients successfully connect through the stable Service
  3. A worker successfully pulls the approved digest and the Pod advances from image retrieval to container creation
  4. The Pod resolves the correct fully qualified Service name and application requests succeed without hard-coded IP addresses

Explanation

Correct Answer

A:

The corrected container remains Running through the observation interval and restart counts stop increasing unexpectedly. This result checks the exact operational requirement in the scenario: A web container appears briefly Running then restarts while the team has not checked termination reason or previous logs. It should be obtained after the team takes the step to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. CrashLoopBackOff is a retry delay after repeated container failures and often reflects application exit or failed probes rather than a scheduler defect. The acceptance evidence must guard against the failure in which ignoring termination reasons and continuously deleting Pods repeats the same faulty image or configuration without fixing the crash. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

B:

Expected ready Pod addresses appear in EndpointSlices and clients successfully connect through the stable Service. This would provide useful evidence for a different Service connection failure with empty endpoints situation such as: A Kubernetes Service exists and resolves in DNS but every request fails after a Deployment's labels changed. That is not the specific requirement here: A web container appears briefly Running then restarts while the team has not checked termination reason or previous logs. The directly matching evidence is that the corrected container remains Running through the observation interval and restart counts stop increasing unexpectedly. The associated implementation is to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

A worker successfully pulls the approved digest and the Pod advances from image retrieval to container creation. This would provide useful evidence for a different ImagePullBackOff credential or registry fault situation such as: A scheduled Pod cannot start because the private registry rejects its pull credentials. That is not the specific requirement here: A web container appears briefly Running then restarts while the team has not checked termination reason or previous logs. The directly matching evidence is that the corrected container remains Running through the observation interval and restart counts stop increasing unexpectedly. The associated implementation is to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

The Pod resolves the correct fully qualified Service name and application requests succeed without hard-coded IP addresses. This would provide useful evidence for a different DNS failure within running application Pods situation such as: Two Running Pods cannot resolve a ClusterIP Service by DNS name although direct IP calls succeed. That is not the specific requirement here: A web container appears briefly Running then restarts while the team has not checked termination reason or previous logs. The directly matching evidence is that the corrected container remains Running through the observation interval and restart counts stop increasing unexpectedly. The associated implementation is to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 72

A team used a Deployment for a distributed stateful service and loses predictable names after Pod replacement.

What is the likely impact of retaining this faulty assumption?

  1. Treating stateful replicas as disposable stateless Pods can break identity assumptions and lead to misplaced or lost state
  2. Confusing Pod-lifetime scratch storage with persistent volume semantics can erase important state during normal rolling updates
  3. An absent or incorrect provisioner leaves claims Pending or creates storage with incompatible performance and durability properties
  4. Assuming RWO permits concurrent multi-node writers can cause attachment failures or incorrect application storage design

Explanation

Correct Answer

A:

Treating stateful replicas as disposable stateless Pods can break identity assumptions and lead to misplaced or lost state. This failure path follows the case as described: A team used a Deployment for a distributed stateful service and loses predictable names after Pod replacement. The appropriate corrective decision is to use a StatefulSet with a suitable headless Service and volumeClaimTemplates for identity-sensitive stateful replicas. StatefulSets manage stable Pod identities and persistent claim relationships, unlike stateless Deployment replicas with interchangeable identities. The control should be accepted only when each replica retains the intended ordinal identity and associated data claim after a controlled restart or reschedule. 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:

Confusing Pod-lifetime scratch storage with persistent volume semantics can erase important state during normal rolling updates. This is a plausible risk for the different ephemeral emptyDir versus persistent PVC scenario, for example: A Pod uses an emptyDir scratch volume but an application owner expects its files to survive complete Pod replacement. However, the presented case concerns: A team used a Deployment for a distributed stateful service and loses predictable names after Pod replacement. The more direct risk is that treating stateful replicas as disposable stateless Pods can break identity assumptions and lead to misplaced or lost state. The relevant mitigation is to use a StatefulSet with a suitable headless Service and volumeClaimTemplates for identity-sensitive stateful replicas. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

C:

An absent or incorrect provisioner leaves claims Pending or creates storage with incompatible performance and durability properties. This is a plausible risk for the different StorageClass dynamic provisioning scenario, for example: Developers need new persistent volumes automatically created from a supported block storage provisioner. However, the presented case concerns: A team used a Deployment for a distributed stateful service and loses predictable names after Pod replacement. The more direct risk is that treating stateful replicas as disposable stateless Pods can break identity assumptions and lead to misplaced or lost state. The relevant mitigation is to use a StatefulSet with a suitable headless Service and volumeClaimTemplates for identity-sensitive stateful replicas. Treating every infrastructure risk as interchangeable would obscure the concrete failure path and lead the team to protect the wrong part of the system.

D:

Assuming RWO permits concurrent multi-node writers can cause attachment failures or incorrect application storage design. This is a plausible risk for the different ReadWriteOnce versus ReadWriteMany modes scenario, for example: Two replicas need to access the same shared content but the chosen volume supports only a single-node writer attachment. However, the presented case concerns: A team used a Deployment for a distributed stateful service and loses predictable names after Pod replacement. The more direct risk is that treating stateful replicas as disposable stateless Pods can break identity assumptions and lead to misplaced or lost state. The relevant mitigation is to use a StatefulSet with a suitable headless Service and volumeClaimTemplates for identity-sensitive stateful replicas. 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 73

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

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

  1. Set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling
  2. Publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported
  3. Verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker
  4. Build and publish a versioned OCI-compatible container image containing the application and required dependencies

Explanation

Correct Answer

A:

Set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. This action directly addresses the described situation: A container image builds successfully but exits immediately because its default process command is incorrect. An image's entrypoint and command define its default process arguments, and the container typically exits when its main process terminates. To distinguish a correct change from an unverified configuration, check that the container stays running with the intended application as its primary process and responds correctly to termination signals. The relevant failure concern is that an incorrect startup command can produce repeated container exits despite a successfully built and published image. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

B:

Publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported. That action is sensible for the separate container registry and image pulls problem, for example: A new Pod reports image pull errors because workers cannot reach the private image repository. This scenario instead describes: A container image builds successfully but exits immediately because its default process command is incorrect. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker. That action is sensible for the separate CRI runtime responsibilities problem, for example: Kubernetes workers use containerd and administrators want to understand what launches containers on those nodes. This scenario instead describes: A container image builds successfully but exits immediately because its default process command is incorrect. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

D:

Build and publish a versioned OCI-compatible container image containing the application and required dependencies. That action is sensible for the separate OCI container images and immutable build artifacts problem, for example: An application team needs reproducible packaging of a runtime and dependencies to deploy across workers. This scenario instead describes: A container image builds successfully but exits immediately because its default process command is incorrect. The more direct corrective action is 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. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 74

A latency-sensitive workload must run only on workers labeled for the intended hardware architecture.

Which risk belongs in the change assessment?

  1. Using strict spread constraints with too few eligible zones may keep replicas Pending even when raw CPU is free
  2. Overusing high priority or assuming it creates new capacity can cause avoidable evictions without solving actual shortages
  3. Understating requests can overcommit scheduling decisions, while impossible requests can leave an application permanently Pending
  4. Mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware

Explanation

Correct Answer

D:

Mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware. This failure path follows the case as described: A latency-sensitive workload must run only on workers labeled for the intended hardware architecture. The appropriate corrective decision is to apply verified node labels and required node affinity or node selectors in the Pod's scheduling specification. Node affinity and node selectors constrain which node labels satisfy a Pod's placement requirements, unlike labels that merely group Pods. The control should be accepted only when all selected Pods run on nodes with the required label and incompatible nodes are excluded by scheduling evaluation. 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:

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 latency-sensitive workload must run only on workers labeled for the intended hardware architecture. The more direct risk is that mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware. The relevant mitigation is to apply verified node labels and required node affinity or node selectors in the Pod's scheduling specification. 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:

Overusing high priority or assuming it creates new capacity can cause avoidable evictions without solving actual shortages. This is a plausible risk for the different PriorityClass and preemption under contention scenario, for example: A high-priority control workload needs preference over expendable batch jobs during sustained node resource pressure. However, the presented case concerns: A latency-sensitive workload must run only on workers labeled for the intended hardware architecture. The more direct risk is that mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware. The relevant mitigation is to apply verified node labels and required node affinity or node selectors in the Pod's scheduling specification. 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:

Understating requests can overcommit scheduling decisions, while impossible requests can leave an application permanently Pending. This is a plausible risk for the different CPU requests influence scheduling feasibility scenario, for example: A Pod specifies a CPU request greater than any worker node's currently allocatable capacity and cannot be scheduled. However, the presented case concerns: A latency-sensitive workload must run only on workers labeled for the intended hardware architecture. The more direct risk is that mislabeling workers or using a preferred rule where a hard constraint is needed can place Pods on unsuitable hardware. The relevant mitigation is to apply verified node labels and required node affinity or node selectors in the Pod's scheduling specification. 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 75

An architecture team assumes breaking a service into many components automatically improves availability without adding operational complexity.

Which measured or visible outcome should close the implementation check?

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

Explanation

Correct Answer

C:

Each service can be deployed independently while a controlled dependency failure follows documented timeout and fallback behavior. This result checks the exact operational requirement in the scenario: An architecture team assumes breaking a service into many components automatically improves availability without adding operational complexity. It should be obtained after the team takes the step to define coherent service boundaries, explicit APIs, retry/timeouts, and observability that match business ownership and failure tolerance. Microservices permit independent delivery and scaling but introduce distributed network dependencies that need resilience and operations discipline. The acceptance evidence must guard against the failure in which unbounded synchronous dependencies and unclear ownership can turn a small service fault into a larger cascading outage. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

A controlled load change adjusts replicas within policy and the same workload manifest deploys consistently across eligible clusters. This would provide useful evidence for a different cloud-native elasticity and declarative infrastructure situation such as: A startup's application traffic changes rapidly and teams need to scale replicas without manually configuring each VM. That is not the specific requirement here: An architecture team assumes breaking a service into many components automatically improves availability without adding operational complexity. The directly matching evidence is that each service can be deployed independently while a controlled dependency failure follows documented timeout and fallback behavior. The associated implementation is to define coherent service boundaries, explicit APIs, retry/timeouts, and observability that match business ownership and failure tolerance. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

An architecture decision correctly identifies Kubernetes for orchestration, Prometheus for metrics, and Envoy for proxying where each is appropriate. This would provide useful evidence for a different CNCF landscape and projects by function situation such as: An engineer must choose an observability component and confuses metrics projects with tools for service routing or image packaging. That is not the specific requirement here: An architecture team assumes breaking a service into many components automatically improves availability without adding operational complexity. The directly matching evidence is that each service can be deployed independently while a controlled dependency failure follows documented timeout and fallback behavior. The associated implementation is to define coherent service boundaries, explicit APIs, retry/timeouts, and observability that match business ownership and failure tolerance. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

D:

A controlled service-to-service request follows the required identity and policy rules while permitted external ingress still works. This would provide useful evidence for a different service mesh versus north-south ingress situation such as: Teams need consistent service-to-service authentication and traffic policies across microservices, not just external HTTP routing. That is not the specific requirement here: An architecture team assumes breaking a service into many components automatically improves availability without adding operational complexity. The directly matching evidence is that each service can be deployed independently while a controlled dependency failure follows documented timeout and fallback behavior. The associated implementation is to define coherent service boundaries, explicit APIs, retry/timeouts, and observability that match business ownership and failure tolerance. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 76

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

Why does the relevant technology satisfy this specific requirement?

  1. ClusterIP provides a stable cluster-internal virtual Service address that routes to eligible backend Pods without directly exposing a node port
  2. Kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces
  3. Ingress or Gateway resources express Layer 7 routing intent; a compatible controller or implementation is required to program real traffic
  4. A NodePort exposes a chosen port on eligible node addresses, while LoadBalancer asks a supported infrastructure integration for an external load balancer

Explanation

Correct Answer

B:

Kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. This component or control behavior explains what matters in the case: Microservices rely on stable service names and the team must identify the component resolving those names inside Pods. The corresponding operational decision is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. The expected evidence is that a DNS lookup from the client Pod resolves the intended Service name and the application connects using that resolved endpoint. If the requirement is misunderstood, hard-coding Pod IPs or overlooking CoreDNS failures can break service discovery after otherwise healthy Pod replacements. 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:

ClusterIP provides a stable cluster-internal virtual Service address that routes to eligible backend Pods without directly exposing a node port. This explanation belongs to the nearby ClusterIP service for private east-west access topic, for example: A backend API should accept traffic only through an internal Kubernetes virtual Service address and not via a public load balancer. The actual scenario is: Microservices rely on stable service names and the team must identify the component resolving those names inside Pods. The relevant mechanism is that kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. The matching implementation is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Ingress or Gateway resources express Layer 7 routing intent; a compatible controller or implementation is required to program real traffic. This explanation belongs to the nearby Ingress or Gateway for HTTP routing topic, for example: Several HTTPS web services share one public endpoint and need requests dispatched by hostname or path. The actual scenario is: Microservices rely on stable service names and the team must identify the component resolving those names inside Pods. The relevant mechanism is that kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. The matching implementation is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

A NodePort exposes a chosen port on eligible node addresses, while LoadBalancer asks a supported infrastructure integration for an external load balancer. This explanation belongs to the nearby NodePort versus LoadBalancer external access topic, for example: A test environment must expose a simple TCP application through an explicitly allowed port on Kubernetes nodes. The actual scenario is: Microservices rely on stable service names and the team must identify the component resolving those names inside Pods. The relevant mechanism is that kubernetes DNS commonly resolves Service names into Service addresses; names may require a namespace-qualified form when crossing namespaces. The matching implementation is to check CoreDNS and the Pod DNS configuration, then validate Service and Namespace DNS resolution before editing application endpoints. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 77

A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance.

Which implementation approach best matches the stated constraint?

  1. Set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling
  2. Publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported
  3. Verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker
  4. Choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls

Explanation

Correct Answer

D:

Choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls. This action directly addresses the described situation: A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance. Containers typically share the host kernel and isolate processes with kernel mechanisms, unlike virtual machines that run guest operating systems. To distinguish a correct change from an unverified configuration, check that a compatible workload starts promptly from its image and uses the host kernel while access boundaries pass the security review. The relevant failure concern is that assuming container isolation is identical to VM isolation may lead to unsupported kernel requirements or a weak security boundary. A neighboring Kubernetes feature may be useful elsewhere, but selecting it here would leave the central requirement unfulfilled.

Incorrect Answers

A:

Set suitable Dockerfile ENTRYPOINT and CMD semantics, test the image's default invocation, and preserve signal handling. That action is sensible for the separate Dockerfile entrypoint and startup command problem, for example: A container image builds successfully but exits immediately because its default process command is incorrect. This scenario instead describes: A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance. The more direct corrective action is to choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls. Containers typically share the host kernel and isolate processes with kernel mechanisms, unlike virtual machines that run guest operating systems. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

B:

Publish approved images to a reachable registry and configure authorized imagePullSecrets or workload identity where supported. That action is sensible for the separate container registry and image pulls problem, for example: A new Pod reports image pull errors because workers cannot reach the private image repository. This scenario instead describes: A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance. The more direct corrective action is to choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls. Containers typically share the host kernel and isolate processes with kernel mechanisms, unlike virtual machines that run guest operating systems. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

C:

Verify a supported Container Runtime Interface implementation and kubelet connectivity on each eligible worker. That action is sensible for the separate CRI runtime responsibilities problem, for example: Kubernetes workers use containerd and administrators want to understand what launches containers on those nodes. This scenario instead describes: A team needs lightweight application isolation and fast startup without shipping a full guest kernel for each instance. The more direct corrective action is to choose containers for suitable packaged application processes while retaining node kernel compatibility and isolation controls. Containers typically share the host kernel and isolate processes with kernel mechanisms, unlike virtual machines that run guest operating systems. Applying a solution aimed at another problem would not establish the placement, connectivity, access, or delivery behavior specifically requested in this case.

Question 78

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

Which operational observation most convincingly validates the fix?

  1. Only an approved scanned image digest reaches the cluster and security policy prevents an untrusted release from running
  2. API calls from the Pod are attributed to its dedicated ServiceAccount and succeed only for the explicitly allowed operations
  3. Connectivity tests succeed from explicitly allowed clients and fail from unrelated Pods while DNS and required egress continue
  4. Authorized workloads retrieve required values while nonprivileged identities cannot read them and storage encryption is validated

Explanation

Correct Answer

D:

Authorized workloads retrieve required values while nonprivileged identities cannot read them and storage encryption is validated. This result checks the exact operational requirement in the scenario: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. It should be obtained after the team takes the step to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. The acceptance evidence must guard against the failure in which treating base64 encoding as encryption or allowing broad Secret read permissions creates a path to credential disclosure. A healthy-looking dashboard for an unrelated component would not demonstrate that this particular application or control is functioning correctly.

Incorrect Answers

A:

Only an approved scanned image digest reaches the cluster and security policy prevents an untrusted release from running. This would provide useful evidence for a different container image trust and vulnerability remediation situation such as: An application release includes an unreviewed base image with known critical vulnerabilities and unnecessary root privileges. That is not the specific requirement here: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. The directly matching evidence is that authorized workloads retrieve required values while nonprivileged identities cannot read them and storage encryption is validated. The associated implementation is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

B:

API calls from the Pod are attributed to its dedicated ServiceAccount and succeed only for the explicitly allowed operations. This would provide useful evidence for a different ServiceAccount identity for workloads situation such as: An in-cluster controller requires permission to read a limited group of Kubernetes resources using its own identity. That is not the specific requirement here: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. The directly matching evidence is that authorized workloads retrieve required values while nonprivileged identities cannot read them and storage encryption is validated. The associated implementation is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

C:

Connectivity tests succeed from explicitly allowed clients and fail from unrelated Pods while DNS and required egress continue. This would provide useful evidence for a different NetworkPolicy isolation for east-west traffic situation such as: A database Pod should receive TCP connections from its approved API Pods but not from arbitrary Pods in other namespaces. That is not the specific requirement here: A platform team needs to protect application credentials both in the Kubernetes datastore and when retrieved via API. The directly matching evidence is that authorized workloads retrieve required values while nonprivileged identities cannot read them and storage encryption is validated. The associated implementation is to enable supported encryption at rest where appropriate, restrict Secret RBAC, and audit token exposure and backup handling. A passing test for a neighboring Kubernetes resource does not establish that the actual workload is running with the requested guarantees.

Question 79

A Pod repeatedly restarts because its main process exits with a configuration error after startup.

Why does the relevant technology satisfy this specific requirement?

  1. Pending means a Pod may not be schedulable or ready to run; events can identify insufficient resources or unsatisfiable constraints
  2. CrashLoopBackOff is a retry delay after repeated container failures and often reflects application exit or failed probes rather than a scheduler defect
  3. Service objects need matching ready backend endpoints; a DNS A record and Service port alone do not create an application target
  4. Internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability

Explanation

Correct Answer

B:

CrashLoopBackOff is a retry delay after repeated container failures and often reflects application exit or failed probes rather than a scheduler defect. This component or control behavior explains what matters in the case: A Pod repeatedly restarts because its main process exits with a configuration error after startup. The corresponding operational decision is to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. The expected evidence is that the corrected container remains Running through the observation interval and restart counts stop increasing unexpectedly. If the requirement is misunderstood, ignoring termination reasons and continuously deleting Pods repeats the same faulty image or configuration without fixing the crash. 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 Pod repeatedly restarts because its main process exits with a configuration error after startup. The relevant mechanism is that crashLoopBackOff is a retry delay after repeated container failures and often reflects application exit or failed probes rather than a scheduler defect. The matching implementation is to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

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 Pod repeatedly restarts because its main process exits with a configuration error after startup. The relevant mechanism is that crashLoopBackOff is a retry delay after repeated container failures and often reflects application exit or failed probes rather than a scheduler defect. The matching implementation is to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

Internal DNS resolution depends on a functioning DNS service and correct client search configuration, independent of basic IP reachability. This explanation belongs to the nearby DNS failure within running application Pods topic, for example: Two Running Pods cannot resolve a ClusterIP Service by DNS name although direct IP calls succeed. The actual scenario is: A Pod repeatedly restarts because its main process exits with a configuration error after startup. The relevant mechanism is that crashLoopBackOff is a retry delay after repeated container failures and often reflects application exit or failed probes rather than a scheduler defect. The matching implementation is to inspect Pod termination status and previous container logs, correct the failing command or configuration, and retest. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Question 80

An audit finds developers assigned cluster-admin merely to run read-only kubectl status queries.

Why does the relevant technology satisfy this specific requirement?

  1. Kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects
  2. ServiceAccounts provide workload identities for authenticating to the Kubernetes API, subject to configured token mounting and authorizations
  3. Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management
  4. Image scanning identifies known vulnerable components, while trusted provenance and runtime controls address supply-chain and execution risks

Explanation

Correct Answer

A:

Kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects. This component or control behavior explains what matters in the case: An audit finds developers assigned cluster-admin merely to run read-only kubectl status queries. The corresponding operational decision is to create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. The expected evidence is that the designated identity can list the intended staging Deployments but cannot delete Secrets or modify production objects. If the requirement is misunderstood, overly broad cluster permissions give a compromised automation credential access far beyond its operational task. 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:

ServiceAccounts provide workload identities for authenticating to the Kubernetes API, subject to configured token mounting and authorizations. This explanation belongs to the nearby ServiceAccount identity for workloads topic, for example: An in-cluster controller requires permission to read a limited group of Kubernetes resources using its own identity. The actual scenario is: An audit finds developers assigned cluster-admin merely to run read-only kubectl status queries. The relevant mechanism is that kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects. The matching implementation is to create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

C:

Secret data can be base64 encoded in API representations; real confidentiality requires encryption, controlled API access, and careful key management. This explanation belongs to the nearby secret encryption and API access controls topic, for example: An operator believes Kubernetes Secret values are encrypted at rest solely because YAML displays them in base64. The actual scenario is: An audit finds developers assigned cluster-admin merely to run read-only kubectl status queries. The relevant mechanism is that kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects. The matching implementation is to create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

D:

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: An audit finds developers assigned cluster-admin merely to run read-only kubectl status queries. The relevant mechanism is that kubernetes RBAC grants API actions through roles bound to subjects; permissions are additive and should be scoped to required objects. The matching implementation is to create scoped Roles and RoleBindings with only necessary verbs, resources, and Namespaces, then test effective permissions. The alternative can be technically true in isolation but does not identify the component responsibility or constraint needed for this particular workload.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests

Purchase Individually

  • Premium File

    333 Questions & Answers
    Last Update: Oct 30, 2026

    $76.99
    $69.99
  • Training Course

    54 Lectures

    $43.99
    $39.99
  • Study Guide

    410 Pages

    $43.99
    $39.99

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

You save
10%

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

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

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

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

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

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