100% Latest & Updated Linux Foundation KCNA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 140
Three cloud-native tickets are examined. Case A: an API container exited after emitting an error on standard error. Case B: an engineer needs to inspect a running application's environment inside its container. Case C: a recent Deployment template change produces broken Pods and an earlier revision is known good. Select exactly THREE distinct checks, one most directly validating each case.
- Kubectl exec command result against specified Pod and container
- Deployment rollout history and revision details
- ResourceQuota status used versus hard limits
- Kubectl apply --dry-run=server output
- Kubectl logs for that container including --previous when restarted
- Node spec.unschedulable and SchedulingDisabled flag
Explanation
Correct Answers
A:kubectl exec command result against specified Pod and container is the direct verification point for the scenario where an engineer needs to inspect a running application's environment inside its container. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
B:Deployment rollout history and revision details is the direct verification point for the scenario where a recent Deployment template change produces broken Pods and an earlier revision is known good. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
E:kubectl logs for that container including --previous when restarted is the direct verification point for the scenario where an API container exited after emitting an error on standard error. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
Incorrect Answers
C:ResourceQuota status used versus hard limits helps when one team must not create unlimited Pods or requests within its namespace. The question instead requires one diagnostic check per stated case (1. an API container exited after emitting an error on standard error; 2. an engineer needs to inspect a running application's environment inside its container; 3. a recent Deployment template change produces broken Pods and an earlier revision is known good); this option does not directly match any of those named conditions.
D:Kubectl apply --dry-run=server output helps when a proposed Service manifest must be checked for admission without creating it. The question instead requires one diagnostic check per stated case (1. an API container exited after emitting an error on standard error; 2. an engineer needs to inspect a running application's environment inside its container; 3. a recent Deployment template change produces broken Pods and an earlier revision is known good); this option does not directly match any of those named conditions.
F:Node spec.unschedulable and SchedulingDisabled flag helps when an operator must stop new Pods being scheduled to a Node during planned diagnostics. The question instead requires one diagnostic check per stated case (1. an API container exited after emitting an error on standard error; 2. an engineer needs to inspect a running application's environment inside its container; 3. a recent Deployment template change produces broken Pods and an earlier revision is known good); this option does not directly match any of those named conditions.
Question 141
In an incident review, an engineer needs to inspect a running application's environment inside its container. Which Kubernetes or cloud-native concept best characterizes the specific situation?
- Kubectl exec running process
- API discovery of kinds
- Replica scale adjustment
- Rollout status observation
Explanation
Correct Answer
A:The required Kubernetes concept is kubectl exec running process: an engineer needs to inspect a running application's environment inside its container.
Incorrect Answers
B:API discovery of kinds applies when an operator sees an unfamiliar short-name and needs to learn its resource kind and verbs. This case has a different requirement: An engineer needs to inspect a running application's environment inside its container.
C:Replica scale adjustment applies when a stateless API requires more identical copies and HPA is not managing it. This case has a different requirement: An engineer needs to inspect a running application's environment inside its container.
D:Rollout status observation applies when a Deployment image update has started and operations need to know when it becomes available. This case has a different requirement: An engineer needs to inspect a running application's environment inside its container.
Question 142
A platform review records that several Pods report failures after a node pressure incident. Which Kubernetes or cloud-native concept best characterizes the specific situation?
- Node drain workload evacuation
- ResourceQuota namespace budget
- Namespace scoped query
- Cluster events timeline
Explanation
Correct Answer
D:The required Kubernetes concept is cluster events timeline: several Pods report failures after a node pressure incident.
Incorrect Answers
A:Node drain workload evacuation applies when a worker requires shutdown and safely evictable Pods must leave it. This case has a different requirement: Several Pods report failures after a node pressure incident.
B:ResourceQuota namespace budget applies when one team must not create unlimited Pods or requests within its namespace. This case has a different requirement: Several Pods report failures after a node pressure incident.
C:Namespace scoped query applies when a resource is visible in staging but a default kubectl get in another namespace finds none. This case has a different requirement: Several Pods report failures after a node pressure incident.
Question 143
A support ticket states that a Deployment image update has started and operations need to know when it becomes available. Which Kubernetes or cloud-native concept best characterizes the specific situation?
- Kubectl exec running process
- Server-side dry run
- Namespace scoped query
- Rollout status observation
Explanation
Correct Answer
D:The required Kubernetes concept is rollout status observation: a Deployment image update has started and operations need to know when it becomes available.
Incorrect Answers
A:Kubectl exec running process applies when an engineer needs to inspect a running application's environment inside its container. This case has a different requirement: A Deployment image update has started and operations need to know when it becomes available.
B:Server-side dry run applies when a proposed Service manifest must be checked for admission without creating it. This case has a different requirement: A Deployment image update has started and operations need to know when it becomes available.
C:Namespace scoped query applies when a resource is visible in staging but a default kubectl get in another namespace finds none. This case has a different requirement: A Deployment image update has started and operations need to know when it becomes available.
Question 144
In an incident review, a recent Deployment template change produces broken Pods and an earlier revision is known good. Which Kubernetes or cloud-native concept best characterizes the specific situation?
- Rollout undo revision
- Namespace scoped query
- Kubectl apply declarative change
- Kubectl logs container output
Explanation
Correct Answer
A:The required Kubernetes concept is rollout undo revision: a recent Deployment template change produces broken Pods and an earlier revision is known good.
Incorrect Answers
B:Namespace scoped query applies when a resource is visible in staging but a default kubectl get in another namespace finds none. This case has a different requirement: A recent Deployment template change produces broken Pods and an earlier revision is known good.
C:Kubectl apply declarative change applies when a version-controlled manifest defines desired Deployment fields and must be reconciled repeatedly. This case has a different requirement: A recent Deployment template change produces broken Pods and an earlier revision is known good.
D:Kubectl logs container output applies when an API container exited after emitting an error on standard error. This case has a different requirement: A recent Deployment template change produces broken Pods and an earlier revision is known good.
Question 145
A platform review records that a stateless API requires more identical copies and HPA is not managing it. Which Kubernetes or cloud-native concept best characterizes the specific situation?
- Kubernetes version compatibility
- Replica scale adjustment
- Kubectl exec running process
- Kubectl get overview
Explanation
Correct Answer
B:The required Kubernetes concept is replica scale adjustment: a stateless API requires more identical copies and HPA is not managing it.
Incorrect Answers
A:Kubernetes version compatibility applies when an extension relies on an API removed from a newer Kubernetes release. This case has a different requirement: A stateless API requires more identical copies and HPA is not managing it.
C:Kubectl exec running process applies when an engineer needs to inspect a running application's environment inside its container. This case has a different requirement: A stateless API requires more identical copies and HPA is not managing it.
D:Kubectl get overview applies when a triage engineer first needs a compact list of pods with current phases. This case has a different requirement: A stateless API requires more identical copies and HPA is not managing it.
Question 146
A support ticket states that a resource is visible in staging but a default kubectl get in another namespace finds none. Which Kubernetes or cloud-native concept best characterizes the specific situation?
- Kubectl apply declarative change
- Namespace scoped query
- Rollout undo revision
- Rollout status observation
Explanation
Correct Answer
B:The required Kubernetes concept is namespace scoped query: a resource is visible in staging but a default kubectl get in another namespace finds none.
Incorrect Answers
A:Kubectl apply declarative change applies when a version-controlled manifest defines desired Deployment fields and must be reconciled repeatedly. This case has a different requirement: A resource is visible in staging but a default kubectl get in another namespace finds none.
C:Rollout undo revision applies when a recent Deployment template change produces broken Pods and an earlier revision is known good. This case has a different requirement: A resource is visible in staging but a default kubectl get in another namespace finds none.
D:Rollout status observation applies when a Deployment image update has started and operations need to know when it becomes available. This case has a different requirement: A resource is visible in staging but a default kubectl get in another namespace finds none.
Question 147
In an incident review, an operator must stop new Pods being scheduled to a Node during planned diagnostics. Which Kubernetes or cloud-native concept best characterizes the specific situation?
- Kubectl get overview
- Server-side dry run
- Node cordon for maintenance
- LimitRange defaults
Explanation
Correct Answer
C:The required Kubernetes concept is node cordon for maintenance: an operator must stop new Pods being scheduled to a Node during planned diagnostics.
Incorrect Answers
A:Kubectl get overview applies when a triage engineer first needs a compact list of pods with current phases. This case has a different requirement: An operator must stop new Pods being scheduled to a Node during planned diagnostics.
B:Server-side dry run applies when a proposed Service manifest must be checked for admission without creating it. This case has a different requirement: An operator must stop new Pods being scheduled to a Node during planned diagnostics.
D:LimitRange defaults applies when unconstrained small Pods arrive without resource request values in a shared namespace. This case has a different requirement: An operator must stop new Pods being scheduled to a Node during planned diagnostics.
Question 148
A platform review records that a worker requires shutdown and safely evictable Pods must leave it. Which Kubernetes or cloud-native concept best characterizes the specific situation?
- Node drain workload evacuation
- Namespace scoped query
- Cluster events timeline
- Kubectl get overview
Explanation
Correct Answer
A:The required Kubernetes concept is node drain workload evacuation: a worker requires shutdown and safely evictable Pods must leave it.
Incorrect Answers
B:Namespace scoped query applies when a resource is visible in staging but a default kubectl get in another namespace finds none. This case has a different requirement: A worker requires shutdown and safely evictable Pods must leave it.
C:Cluster events timeline applies when several Pods report failures after a node pressure incident. This case has a different requirement: A worker requires shutdown and safely evictable Pods must leave it.
D:Kubectl get overview applies when a triage engineer first needs a compact list of pods with current phases. This case has a different requirement: A worker requires shutdown and safely evictable Pods must leave it.
Question 149
Two separate Kubernetes tickets are confirmed. Case A: a ServiceAccount receives a forbidden error on reading Deployments. Case B: a worker requires shutdown and safely evictable Pods must leave it. Select exactly TWO distinct responses, one most directly addressing each case.
- Use kubectl exec for an authorized limited diagnostic command
- Drain the Node using appropriate eviction and DaemonSet safeguards
- Configure LimitRange defaults or min/max requirements
- Watch rollout status against the named Deployment
- Check the subject's effective RBAC permission before changing roles
Explanation
Correct Answers
B:drain the Node using appropriate eviction and DaemonSet safeguards directly addresses the requirement that a worker requires shutdown and safely evictable Pods must leave it. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
E:check the subject's effective RBAC permission before changing roles directly addresses the requirement that a ServiceAccount receives a forbidden error on reading Deployments. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
A:Use kubectl exec for an authorized limited diagnostic command helps when an engineer needs to inspect a running application's environment inside its container. The question instead requires one action per stated case (1. a ServiceAccount receives a forbidden error on reading Deployments; 2. a worker requires shutdown and safely evictable Pods must leave it); this option does not directly match any of those named conditions.
C:Configure LimitRange defaults or min/max requirements helps when unconstrained small Pods arrive without resource request values in a shared namespace. The question instead requires one action per stated case (1. a ServiceAccount receives a forbidden error on reading Deployments; 2. a worker requires shutdown and safely evictable Pods must leave it); this option does not directly match any of those named conditions.
D:Watch rollout status against the named Deployment helps when a Deployment image update has started and operations need to know when it becomes available. The question instead requires one action per stated case (1. a ServiceAccount receives a forbidden error on reading Deployments; 2. a worker requires shutdown and safely evictable Pods must leave it); this option does not directly match any of those named conditions.
Question 150
Three cloud-native tickets are examined. Case A: one team must not create unlimited Pods or requests within its namespace. Case B: a stateless API requires more identical copies and HPA is not managing it. Case C: an operator sees an unfamiliar short-name and needs to learn its resource kind and verbs. Select exactly THREE distinct checks, one most directly validating each case.
- Kubectl api-resources and kubectl explain output
- Node spec.unschedulable and SchedulingDisabled flag
- Control plane topology and etcd quorum health
- Provider responsibility document and tenant workload inventories
- Current Deployment replica field and available Pod count
- ResourceQuota status used versus hard limits
Explanation
Correct Answers
A:kubectl api-resources and kubectl explain output is the direct verification point for the scenario where an operator sees an unfamiliar short-name and needs to learn its resource kind and verbs. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
E:current Deployment replica field and available Pod count is the direct verification point for the scenario where a stateless API requires more identical copies and HPA is not managing it. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
F:ResourceQuota status used versus hard limits is the direct verification point for the scenario where one team must not create unlimited Pods or requests within its namespace. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
Incorrect Answers
B:Node spec.unschedulable and SchedulingDisabled flag helps when an operator must stop new Pods being scheduled to a Node during planned diagnostics. The question instead requires one diagnostic check per stated case (1. one team must not create unlimited Pods or requests within its namespace; 2. a stateless API requires more identical copies and HPA is not managing it; 3. an operator sees an unfamiliar short-name and needs to learn its resource kind and verbs); this option does not directly match any of those named conditions.
C:Control plane topology and etcd quorum health helps when a single control plane failure would make the API unavailable to administrators. The question instead requires one diagnostic check per stated case (1. one team must not create unlimited Pods or requests within its namespace; 2. a stateless API requires more identical copies and HPA is not managing it; 3. an operator sees an unfamiliar short-name and needs to learn its resource kind and verbs); this option does not directly match any of those named conditions.
D:Provider responsibility document and tenant workload inventories helps when a cloud provider operates the API server but a tenant deploys unpatched app images. The question instead requires one diagnostic check per stated case (1. one team must not create unlimited Pods or requests within its namespace; 2. a stateless API requires more identical copies and HPA is not managing it; 3. an operator sees an unfamiliar short-name and needs to learn its resource kind and verbs); this option does not directly match any of those named conditions.
Kubernetes and Cloud Native Associate (KCNA) Practice Tests