cert
cert-1
cert-2

Pass Linux Foundation KCNA Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
KCNA Exam - Verified By Experts
KCNA Premium Bundle
$29.98

KCNA Premium Bundle

$79.99
$109.97
  • Premium File 333 Questions & Answers. Last update: Nov 02, 2026
  • Training Course 54 Video Lectures
  • Study Guide 410 Pages
 
$109.97
$79.99
accept 39 downloads in last 7 days
block-screenshots
Purchase Linux Foundation KCNA Exam Training Products Individually
Linux Foundation KCNA Premium File
Premium File 333 Q&A
$76.99$69.99
Linux Foundation KCNA Video Training Course
Training Course 54 Lectures
$21.99 $19.99
Linux Foundation KCNA PDF Study Guide
Study Guide 410 Pages
$21.99 $19.99
Linux Foundation KCNA Practice Test 97

Question 960

An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Resource pressure is resolved without sustained involuntary eviction or unsafe removal of application persistent data.
  2. The container remains running or completes as intended without repeated backoff cycles after a targeted correction.
  3. Each stateful replica retains its expected identity and corresponding durable storage through controlled replacement.
  4. Eligible nodes retrieve the intended immutable artifact and Pods progress beyond image pull.

Explanation

Correct Answer

B:

The container remains running or completes as intended without repeated backoff cycles after a targeted correction. This is an observable service outcome, not just evidence that a configuration file was saved. CrashLoopBackOff indicates repeated container exits and restart delays, not a scheduler placement failure. Workload context: An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs.

Incorrect Answers

A:

Resource pressure is resolved without sustained involuntary eviction or unsafe removal of application persistent data. That result validates Node pressure and Pod eviction analysis rather than the requirement here. Verify instead: The container remains running or completes as intended without repeated backoff cycles after a targeted correction. Workload context: An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs.

C:

Each stateful replica retains its expected identity and corresponding durable storage through controlled replacement. That result validates StatefulSet identity and volume templates rather than the requirement here. Verify instead: The container remains running or completes as intended without repeated backoff cycles after a targeted correction. Workload context: An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs.

D:

Eligible nodes retrieve the intended immutable artifact and Pods progress beyond image pull. That result validates ImagePullBackOff registry and auth errors rather than the requirement here. Verify instead: The container remains running or completes as intended without repeated backoff cycles after a targeted correction. Workload context: An app starts correctly but crashes after a few seconds, leaving the last failing stack trace only in the previous container logs.

Question 961

A preproduction job applies an invalid pod template without using server dry-run and catches failure only after traffic is affected. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources.
  2. Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls.
  3. Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods.
  4. Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates.

Explanation

Correct Answer

D:

Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. This response implements the controlling Kubernetes or cloud native principle. Declarative apply merges intended fields but conflicts and imperative edits require field ownership review. Check its effect by: Inspect local-versus-server manifest diff, field ownership, admission rejection and resulting resource generation. Workload context: A preproduction job applies an invalid pod template without using server dry-run and catches failure only after traffic is affected.

Incorrect Answers

A:

Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources. This action addresses kubectl inspect and describe diagnostics instead of the controlling requirement. kubectl get summarizes objects; describe reveals events and details; logs reveals container stdout/stderr, not complete API diagnostics. For this scenario prefer: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Workload context: A preproduction job applies an invalid pod template without using server dry-run and catches failure only after traffic is affected.

B:

Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. This action addresses ConfigMap and Secret boundaries instead of the controlling requirement. Kubernetes Secret data is base64-encoded by default, not inherently encrypted or a substitute for managed secret governance. For this scenario prefer: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Workload context: A preproduction job applies an invalid pod template without using server dry-run and catches failure only after traffic is affected.

C:

Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. This action addresses Pod shared network namespace and lifecycle instead of the controlling requirement. Containers in one Pod share networking and selected volumes; Kubernetes schedules Pods rather than independent containers. For this scenario prefer: Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. Workload context: A preproduction job applies an invalid pod template without using server dry-run and catches failure only after traffic is affected.

Question 962

An app owner wants data locality preference but writes a hard node affinity that excludes healthy zones during failover. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices.
  2. Diagnose NotReady nodes and distinguish node health from Pod-level readiness before reopening scheduling.
  3. Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement.
  4. Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility.
  5. Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests.

Explanation

Correct Answers

A:

Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. This response implements the controlling Kubernetes or cloud native principle. Preferred affinity can be ignored to schedule a Pod; required affinity must be satisfied at scheduling time. Check its effect by: Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement. This is the implementation part of the required paired answer. Workload context: An app owner wants data locality preference but writes a hard node affinity that excludes healthy zones during failover.

C:

Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement. This is the most discriminating evidence for the described failure or requirement. Preferred affinity can be ignored to schedule a Pod; required affinity must be satisfied at scheduling time. The corresponding implementation is: Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. This is the diagnostic evidence part of the paired answer. Workload context: An app owner wants data locality preference but writes a hard node affinity that excludes healthy zones during failover.

Incorrect Answers

B:

Diagnose NotReady nodes and distinguish node health from Pod-level readiness before reopening scheduling. This step belongs to Node readiness and scheduling exclusion rather than the complementary implementation and evidence pair. The intended approach is: Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. Validate with: Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement. Workload context: An app owner wants data locality preference but writes a hard node affinity that excludes healthy zones during failover.

D:

Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility. This step belongs to PersistentVolume zone binding and placement rather than the complementary implementation and evidence pair. The intended approach is: Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. Validate with: Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement. Workload context: An app owner wants data locality preference but writes a hard node affinity that excludes healthy zones during failover.

E:

Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests. This step belongs to Image scanning and software bills of materials rather than the complementary implementation and evidence pair. The intended approach is: Choose requiredDuringSchedulingIgnoredDuringExecution for a hard node preference and preferred rules for soft placement choices. Validate with: Inspect affinity terms, matchExpressions, node labels, scheduler feasibility and fallback placement. Workload context: An app owner wants data locality preference but writes a hard node affinity that excludes healthy zones during failover.

Question 963

A collector receives spans but fails export because the observability backend endpoint expects TLS and the configured exporter uses plaintext. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality.
  2. Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds.
  3. Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities.
  4. Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors.

Explanation

Correct Answer

D:

Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. This response implements the controlling Kubernetes or cloud native principle. OpenTelemetry standardizes collection and export; a collector is not itself the storage/query backend for all signals. Check its effect by: Inspect tracer/provider setup, context propagation, collector pipeline, resource attributes and exporter endpoint health. Workload context: A collector receives spans but fails export because the observability backend endpoint expects TLS and the configured exporter uses plaintext.

Incorrect Answers

A:

Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. This action addresses Prometheus pull scraping and metrics endpoints instead of the controlling requirement. Prometheus primarily scrapes targets on an interval; instrumentation must expose values and high-cardinality labels can overload storage. For this scenario prefer: Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. Workload context: A collector receives spans but fails export because the observability backend endpoint expects TLS and the configured exporter uses plaintext.

B:

Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. This action addresses SLIs SLOs and golden signals instead of the controlling requirement. An SLI is a measurement, an SLO is a target and an SLA is a contractual commitment; they should not be conflated. For this scenario prefer: Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. Workload context: A collector receives spans but fails export because the observability backend endpoint expects TLS and the configured exporter uses plaintext.

C:

Distinguish Kubernetes orchestration responsibilities from ecosystem projects that add service mesh, telemetry, delivery and storage capabilities. This action addresses CNCF ecosystem and Kubernetes roles instead of the controlling requirement. The CNCF ecosystem contains complementary projects; Kubernetes itself is not a complete application observability or delivery platform. For this scenario prefer: Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. Workload context: A collector receives spans but fails export because the observability backend endpoint expects TLS and the configured exporter uses plaintext.

Question 964

A team deploys a proprietary cloud load-balancer annotation and assumes the same manifest will work unchanged on bare metal. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes.
  2. Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit.
  3. Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions.
  4. Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost.
  5. Project maintainers receive actionable confidential reports and releases can be coordinated without exposing affected users prematurely.

Explanation

Correct Answers

C:

Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. This response implements the controlling Kubernetes or cloud native principle. Cloud native APIs improve portability but do not guarantee identical storage classes, load balancers or custom controllers across clouds. Check its effect by: Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. This is the implementation part of the required paired answer. Workload context: A team deploys a proprietary cloud load-balancer annotation and assumes the same manifest will work unchanged on bare metal.

D:

Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. This is the most discriminating evidence for the described failure or requirement. Cloud native APIs improve portability but do not guarantee identical storage classes, load balancers or custom controllers across clouds. The corresponding implementation is: Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. This is the diagnostic evidence part of the paired answer. Workload context: A team deploys a proprietary cloud load-balancer annotation and assumes the same manifest will work unchanged on bare metal.

Incorrect Answers

A:

Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. This step belongs to SLIs SLOs and golden signals rather than the complementary implementation and evidence pair. The intended approach is: Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. Validate with: Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. Workload context: A team deploys a proprietary cloud load-balancer annotation and assumes the same manifest will work unchanged on bare metal.

B:

Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit. This step belongs to CNCF project maturity and adoption decisions rather than the complementary implementation and evidence pair. The intended approach is: Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. Validate with: Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. Workload context: A team deploys a proprietary cloud load-balancer annotation and assumes the same manifest will work unchanged on bare metal.

E:

Project maintainers receive actionable confidential reports and releases can be coordinated without exposing affected users prematurely. This step belongs to Responsible vulnerability disclosure in communities rather than the complementary implementation and evidence pair. The intended approach is: Prefer open APIs, OCI images and Kubernetes-compatible deployment contracts where portability matters while accounting for provider-specific extensions. Validate with: Inspect manifests for proprietary resources, storage/network API dependencies, image compatibility and migration cost. Workload context: A team deploys a proprietary cloud load-balancer annotation and assumes the same manifest will work unchanged on bare metal.

Question 965

A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Project maintainers receive actionable confidential reports and releases can be coordinated without exposing affected users prematurely.
  2. Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels.
  3. Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis.
  4. Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds.
  5. Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes.

Explanation

Correct Answers

D:

Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. This response implements the controlling Kubernetes or cloud native principle. An SLI is a measurement, an SLO is a target and an SLA is a contractual commitment; they should not be conflated. Check its effect by: Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. This is the implementation part of the required paired answer. Workload context: A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures.

E:

Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. This is the most discriminating evidence for the described failure or requirement. An SLI is a measurement, an SLO is a target and an SLA is a contractual commitment; they should not be conflated. The corresponding implementation is: Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. This is the diagnostic evidence part of the paired answer. Workload context: A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures.

Incorrect Answers

A:

Project maintainers receive actionable confidential reports and releases can be coordinated without exposing affected users prematurely. This step belongs to Responsible vulnerability disclosure in communities rather than the complementary implementation and evidence pair. The intended approach is: Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. Validate with: Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. Workload context: A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures.

B:

Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. This step belongs to Prometheus pull scraping and metrics endpoints rather than the complementary implementation and evidence pair. The intended approach is: Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. Validate with: Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. Workload context: A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures.

C:

Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. This step belongs to Metrics logs and traces distinctions rather than the complementary implementation and evidence pair. The intended approach is: Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. Validate with: Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. Workload context: A web team reports CPU below 50% as its sole SLO despite users seeing frequent payment failures.

Question 966

A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Report suspected project security vulnerabilities through the designated private security channel before public reproduction details or exploit examples.
  2. Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors.
  3. Design bounded microservice interfaces with timeouts, retries and independently deployable service contracts where modularity is useful.
  4. Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality.

Explanation

Correct Answer

D:

Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. This response implements the controlling Kubernetes or cloud native principle. Prometheus primarily scrapes targets on an interval; instrumentation must expose values and high-cardinality labels can overload storage. Check its effect by: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.

Incorrect Answers

A:

Report suspected project security vulnerabilities through the designated private security channel before public reproduction details or exploit examples. This action addresses Responsible vulnerability disclosure in communities instead of the controlling requirement. Public bug trackers are not always the right venue for undisclosed security issues; project security policies define channels. For this scenario prefer: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.

B:

Instrument services with OpenTelemetry APIs or SDKs and route collected signals through configured exporters or collectors. This action addresses OpenTelemetry instrumentation and exporters instead of the controlling requirement. OpenTelemetry standardizes collection and export; a collector is not itself the storage/query backend for all signals. For this scenario prefer: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.

C:

Design bounded microservice interfaces with timeouts, retries and independently deployable service contracts where modularity is useful. This action addresses Microservices contracts and failure isolation instead of the controlling requirement. Microservices improve modularity but add network and operational overhead; splitting code does not automatically yield reliability. For this scenario prefer: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.

Question 967

A team states that every Linux container runs a separate operating-system kernel and budgets memory accordingly. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements.
  2. Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility.
  3. Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions.
  4. Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions.

Explanation

Correct Answer

A:

Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements. This is the most discriminating evidence for the described failure or requirement. Ordinary containers share the host kernel, whereas a VM normally runs its own guest kernel. The corresponding implementation is: Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. Workload context: A team states that every Linux container runs a separate operating-system kernel and budgets memory accordingly.

Incorrect Answers

B:

Inspect PVC status, volume nodeAffinity, StorageClass volumeBindingMode and node/zone eligibility. These observations are more relevant to PersistentVolume zone binding and placement, not this case. The distinguishing check is: Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements. Workload context: A team states that every Linux container runs a separate operating-system kernel and budgets memory accordingly.

C:

Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions. These observations are more relevant to Ephemeral debugging containers, not this case. The distinguishing check is: Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements. Workload context: A team states that every Linux container runs a separate operating-system kernel and budgets memory accordingly.

D:

Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. These observations are more relevant to Deployment and ReplicaSet ownership, not this case. The distinguishing check is: Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements. Workload context: A team states that every Linux container runs a separate operating-system kernel and budgets memory accordingly.

Question 968

A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions.
  2. Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility.
  3. Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action.
  4. Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster.

Explanation

Correct Answer

C:

Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. This response implements the controlling Kubernetes or cloud native principle. Spread constraints balance matching Pods across topology domains; missing topology labels and strict maxSkew can prevent placement. Check its effect by: Review topology key labels, eligible domains, maxSkew, labelSelector and DoNotSchedule versus ScheduleAnyway. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.

Incorrect Answers

A:

Configure PodDisruptionBudgets for voluntary disruptions while distinguishing eviction safety from normal scheduling decisions. This action addresses PodDisruptionBudget during voluntary eviction instead of the controlling requirement. A PodDisruptionBudget governs voluntary eviction; it does not guarantee protection against hardware failure or create new replicas. For this scenario prefer: Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.

B:

Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility. This action addresses Image pull policy and cached images instead of the controlling requirement. Always pulls or checks the registry when needed, while IfNotPresent may use cache; pull policy is not image provenance. For this scenario prefer: Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.

D:

Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. This action addresses nodeSelector equality placement instead of the controlling requirement. nodeSelector requires matching labels; it does not create labels or express weighted preferences by itself. For this scenario prefer: Set topologySpreadConstraints to balance replicated Pods across zones or nodes with an explicit maxSkew and unsatisfiable action. Workload context: A three-replica app lands entirely in one zone because topology spread was configured for hostname rather than zone.

Question 969

A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint.
  2. Each workload can invoke only required API verbs without accessing unrelated namespaces or cluster secrets.
  3. Review namespace pod-security labels, admission warnings, violations and workload securityContext.
  4. Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults.
  5. Inspect external IP status, controller events, security groups, health checks and upstream target availability.

Explanation

Correct Answers

A:

Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. This response implements the controlling Kubernetes or cloud native principle. A LoadBalancer Service depends on an implementation or provider controller; creating it does not guarantee an external address. Check its effect by: Inspect external IP status, controller events, security groups, health checks and upstream target availability. This is the implementation part of the required paired answer. Workload context: A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port.

E:

Inspect external IP status, controller events, security groups, health checks and upstream target availability. This is the most discriminating evidence for the described failure or requirement. A LoadBalancer Service depends on an implementation or provider controller; creating it does not guarantee an external address. The corresponding implementation is: Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. This is the diagnostic evidence part of the paired answer. Workload context: A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port.

Incorrect Answers

B:

Each workload can invoke only required API verbs without accessing unrelated namespaces or cluster secrets. This step belongs to ServiceAccount and workload RBAC boundaries rather than the complementary implementation and evidence pair. The intended approach is: Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. Validate with: Inspect external IP status, controller events, security groups, health checks and upstream target availability. Workload context: A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port.

C:

Review namespace pod-security labels, admission warnings, violations and workload securityContext. This step belongs to Pod Security Admission and namespaces rather than the complementary implementation and evidence pair. The intended approach is: Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. Validate with: Inspect external IP status, controller events, security groups, health checks and upstream target availability. Workload context: A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port.

D:

Check Service selectors and EndpointSlices to distinguish backend discovery from kube-proxy or data-plane forwarding faults. This step belongs to Service endpoint routing and kube-proxy rather than the complementary implementation and evidence pair. The intended approach is: Use a Service type LoadBalancer with a supported cloud or in-cluster load-balancer controller to provide an approved external endpoint. Validate with: Inspect external IP status, controller events, security groups, health checks and upstream target availability. Workload context: A cloud load balancer receives an address but internet requests fail because the provider firewall denies the listener port.

Question 970

A team rebuilds a container and assumes the entire image changes even though a cached dependency layer contains an outdated package. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect DaemonSet desired/current/ready counts, node eligibility, tolerations and per-node Pod placement.
  2. Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions.
  3. Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings.
  4. Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID.

Explanation

Correct Answer

C:

Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. This is the most discriminating evidence for the described failure or requirement. Deleting a file in a later image layer does not erase secrets committed into an earlier layer. The corresponding implementation is: Build minimal images with reproducible layers and protect against secrets embedded in historical image layers. Workload context: A team rebuilds a container and assumes the entire image changes even though a cached dependency layer contains an outdated package.

Incorrect Answers

A:

Inspect DaemonSet desired/current/ready counts, node eligibility, tolerations and per-node Pod placement. These observations are more relevant to DaemonSet node-local workloads, not this case. The distinguishing check is: Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. Workload context: A team rebuilds a container and assumes the entire image changes even though a cached dependency layer contains an outdated package.

B:

Inspect SBOM package inventory, CVE applicability, signature validation and approved exception decisions. These observations are more relevant to Image scanning and software bills of materials, not this case. The distinguishing check is: Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. Workload context: A team rebuilds a container and assumes the entire image changes even though a cached dependency layer contains an outdated package.

D:

Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID. These observations are more relevant to Image pull policy and cached images, not this case. The distinguishing check is: Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. Workload context: A team rebuilds a container and assumes the entire image changes even though a cached dependency layer contains an outdated package.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests