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 2

Question 10

A deployment has an /metrics endpoint but Prometheus shows the target as down because its Service port annotation is wrong. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels.
  2. Review security policy, affected version, maintainer contact, severity evidence and coordinated disclosure plan.
  3. Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes.
  4. Inspect tracer/provider setup, context propagation, collector pipeline, resource attributes and exporter endpoint health.

Explanation

Correct Answer

A:

Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. This is the most discriminating evidence for the described failure or requirement. Prometheus primarily scrapes targets on an interval; instrumentation must expose values and high-cardinality labels can overload storage. The corresponding implementation is: Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality. Workload context: A deployment has an /metrics endpoint but Prometheus shows the target as down because its Service port annotation is wrong.

Incorrect Answers

B:

Review security policy, affected version, maintainer contact, severity evidence and coordinated disclosure plan. These observations are more relevant to Responsible vulnerability disclosure in communities, not this case. The distinguishing check is: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. Workload context: A deployment has an /metrics endpoint but Prometheus shows the target as down because its Service port annotation is wrong.

C:

Inspect SLI queries, SLO target/window, request populations, error budgets and alert rule outcomes. These observations are more relevant to SLIs SLOs and golden signals, not this case. The distinguishing check is: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. Workload context: A deployment has an /metrics endpoint but Prometheus shows the target as down because its Service port annotation is wrong.

D:

Inspect tracer/provider setup, context propagation, collector pipeline, resource attributes and exporter endpoint health. These observations are more relevant to OpenTelemetry instrumentation and exporters, not this case. The distinguishing check is: Inspect ServiceMonitor or scrape config, /metrics endpoint, target health, scrape interval and sample labels. Workload context: A deployment has an /metrics endpoint but Prometheus shows the target as down because its Service port annotation is wrong.

Question 11

A Java client caches a removed Pod address indefinitely despite a stable Kubernetes Service record being available. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use supported Ingress or Gateway API resources together with a running controller to route HTTP traffic by host and path.
  2. Use CoreDNS or the configured cluster DNS service to resolve Service and Pod naming in their correct namespaces.
  3. Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability.
  4. Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic.

Explanation

Correct Answer

B:

Use CoreDNS or the configured cluster DNS service to resolve Service and Pod naming in their correct namespaces. This response implements the controlling Kubernetes or cloud native principle. Kubernetes DNS uses namespace-aware search paths; a fully qualified Service name avoids ambiguity across namespaces. Check its effect by: Test DNS names, search suffixes, CoreDNS logs, upstream forwarders and service records. Workload context: A Java client caches a removed Pod address indefinitely despite a stable Kubernetes Service record being available.

Incorrect Answers

A:

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: Use CoreDNS or the configured cluster DNS service to resolve Service and Pod naming in their correct namespaces. Workload context: A Java client caches a removed Pod address indefinitely despite a stable Kubernetes Service record being available.

C:

Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. This action addresses ReadWriteOnce and ReadWriteMany semantics instead of the controlling requirement. ReadWriteOnce normally limits read-write mounting to one node, not necessarily exactly one Pod; driver behavior matters. For this scenario prefer: Use CoreDNS or the configured cluster DNS service to resolve Service and Pod naming in their correct namespaces. Workload context: A Java client caches a removed Pod address indefinitely despite a stable Kubernetes Service record being available.

D:

Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. This action addresses Container OOMKilled and resource pressure instead of the controlling requirement. Container memory exceeding its cgroup limit can trigger OOMKilled even when node aggregate memory seems available. For this scenario prefer: Use CoreDNS or the configured cluster DNS service to resolve Service and Pod naming in their correct namespaces. Workload context: A Java client caches a removed Pod address indefinitely despite a stable Kubernetes Service record being available.

Question 12

An engineer has staging and production kubeconfig contexts but runs kubectl delete while the wrong context is active. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Principals can perform only intended operations at the correct scope while denied actions remain inaccessible.
  2. Administrative commands target the intended cluster and avoid accidental changes to another environment.
  3. The container sees the intended isolated resources while usage limits are reflected in host accounting.
  4. Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes.

Explanation

Correct Answer

B:

Administrative commands target the intended cluster and avoid accidental changes to another environment. This is an observable service outcome, not just evidence that a configuration file was saved. A context combines cluster, user and namespace settings; the current shell directory alone does not select a cluster. Workload context: An engineer has staging and production kubeconfig contexts but runs kubectl delete while the wrong context is active.

Incorrect Answers

A:

Principals can perform only intended operations at the correct scope while denied actions remain inaccessible. That result validates Role and ClusterRole authorization rather than the requirement here. Verify instead: Administrative commands target the intended cluster and avoid accidental changes to another environment. Workload context: An engineer has staging and production kubeconfig contexts but runs kubectl delete while the wrong context is active.

C:

The container sees the intended isolated resources while usage limits are reflected in host accounting. That result validates Linux namespaces and cgroups rather than the requirement here. Verify instead: Administrative commands target the intended cluster and avoid accidental changes to another environment. Workload context: An engineer has staging and production kubeconfig contexts but runs kubectl delete while the wrong context is active.

D:

Controllers and Services select exactly the intended Pods while audit annotations retain descriptive notes. That result validates Labels selectors and annotations rather than the requirement here. Verify instead: Administrative commands target the intended cluster and avoid accidental changes to another environment. Workload context: An engineer has staging and production kubeconfig contexts but runs kubectl delete while the wrong context is active.

Question 13

An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process. 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. Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested.
  3. Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics.
  4. Compare trace IDs, time synchronized log events, resource saturation metrics and span durations.

Explanation

Correct Answer

B:

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: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.

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: Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.

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: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.

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: Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. Workload context: An operator deploys an ephemeral debug container without a target process namespace and cannot observe the expected application process.

Question 14

A 99.9 percent availability objective is written without specifying which requests count as successful over what period. 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. Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit.
  3. File reproducible issues with versions, expected/actual behavior, logs and minimal sanitized reproduction steps to support project maintainers.
  4. Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds.

Explanation

Correct Answer

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. Workload context: A 99.9 percent availability objective is written without specifying which requests count as successful over what period.

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: Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. Workload context: A 99.9 percent availability objective is written without specifying which requests count as successful over what period.

B:

Evaluate CNCF sandbox, incubating and graduated projects in context of maintenance, community adoption and technical fit. This action addresses CNCF project maturity and adoption decisions instead of the controlling requirement. CNCF maturity levels indicate aspects of governance and adoption, not a guarantee of security or perfect product fit. For this scenario prefer: Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. Workload context: A 99.9 percent availability objective is written without specifying which requests count as successful over what period.

C:

File reproducible issues with versions, expected/actual behavior, logs and minimal sanitized reproduction steps to support project maintainers. This action addresses Upstream issue reporting and review collaboration instead of the controlling requirement. High-quality issue reports help distributed open-source teams collaborate, and a public issue is not a safe place to paste secrets. For this scenario prefer: Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds. Workload context: A 99.9 percent availability objective is written without specifying which requests count as successful over what period.

Question 15

A team splits a monolith into twenty containers but deploys every service together and changes shared database tables without contracts. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services.
  2. The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty.
  3. Alerts identify meaningful user-impacting regressions before the service spends an unacceptable error budget.
  4. Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence.

Explanation

Correct Answer

A:

A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services. This is an observable service outcome, not just evidence that a configuration file was saved. Microservices improve modularity but add network and operational overhead; splitting code does not automatically yield reliability. Workload context: A team splits a monolith into twenty containers but deploys every service together and changes shared database tables without contracts.

Incorrect Answers

B:

The team selects a suitable maintained project based on requirements rather than mistaking ecosystem status for a warranty. That result validates CNCF project maturity and adoption decisions rather than the requirement here. Verify instead: A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services. Workload context: A team splits a monolith into twenty containers but deploys every service together and changes shared database tables without contracts.

C:

Alerts identify meaningful user-impacting regressions before the service spends an unacceptable error budget. That result validates SLIs SLOs and golden signals rather than the requirement here. Verify instead: A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services. Workload context: A team splits a monolith into twenty containers but deploys every service together and changes shared database tables without contracts.

D:

Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence. That result validates Metrics logs and traces distinctions rather than the requirement here. Verify instead: A single downstream failure degrades gracefully without causing an uncontrolled cascade across independent services. Workload context: A team splits a monolith into twenty containers but deploys every service together and changes shared database tables without contracts.

Question 16

An operator sees a base64 Secret in a manifest and assumes its value cannot be recovered by a repository reader. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Pods schedule based on requests and stay within resource policy without avoidable throttling or memory termination.
  2. Co-located containers communicate over localhost and move through Pod lifecycle as an atomic scheduling unit.
  3. Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API.
  4. Administrative commands target the intended cluster and avoid accidental changes to another environment.

Explanation

Correct Answer

C:

Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API. This is an observable service outcome, not just evidence that a configuration file was saved. Kubernetes Secret data is base64-encoded by default, not inherently encrypted or a substitute for managed secret governance. Workload context: An operator sees a base64 Secret in a manifest and assumes its value cannot be recovered by a repository reader.

Incorrect Answers

A:

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: Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API. Workload context: An operator sees a base64 Secret in a manifest and assumes its value cannot be recovered by a repository reader.

B:

Co-located containers communicate over localhost and move through Pod lifecycle as an atomic scheduling unit. That result validates Pod shared network namespace and lifecycle rather than the requirement here. Verify instead: Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API. Workload context: An operator sees a base64 Secret in a manifest and assumes its value cannot be recovered by a repository reader.

D:

Administrative commands target the intended cluster and avoid accidental changes to another environment. That result validates kubectl context and cluster selection rather than the requirement here. Verify instead: Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API. Workload context: An operator sees a base64 Secret in a manifest and assumes its value cannot be recovered by a repository reader.

Question 17

A memory leak causes gradual growth and intermittent restart after each request burst despite unchanged code and service routing. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Examine authentication identity, RBAC decision, admission webhook result and API response status.
  2. Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs.
  3. Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings.
  4. Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics.

Explanation

Correct Answer

D:

Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. This is the most discriminating evidence for the described failure or requirement. Container memory exceeding its cgroup limit can trigger OOMKilled even when node aggregate memory seems available. The corresponding implementation is: Diagnose memory limit terminations using lastState and observed working-set growth rather than assuming every restart is application logic. Workload context: A memory leak causes gradual growth and intermittent restart after each request burst despite unchanged code and service routing.

Incorrect Answers

A:

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 OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. Workload context: A memory leak causes gradual growth and intermittent restart after each request burst despite unchanged code and service routing.

B:

Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. These observations are more relevant to StorageClass dynamic provisioning, not this case. The distinguishing check is: Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. Workload context: A memory leak causes gradual growth and intermittent restart after each request burst despite unchanged code and service routing.

C:

Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings. These observations are more relevant to Node pressure and Pod eviction analysis, not this case. The distinguishing check is: Inspect OOMKilled exit reason, memory limit, heap behavior, node pressure and container metrics. Workload context: A memory leak causes gradual growth and intermittent restart after each request burst despite unchanged code and service routing.

Question 18

A low-priority batch Pod is evicted to make room for a priority-class system workload after capacity is exhausted. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. The Pod schedules only onto eligible labeled nodes while other nodes remain untouched.
  2. Critical workloads gain capacity when eligible without uncontrolled eviction of unrelated protected services.
  3. Each eligible node runs the intended agent and newly added eligible nodes receive it automatically.
  4. Eligible Pending Pods trigger appropriate capacity increases and then receive scheduler bindings.

Explanation

Correct Answer

B:

Critical workloads gain capacity when eligible without uncontrolled eviction of unrelated protected services. This is an observable service outcome, not just evidence that a configuration file was saved. Priority influences scheduling and potential preemption but does not bypass hard affinity or lack of suitable hardware. Workload context: A low-priority batch Pod is evicted to make room for a priority-class system workload after capacity is exhausted.

Incorrect Answers

A:

The Pod schedules only onto eligible labeled nodes while other nodes remain untouched. That result validates nodeSelector equality placement rather than the requirement here. Verify instead: Critical workloads gain capacity when eligible without uncontrolled eviction of unrelated protected services. Workload context: A low-priority batch Pod is evicted to make room for a priority-class system workload after capacity is exhausted.

C:

Each eligible node runs the intended agent and newly added eligible nodes receive it automatically. That result validates DaemonSet node-local workloads rather than the requirement here. Verify instead: Critical workloads gain capacity when eligible without uncontrolled eviction of unrelated protected services. Workload context: A low-priority batch Pod is evicted to make room for a priority-class system workload after capacity is exhausted.

D:

Eligible Pending Pods trigger appropriate capacity increases and then receive scheduler bindings. That result validates Scheduler versus autoscaler responsibility rather than the requirement here. Verify instead: Critical workloads gain capacity when eligible without uncontrolled eviction of unrelated protected services. Workload context: A low-priority batch Pod is evicted to make room for a priority-class system workload after capacity is exhausted.

Question 19

A cluster upgrade removes an API version used by an old application chart and production apply fails. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API.
  2. Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily.
  3. Place a Kubernetes Service in front of ephemeral Pods when callers need stable discovery independent of individual Pod IP changes.
  4. Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates.

Explanation

Correct Answer

B:

Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. This response implements the controlling Kubernetes or cloud native principle. API compatibility and supported component skew determine upgrade sequencing; not every Kubernetes version jump is supported. Check its effect by: Check server and kubelet versions, deprecated APIs, CNI/CSI compatibility, maintenance order and rollback limits. Workload context: A cluster upgrade removes an API version used by an old application chart and production apply fails.

Incorrect Answers

A:

Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API. This action addresses Declarative resource manifests and API versions instead of the controlling requirement. Kubernetes API versions are resource-specific and evolve; a valid YAML file does not guarantee the API accepts its kind or schema. For this scenario prefer: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Workload context: A cluster upgrade removes an API version used by an old application chart and production apply fails.

C:

Place a Kubernetes Service in front of ephemeral Pods when callers need stable discovery independent of individual Pod IP changes. This action addresses Service stable virtual endpoint instead of the controlling requirement. A Service abstracts changing Pod endpoints; exposing a ClusterIP does not automatically create public Internet access. For this scenario prefer: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Workload context: A cluster upgrade removes an API version used by an old application chart and production apply fails.

D:

Use kubectl apply or a governed reconciliation workflow for repeatable desired-state changes, reviewing diffs before high-impact updates. This action addresses kubectl apply and declarative updates instead of the controlling requirement. Declarative apply merges intended fields but conflicts and imperative edits require field ownership review. For this scenario prefer: Plan component upgrades using the currently supported version-skew policy and validated addon compatibility rather than upgrading arbitrarily. Workload context: A cluster upgrade removes an API version used by an old application chart and production apply fails.

Question 20

A support team tries to add a permanent second service by creating an ephemeral container and expects Deployment updates to preserve it. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group.
  2. Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools.
  3. Choose imagePullPolicy based on tag immutability and cluster delivery needs, checking runtime cache and registry accessibility.
  4. Use kubectl get, describe and logs as complementary views of object state, events and container output before changing resources.

Explanation

Correct Answer

B:

Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools. This response implements the controlling Kubernetes or cloud native principle. Ephemeral containers are intended for debugging and do not behave like ordinary replicated application containers. Check its effect by: Inspect Pod ephemeralContainers entries, RBAC privileges, target process namespace and active diagnostic sessions. Workload context: A support team tries to add a permanent second service by creating an ephemeral container and expects Deployment updates to preserve it.

Incorrect Answers

A:

Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group. This action addresses Scheduler versus autoscaler responsibility instead of the controlling requirement. The autoscaler provisions nodes; it does not assign Pod nodeName or fix impossible affinity or quota constraints by itself. For this scenario prefer: Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools. Workload context: A support team tries to add a permanent second service by creating an ephemeral container and expects Deployment updates to preserve it.

C:

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: Use an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools. Workload context: A support team tries to add a permanent second service by creating an ephemeral container and expects Deployment updates to preserve it.

D:

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 an authorized ephemeral container for live Pod diagnostics when the original image lacks troubleshooting tools. Workload context: A support team tries to add a permanent second service by creating an ephemeral container and expects Deployment updates to preserve it.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests