100% Latest & Updated Linux Foundation KCNA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 510
Three cloud-native tickets are examined. Case A: a central controller requires clusterwide access based on an approved ClusterRole. Case B: a new namespace requires controls against privileged host namespaces and unsafe mounts. Case C: incident response needs evidence of who changed a RoleBinding and when. Select exactly THREE distinct checks, one most directly validating each case.
- API audit events with user verb object and timestamp
- Client and server TLS configuration and certificate chain
- Pod Security Admission labels and rejection events
- Role resource and verb list compared with required operations
- API server encryption-at-rest configuration and secret storage settings
- ClusterRoleBinding roleRef and subjects
Explanation
Correct Answers
A:API audit events with user verb object and timestamp is the direct verification point for the scenario where incident response needs evidence of who changed a RoleBinding and when. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
C:Pod Security Admission labels and rejection events is the direct verification point for the scenario where a new namespace requires controls against privileged host namespaces and unsafe mounts. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
F:ClusterRoleBinding roleRef and subjects is the direct verification point for the scenario where a central controller requires clusterwide access based on an approved ClusterRole. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
Incorrect Answers
B:Client and server TLS configuration and certificate chain helps when two internal services exchange credentials on an untrusted network segment. The question instead requires one diagnostic check per stated case (1. a central controller requires clusterwide access based on an approved ClusterRole; 2. a new namespace requires controls against privileged host namespaces and unsafe mounts; 3. incident response needs evidence of who changed a RoleBinding and when); this option does not directly match any of those named conditions.
D:Role resource and verb list compared with required operations helps when a report generator only reads ConfigMaps but its Role includes delete and update. The question instead requires one diagnostic check per stated case (1. a central controller requires clusterwide access based on an approved ClusterRole; 2. a new namespace requires controls against privileged host namespaces and unsafe mounts; 3. incident response needs evidence of who changed a RoleBinding and when); this option does not directly match any of those named conditions.
E:API server encryption-at-rest configuration and secret storage settings helps when an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64. The question instead requires one diagnostic check per stated case (1. a central controller requires clusterwide access based on an approved ClusterRole; 2. a new namespace requires controls against privileged host namespaces and unsafe mounts; 3. incident response needs evidence of who changed a RoleBinding and when); this option does not directly match any of those named conditions.
Question 511
The team wants to address this operational case: a Pod should call the Kubernetes API without an employee's kubeconfig credentials. Which narrowly targeted action best addresses the stated requirement or problem?
- Enforce the registry allowlist through an admission control mechanism
- Run the Pod under a dedicated least-privilege ServiceAccount
- Enable and manage encryption at rest with appropriate keys
- Bind a narrow ClusterRole only to the approved controller identity
Explanation
Correct Answer
B:run the Pod under a dedicated least-privilege ServiceAccount directly addresses the requirement that a Pod should call the Kubernetes API without an employee's kubeconfig credentials. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
A:enforce the registry allowlist through an admission control mechanism is relevant when a submitted Pod with an unapproved image registry should be rejected before persistence. Here, the question concerns a Pod should call the Kubernetes API without an employee's kubeconfig credentials; that different situation calls for a different action, so this option does not specifically answer the case.
C:enable and manage encryption at rest with appropriate keys is relevant when an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64. Here, the question concerns a Pod should call the Kubernetes API without an employee's kubeconfig credentials; that different situation calls for a different action, so this option does not specifically answer the case.
D:bind a narrow ClusterRole only to the approved controller identity is relevant when a central controller requires clusterwide access based on an approved ClusterRole. Here, the question concerns a Pod should call the Kubernetes API without an employee's kubeconfig credentials; that different situation calls for a different action, so this option does not specifically answer the case.
Question 512
The owner has confirmed the following condition: a report generator only reads ConfigMaps but its Role includes delete and update. Which narrowly targeted action best addresses the stated requirement or problem?
- Enforce an appropriate Pod Security Standard level
- Bind a narrow ClusterRole only to the approved controller identity
- Enforce the registry allowlist through an admission control mechanism
- Remove write verbs and unrelated resources from the grant
Explanation
Correct Answer
D:remove write verbs and unrelated resources from the grant directly addresses the requirement that a report generator only reads ConfigMaps but its Role includes delete and update. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
A:enforce an appropriate Pod Security Standard level is relevant when a new namespace requires controls against privileged host namespaces and unsafe mounts. Here, the question concerns a report generator only reads ConfigMaps but its Role includes delete and update; that different situation calls for a different action, so this option does not specifically answer the case.
B:bind a narrow ClusterRole only to the approved controller identity is relevant when a central controller requires clusterwide access based on an approved ClusterRole. Here, the question concerns a report generator only reads ConfigMaps but its Role includes delete and update; that different situation calls for a different action, so this option does not specifically answer the case.
C:enforce the registry allowlist through an admission control mechanism is relevant when a submitted Pod with an unapproved image registry should be rejected before persistence. Here, the question concerns a report generator only reads ConfigMaps but its Role includes delete and update; that different situation calls for a different action, so this option does not specifically answer the case.
Question 513
During change planning, engineers agree that a container process runs with root privileges though it needs no root-only operation. Which narrowly targeted action best addresses the stated requirement or problem?
- Define a least-privilege ClusterRole for the required cluster resources
- Enforce the registry allowlist through an admission control mechanism
- Grant the minimum Pod verbs through a namespaced Role
- Set runAsNonRoot and supported user identity
Explanation
Correct Answer
D:set runAsNonRoot and supported user identity directly addresses the requirement that a container process runs with root privileges though it needs no root-only operation. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
A:define a least-privilege ClusterRole for the required cluster resources is relevant when a monitor must list Nodes and other cluster-scoped resources. Here, the question concerns a container process runs with root privileges though it needs no root-only operation; that different situation calls for a different action, so this option does not specifically answer the case.
B:enforce the registry allowlist through an admission control mechanism is relevant when a submitted Pod with an unapproved image registry should be rejected before persistence. Here, the question concerns a container process runs with root privileges though it needs no root-only operation; that different situation calls for a different action, so this option does not specifically answer the case.
C:grant the minimum Pod verbs through a namespaced Role is relevant when an app operator needs get and list access to Pods in only one namespace. Here, the question concerns a container process runs with root privileges though it needs no root-only operation; that different situation calls for a different action, so this option does not specifically answer the case.
Question 514
The team wants to address this operational case: a new namespace requires controls against privileged host namespaces and unsafe mounts. Which narrowly targeted action best addresses the stated requirement or problem?
- Verify signatures and image provenance before admission
- Require authenticated TLS for the relevant service connection
- Bind a narrow ClusterRole only to the approved controller identity
- Enforce an appropriate Pod Security Standard level
Explanation
Correct Answer
D:enforce an appropriate Pod Security Standard level directly addresses the requirement that a new namespace requires controls against privileged host namespaces and unsafe mounts. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
A:verify signatures and image provenance before admission is relevant when a production admission gate should accept only signed images from a trusted build identity. Here, the question concerns a new namespace requires controls against privileged host namespaces and unsafe mounts; that different situation calls for a different action, so this option does not specifically answer the case.
B:require authenticated TLS for the relevant service connection is relevant when two internal services exchange credentials on an untrusted network segment. Here, the question concerns a new namespace requires controls against privileged host namespaces and unsafe mounts; that different situation calls for a different action, so this option does not specifically answer the case.
C:bind a narrow ClusterRole only to the approved controller identity is relevant when a central controller requires clusterwide access based on an approved ClusterRole. Here, the question concerns a new namespace requires controls against privileged host namespaces and unsafe mounts; that different situation calls for a different action, so this option does not specifically answer the case.
Question 515
The owner has confirmed the following condition: an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64. Which narrowly targeted action best addresses the stated requirement or problem?
- Enforce the registry allowlist through an admission control mechanism
- Run the Pod under a dedicated least-privilege ServiceAccount
- Enable and manage encryption at rest with appropriate keys
- Require authenticated TLS for the relevant service connection
Explanation
Correct Answer
C:enable and manage encryption at rest with appropriate keys directly addresses the requirement that an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
A:enforce the registry allowlist through an admission control mechanism is relevant when a submitted Pod with an unapproved image registry should be rejected before persistence. Here, the question concerns an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64; that different situation calls for a different action, so this option does not specifically answer the case.
B:run the Pod under a dedicated least-privilege ServiceAccount is relevant when a Pod should call the Kubernetes API without an employee's kubeconfig credentials. Here, the question concerns an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64; that different situation calls for a different action, so this option does not specifically answer the case.
D:require authenticated TLS for the relevant service connection is relevant when two internal services exchange credentials on an untrusted network segment. Here, the question concerns an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64; that different situation calls for a different action, so this option does not specifically answer the case.
Question 516
During change planning, engineers agree that a workload mounts every team Secret although it needs only one credential. Which narrowly targeted action best addresses the stated requirement or problem?
- Enforce the registry allowlist through an admission control mechanism
- Define a least-privilege ClusterRole for the required cluster resources
- Mount only required Secrets and limit readers with RBAC
- Grant the minimum Pod verbs through a namespaced Role
Explanation
Correct Answer
C:mount only required Secrets and limit readers with RBAC directly addresses the requirement that a workload mounts every team Secret although it needs only one credential. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
A:enforce the registry allowlist through an admission control mechanism is relevant when a submitted Pod with an unapproved image registry should be rejected before persistence. Here, the question concerns a workload mounts every team Secret although it needs only one credential; that different situation calls for a different action, so this option does not specifically answer the case.
B:define a least-privilege ClusterRole for the required cluster resources is relevant when a monitor must list Nodes and other cluster-scoped resources. Here, the question concerns a workload mounts every team Secret although it needs only one credential; that different situation calls for a different action, so this option does not specifically answer the case.
D:grant the minimum Pod verbs through a namespaced Role is relevant when an app operator needs get and list access to Pods in only one namespace. Here, the question concerns a workload mounts every team Secret although it needs only one credential; that different situation calls for a different action, so this option does not specifically answer the case.
Question 517
The team wants to address this operational case: a submitted Pod with an unapproved image registry should be rejected before persistence. Which narrowly targeted action best addresses the stated requirement or problem?
- Enable and manage encryption at rest with appropriate keys
- Enforce the registry allowlist through an admission control mechanism
- Run the Pod under a dedicated least-privilege ServiceAccount
- Set runAsNonRoot and supported user identity
Explanation
Correct Answer
B:enforce the registry allowlist through an admission control mechanism directly addresses the requirement that a submitted Pod with an unapproved image registry should be rejected before persistence. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
A:enable and manage encryption at rest with appropriate keys is relevant when an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64. Here, the question concerns a submitted Pod with an unapproved image registry should be rejected before persistence; that different situation calls for a different action, so this option does not specifically answer the case.
C:run the Pod under a dedicated least-privilege ServiceAccount is relevant when a Pod should call the Kubernetes API without an employee's kubeconfig credentials. Here, the question concerns a submitted Pod with an unapproved image registry should be rejected before persistence; that different situation calls for a different action, so this option does not specifically answer the case.
D:set runAsNonRoot and supported user identity is relevant when a container process runs with root privileges though it needs no root-only operation. Here, the question concerns a submitted Pod with an unapproved image registry should be rejected before persistence; that different situation calls for a different action, so this option does not specifically answer the case.
Question 518
The owner has confirmed the following condition: two internal services exchange credentials on an untrusted network segment. Which narrowly targeted action best addresses the stated requirement or problem?
- Enable and manage encryption at rest with appropriate keys
- Require authenticated TLS for the relevant service connection
- Grant the minimum Pod verbs through a namespaced Role
- Enable suitable API server audit policy and protected storage
Explanation
Correct Answer
B:require authenticated TLS for the relevant service connection directly addresses the requirement that two internal services exchange credentials on an untrusted network segment. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
A:enable and manage encryption at rest with appropriate keys is relevant when an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64. Here, the question concerns two internal services exchange credentials on an untrusted network segment; that different situation calls for a different action, so this option does not specifically answer the case.
C:grant the minimum Pod verbs through a namespaced Role is relevant when an app operator needs get and list access to Pods in only one namespace. Here, the question concerns two internal services exchange credentials on an untrusted network segment; that different situation calls for a different action, so this option does not specifically answer the case.
D:enable suitable API server audit policy and protected storage is relevant when incident response needs evidence of who changed a RoleBinding and when. Here, the question concerns two internal services exchange credentials on an untrusted network segment; that different situation calls for a different action, so this option does not specifically answer the case.
Question 519
Two separate Kubernetes tickets are confirmed. Case A: a production admission gate should accept only signed images from a trusted build identity. Case B: an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64. Select exactly TWO distinct responses, one most directly addressing each case.
- Enable and manage encryption at rest with appropriate keys
- Grant the minimum Pod verbs through a namespaced Role
- Verify signatures and image provenance before admission
- Enforce the registry allowlist through an admission control mechanism
- Require authenticated TLS for the relevant service connection
Explanation
Correct Answers
A:enable and manage encryption at rest with appropriate keys directly addresses the requirement that an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
C:verify signatures and image provenance before admission directly addresses the requirement that a production admission gate should accept only signed images from a trusted build identity. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
B:Grant the minimum Pod verbs through a namespaced Role helps when an app operator needs get and list access to Pods in only one namespace. The question instead requires one action per stated case (1. a production admission gate should accept only signed images from a trusted build identity; 2. an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64); this option does not directly match any of those named conditions.
D:Enforce the registry allowlist through an admission control mechanism helps when a submitted Pod with an unapproved image registry should be rejected before persistence. The question instead requires one action per stated case (1. a production admission gate should accept only signed images from a trusted build identity; 2. an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64); this option does not directly match any of those named conditions.
E:Require authenticated TLS for the relevant service connection helps when two internal services exchange credentials on an untrusted network segment. The question instead requires one action per stated case (1. a production admission gate should accept only signed images from a trusted build identity; 2. an administrator assumes Kubernetes Secret data are encrypted just because YAML shows base64); this option does not directly match any of those named conditions.
Question 520
Three cloud-native tickets are examined. Case A: a Pod mounts a sensitive host directory and could mutate worker files. Case B: a ServiceAccount must gain permissions from an existing Role in its namespace. Case C: a container process runs with root privileges though it needs no root-only operation. Select exactly THREE distinct checks, one most directly validating each case.
- Pod spec volumes hostPath and mount permissions
- Admission webhook configuration and API rejection response
- API audit events with user verb object and timestamp
- RoleBinding subjects and roleRef fields
- Pod securityContext runAsNonRoot and effective UID
- Role rules with resources verbs and namespace
Explanation
Correct Answers
A:Pod spec volumes hostPath and mount permissions is the direct verification point for the scenario where a Pod mounts a sensitive host directory and could mutate worker files. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
D:RoleBinding subjects and roleRef fields is the direct verification point for the scenario where a ServiceAccount must gain permissions from an existing Role in its namespace. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
E:Pod securityContext runAsNonRoot and effective UID is the direct verification point for the scenario where a container process runs with root privileges though it needs no root-only operation. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
Incorrect Answers
B:Admission webhook configuration and API rejection response helps when a submitted Pod with an unapproved image registry should be rejected before persistence. The question instead requires one diagnostic check per stated case (1. a Pod mounts a sensitive host directory and could mutate worker files; 2. a ServiceAccount must gain permissions from an existing Role in its namespace; 3. a container process runs with root privileges though it needs no root-only operation); this option does not directly match any of those named conditions.
C:API audit events with user verb object and timestamp helps when incident response needs evidence of who changed a RoleBinding and when. The question instead requires one diagnostic check per stated case (1. a Pod mounts a sensitive host directory and could mutate worker files; 2. a ServiceAccount must gain permissions from an existing Role in its namespace; 3. a container process runs with root privileges though it needs no root-only operation); this option does not directly match any of those named conditions.
F:Role rules with resources verbs and namespace helps when an app operator needs get and list access to Pods in only one namespace. The question instead requires one diagnostic check per stated case (1. a Pod mounts a sensitive host directory and could mutate worker files; 2. a ServiceAccount must gain permissions from an existing Role in its namespace; 3. a container process runs with root privileges though it needs no root-only operation); this option does not directly match any of those named conditions.
Kubernetes and Cloud Native Associate (KCNA) Practice Tests