Linux Foundation KCNA Practice Test 111
Question 1100
A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- 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 a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors.
- Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod.
- Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster.
Explanation
Correct Answer
D: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 team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.
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 nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.
B:Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors. This action addresses DaemonSet node-local workloads instead of the controlling requirement. A DaemonSet creates node-level replicas automatically rather than a fixed overall replica count like a Deployment. For this scenario prefer: Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.
C:Use supported sidecar containers for tightly coupled helper functions and verify lifecycle coordination within the Pod. This action addresses Sidecar containers and shared Pod lifecycle instead of the controlling requirement. Sidecars share a Pod network context; careless start or termination ordering can block a workload. For this scenario prefer: Use nodeSelector for straightforward required label equality and confirm matching nodes exist in the cluster. Workload context: A team uses a nodeSelector to request a preferred zone but actually makes the zone mandatory and loses redundancy.
Question 1101
A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Production uses a tested traceable artifact only after required promotion and environment gates succeed.
- Traffic shifts as planned with clear rollback triggers and both versions behaving under their measured loads.
- Staging and production execute identical approved artifact content and releases remain reproducible.
- The faulty revision is identified and rollback or correction restores the intended application version.
Explanation
Correct Answer
C:Staging and production execute identical approved artifact content and releases remain reproducible. This is an observable service outcome, not just evidence that a configuration file was saved. An image digest identifies the immutable artifact; matching labels or Git SHAs alone do not prove identical layers. Workload context: A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production.
Incorrect Answers
A:Production uses a tested traceable artifact only after required promotion and environment gates succeed. That result validates CI versus CD pipeline separation rather than the requirement here. Verify instead: Staging and production execute identical approved artifact content and releases remain reproducible. Workload context: A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production.
B:Traffic shifts as planned with clear rollback triggers and both versions behaving under their measured loads. That result validates Blue-green versus canary release patterns rather than the requirement here. Verify instead: Staging and production execute identical approved artifact content and releases remain reproducible. Workload context: A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production.
D:The faulty revision is identified and rollback or correction restores the intended application version. That result validates Rollout history status and change correlation rather than the requirement here. Verify instead: Staging and production execute identical approved artifact content and releases remain reproducible. Workload context: A pipeline rebuilds from the same source commit for each environment and receives newer transitive dependencies in production.
Question 1102
A release team observes healthy node memory metrics but a specific downstream queue service accumulates errors during peak load. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Compare trace IDs, time synchronized log events, resource saturation metrics and span durations.
- Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages.
- Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs.
- Inspect rendered helm template output, values merge order, chart dependency versions and release status.
Explanation
Correct Answer
A:Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. This is the most discriminating evidence for the described failure or requirement. Metrics show trends, logs show event details, and traces show request spans; reliable correlation benefits from consistent identifiers. The corresponding implementation is: Use time-aligned metrics, structured logs and distributed traces to isolate root causes across Kubernetes components and services. Workload context: A release team observes healthy node memory metrics but a specific downstream queue service accumulates errors during peak load.
Incorrect Answers
B:Check registry digest, image signatures, deployment Pod imageID and provenance attestations across stages. These observations are more relevant to Artifact promotion by digest, not this case. The distinguishing check is: Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. Workload context: A release team observes healthy node memory metrics but a specific downstream queue service accumulates errors during peak load.
C:Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs. These observations are more relevant to Ingress route and TLS mismatch diagnosis, not this case. The distinguishing check is: Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. Workload context: A release team observes healthy node memory metrics but a specific downstream queue service accumulates errors during peak load.
D: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: Compare trace IDs, time synchronized log events, resource saturation metrics and span durations. Workload context: A release team observes healthy node memory metrics but a specific downstream queue service accumulates errors during peak load.
Question 1103
An app's database password is committed into a ConfigMap because it seems convenient to review configuration changes. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior.
- Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls.
- The helper supports the main app and its lifecycle is correctly coordinated during start and shutdown.
- Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings.
- Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation.
Explanation
Correct Answers
A:Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. This is the most discriminating evidence for the described failure or requirement. Kubernetes Secret data is base64-encoded by default, not inherently encrypted or a substitute for managed secret governance. The corresponding implementation is: Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. This is the diagnostic evidence part of the paired answer. Workload context: An app's database password is committed into a ConfigMap because it seems convenient to review configuration changes.
B:Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. This response implements the controlling Kubernetes or cloud native principle. Kubernetes Secret data is base64-encoded by default, not inherently encrypted or a substitute for managed secret governance. Check its effect by: Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. This is the implementation part of the required paired answer. Workload context: An app's database password is committed into a ConfigMap because it seems convenient to review configuration changes.
Incorrect Answers
C:The helper supports the main app and its lifecycle is correctly coordinated during start and shutdown. This step belongs to Sidecar containers and shared Pod lifecycle rather than the complementary implementation and evidence pair. The intended approach is: Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. Validate with: Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. Workload context: An app's database password is committed into a ConfigMap because it seems convenient to review configuration changes.
D:Inspect Dockerfile layer history, build context, cache usage, image size and scanner findings. This step belongs to Image layers and build cache rather than the complementary implementation and evidence pair. The intended approach is: Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. Validate with: Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. Workload context: An app's database password is committed into a ConfigMap because it seems convenient to review configuration changes.
E:Cordon a node before planned maintenance, then use drain with workload safety checks and restore scheduling after validation. This step belongs to Node cordon drain maintenance rather than the complementary implementation and evidence pair. The intended approach is: Store non-sensitive configuration in ConfigMaps and sensitive values in Secrets with access control and encryption controls. Validate with: Inspect ConfigMap/Secret references, RBAC, API audit records, encryption-at-rest settings and mount or environment behavior. Workload context: An app's database password is committed into a ConfigMap because it seems convenient to review configuration changes.
Question 1104
A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Distributed requests produce correlated spans and approved telemetry reaches its configured backend without leaking secrets.
- Operators find the latency or failure cause using combined telemetry without mistaking metrics for individual request evidence.
- Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts.
- Project maintainers receive actionable confidential reports and releases can be coordinated without exposing affected users prematurely.
Explanation
Correct Answer
C:Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts. This is an observable service outcome, not just evidence that a configuration file was saved. Prometheus primarily scrapes targets on an interval; instrumentation must expose values and high-cardinality labels can overload storage. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.
Incorrect Answers
A:Distributed requests produce correlated spans and approved telemetry reaches its configured backend without leaking secrets. That result validates OpenTelemetry instrumentation and exporters rather than the requirement here. Verify instead: Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.
B: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: Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.
D:Project maintainers receive actionable confidential reports and releases can be coordinated without exposing affected users prematurely. That result validates Responsible vulnerability disclosure in communities rather than the requirement here. Verify instead: Metrics are collected from intended targets at expected intervals with bounded label series and useful alerts. Workload context: A team installs Prometheus but does not expose application counters and assumes it can derive request errors from Pod status alone.
Question 1105
A development namespace cannot modify production ConfigMaps through the API but its Pods can still contact a production database over TCP. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests.
- External clients reach only the intended healthy Service backends and the allocated endpoint matches network policy.
- Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior.
- Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic.
- Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports.
Explanation
Correct Answers
A:Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. This is the most discriminating evidence for the described failure or requirement. NetworkPolicy governs data-plane traffic, whereas RBAC governs API actions; neither alone replaces the other. The corresponding implementation is: Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. This is the diagnostic evidence part of the paired answer. Workload context: A development namespace cannot modify production ConfigMaps through the API but its Pods can still contact a production database over TCP.
D:Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. This response implements the controlling Kubernetes or cloud native principle. NetworkPolicy governs data-plane traffic, whereas RBAC governs API actions; neither alone replaces the other. Check its effect by: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. This is the implementation part of the required paired answer. Workload context: A development namespace cannot modify production ConfigMaps through the API but its Pods can still contact a production database over TCP.
Incorrect Answers
B:External clients reach only the intended healthy Service backends and the allocated endpoint matches network policy. This step belongs to LoadBalancer Service provisioning rather than the complementary implementation and evidence pair. The intended approach is: Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. Validate with: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. Workload context: A development namespace cannot modify production ConfigMaps through the API but its Pods can still contact a production database over TCP.
C:Distinguish authenticating a Kubernetes API caller from authorizing verbs and validating or mutating admission behavior. This step belongs to Authentication authorization and admission order rather than the complementary implementation and evidence pair. The intended approach is: Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. Validate with: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. Workload context: A development namespace cannot modify production ConfigMaps through the API but its Pods can still contact a production database over TCP.
E:Inspect Service selector, Pod readiness, EndpointSlice addresses, kube-proxy or eBPF service programming and target ports. This step belongs to Service endpoint routing and kube-proxy rather than the complementary implementation and evidence pair. The intended approach is: Combine RBAC with NetworkPolicy to control both Kubernetes API permissions and east-west workload traffic. Validate with: Inspect namespace labels, Pod selectors, network policy rules, RBAC permissions and effective connectivity tests. Workload context: A development namespace cannot modify production ConfigMaps through the API but its Pods can still contact a production database over TCP.
Question 1106
Two application containers in one Pod both try to bind port 8080 and the second fails at startup. Which Kubernetes or cloud native approach BEST addresses the stated requirement?
- Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors.
- Declare Kubernetes resource kind, apiVersion, metadata and spec using a supported schema and reconcile changes through the API.
- Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation.
- Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods.
Explanation
Correct Answer
D:Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. This response implements the controlling Kubernetes or cloud native principle. Containers in one Pod share networking and selected volumes; Kubernetes schedules Pods rather than independent containers. Check its effect by: Inspect container membership, localhost connectivity, Pod IP, restart policies and inter-container volumes. Workload context: Two application containers in one Pod both try to bind port 8080 and the second fails at startup.
Incorrect Answers
A:Use a DaemonSet to run a supported node agent across eligible nodes, respecting taints and selectors. This action addresses DaemonSet node-local workloads instead of the controlling requirement. A DaemonSet creates node-level replicas automatically rather than a fixed overall replica count like a Deployment. For this scenario prefer: Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. Workload context: Two application containers in one Pod both try to bind port 8080 and the second fails at startup.
B: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: Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. Workload context: Two application containers in one Pod both try to bind port 8080 and the second fails at startup.
C:Use namespaces to group namespaced resources and policies, and add explicit RBAC and network controls for isolation. This action addresses Namespace scope and limits instead of the controlling requirement. Namespaces organize resource names but are not automatically strong security boundaries or separate clusters. For this scenario prefer: Model tightly coupled containers inside a Pod when they must share a network namespace and lifecycle, not as unrelated separate Pods. Workload context: Two application containers in one Pod both try to bind port 8080 and the second fails at startup.
Question 1107
A team adds a liveness probe to a transient overloaded endpoint and starts a restart storm instead of isolating readiness behavior. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops.
- The Service has healthy matching backends and forwards to the application process's actual port.
- Only authorized artifacts enter the cluster and each workload is traceable to a reviewed build.
- Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed.
Explanation
Correct Answer
A:Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. This is an observable service outcome, not just evidence that a configuration file was saved. Readiness failure removes a Pod from ready endpoints; liveness failure may restart a container. Workload context: A team adds a liveness probe to a transient overloaded endpoint and starts a restart storm instead of isolating readiness behavior.
Incorrect Answers
B:The Service has healthy matching backends and forwards to the application process's actual port. That result validates Service selector and port mismatch diagnostics rather than the requirement here. Verify instead: Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. Workload context: A team adds a liveness probe to a transient overloaded endpoint and starts a restart storm instead of isolating readiness behavior.
C:Only authorized artifacts enter the cluster and each workload is traceable to a reviewed build. That result validates Image provenance and admission policies rather than the requirement here. Verify instead: Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. Workload context: A team adds a liveness probe to a transient overloaded endpoint and starts a restart storm instead of isolating readiness behavior.
D:Clients resolve the intended in-cluster Service name and external DNS forwarding operates as designed. That result validates Cluster DNS and service discovery rather than the requirement here. Verify instead: Healthy but initializing Pods avoid traffic and genuinely stuck workloads recover without unnecessary restart loops. Workload context: A team adds a liveness probe to a transient overloaded endpoint and starts a restart storm instead of isolating readiness behavior.
Question 1108
A release changes only an environment variable and a previously stable service begins failing health checks after the new ReplicaSet starts. Which evidence should the engineer inspect FIRST to distinguish the likely cause or verify the prerequisite?
- Inspect rendered helm template output, values merge order, chart dependency versions and release status.
- Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events.
- Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs.
- Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events.
Explanation
Correct Answer
B: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. Workload context: A release changes only an environment variable and a previously stable service begins failing health checks after the new ReplicaSet starts.
Incorrect Answers
A: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 Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. Workload context: A release changes only an environment variable and a previously stable service begins failing health checks after the new ReplicaSet starts.
C:Inspect host/path rules, route attachment, listener TLS, backend port and controller access logs. These observations are more relevant to Ingress route and TLS mismatch diagnosis, not this case. The distinguishing check is: Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. Workload context: A release changes only an environment variable and a previously stable service begins failing health checks after the new ReplicaSet starts.
D:Inspect commit identity, build/test results, artifact digest, promotion approval and deployment events. These observations are more relevant to CI versus CD pipeline separation, not this case. The distinguishing check is: Inspect Deployment observedGeneration, rollout status, revision annotations, ReplicaSet ownership and release events. Workload context: A release changes only an environment variable and a previously stable service begins failing health checks after the new ReplicaSet starts.
Question 1109
A postrelease failure requires kubectl rollout undo but no recorded previous revision is available because changes bypassed the Deployment. Which observable result BEST confirms the desired Kubernetes or cloud native behavior?
- Traffic shifts as planned with clear rollback triggers and both versions behaving under their measured loads.
- Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected.
- New replicas become Ready before old capacity is removed and a failed rollout can return to a known revision.
- An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal.
Explanation
Correct Answer
C:New replicas become Ready before old capacity is removed and a failed rollout can return to a known revision. This is an observable service outcome, not just evidence that a configuration file was saved. A rolling update controls replacement pacing but application correctness still requires probes and release validation. Workload context: A postrelease failure requires kubectl rollout undo but no recorded previous revision is available because changes bypassed the Deployment.
Incorrect Answers
A:Traffic shifts as planned with clear rollback triggers and both versions behaving under their measured loads. That result validates Blue-green versus canary release patterns rather than the requirement here. Verify instead: New replicas become Ready before old capacity is removed and a failed rollout can return to a known revision. Workload context: A postrelease failure requires kubectl rollout undo but no recorded previous revision is available because changes bypassed the Deployment.
B:Live cluster configurations converge to reviewed Git commits and unauthorized drift is flagged or corrected. That result validates GitOps reconciliation and source of truth rather than the requirement here. Verify instead: New replicas become Ready before old capacity is removed and a failed rollout can return to a known revision. Workload context: A postrelease failure requires kubectl rollout undo but no recorded previous revision is available because changes bypassed the Deployment.
D:An incident timeline pinpoints the failing dependency rather than relying on one generic readiness or CPU signal. That result validates Correlating metrics logs and traces rather than the requirement here. Verify instead: New replicas become Ready before old capacity is removed and a failed rollout can return to a known revision. Workload context: A postrelease failure requires kubectl rollout undo but no recorded previous revision is available because changes bypassed the Deployment.
Question 1110
An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint. Which TWO complementary steps supply the appropriate approach AND the evidence required to validate it? Select TWO.
- Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs.
- Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures.
- Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings.
- Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API.
- Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity.
Explanation
Correct Answers
A:Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. This response implements the controlling Kubernetes or cloud native principle. Pending may mean unschedulable or image preparation; distinguish whether node assignment occurred before choosing next checks. Check its effect by: Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. This is the implementation part of the required paired answer. Workload context: An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint.
E:Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. This is the most discriminating evidence for the described failure or requirement. Pending may mean unschedulable or image preparation; distinguish whether node assignment occurred before choosing next checks. The corresponding implementation is: Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. This is the diagnostic evidence part of the paired answer. Workload context: An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint.
Incorrect Answers
B:Inspect restart history and previous-container logs to diagnose repeatedly exiting containers and fix startup or runtime failures. This step belongs to CrashLoopBackOff and previous logs rather than the complementary implementation and evidence pair. The intended approach is: Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. Validate with: Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. Workload context: An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint.
C:Inspect node conditions, eviction events, kubelet logs, disk usage and QoS/resource request settings. This step belongs to Node pressure and Pod eviction analysis rather than the complementary implementation and evidence pair. The intended approach is: Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. Validate with: Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. Workload context: An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint.
D:Approved workloads can access required credentials while unauthorized viewers cannot recover plaintext through the API. This step belongs to Secret base64 encoding versus encryption rather than the complementary implementation and evidence pair. The intended approach is: Use Pod events and scheduler reasons to diagnose Pending workloads before changing application images or reading nonexistent logs. Validate with: Inspect kubectl describe Pod events, requests, node taints, PVC claims and node affinity. Workload context: An application team scales a Deployment but some replicas remain Pending due to a dedicated-node taint.