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 23

Question 220

An administrator installs a Docker CLI and assumes Kubernetes always requires the Docker daemon to schedule Pods. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures.
  2. Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests.
  3. Teams receive predictable defaults and cannot consume more namespace resources than policy permits.
  4. The container sees the intended isolated resources while usage limits are reflected in host accounting.

Explanation

Correct Answer

A:

Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. This is an observable service outcome, not just evidence that a configuration file was saved. A runtime executes containers; the CRI is its API integration with kubelet rather than the Kubernetes API server. Workload context: An administrator installs a Docker CLI and assumes Kubernetes always requires the Docker daemon to schedule Pods.

Incorrect Answers

B:

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: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: An administrator installs a Docker CLI and assumes Kubernetes always requires the Docker daemon to schedule Pods.

C:

Teams receive predictable defaults and cannot consume more namespace resources than policy permits. That result validates ResourceQuota and LimitRange policies rather than the requirement here. Verify instead: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: An administrator installs a Docker CLI and assumes Kubernetes always requires the Docker daemon to schedule Pods.

D:

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: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: An administrator installs a Docker CLI and assumes Kubernetes always requires the Docker daemon to schedule Pods.

Question 221

A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Reapplying unchanged configuration is safe and the resulting cluster state matches the reviewed manifest.
  2. Containers launch the intended process with arguments preserved and failures remain visible through status.
  3. Each eligible node runs the intended agent and newly added eligible nodes receive it automatically.
  4. Pods schedule based on requests and stay within resource policy without avoidable throttling or memory termination.

Explanation

Correct Answer

C:

Each eligible node runs the intended agent and newly added eligible nodes receive it automatically. This is an observable service outcome, not just evidence that a configuration file was saved. A DaemonSet creates node-level replicas automatically rather than a fixed overall replica count like a Deployment. Workload context: A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods.

Incorrect Answers

A:

Reapplying unchanged configuration is safe and the resulting cluster state matches the reviewed manifest. That result validates kubectl apply and declarative updates rather than the requirement here. Verify instead: Each eligible node runs the intended agent and newly added eligible nodes receive it automatically. Workload context: A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods.

B:

Containers launch the intended process with arguments preserved and failures remain visible through status. That result validates Container command entrypoint and arguments rather than the requirement here. Verify instead: Each eligible node runs the intended agent and newly added eligible nodes receive it automatically. Workload context: A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods.

D:

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: Each eligible node runs the intended agent and newly added eligible nodes receive it automatically. Workload context: A monitoring DaemonSet runs on control-plane nodes unexpectedly because it tolerates taints intended to exclude application Pods.

Question 222

An engineer chooses a full VM for each tiny stateless process without considering container density or operational requirements. 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. Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions.
  3. Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events.
  4. Inspect quota hard/used counters, LimitRange defaults and API admission rejection messages.

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: An engineer chooses a full VM for each tiny stateless process without considering container density or operational requirements.

Incorrect Answers

B:

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: An engineer chooses a full VM for each tiny stateless process without considering container density or operational requirements.

C:

Review initContainers/sidecar restart behavior, shared volumes, localhost traffic and termination events. These observations are more relevant to Sidecar containers and shared Pod lifecycle, not this case. The distinguishing check is: Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements. Workload context: An engineer chooses a full VM for each tiny stateless process without considering container density or operational requirements.

D:

Inspect quota hard/used counters, LimitRange defaults and API admission rejection messages. These observations are more relevant to ResourceQuota and LimitRange policies, not this case. The distinguishing check is: Compare host kernel sharing, namespace isolation, hypervisor boundaries and workload trust requirements. Workload context: An engineer chooses a full VM for each tiny stateless process without considering container density or operational requirements.

Question 223

Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Stateless replicas converge to the declared count and rolling updates progress without manual Pod recreation.
  2. Teams see only permitted namespaced resources and network access is constrained by explicit policies.
  3. Protected nodes accept explicitly tolerated workloads and repel unrelated Pods under intended effects.
  4. All intended replicas run the approved digest and upgrades trace back to a reviewed artifact.

Explanation

Correct Answer

B:

Teams see only permitted namespaced resources and network access is constrained by explicit policies. This is an observable service outcome, not just evidence that a configuration file was saved. Namespaces organize resource names but are not automatically strong security boundaries or separate clusters. Workload context: Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies.

Incorrect Answers

A:

Stateless replicas converge to the declared count and rolling updates progress without manual Pod recreation. That result validates Deployment and ReplicaSet ownership rather than the requirement here. Verify instead: Teams see only permitted namespaced resources and network access is constrained by explicit policies. Workload context: Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies.

C:

Protected nodes accept explicitly tolerated workloads and repel unrelated Pods under intended effects. That result validates Taints tolerations and node protection rather than the requirement here. Verify instead: Teams see only permitted namespaced resources and network access is constrained by explicit policies. Workload context: Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies.

D:

All intended replicas run the approved digest and upgrades trace back to a reviewed artifact. That result validates Immutable container images and digests rather than the requirement here. Verify instead: Teams see only permitted namespaced resources and network access is constrained by explicit policies. Workload context: Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies.

Question 224

An application uses an emptyDir for large temporary data and cannot recover after eviction because it expected the directory to be persistent. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity.
  2. Noncompliant Pod specifications are rejected under enforcement without unexpectedly blocking approved workloads.
  3. Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings.
  4. Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts.
  5. Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope.

Explanation

Correct Answers

C:

Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings. This is the most discriminating evidence for the described failure or requirement. Kubelet can evict Pods under node pressure; eviction is different from a liveness probe killing one container. The corresponding implementation is: Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts. This is the diagnostic evidence part of the paired answer. Workload context: An application uses an emptyDir for large temporary data and cannot recover after eviction because it expected the directory to be persistent.

D:

Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts. This response implements the controlling Kubernetes or cloud native principle. Kubelet can evict Pods under node pressure; eviction is different from a liveness probe killing one container. Check its effect by: Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings. This is the implementation part of the required paired answer. Workload context: An application uses an emptyDir for large temporary data and cannot recover after eviction because it expected the directory to be persistent.

Incorrect Answers

A:

Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. This step belongs to Pending pod FailedScheduling events rather than the complementary implementation and evidence pair. The intended approach is: Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts. Validate with: Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings. Workload context: An application uses an emptyDir for large temporary data and cannot recover after eviction because it expected the directory to be persistent.

B:

Noncompliant Pod specifications are rejected under enforcement without unexpectedly blocking approved workloads. This step belongs to Pod Security Admission and namespaces rather than the complementary implementation and evidence pair. The intended approach is: Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts. Validate with: Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings. Workload context: An application uses an emptyDir for large temporary data and cannot recover after eviction because it expected the directory to be persistent.

E:

Diagnose image-pull problems by validating image reference, registry availability, permissions and Secret scope. This step belongs to ImagePullBackOff registry and auth errors rather than the complementary implementation and evidence pair. The intended approach is: Investigate node disk, memory and PID pressure conditions and distinguish eviction from application-probe restarts. Validate with: Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings. Workload context: An application uses an emptyDir for large temporary data and cannot recover after eviction because it expected the directory to be persistent.

Question 225

An app's database password is committed into a ConfigMap because it seems convenient to review configuration changes. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?

  1. Operators identify the failing object and use evidence before editing controllers or escalating access.
  2. Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API.
  3. Principals can perform only intended operations at the correct scope while denied actions remain inaccessible.
  4. Pods assigned to a healthy node start and report status with failed containers surfaced for diagnosis.

Explanation

Correct Answer

B:

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 app's database password is committed into a ConfigMap because it seems convenient to review configuration changes.

Incorrect Answers

A:

Operators identify the failing object and use evidence before editing controllers or escalating access. That result validates kubectl inspect and describe diagnostics rather than the requirement here. Verify instead: Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API. Workload context: An app's database password is committed into a ConfigMap because it seems convenient to review configuration changes.

C:

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: Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API. Workload context: An app's database password is committed into a ConfigMap because it seems convenient to review configuration changes.

D:

Pods assigned to a healthy node start and report status with failed containers surfaced for diagnosis. That result validates Kubelet node agent responsibilities rather than the requirement here. Verify instead: Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API. Workload context: An app's database password is committed into a ConfigMap because it seems convenient to review configuration changes.

Question 226

An operator deploys two clusters using the same version label and later discovers a registry mirror serves a changed tag. Which Kubernetes or cloud native approach BEST addresses the stated requirement?

  1. Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation.
  2. Pin production images to verified digests or governed immutable tags so every node runs a known artifact.
  3. Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement.
  4. Use a compatible container runtime via the Kubernetes Container Runtime Interface to create and manage containers on nodes.

Explanation

Correct Answer

B:

Pin production images to verified digests or governed immutable tags so every node runs a known artifact. This response implements the controlling Kubernetes or cloud native principle. Mutable image tags can resolve to different builds over time; digests identify immutable content. Check its effect by: Compare image digest, registry manifest, Pod imageID, rollout timestamp and supply-chain approval. Workload context: An operator deploys two clusters using the same version label and later discovers a registry mirror serves a changed tag.

Incorrect Answers

A:

Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation. This action addresses Node cordon drain maintenance instead of the controlling requirement. cordon prevents new scheduling while drain attempts safe evictions; existing Pods are not deleted by cordon alone. For this scenario prefer: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. Workload context: An operator deploys two clusters using the same version label and later discovers a registry mirror serves a changed tag.

C:

Explain how namespaces isolate process/network views and cgroups control CPU and memory resource accounting and enforcement. This action addresses Linux namespaces and cgroups instead of the controlling requirement. Namespaces and cgroups provide different Linux primitives; neither independently creates Kubernetes scheduling. For this scenario prefer: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. Workload context: An operator deploys two clusters using the same version label and later discovers a registry mirror serves a changed tag.

D:

Use a compatible container runtime via the Kubernetes Container Runtime Interface to create and manage containers on nodes. This action addresses Container runtime and CRI instead of the controlling requirement. A runtime executes containers; the CRI is its API integration with kubelet rather than the Kubernetes API server. For this scenario prefer: Pin production images to verified digests or governed immutable tags so every node runs a known artifact. Workload context: An operator deploys two clusters using the same version label and later discovers a registry mirror serves a changed tag.

Question 227

A hotfix is deployed manually from a laptop with no artifact digest or link to a passing CI run. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?

  1. Inspect error-budget impact, traffic exposure, request latency, alert window and controller decisions.
  2. Inspect pod/container name, restartCount, lastState, previous log output and log collector availability.
  3. Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested.
  4. Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events.

Explanation

Correct Answer

D:

Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events. This is the most discriminating evidence for the described failure or requirement. CI validates and packages changes while CD handles delivery or deployment; a successful build is not proof of production rollout. The corresponding implementation is: Use continuous integration to build and test changes and controlled delivery or deployment to promote validated artifacts to target environments. Workload context: A hotfix is deployed manually from a laptop with no artifact digest or link to a passing CI run.

Incorrect Answers

A:

Inspect error-budget impact, traffic exposure, request latency, alert window and controller decisions. These observations are more relevant to Progressive delivery and release metrics, not this case. The distinguishing check is: Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events. Workload context: A hotfix is deployed manually from a laptop with no artifact digest or link to a passing CI run.

B:

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: Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events. Workload context: A hotfix is deployed manually from a laptop with no artifact digest or link to a passing CI run.

C:

Review ephemeralContainers spec, target container namespace, attach status and host-level privileges requested. These observations are more relevant to Ephemeral debug containers for minimal images, not this case. The distinguishing check is: Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events. Workload context: A hotfix is deployed manually from a laptop with no artifact digest or link to a passing CI run.

Question 228

A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Inspect selected Pod/container, executed command, RBAC exec permission and audit records.
  2. Use kubectl exec with least privilege for approved diagnostics in running containers, avoiding permanent production mutations.
  3. Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs.
  4. Staging and production execute identical approved artifact content and releases remain reproducible.
  5. Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision.

Explanation

Correct Answers

A:

Inspect selected Pod/container, executed command, RBAC exec permission and audit records. This is the most discriminating evidence for the described failure or requirement. kubectl exec runs a process in an existing container; it does not persist edits across new image-based replacements. The corresponding implementation is: Use kubectl exec with least privilege for approved diagnostics in running containers, avoiding permanent production mutations. This is the diagnostic evidence part of the paired answer. Workload context: A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change.

B:

Use kubectl exec with least privilege for approved diagnostics in running containers, avoiding permanent production mutations. This response implements the controlling Kubernetes or cloud native principle. kubectl exec runs a process in an existing container; it does not persist edits across new image-based replacements. Check its effect by: Inspect selected Pod/container, executed command, RBAC exec permission and audit records. This is the implementation part of the required paired answer. Workload context: A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change.

Incorrect Answers

C:

Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs. This step belongs to Ingress route and TLS mismatch diagnosis rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl exec with least privilege for approved diagnostics in running containers, avoiding permanent production mutations. Validate with: Inspect selected Pod/container, executed command, RBAC exec permission and audit records. Workload context: A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change.

D:

Staging and production execute identical approved artifact content and releases remain reproducible. This step belongs to Artifact promotion by digest rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl exec with least privilege for approved diagnostics in running containers, avoiding permanent production mutations. Validate with: Inspect selected Pod/container, executed command, RBAC exec permission and audit records. Workload context: A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change.

E:

Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision. This step belongs to Rollout history status and change correlation rather than the complementary implementation and evidence pair. The intended approach is: Use kubectl exec with least privilege for approved diagnostics in running containers, avoiding permanent production mutations. Validate with: Inspect selected Pod/container, executed command, RBAC exec permission and audit records. Workload context: A support engineer edits a config file inside a running container and expects a Deployment restart to preserve the change.

Question 229

A PV enters Released after claim deletion and an engineer expects it to bind another PVC without reviewing retained data and claimRef. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.

  1. Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability.
  2. Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior.
  3. Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion.
  4. Inspect PVC phase, PV claimRef, capacity, accessModes, storageClassName and volume-mount events.
  5. External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected.

Explanation

Correct Answers

B:

Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. This is the most discriminating evidence for the described failure or requirement. Retain leaves storage for deliberate recovery; Delete usually removes underlying dynamically provisioned storage when supported. The corresponding implementation is: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. This is the diagnostic evidence part of the paired answer. Workload context: A PV enters Released after claim deletion and an engineer expects it to bind another PVC without reviewing retained data and claimRef.

C:

Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. This response implements the controlling Kubernetes or cloud native principle. Retain leaves storage for deliberate recovery; Delete usually removes underlying dynamically provisioned storage when supported. Check its effect by: Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. This is the implementation part of the required paired answer. Workload context: A PV enters Released after claim deletion and an engineer expects it to bind another PVC without reviewing retained data and claimRef.

Incorrect Answers

A:

Choose PV access modes based on how nodes and workloads must mount storage and verify CSI driver capability. This step belongs to ReadWriteOnce and ReadWriteMany semantics rather than the complementary implementation and evidence pair. The intended approach is: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. Validate with: Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. Workload context: A PV enters Released after claim deletion and an engineer expects it to bind another PVC without reviewing retained data and claimRef.

D:

Inspect PVC phase, PV claimRef, capacity, accessModes, storageClassName and volume-mount events. This step belongs to PersistentVolume and claim bindings rather than the complementary implementation and evidence pair. The intended approach is: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. Validate with: Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. Workload context: A PV enters Released after claim deletion and an engineer expects it to bind another PVC without reviewing retained data and claimRef.

E:

External HTTP clients reach the correct application by hostname and route rules while unrelated paths stay rejected. This step belongs to Ingress and Gateway API routing rather than the complementary implementation and evidence pair. The intended approach is: Select PV reclaim policies according to retention requirements and verify storage cleanup or recovery steps after PVC deletion. Validate with: Inspect PV persistentVolumeReclaimPolicy, underlying disk state, claim release and storage provisioner behavior. Workload context: A PV enters Released after claim deletion and an engineer expects it to bind another PVC without reviewing retained data and claimRef.

Question 230

A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency. 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. Define user-relevant service-level indicators and objectives for availability, error rate or latency with practical alert thresholds.
  3. Expose application metrics in supported Prometheus format and configure authorized scrape targets and label cardinality.
  4. Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis.

Explanation

Correct Answer

D:

Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. This response implements the controlling Kubernetes or cloud native principle. Logs, metrics and traces answer different questions; observability requires instrumenting and interpreting their context. Check its effect by: Inspect metric labels and samples, log fields, trace/span correlation and sampling rates. Workload context: A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

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: Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. Workload context: A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

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: Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. Workload context: A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

C:

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: Choose metrics for measurements over time, logs for detailed events and traces for end-to-end request execution analysis. Workload context: A service dashboard shows high response latency but no trace context connects it to the slow upstream dependency.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests