Practice Exams:

Linux Foundation KCNA Dumps

EXAM: Kubernetes and Cloud Native Associate
Verified By Experts
Premium Bundle
$40.00
$59.97 $99.97

KCNA Premium Bundle


  • Premium File 333 Questions & Answers
  • Training Course 54 Lectures
  • Study Guide 410 Pages

Linux Foundation KCNA Practice Test 58

Question 570

A hospital discovers that a third-party image tag was changed after its release approval. Which combined solution and independent check are most directly justified?

  1. Require approved image registries, signature or digest verification and patch ownership when admitting production container images. Acceptance evidence: Deploy one signed approved image and one unverified synthetic image under a test admission policy, recording expected allow and deny results.
  2. Combine RBAC, Pod security policies, NetworkPolicy and resource quotas for teams that share a Kubernetes control plane. Acceptance evidence: Test that one synthetic tenant cannot list another namespace's Secrets, send blocked traffic or exceed quota.
  3. Create a Role with only required verbs and resource types, and bind it to the intended subject within the target namespace. Acceptance evidence: Use kubectl auth can-i --as a synthetic student to verify pod get allowed and secret delete denied in the specified namespace.
  4. Record non-identifying build or audit metadata as annotations and use labels for indexing, grouping and selector-based routing. Acceptance evidence: Annotate a Deployment with release notes and verify its Service still selects Pods using explicit app labels.

Explanation

Correct Answer

A:

The situation is that a hospital discovers that a third-party image tag was changed after its release approval. Require approved image registries, signature or digest verification and patch ownership when admitting production container images. Acceptance evidence: Deploy one signed approved image and one unverified synthetic image under a test admission policy, recording expected allow and deny results. This pairing is justified because image provenance reduces accidental or malicious image substitution; mutable tags alone cannot prove build integrity or content identity.

Incorrect Answers

B:

This action and check address the distinct objective “Separate multi-tenant namespace governance from actual isolation guarantees” instead of the stated acceptance requirement. The matching action is to require approved image registries, signature or digest verification and patch ownership when admitting production container images. Its confirming test is to deploy one signed approved image and one unverified synthetic image under a test admission policy, recording expected allow and deny results.

C:

This action and check address the distinct objective “Implement namespaced RBAC Roles for least-privilege resource permissions” instead of the stated acceptance requirement. The matching action is to require approved image registries, signature or digest verification and patch ownership when admitting production container images. Its confirming test is to deploy one signed approved image and one unverified synthetic image under a test admission policy, recording expected allow and deny results.

D:

This action and check address the distinct objective “Use annotations for tool metadata rather than workload selection” instead of the stated acceptance requirement. The matching action is to require approved image registries, signature or digest verification and patch ownership when admitting production container images. Its confirming test is to deploy one signed approved image and one unverified synthetic image under a test admission policy, recording expected allow and deny results.

Question 571

A regional retailer connects CI jobs to Kubernetes over an untrusted corporate network. What technical action should the platform team take in this situation?

  1. Use Kubernetes controllers to keep replicas and other managed resources aligned with their declared specifications rather than manually re-creating each missing pod.
  2. Require approved image registries, signature or digest verification and patch ownership when admitting production container images.
  3. Choose an available StorageClass with a compatible CSI provisioner and appropriate binding behavior when creating a PVC.
  4. Require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience.

Explanation

Correct Answer

D:

Require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. This resolves the issue because TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute. To verify, with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

Incorrect Answers

A:

This option addresses the distinct objective “Identify reconciliation work performed by kube-controller-manager”, not the immediate requirement. The controller manager runs controllers that observe API resources and make changes so current state moves toward desired state. For the stated case, TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

B:

This option addresses the distinct objective “Use image provenance and policy controls without trusting mutable tags”, not the immediate requirement. Image provenance reduces accidental or malicious image substitution; mutable tags alone cannot prove build integrity or content identity. For the stated case, TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

C:

This option addresses the distinct objective “Use StorageClass for dynamic volume provisioning rather than handcrafting every disk”, not the immediate requirement. A StorageClass defines how storage is provisioned and may use WaitForFirstConsumer to delay provisioning until scheduling requirements are known. For the stated case, TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

Question 572

A regional retailer connects CI jobs to Kubernetes over an untrusted corporate network. What underlying Kubernetes behavior is most relevant to this technical decision?

  1. TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.
  2. RBAC evaluates API verbs, resources and scope; a Role is namespaced and does not grant cluster-wide access merely because the subject can authenticate.
  3. CPU limits may throttle running processes, whereas exceeding memory constraints can cause OOM termination; Pod scheduling itself depends on requests.
  4. ClusterRole defines permissions while ClusterRoleBinding makes them cluster-wide; RoleBinding limits effective namespaced scope even when referencing a ClusterRole.

Explanation

Correct Answer

A:

TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute. It supports this action: Require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. To confirm, with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

Incorrect Answers

B:

That statement explains the distinct objective “Implement namespaced RBAC Roles for least-privilege resource permissions” rather than the cause in this case. The deciding mechanism here is that TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

C:

That statement explains the distinct objective “Distinguish memory limits from CPU throttling for scheduling and runtime symptoms” rather than the cause in this case. The deciding mechanism here is that TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

D:

That statement explains the distinct objective “Distinguish ClusterRoles from Roles and binding scope” rather than the cause in this case. The deciding mechanism here is that TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

Question 573

A regional retailer connects CI jobs to Kubernetes over an untrusted corporate network. What acceptance check most directly confirms this requirement is met?

  1. Reproduce a missing PVC in a test namespace and confirm the Pod Events directly indicate the unavailable claim.
  2. With synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.
  3. Test that one synthetic tenant cannot list another namespace's Secrets, send blocked traffic or exceed quota.
  4. Deploy a matching replica set across two labeled zones and inspect skew after adding a new Pod.

Explanation

Correct Answer

B:

With synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests. This is the relevant test because TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

Incorrect Answers

A:

This check would help evaluate the distinct objective “Use Events and pod describe for failed volume mounting”, but not the required result. For this case, with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

C:

This check would help evaluate the distinct objective “Separate multi-tenant namespace governance from actual isolation guarantees”, but not the required result. For this case, with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

D:

This check would help evaluate the distinct objective “Spread replicas across failure domains with topologySpreadConstraints”, but not the required result. For this case, with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

Question 574

A regional retailer connects CI jobs to Kubernetes over an untrusted corporate network. The team suggests: “Set insecure-skip-tls-verify for every cluster client and reuse one administrator token across automated jobs.” Which failure should the reviewer anticipate?

  1. The route remains nonfunctional because nothing reconciles it into an application traffic proxy.
  2. The subject receives unnecessary authority to alter privileged resources or unrelated namespaces.
  3. Clients may connect to an impersonated API endpoint and the token could grant excessive permissions.
  4. Containers gain broad host exposure and compromise blast radius becomes larger than the application's needs.

Explanation

Correct Answer

C:

Clients may connect to an impersonated API endpoint and the token could grant excessive permissions. The shortcut creates this risk because TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

Incorrect Answers

A:

That outcome concerns the distinct objective “Choose Ingress or Gateway API with an implementing controller for HTTP exposure”; it is not the most direct consequence of this shortcut. The relevant consequence is that clients may connect to an impersonated API endpoint and the token could grant excessive permissions.

B:

That outcome concerns the distinct objective “Implement namespaced RBAC Roles for least-privilege resource permissions”; it is not the most direct consequence of this shortcut. The relevant consequence is that clients may connect to an impersonated API endpoint and the token could grant excessive permissions.

D:

That outcome concerns the distinct objective “Run images with least-privilege runtime security contexts”; it is not the most direct consequence of this shortcut. The relevant consequence is that clients may connect to an impersonated API endpoint and the token could grant excessive permissions.

Question 575

A regional retailer connects CI jobs to Kubernetes over an untrusted corporate network. Which engineering change and test jointly addresses the scenario?

  1. Verify that the installed Container Storage Interface driver supports the requested persistent storage and inspect driver controller/node components when mounting fails. Acceptance evidence: Inspect CSI driver registration, test provisioning a claim and review attachment/mount Events for a synthetic workload.
  2. Require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. Acceptance evidence: With synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.
  3. Create a Role with only required verbs and resource types, and bind it to the intended subject within the target namespace. Acceptance evidence: Use kubectl auth can-i --as a synthetic student to verify pod get allowed and secret delete denied in the specified namespace.
  4. Configure an HPA for an eligible scalable controller using available resource or custom metrics and sensible minimum/maximum replicas. Acceptance evidence: Generate controlled CPU load, verify HPA current/target metric reporting and observe replica changes within configured limits.

Explanation

Correct Answer

B:

Require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. Acceptance evidence: With synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests. This pairing is justified because TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

Incorrect Answers

A:

This action and check address the distinct objective “Understand CSI drivers and volume attachment responsibilities” instead of the stated acceptance requirement. The matching action is to require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. Its confirming test is to with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

C:

This action and check address the distinct objective “Implement namespaced RBAC Roles for least-privilege resource permissions” instead of the stated acceptance requirement. The matching action is to require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. Its confirming test is to with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

D:

This action and check address the distinct objective “Use HorizontalPodAutoscaler metrics rather than ad hoc instance scripts” instead of the stated acceptance requirement. The matching action is to require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. Its confirming test is to with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

Question 576

A research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. What technical action should the platform team take in this situation?

  1. Check EndpointSlices and Pod readiness when a Service exists but connections reach no application backends.
  2. Compare Deployment rollout history, changed image digests, readiness events and application error times to identify an introduced regression.
  3. Combine a default-deny baseline with narrow app-label and namespace-label NetworkPolicy rules for approved traffic.
  4. Require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience.

Explanation

Correct Answer

D:

The situation is that a research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. Require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. This resolves the issue because TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute. To verify, with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

Incorrect Answers

A:

This option addresses the distinct objective “Use EndpointSlices to connect Service selectors with actual backend Pods”, not the immediate requirement. EndpointSlices describe endpoint addresses and readiness associated with a Service, allowing its dataplane to route toward matching healthy Pods. For the stated case, TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

B:

This option addresses the distinct objective “Correlate application rollout revisions with error spikes”, not the immediate requirement. Kubernetes object transitions and application telemetry must be correlated; a healthy rollout condition alone does not prove user-level functionality. For the stated case, TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

C:

This option addresses the distinct objective “Limit workload-to-workload access with explicit NetworkPolicy allow rules”, not the immediate requirement. NetworkPolicies select Pods and define allowed flows; when a Pod becomes isolated, traffic is allowed only as permitted by applicable rules and plugin behavior. For the stated case, TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

Question 577

A research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. What underlying Kubernetes behavior is most relevant to this technical decision?

  1. TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.
  2. CoreDNS watches Service objects and serves cluster-aware names; bare names normally resolve relative to the requesting Pod's namespace and search domains.
  3. Namespaces alone partition naming but do not provide complete security isolation, capacity governance or protection from privileged node-level workloads.
  4. A Deployment owns ReplicaSets that manage matching Pods and supports declarative rollout history, unlike an independent Pod object.

Explanation

Correct Answer

A:

The situation is that a research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute. It supports this action: Require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. To confirm, with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

Incorrect Answers

B:

That statement explains the distinct objective “Verify CoreDNS resolution and namespace-qualified Service names” rather than the cause in this case. The deciding mechanism here is that TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

C:

That statement explains the distinct objective “Separate multi-tenant namespace governance from actual isolation guarantees” rather than the cause in this case. The deciding mechanism here is that TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

D:

That statement explains the distinct objective “Distinguish Deployment desired state from a manually created Pod” rather than the cause in this case. The deciding mechanism here is that TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

Question 578

A research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. What acceptance check most directly confirms this requirement is met?

  1. Test that one synthetic tenant cannot list another namespace's Secrets, send blocked traffic or exceed quota.
  2. With synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.
  3. Create a small claim in a test StorageClass, inspect its Bound status and restart the consuming Pod to check data persistence.
  4. Create matching Service names in two namespaces and test separately configured RBAC and NetworkPolicy access boundaries.

Explanation

Correct Answer

B:

The situation is that a research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. With synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests. This is the relevant test because TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

Incorrect Answers

A:

The situation is that a research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. This check would help evaluate the distinct objective “Separate multi-tenant namespace governance from actual isolation guarantees”, but not the required result. For this case, with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

C:

This check would help evaluate the distinct objective “Understand PersistentVolumeClaim binding to persistent storage resources”, but not the required result. For this case, with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

D:

This check would help evaluate the distinct objective “Use namespaces as organizational scopes without treating them as firewalls”, but not the required result. For this case, with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

Question 579

A research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. The team suggests: “Set insecure-skip-tls-verify for every cluster client and reuse one administrator token across automated jobs.” Which failure should the reviewer anticipate?

  1. A scheduled workload may violate performance expectations because the declared label was not backed by infrastructure inventory.
  2. A workload remains nonfunctional and the persistent data dependency is never satisfied.
  3. The subject receives unnecessary authority to alter privileged resources or unrelated namespaces.
  4. Clients may connect to an impersonated API endpoint and the token could grant excessive permissions.

Explanation

Correct Answer

D:

The situation is that a research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. Clients may connect to an impersonated API endpoint and the token could grant excessive permissions. The shortcut creates this risk because TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

Incorrect Answers

A:

That outcome concerns the distinct objective “Use nodeSelector to place a workload on nodes with required labels”; it is not the most direct consequence of this shortcut. The relevant consequence is that clients may connect to an impersonated API endpoint and the token could grant excessive permissions.

B:

That outcome concerns the distinct objective “Use Events and pod describe for failed volume mounting”; it is not the most direct consequence of this shortcut. The relevant consequence is that clients may connect to an impersonated API endpoint and the token could grant excessive permissions.

C:

The situation is that a research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. That outcome concerns the distinct objective “Implement namespaced RBAC Roles for least-privilege resource permissions”; it is not the most direct consequence of this shortcut. The relevant consequence is that clients may connect to an impersonated API endpoint and the token could grant excessive permissions.

Question 580

A research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. Which engineering change and test jointly addresses the scenario?

  1. Apply suitable Pod Security Admission labels such as baseline or restricted and test whether noncompliant synthetic Pod specs are rejected. Acceptance evidence: Attempt to create a privileged test Pod in a restricted namespace and inspect the admission rejection message.
  2. Verify that the installed Container Storage Interface driver supports the requested persistent storage and inspect driver controller/node components when mounting fails. Acceptance evidence: Inspect CSI driver registration, test provisioning a claim and review attachment/mount Events for a synthetic workload.
  3. Require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. Acceptance evidence: With synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.
  4. Define post-release checks for readiness, error rate and latency, and revert an unhealthy revision using an approved rollout mechanism. Acceptance evidence: Deploy a synthetic faulty image, monitor request errors and confirm the release controller or operator restores the last known healthy revision.

Explanation

Correct Answer

C:

The situation is that a research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. Require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. Acceptance evidence: With synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests. This pairing is justified because TLS establishes endpoint confidentiality and identity, while authentication and RBAC separately determine which API operations a caller may execute.

Incorrect Answers

A:

This action and check address the distinct objective “Use Pod Security Standards to deny overly privileged Pod configurations” instead of the stated acceptance requirement. The matching action is to require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. Its confirming test is to with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

B:

The situation is that a research laboratory has a copied kubeconfig that disables TLS verification because of an outdated CA bundle. This action and check address the distinct objective “Understand CSI drivers and volume attachment responsibilities” instead of the stated acceptance requirement. The matching action is to require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. Its confirming test is to with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

D:

This action and check address the distinct objective “Design a release rollback trigger from measurable service signals” instead of the stated acceptance requirement. The matching action is to require verified API server certificates, properly scoped identities and audit policy rather than turning off certificate checks for convenience. Its confirming test is to with synthetic users verify a trusted API connection, denied privilege escalation and appropriate audit entries for failed requests.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests