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 28

Question 270

A log forwarder in a separate Pod tries to reach localhost:9000 on the application Pod and fails. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics.
  2. Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events.
  3. Compare imagePullPolicy, local image cache, registry digest, pull events and Pod imageID.
  4. Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs.

Explanation

Correct Answer

B:

Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events. This is the most discriminating evidence for the described failure or requirement. Sidecars share a Pod network context; careless start or termination ordering can block a workload. The corresponding implementation is: Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod. Workload context: A log forwarder in a separate Pod tries to reach localhost:9000 on the application Pod and fails.

Incorrect Answers

A:

Review node labels, conditions, capacity versus allocatable, topology zones and node allocatable metrics. These observations are more relevant to Node labels and allocatable inventory, not this case. The distinguishing check is: Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events. Workload context: A log forwarder in a separate Pod tries to reach localhost:9000 on the application Pod and fails.

C:

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: Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events. Workload context: A log forwarder in a separate Pod tries to reach localhost:9000 on the application Pod and fails.

D:

Check registry path, pull Secret, tag or digest, IAM grant, TLS trust and registry audit logs. These observations are more relevant to OCI registries and image distribution, not this case. The distinguishing check is: Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events. Workload context: A log forwarder in a separate Pod tries to reach localhost:9000 on the application Pod and fails.

Question 271

A deployment switches from an image tag to digest pinning but administrators assume they no longer need registry authorization. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests.
  2. Pods schedule based on requests and stay within resource policy without avoidable throttling or memory termination.
  3. Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures.
  4. Pods run the intended image build and failed pulls are diagnosed without silently relying on stale artifacts.

Explanation

Correct Answer

D:

Pods run the intended image build and failed pulls are diagnosed without silently relying on stale artifacts. This is an observable service outcome, not just evidence that a configuration file was saved. Always pulls or checks the registry when needed, while IfNotPresent may use cache; pull policy is not image provenance. Workload context: A deployment switches from an image tag to digest pinning but administrators assume they no longer need registry authorization.

Incorrect Answers

A:

Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests. That result validates Image scanning and software bills of materials rather than the requirement here. Verify instead: Pods run the intended image build and failed pulls are diagnosed without silently relying on stale artifacts. Workload context: A deployment switches from an image tag to digest pinning but administrators assume they no longer need registry authorization.

B:

Pods schedule based on requests and stay within resource policy without avoidable throttling or memory termination. That result validates CPU requests and memory limits rather than the requirement here. Verify instead: Pods run the intended image build and failed pulls are diagnosed without silently relying on stale artifacts. Workload context: A deployment switches from an image tag to digest pinning but administrators assume they no longer need registry authorization.

C:

Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. That result validates Container runtime and CRI rather than the requirement here. Verify instead: Pods run the intended image build and failed pulls are diagnosed without silently relying on stale artifacts. Workload context: A deployment switches from an image tag to digest pinning but administrators assume they no longer need registry authorization.

Question 272

A cluster deletes a failed Pod and developers discover local kubectl logs are gone without centralized retention. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Compare Git revision, application sync status, live resource diff and reconciliation events.
  2. Inspect pod/container name, restartCount, lastState, previous log output and log collector availability.
  3. Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages.
  4. Compare trace IDs, time synchronized log events, resource saturation metrics and span durations.

Explanation

Correct Answer

B:

Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. This is the most discriminating evidence for the described failure or requirement. kubectl logs streams container stdout/stderr, and --previous selects the prior terminated instance if available. The corresponding implementation is: Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. Workload context: A cluster deletes a failed Pod and developers discover local kubectl logs are gone without centralized retention.

Incorrect Answers

A:

Compare Git revision, application sync status, live resource diff and reconciliation events. These observations are more relevant to GitOps reconciliation and source of truth, not this case. The distinguishing check is: Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. Workload context: A cluster deletes a failed Pod and developers discover local kubectl logs are gone without centralized retention.

C:

Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages. These observations are more relevant to Artifact promotion by digest, not this case. The distinguishing check is: Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. Workload context: A cluster deletes a failed Pod and developers discover local kubectl logs are gone without centralized retention.

D:

Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. These observations are more relevant to Correlating metrics logs and traces, not this case. The distinguishing check is: Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. Workload context: A cluster deletes a failed Pod and developers discover local kubectl logs are gone without centralized retention.

Question 273

A distroless TLS gateway Pod has no curl binary and engineers want to publish a new image merely to diagnose routing. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested.
  2. Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs.
  3. Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics.
  4. Inspect pod/container name, restartCount, lastState, previous log output and log collector availability.

Explanation

Correct Answer

A:

Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. This is the most discriminating evidence for the described failure or requirement. Ephemeral containers are for diagnostics and cannot be treated as permanent workload replicas or restarted like ordinary containers. The corresponding implementation is: Use ephemeral containers to inspect a running Pod when its application image lacks debug tools, with approved access to sensitive process namespaces. Workload context: A distroless TLS gateway Pod has no curl binary and engineers want to publish a new image merely to diagnose routing.

Incorrect Answers

B:

Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs. These observations are more relevant to Ingress route and TLS mismatch diagnosis, not this case. The distinguishing check is: Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. Workload context: A distroless TLS gateway Pod has no curl binary and engineers want to publish a new image merely to diagnose routing.

C:

Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics. These observations are more relevant to Blue-green versus canary release patterns, not this case. The distinguishing check is: Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. Workload context: A distroless TLS gateway Pod has no curl binary and engineers want to publish a new image merely to diagnose routing.

D:

Inspect pod/container name, restartCount, lastState, previous log output and log collector availability. These observations are more relevant to kubectl logs current versus previous instance, not this case. The distinguishing check is: Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. Workload context: A distroless TLS gateway Pod has no curl binary and engineers want to publish a new image merely to diagnose routing.

Question 274

A team states that every Linux container runs a separate operating-system kernel and budgets memory accordingly. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk.
  2. Build minimal images with reproducible layers and protect against secrets embedded in historical image layers.
  3. Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis.
  4. Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed.

Explanation

Correct Answer

D:

Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. This response implements the controlling Kubernetes or cloud native principle. Ordinary containers share the host kernel, whereas a VM normally runs its own guest kernel. Check its effect by: 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.

Incorrect Answers

A:

Evaluate image SBOMs, signed provenance and vulnerability reports before production promotion, separating detected packages from reachable risk. This action addresses Image scanning and software bills of materials instead of the controlling requirement. A scanner's package detection is evidence of inventory, not automatically proof of exploitation or complete image trust. For this scenario prefer: 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.

B:

Build minimal images with reproducible layers and protect against secrets embedded in historical image layers. This action addresses Image layers and build cache instead of the controlling requirement. Deleting a file in a later image layer does not erase secrets committed into an earlier layer. For this scenario prefer: 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.

C:

Maintain accurate node labels, allocatable resources and topology information to support workload placement and capacity analysis. This action addresses Node labels and allocatable inventory instead of the controlling requirement. Node allocatable excludes reservations from raw capacity; labels must reflect real node capabilities and administration. For this scenario prefer: 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.

Question 275

A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests.
  2. Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails.
  3. Examine authentication identity, RBAC decision, admission webhook result and API response status.
  4. Test DNS names, search suffixes, CoreDNS logs, upstream forwarders and service records.

Explanation

Correct Answer

A:

Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. This is the most discriminating evidence for the described failure or requirement. NetworkPolicy governs data-plane traffic, whereas RBAC governs API actions; neither alone replaces the other. The corresponding implementation is: Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. Workload context: A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions.

Incorrect Answers

B:

Inspect Secret read permissions, encryption configuration, encoded manifest values and audit trails. These observations are more relevant to Secret base64 encoding versus encryption, not this case. The distinguishing check is: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. Workload context: A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions.

C:

Examine authentication identity, RBAC decision, admission webhook result and API response status. These observations are more relevant to Authentication authorization and admission order, not this case. The distinguishing check is: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. Workload context: A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions.

D:

Test DNS names, search suffixes, CoreDNS logs, upstream forwarders and service records. These observations are more relevant to Cluster DNS and service discovery, not this case. The distinguishing check is: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. Workload context: A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions.

Question 276

An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source.
  2. The faulty revision is identified and rollback or correction restores the intended application version.
  3. Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage.
  4. Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result.
  5. Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events.

Explanation

Correct Answers

A:

Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. This response implements the controlling Kubernetes or cloud native principle. SBOM inventory and signed provenance provide different evidence; neither replaces vulnerability and security-policy review. Check its effect by: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. This is the implementation part of the required paired answer. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.

D:

Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. This is the most discriminating evidence for the described failure or requirement. SBOM inventory and signed provenance provide different evidence; neither replaces vulnerability and security-policy review. The corresponding implementation is: Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. This is the diagnostic evidence part of the paired answer. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.

Incorrect Answers

B:

The faulty revision is identified and rollback or correction restores the intended application version. This step belongs to Rollout history status and change correlation rather than the complementary implementation and evidence pair. The intended approach is: Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. Validate with: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.

C:

Promote the same reviewed container image digest between environments instead of rebuilding mutable tags at each stage. This step belongs to Artifact promotion by digest rather than the complementary implementation and evidence pair. The intended approach is: Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. Validate with: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.

E:

Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events. This step belongs to CI versus CD pipeline separation rather than the complementary implementation and evidence pair. The intended approach is: Record artifact provenance, dependency inventories and signed attestations so deployment policy can trace a build to authorized source. Validate with: Examine trusted builder identity, attestation payload, artifact digest, SBOM and admission verification result. Workload context: An internal image scanner finds no high CVEs but auditors cannot identify which CI workflow produced the image.

Question 277

A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect StatefulSet ordinal Pod names, headless Service, volumeClaimTemplates and update strategy.
  2. Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests.
  3. Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic.
  4. New claims provision compatible storage without requiring manual static PV creation for each request.
  5. Require approved registry artifacts and verifiable signatures or digests before admitting production workloads.

Explanation

Correct Answers

B:

Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. This is the most discriminating evidence for the described failure or requirement. NetworkPolicy governs data-plane traffic, whereas RBAC governs API actions; neither alone replaces the other. The corresponding implementation is: Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. This is the diagnostic evidence part of the paired answer. Workload context: A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions.

C:

Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. This response implements the controlling Kubernetes or cloud native principle. NetworkPolicy governs data-plane traffic, whereas RBAC governs API actions; neither alone replaces the other. Check its effect by: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. This is the implementation part of the required paired answer. Workload context: A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions.

Incorrect Answers

A:

Inspect StatefulSet ordinal Pod names, headless Service, volumeClaimTemplates and update strategy. This step belongs to StatefulSet identity and volume templates rather than the complementary implementation and evidence pair. The intended approach is: Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. Validate with: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. Workload context: A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions.

D:

New claims provision compatible storage without requiring manual static PV creation for each request. This step belongs to StorageClass dynamic provisioning rather than the complementary implementation and evidence pair. The intended approach is: Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. Validate with: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. Workload context: A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions.

E:

Require approved registry artifacts and verifiable signatures or digests before admitting production workloads. This step belongs to Image provenance and admission policies rather than the complementary implementation and evidence pair. The intended approach is: Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. Validate with: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. Workload context: A team adds a strict NetworkPolicy yet a leaked service-account token still has excessive Kubernetes API permissions.

Question 278

An engineer deploys CoreDNS to fix packets being dropped between Pod IPs though cluster name resolution is already healthy. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API.
  2. Use supported Ingress or Gateway API resources together with a running controller to route HTTP traffic by host and path.
  3. Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.
  4. Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities.

Explanation

Correct Answer

D:

Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. This response implements the controlling Kubernetes or cloud native principle. The CNI plugin supplies Pod networking; a Kubernetes Service alone cannot correct a broken Pod network implementation. Check its effect by: Inspect CNI configuration, Pod CIDRs, node route tables, overlay/underlay links and CNI daemon logs. Workload context: An engineer deploys CoreDNS to fix packets being dropped between Pod IPs though cluster name resolution is already healthy.

Incorrect Answers

A:

Assign dedicated Kubernetes service accounts and least-privilege RBAC for workloads accessing the API. This action addresses ServiceAccount and workload RBAC boundaries instead of the controlling requirement. A service account is an API identity; granting Pods a namespace does not automatically limit an overbroad ClusterRoleBinding. For this scenario prefer: Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. Workload context: An engineer deploys CoreDNS to fix packets being dropped between Pod IPs though cluster name resolution is already healthy.

B:

Use supported Ingress or Gateway API resources together with a running controller to route HTTP traffic by host and path. This action addresses Ingress and Gateway API routing instead of the controlling requirement. Ingress and Gateway API resources describe routing intent; a controller implements data-plane forwarding. For this scenario prefer: Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. Workload context: An engineer deploys CoreDNS to fix packets being dropped between Pod IPs though cluster name resolution is already healthy.

C:

Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This action addresses ImagePullBackOff registry and auth errors instead of the controlling requirement. ImagePullBackOff is a retrieval or authorization problem; changing app readiness probes cannot fix a missing image. For this scenario prefer: Select and operate a Kubernetes-compatible CNI implementation to provide Pod IP connectivity and required network capabilities. Workload context: An engineer deploys CoreDNS to fix packets being dropped between Pod IPs though cluster name resolution is already healthy.

Question 279

A developer commits a YAML Secret containing base64 API tokens to a public repository under the assumption they are encrypted. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. The container remains running or completes as intended without repeated backoff cycles after a targeted correction.
  2. Each workload can invoke only required API verbs without accessing unrelated namespaces or cluster secrets.
  3. Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API.
  4. Workloads function under least privilege and operations needing prohibited capabilities are rejected or explicitly reviewed.

Explanation

Correct Answer

C:

Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API. This is an observable service outcome, not just evidence that a configuration file was saved. Base64 is a reversible encoding, not encryption; Secret storage and access policies require separate protection. Workload context: A developer commits a YAML Secret containing base64 API tokens to a public repository under the assumption they are encrypted.

Incorrect Answers

A:

The container remains running or completes as intended without repeated backoff cycles after a targeted correction. That result validates CrashLoopBackOff and previous logs rather than the requirement here. Verify instead: Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API. Workload context: A developer commits a YAML Secret containing base64 API tokens to a public repository under the assumption they are encrypted.

B:

Each workload can invoke only required API verbs without accessing unrelated namespaces or cluster secrets. That result validates ServiceAccount and workload RBAC boundaries rather than the requirement here. Verify instead: Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API. Workload context: A developer commits a YAML Secret containing base64 API tokens to a public repository under the assumption they are encrypted.

D:

Workloads function under least privilege and operations needing prohibited capabilities are rejected or explicitly reviewed. That result validates Linux securityContext and seccomp basics rather than the requirement here. Verify instead: Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API. Workload context: A developer commits a YAML Secret containing base64 API tokens to a public repository under the assumption they are encrypted.

Question 280

A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.
  2. Deleted claims follow the intended deletion or retention policy without unexpectedly destroying important data.
  3. Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references.
  4. Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events.
  5. Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency.

Explanation

Correct Answers

A:

Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This response implements the controlling Kubernetes or cloud native principle. ImagePullBackOff is a retrieval or authorization problem; changing app readiness probes cannot fix a missing image. Check its effect by: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. This is the implementation part of the required paired answer. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.

C:

Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. This is the most discriminating evidence for the described failure or requirement. ImagePullBackOff is a retrieval or authorization problem; changing app readiness probes cannot fix a missing image. The corresponding implementation is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This is the diagnostic evidence part of the paired answer. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.

Incorrect Answers

B:

Deleted claims follow the intended deletion or retention policy without unexpectedly destroying important data. This step belongs to PV reclaim policy Retain versus Delete rather than the complementary implementation and evidence pair. The intended approach is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Validate with: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.

D:

Inspect probe paths, thresholds, failure conditions, Service endpoints and container restart events. This step belongs to Readiness liveness and startup probe behavior rather than the complementary implementation and evidence pair. The intended approach is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Validate with: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.

E:

Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency. This step belongs to Service selector and port mismatch diagnostics rather than the complementary implementation and evidence pair. The intended approach is: Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. Validate with: Inspect Pod pull events, image tag existence, registry TLS, imagePullSecrets and service-account references. Workload context: A namespace lacks the correct registry pull Secret and otherwise healthy Pods remain in ImagePullBackOff.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests