Linux Foundation KCNA Practice Test 73
Question 720
A workload owner edits the replica count but the controller has not created replacements due to a controller-plane failure. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API.
- Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure.
- Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage.
- Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed.
Explanation
Correct Answer
B:Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure. This response implements the controlling Kubernetes or cloud native principle. Controllers continuously reconcile desired state; an isolated manually created Pod lacks a Deployment's replica management. Check its effect by: Compare desired and observed replicas, controller events, ReplicaSet ownership and controller-manager health. Workload context: A workload owner edits the replica count but the controller has not created replacements due to a controller-plane failure.
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: Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure. Workload context: A workload owner edits the replica count but the controller has not created replacements due to a controller-plane failure.
C:Keep etcd highly available and maintain secure, tested snapshots of Kubernetes API state rather than treating it as ordinary container storage. This action addresses etcd consistency and cluster state instead of the controlling requirement. etcd is a consistent key-value store for API state; it is not where persistent application volume data lives. For this scenario prefer: Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure. Workload context: A workload owner edits the replica count but the controller has not created replacements due to a controller-plane failure.
D:Choose containers for isolated application processes sharing a host kernel and use VMs when a stronger separate-kernel boundary is needed. This action addresses Container versus virtual machine isolation instead of the controlling requirement. Ordinary containers share the host kernel, whereas a VM normally runs its own guest kernel. For this scenario prefer: Allow Kubernetes controllers to reconcile declared desired object state instead of manually replacing each Pod after failure. Workload context: A workload owner edits the replica count but the controller has not created replacements due to a controller-plane failure.
Question 721
An engineer expects setting storageClassName on a claim to create usable storage even when the provisioner controller is unavailable. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect StatefulSet ordinal Pod names, headless Service, volumeClaimTemplates and update strategy.
- Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs.
- Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs.
- Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement.
- The application operates within measured memory budgets or receives justified capacity changes without repeated OOM restarts.
Explanation
Correct Answers
B:Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. This response implements the controlling Kubernetes or cloud native principle. StorageClass names provisioning behavior; a controller and backend must support dynamic provisioning. Check its effect by: Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. This is the implementation part of the required paired answer. Workload context: An engineer expects setting storageClassName on a claim to create usable storage even when the provisioner controller is unavailable.
C:Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. This is the most discriminating evidence for the described failure or requirement. StorageClass names provisioning behavior; a controller and backend must support dynamic provisioning. The corresponding implementation is: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. This is the diagnostic evidence part of the paired answer. Workload context: An engineer expects setting storageClassName on a claim to create usable storage even when the provisioner controller is unavailable.
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: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. Validate with: Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. Workload context: An engineer expects setting storageClassName on a claim to create usable storage even when the provisioner controller is unavailable.
D:Use emptyDir for temporary Pod-scoped data and PVC-backed volumes when data must survive Pod replacement. This step belongs to Ephemeral emptyDir versus persistent volumes rather than the complementary implementation and evidence pair. The intended approach is: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. Validate with: Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. Workload context: An engineer expects setting storageClassName on a claim to create usable storage even when the provisioner controller is unavailable.
E:The application operates within measured memory budgets or receives justified capacity changes without repeated OOM restarts. This step belongs to Container OOMKilled and resource pressure rather than the complementary implementation and evidence pair. The intended approach is: Configure a supported StorageClass and CSI provisioner to dynamically create backing volumes for PVCs. Validate with: Inspect StorageClass provisioner name, allowed topology, PVC events and CSI controller logs. Workload context: An engineer expects setting storageClassName on a claim to create usable storage even when the provisioner controller is unavailable.
Question 722
A Pod requires disktype=ssd but the infrastructure uses storage-tier=ssd labels on all workers. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster.
- Use the scheduler to select feasible nodes and the cluster autoscaler to adjust node capacity when unschedulable Pods can fit a supported node group.
- Use kube-scheduler to bind eligible unscheduled Pods to suitable nodes based on resources and scheduling constraints.
- Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd.
Explanation
Correct Answer
A:Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. This response implements the controlling Kubernetes or cloud native principle. nodeSelector requires matching labels; it does not create labels or express weighted preferences by itself. Check its effect by: Check Pod nodeSelector keys and values against node labels and scheduling events. Workload context: A Pod requires disktype=ssd but the infrastructure uses storage-tier=ssd labels on all workers.
Incorrect Answers
B: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 nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. Workload context: A Pod requires disktype=ssd but the infrastructure uses storage-tier=ssd labels on all workers.
C:Use kube-scheduler to bind eligible unscheduled Pods to suitable nodes based on resources and scheduling constraints. This action addresses Scheduler responsibility and binding instead of the controlling requirement. kube-scheduler assigns Pods to nodes; kubelet executes Pods after assignment and the controller manager reconciles controllers. For this scenario prefer: Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. Workload context: A Pod requires disktype=ssd but the infrastructure uses storage-tier=ssd labels on all workers.
D:Use kube-apiserver as the authenticated front end for Kubernetes API objects, rather than connecting clients directly to etcd. This action addresses Kubernetes API server and API requests instead of the controlling requirement. kube-apiserver validates and serves API requests; etcd stores cluster state rather than exposing the user API. For this scenario prefer: Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. Workload context: A Pod requires disktype=ssd but the infrastructure uses storage-tier=ssd labels on all workers.
Question 723
A chart installs successfully in development but production values accidentally disable its readiness probes. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history.
- Healthy Pods enter ready endpoints only after application dependencies function, without restarting healthy processes unnecessarily.
- Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics.
- Inspect rendered helm template output, values merge order, chart dependency versions and release status.
- Gate rollout progression on suitable error, latency and business metrics with explicit thresholds and rollback authorization.
Explanation
Correct Answers
A:Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. This response implements the controlling Kubernetes or cloud native principle. Helm templates generate manifests; a chart repository alone does not deploy resources or validate runtime behavior. Check its effect by: Inspect rendered helm template output, values merge order, chart dependency versions and release status. This is the implementation part of the required paired answer. Workload context: A chart installs successfully in development but production values accidentally disable its readiness probes.
D:Inspect rendered helm template output, values merge order, chart dependency versions and release status. This is the most discriminating evidence for the described failure or requirement. Helm templates generate manifests; a chart repository alone does not deploy resources or validate runtime behavior. The corresponding implementation is: Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. This is the diagnostic evidence part of the paired answer. Workload context: A chart installs successfully in development but production values accidentally disable its readiness probes.
Incorrect Answers
B:Healthy Pods enter ready endpoints only after application dependencies function, without restarting healthy processes unnecessarily. This step belongs to Readiness-probe failure versus process crash rather than the complementary implementation and evidence pair. The intended approach is: Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. Validate with: Inspect rendered helm template output, values merge order, chart dependency versions and release status. Workload context: A chart installs successfully in development but production values accidentally disable its readiness probes.
C:Inspect traffic split, Service selectors or routing weights, version identity and representative user metrics. This step belongs to Blue-green versus canary release patterns rather than the complementary implementation and evidence pair. The intended approach is: Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. Validate with: Inspect rendered helm template output, values merge order, chart dependency versions and release status. Workload context: A chart installs successfully in development but production values accidentally disable its readiness probes.
E:Gate rollout progression on suitable error, latency and business metrics with explicit thresholds and rollback authorization. This step belongs to Progressive delivery and release metrics rather than the complementary implementation and evidence pair. The intended approach is: Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. Validate with: Inspect rendered helm template output, values merge order, chart dependency versions and release status. Workload context: A chart installs successfully in development but production values accidentally disable its readiness probes.
Question 724
A node runs containerd but kubelet points at a nonexistent CRI socket and all Pod sandboxes fail. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Pods run the intended image build and failed pulls are diagnosed without silently relying on stale artifacts.
- Only reviewed images with accepted risk enter production and later findings can be traced to deployed digests.
- Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures.
- Unschedulable unhealthy nodes are excluded until they meet documented readiness checks, preserving healthy placement.
Explanation
Correct Answer
C: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: A node runs containerd but kubelet points at a nonexistent CRI socket and all Pod sandboxes fail.
Incorrect Answers
A:Pods run the intended image build and failed pulls are diagnosed without silently relying on stale artifacts. That result validates Image pull policy and cached images rather than the requirement here. Verify instead: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: A node runs containerd but kubelet points at a nonexistent CRI socket and all Pod sandboxes fail.
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: A node runs containerd but kubelet points at a nonexistent CRI socket and all Pod sandboxes fail.
D:Unschedulable unhealthy nodes are excluded until they meet documented readiness checks, preserving healthy placement. That result validates Node readiness and scheduling exclusion rather than the requirement here. Verify instead: Kubelet can start Pod sandboxes and containers through the configured CRI without incompatible shim failures. Workload context: A node runs containerd but kubelet points at a nonexistent CRI socket and all Pod sandboxes fail.
Question 725
An engineer edits a deployed Service directly after helm install and the next chart upgrade overwrites the change. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs.
- Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers.
- Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history.
- Inspect rendered helm template output, values merge order, chart dependency versions and release status.
- Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls.
Explanation
Correct Answers
C:Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. This response implements the controlling Kubernetes or cloud native principle. Helm templates generate manifests; a chart repository alone does not deploy resources or validate runtime behavior. Check its effect by: Inspect rendered helm template output, values merge order, chart dependency versions and release status. This is the implementation part of the required paired answer. Workload context: An engineer edits a deployed Service directly after helm install and the next chart upgrade overwrites the change.
D:Inspect rendered helm template output, values merge order, chart dependency versions and release status. This is the most discriminating evidence for the described failure or requirement. Helm templates generate manifests; a chart repository alone does not deploy resources or validate runtime behavior. The corresponding implementation is: Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. This is the diagnostic evidence part of the paired answer. Workload context: An engineer edits a deployed Service directly after helm install and the next chart upgrade overwrites the change.
Incorrect Answers
A: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: Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. Validate with: Inspect rendered helm template output, values merge order, chart dependency versions and release status. Workload context: An engineer edits a deployed Service directly after helm install and the next chart upgrade overwrites the change.
B:Diagnostics are reproducible, scoped and do not leave unreviewed configuration changes inside containers. This step belongs to kubectl exec diagnostic boundaries rather than the complementary implementation and evidence pair. The intended approach is: Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. Validate with: Inspect rendered helm template output, values merge order, chart dependency versions and release status. Workload context: An engineer edits a deployed Service directly after helm install and the next chart upgrade overwrites the change.
E:Use a versioned Git repository as declarative desired state and a reconciler to detect and correct drift with approved change controls. This step belongs to GitOps reconciliation and source of truth rather than the complementary implementation and evidence pair. The intended approach is: Package related Kubernetes resources as a Helm chart and manage per-environment configuration with reviewed values and release history. Validate with: Inspect rendered helm template output, values merge order, chart dependency versions and release status. Workload context: An engineer edits a deployed Service directly after helm install and the next chart upgrade overwrites the change.
Question 726
Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation.
- Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status.
- Check resource namespace, role bindings, quotas and effective network enforcement across namespaces.
- Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API.
- Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions.
Explanation
Correct Answers
A:Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. This response implements the controlling Kubernetes or cloud native principle. Namespaces organize resource names but are not automatically strong security boundaries or separate clusters. Check its effect by: Check resource namespace, role bindings, quotas and effective network enforcement across namespaces. This is the implementation part of the required paired answer. Workload context: Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies.
C:Check resource namespace, role bindings, quotas and effective network enforcement across namespaces. This is the most discriminating evidence for the described failure or requirement. Namespaces organize resource names but are not automatically strong security boundaries or separate clusters. The corresponding implementation is: Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. This is the diagnostic evidence part of the paired answer. Workload context: Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies.
Incorrect Answers
B:Let kubelet on each node reconcile assigned Pod specifications with the container runtime and report node and Pod status. This step belongs to Kubelet node agent responsibilities rather than the complementary implementation and evidence pair. The intended approach is: Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. Validate with: Check resource namespace, role bindings, quotas and effective network enforcement across namespaces. Workload context: Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies.
D:Workloads read needed configuration while unauthorized users cannot retrieve credential material through the API. This step belongs to ConfigMap and Secret boundaries rather than the complementary implementation and evidence pair. The intended approach is: Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. Validate with: Check resource namespace, role bindings, quotas and effective network enforcement across namespaces. Workload context: Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies.
E:Compare Deployment spec, ReplicaSet ownership, rollout history and updated/available replica conditions. This step belongs to Deployment and ReplicaSet ownership rather than the complementary implementation and evidence pair. The intended approach is: Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. Validate with: Check resource namespace, role bindings, quotas and effective network enforcement across namespaces. Workload context: Two teams put apps in different namespaces and assume the Pods cannot communicate even without NetworkPolicies.
Question 727
An engineer submits a major scheduler API change only as a personal blog post and expects it to become a stable Kubernetes feature. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Technical proposals reach appropriate reviewers with documented rationale and open community feedback.
- Contributions and distributions meet stated open-source terms without assuming every repository uses the same license.
- Maintainers can reproduce and triage the problem without access to private credentials or customer systems.
- Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence.
Explanation
Correct Answer
A:Technical proposals reach appropriate reviewers with documented rationale and open community feedback. This is an observable service outcome, not just evidence that a configuration file was saved. Kubernetes development is governed through open community processes rather than a single cloud vendor's private roadmap. Workload context: An engineer submits a major scheduler API change only as a personal blog post and expects it to become a stable Kubernetes feature.
Incorrect Answers
B:Contributions and distributions meet stated open-source terms without assuming every repository uses the same license. That result validates Open source licensing and contribution basics rather than the requirement here. Verify instead: Technical proposals reach appropriate reviewers with documented rationale and open community feedback. Workload context: An engineer submits a major scheduler API change only as a personal blog post and expects it to become a stable Kubernetes feature.
C:Maintainers can reproduce and triage the problem without access to private credentials or customer systems. That result validates Upstream issue reporting and review collaboration rather than the requirement here. Verify instead: Technical proposals reach appropriate reviewers with documented rationale and open community feedback. Workload context: An engineer submits a major scheduler API change only as a personal blog post and expects it to become a stable Kubernetes feature.
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: Technical proposals reach appropriate reviewers with documented rationale and open community feedback. Workload context: An engineer submits a major scheduler API change only as a personal blog post and expects it to become a stable Kubernetes feature.
Question 728
An operator sees a rollout pause with old and new Pods and incorrectly concludes the scheduler is broken. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events.
- Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads.
- Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected.
- Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision.
- Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events.
Explanation
Correct Answers
A:Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. This is the most discriminating evidence for the described failure or requirement. A Deployment being Available does not prove all new replicas are healthy or that a rollout has fully progressed. The corresponding implementation is: Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision. This is the diagnostic evidence part of the paired answer. Workload context: An operator sees a rollout pause with old and new Pods and incorrectly concludes the scheduler is broken.
D:Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision. This response implements the controlling Kubernetes or cloud native principle. A Deployment being Available does not prove all new replicas are healthy or that a rollout has fully progressed. Check its effect by: Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. This is the implementation part of the required paired answer. Workload context: An operator sees a rollout pause with old and new Pods and incorrectly concludes the scheduler is broken.
Incorrect Answers
B:Use container logs and --previous for restarted containers while preserving central logs for evicted or moved workloads. This step belongs to kubectl logs current versus previous instance rather than the complementary implementation and evidence pair. The intended approach is: Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision. Validate with: Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. Workload context: An operator sees a rollout pause with old and new Pods and incorrectly concludes the scheduler is broken.
C:Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected. This step belongs to GitOps reconciliation and source of truth rather than the complementary implementation and evidence pair. The intended approach is: Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision. Validate with: Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. Workload context: An operator sees a rollout pause with old and new Pods and incorrectly concludes the scheduler is broken.
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: Compare rollout history and resource generations to identify whether application failures correlate with a new deployment revision. Validate with: Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. Workload context: An operator sees a rollout pause with old and new Pods and incorrectly concludes the scheduler is broken.
Question 729
A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Review container lastState, exit code, restart count, previous logs and application configuration.
- Test DNS names, search suffixes, CoreDNS logs, upstream forwarders and service records.
- Trace requests through Service DNS, selector, EndpointSlice and targetPort before attributing all timeouts to network latency.
- Workloads function under least privilege and operations needing prohibited capabilities are rejected or explicitly reviewed.
- Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures.
Explanation
Correct Answers
A:Review container lastState, exit code, restart count, previous logs and application configuration. This is the most discriminating evidence for the described failure or requirement. CrashLoopBackOff indicates repeated container exits and restart delays, not a scheduler placement failure. The corresponding implementation is: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. This is the diagnostic evidence part of the paired answer. Workload context: A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts.
E:Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. This response implements the controlling Kubernetes or cloud native principle. CrashLoopBackOff indicates repeated container exits and restart delays, not a scheduler placement failure. Check its effect by: Review container lastState, exit code, restart count, previous logs and application configuration. This is the implementation part of the required paired answer. Workload context: A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts.
Incorrect Answers
B:Test DNS names, search suffixes, CoreDNS logs, upstream forwarders and service records. This step belongs to Cluster DNS and service discovery rather than the complementary implementation and evidence pair. The intended approach is: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. Validate with: Review container lastState, exit code, restart count, previous logs and application configuration. Workload context: A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts.
C: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: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. Validate with: Review container lastState, exit code, restart count, previous logs and application configuration. Workload context: A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts.
D:Workloads function under least privilege and operations needing prohibited capabilities are rejected or explicitly reviewed. This step belongs to Linux securityContext and seccomp basics rather than the complementary implementation and evidence pair. The intended approach is: Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. Validate with: Review container lastState, exit code, restart count, previous logs and application configuration. Workload context: A backend loads a missing environment variable, exits with code 1 and enters CrashLoopBackOff after multiple restarts.
Question 730
During database migration, the container remains live but readiness fails appropriately until the dependency becomes usable. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details.
- Inspect pod/container name, restartCount, lastState, previous log output and log collector availability.
- Inspect rendered helm template output, values merge order, chart dependency versions and release status.
- Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership.
Explanation
Correct Answer
A:Inspect Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details. This is the most discriminating evidence for the described failure or requirement. Readiness-probe failure normally removes endpoint traffic without killing the container; liveness changes restart behavior. The corresponding implementation is: Distinguish readiness endpoint failures from application process exits before deciding whether to restart or change service routing. Workload context: During database migration, the container remains live but readiness fails appropriately until the dependency becomes usable.
Incorrect Answers
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 Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details. Workload context: During database migration, the container remains live but readiness fails appropriately until the dependency becomes usable.
C:Inspect rendered helm template output, values merge order, chart dependency versions and release status. These observations are more relevant to Helm charts templates and values, not this case. The distinguishing check is: Inspect Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details. Workload context: During database migration, the container remains live but readiness fails appropriately until the dependency becomes usable.
D:Review kubectl describe output, warning reasons, first/last timestamps and relevant controller ownership. These observations are more relevant to kubectl describe and event chronology, not this case. The distinguishing check is: Inspect Pod Ready condition, container restart count, probe event, endpoint membership and HTTP response details. Workload context: During database migration, the container remains live but readiness fails appropriately until the dependency becomes usable.