McAfee-Secured Website

Exam Bundle

Exam Code: KCNA

Exam Name Kubernetes and Cloud Native Associate

Certification Provider: Linux Foundation

Corresponding Certification: KCNA

Linux Foundation KCNA Bundle $44.99

100% Linux Foundation KCNA Guaranteed Success With Testking Training Materials

Get Real KCNA Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    KCNA Questions & Answers

    333 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual KCNA exam while allowing you to hone and measure every aspect of your test-taking ability.

  • KCNA Video Course

    KCNA Video Course

    54 Video Lectures

    KCNA Video Course is developed by Linux Foundation Professionals to help you pass the KCNA exam.

    Description

    This course will improve your knowledge and skills required to pass Kubernetes and Cloud Native Associate exam.
  • Study Guide

    KCNA Study Guide

    410 PDF Pages

    Developed by industry experts, this 410-page guide spells out in painstaking detail all of the information you need to ace KCNA exam.

Kubernetes and Cloud Native Associate (KCNA) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    333 Questions

    $124.99
  • KCNA Video Course

    Video Course

    54 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    410 PDF Pages

    $29.99

Linux Foundation KCNA Practice Test 45

Question 440

At Brookside Manufacturing, the factory applications team is managing a production dashboard cluster with requirements for maintenance windows and dependable telemetry. The team claims a correction and requests independent validation for: An image supplies a process running as root with the ability to add Linux kernel capabilities unnecessary for its task. Which observed result BEST confirms the intended correction?

  1. A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.
  2. Only the intended application component can read the mounted secret in a controlled multi-container test.
  3. An authorization test allows the namespace resource and rejects access to a forbidden namespace or cluster-scoped object.
  4. The application performs its work but a test process cannot exercise unneeded privileged capabilities.

Explanation

Correct Answer

D:

The application performs its work but a test process cannot exercise unneeded privileged capabilities. This demonstrates that the originally documented problem was resolved: An image supplies a process running as root with the ability to add Linux kernel capabilities unnecessary for its task. The corresponding corrective approach is: Set a restrictive securityContext with nonroot execution and dropped capabilities where supported. For Brookside Manufacturing, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed. That observed result would support another specific correction: Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured. The other scenario concerns: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The current Brookside Manufacturing problem is: An image supplies a process running as root with the ability to add Linux kernel capabilities unnecessary for its task. The evidence required here is: The application performs its work but a test process cannot exercise unneeded privileged capabilities.

B:

Only the intended application component can read the mounted secret in a controlled multi-container test. That observed result would support another specific correction: Restrict which containers and paths receive the secret and control filesystem and application access within the Pod. The other scenario concerns: An operator expects a Kubernetes Secret resource alone to prevent disclosure of a mounted credential to every process in its Pod. The current Brookside Manufacturing problem is: An image supplies a process running as root with the ability to add Linux kernel capabilities unnecessary for its task. The evidence required here is: The application performs its work but a test process cannot exercise unneeded privileged capabilities.

C:

An authorization test allows the namespace resource and rejects access to a forbidden namespace or cluster-scoped object. That observed result would support another specific correction: Apply least-privilege RoleBindings and distinguish namespaced permissions from cluster-wide authorization. The other scenario concerns: A cluster user assumes Kubernetes RBAC grants access to all resources because they have access to one namespace. The current Brookside Manufacturing problem is: An image supplies a process running as root with the ability to add Linux kernel capabilities unnecessary for its task. The evidence required here is: The application performs its work but a test process cannot exercise unneeded privileged capabilities.

Question 441

At Silvercrest University, the research computing team is managing a shared container platform with requirements for student workload separation and experiment repeatability. A platform check finds: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. Which change BEST resolves the specific issue?

  1. Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange.
  2. Set a restrictive securityContext with nonroot execution and dropped capabilities where supported.
  3. Use a Secret with appropriately scoped RBAC, avoid placing credentials in ConfigMaps, and configure at-rest encryption where available.
  4. Remove secret-bearing logging, minimize token mounting and scope API permissions to the actual workload operations.

Explanation

Correct Answer

A:

Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange. This directly addresses the operational issue: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The Silvercrest University team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

Incorrect Answers

B:

Set a restrictive securityContext with nonroot execution and dropped capabilities where supported. That choice addresses a different foundational issue: An image supplies a process running as root with the ability to add Linux kernel capabilities unnecessary for its task. The issue at Silvercrest University is instead: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. It does not establish the required correction; the decisive verification would be: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

C:

Use a Secret with appropriately scoped RBAC, avoid placing credentials in ConfigMaps, and configure at-rest encryption where available. That choice addresses a different foundational issue: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. The issue at Silvercrest University is instead: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. It does not establish the required correction; the decisive verification would be: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

D:

Remove secret-bearing logging, minimize token mounting and scope API permissions to the actual workload operations. That choice addresses a different foundational issue: An application with access to the Kubernetes API logs its mounted service-account token during error handling. The issue at Silvercrest University is instead: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. It does not establish the required correction; the decisive verification would be: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

Question 442

At Silvercrest University, the research computing team is managing a shared container platform with requirements for student workload separation and experiment repeatability. An acceptance check is required after fixing: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. Which observed result BEST confirms the intended correction?

  1. The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.
  2. The app runs with its intended writable scratch area but cannot modify the rest of the container filesystem.
  3. The application performs its work but a test process cannot exercise unneeded privileged capabilities.
  4. A container inspection shows no broad host filesystem mount and the approved workload remains functional.

Explanation

Correct Answer

D:

A container inspection shows no broad host filesystem mount and the approved workload remains functional. This demonstrates that the originally documented problem was resolved: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The corresponding corrective approach is: Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange. For Silvercrest University, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable. That observed result would support another specific correction: Use provenance validation, image scanning, and approved registry controls before deploying workload artifacts. The other scenario concerns: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The current Silvercrest University problem is: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The evidence required here is: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

B:

The app runs with its intended writable scratch area but cannot modify the rest of the container filesystem. That observed result would support another specific correction: Set readOnlyRootFilesystem where supported and mount narrowly scoped writable directories needed by the process. The other scenario concerns: A workload requires read-only source files but mounts its entire container root filesystem writable. The current Silvercrest University problem is: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The evidence required here is: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

C:

The application performs its work but a test process cannot exercise unneeded privileged capabilities. That observed result would support another specific correction: Set a restrictive securityContext with nonroot execution and dropped capabilities where supported. The other scenario concerns: An image supplies a process running as root with the ability to add Linux kernel capabilities unnecessary for its task. The current Silvercrest University problem is: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The evidence required here is: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

Question 443

At Highland Education, the training-platform operations team is managing an online course application with requirements for stable user sessions and controlled tenant access. An implementation review identifies the following problem: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. Which change BEST resolves the specific issue?

  1. Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured.
  2. Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange.
  3. Restrict which containers and paths receive the secret and control filesystem and application access within the Pod.
  4. Use a minimal service account policy and disable unnecessary automatic API token mounting for the workload.

Explanation

Correct Answer

B:

Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange. This directly addresses the operational issue: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The Highland Education team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

Incorrect Answers

A:

Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured. That choice addresses a different foundational issue: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The issue at Highland Education is instead: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. It does not establish the required correction; the decisive verification would be: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

C:

Restrict which containers and paths receive the secret and control filesystem and application access within the Pod. That choice addresses a different foundational issue: An operator expects a Kubernetes Secret resource alone to prevent disclosure of a mounted credential to every process in its Pod. The issue at Highland Education is instead: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. It does not establish the required correction; the decisive verification would be: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

D:

Use a minimal service account policy and disable unnecessary automatic API token mounting for the workload. That choice addresses a different foundational issue: An application runs with the default service account even though it never needs to call the Kubernetes API. The issue at Highland Education is instead: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. It does not establish the required correction; the decisive verification would be: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

Question 444

At Highland Education, the training-platform operations team is managing an online course application with requirements for stable user sessions and controlled tenant access. The release reviewer now needs objective evidence for this original issue: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. Which observed result BEST confirms the intended correction?

  1. A test denies a privileged Pod configuration while a separate authorization test restricts API reads by role.
  2. Audit records identify the actual calling identity and an expired or revoked token no longer authenticates.
  3. A container inspection shows no broad host filesystem mount and the approved workload remains functional.
  4. Only the intended application component can read the mounted secret in a controlled multi-container test.

Explanation

Correct Answer

C:

A container inspection shows no broad host filesystem mount and the approved workload remains functional. This demonstrates that the originally documented problem was resolved: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The corresponding corrective approach is: Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange. For Highland Education, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

A test denies a privileged Pod configuration while a separate authorization test restricts API reads by role. That observed result would support another specific correction: Separate Pod security standards at admission time from RBAC that governs API requests and object access. The other scenario concerns: A project expects Pod Security Admission to replace authorization checks on sensitive Kubernetes API resources. The current Highland Education problem is: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The evidence required here is: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

B:

Audit records identify the actual calling identity and an expired or revoked token no longer authenticates. That observed result would support another specific correction: Adopt appropriate distinct identities and short-lived credentials with auditable least-privilege RBAC bindings. The other scenario concerns: A cluster uses the same long-lived static token for developers, automation, and workloads, making activity attribution difficult. The current Highland Education problem is: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The evidence required here is: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

D:

Only the intended application component can read the mounted secret in a controlled multi-container test. That observed result would support another specific correction: Restrict which containers and paths receive the secret and control filesystem and application access within the Pod. The other scenario concerns: An operator expects a Kubernetes Secret resource alone to prevent disclosure of a mounted credential to every process in its Pod. The current Highland Education problem is: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The evidence required here is: A container inspection shows no broad host filesystem mount and the approved workload remains functional.

Question 445

At Harborline Logistics, the warehouse platform team is managing a containerized shipping system with requirements for continuous shipment tracing and safe cluster rollouts. The training lab has documented this issue: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. Which change BEST resolves the specific issue?

  1. Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured.
  2. Separate Pod security standards at admission time from RBAC that governs API requests and object access.
  3. Create a least-privilege Role and namespaced binding permitting only the required read operations.
  4. Set a restrictive securityContext with nonroot execution and dropped capabilities where supported.

Explanation

Correct Answer

A:

Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured. This directly addresses the operational issue: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The Harborline Logistics team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

Incorrect Answers

B:

Separate Pod security standards at admission time from RBAC that governs API requests and object access. That choice addresses a different foundational issue: A project expects Pod Security Admission to replace authorization checks on sensitive Kubernetes API resources. The issue at Harborline Logistics is instead: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. It does not establish the required correction; the decisive verification would be: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

C:

Create a least-privilege Role and namespaced binding permitting only the required read operations. That choice addresses a different foundational issue: A team grants a CI robot cluster-admin rights merely to read Pod status from one project namespace. The issue at Harborline Logistics is instead: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. It does not establish the required correction; the decisive verification would be: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

D:

Set a restrictive securityContext with nonroot execution and dropped capabilities where supported. That choice addresses a different foundational issue: An image supplies a process running as root with the ability to add Linux kernel capabilities unnecessary for its task. The issue at Harborline Logistics is instead: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. It does not establish the required correction; the decisive verification would be: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

Question 446

At Harborline Logistics, the warehouse platform team is managing a containerized shipping system with requirements for continuous shipment tracing and safe cluster rollouts. The team claims a correction and requests independent validation for: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. Which observed result BEST confirms the intended correction?

  1. Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material.
  2. A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.
  3. A container inspection shows no broad host filesystem mount and the approved workload remains functional.
  4. The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

Explanation

Correct Answer

B:

A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed. This demonstrates that the originally documented problem was resolved: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The corresponding corrective approach is: Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured. For Harborline Logistics, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material. That observed result would support another specific correction: Use a Secret with appropriately scoped RBAC, avoid placing credentials in ConfigMaps, and configure at-rest encryption where available. The other scenario concerns: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. The current Harborline Logistics problem is: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The evidence required here is: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

C:

A container inspection shows no broad host filesystem mount and the approved workload remains functional. That observed result would support another specific correction: Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange. The other scenario concerns: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The current Harborline Logistics problem is: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The evidence required here is: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

D:

The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable. That observed result would support another specific correction: Use provenance validation, image scanning, and approved registry controls before deploying workload artifacts. The other scenario concerns: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The current Harborline Logistics problem is: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The evidence required here is: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

Question 447

At Maplewood Schools, the district technology team is managing a student portal deployment with requirements for privacy and reliable classroom access. A platform check finds: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. Which change BEST resolves the specific issue?

  1. Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange.
  2. Remove secret-bearing logging, minimize token mounting and scope API permissions to the actual workload operations.
  3. Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured.
  4. Set a restrictive securityContext with nonroot execution and dropped capabilities where supported.

Explanation

Correct Answer

C:

Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured. This directly addresses the operational issue: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The Maplewood Schools team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

Incorrect Answers

A:

Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange. That choice addresses a different foundational issue: A development workload mounts the host root filesystem for convenient file access and expands the blast radius of a compromise. The issue at Maplewood Schools is instead: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. It does not establish the required correction; the decisive verification would be: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

B:

Remove secret-bearing logging, minimize token mounting and scope API permissions to the actual workload operations. That choice addresses a different foundational issue: An application with access to the Kubernetes API logs its mounted service-account token during error handling. The issue at Maplewood Schools is instead: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. It does not establish the required correction; the decisive verification would be: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

D:

Set a restrictive securityContext with nonroot execution and dropped capabilities where supported. That choice addresses a different foundational issue: An image supplies a process running as root with the ability to add Linux kernel capabilities unnecessary for its task. The issue at Maplewood Schools is instead: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. It does not establish the required correction; the decisive verification would be: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

Question 448

At Maplewood Schools, the district technology team is managing a student portal deployment with requirements for privacy and reliable classroom access. An acceptance check is required after fixing: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. Which observed result BEST confirms the intended correction?

  1. The application starts normally without an unnecessary API token in its container filesystem.
  2. An authorization test allows the namespace resource and rejects access to a forbidden namespace or cluster-scoped object.
  3. Diagnostic logs contain no reusable credential and a least-privilege Pod continues to complete its approved work.
  4. A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

Explanation

Correct Answer

D:

A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed. This demonstrates that the originally documented problem was resolved: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The corresponding corrective approach is: Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured. For Maplewood Schools, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

The application starts normally without an unnecessary API token in its container filesystem. That observed result would support another specific correction: Use a minimal service account policy and disable unnecessary automatic API token mounting for the workload. The other scenario concerns: An application runs with the default service account even though it never needs to call the Kubernetes API. The current Maplewood Schools problem is: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The evidence required here is: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

B:

An authorization test allows the namespace resource and rejects access to a forbidden namespace or cluster-scoped object. That observed result would support another specific correction: Apply least-privilege RoleBindings and distinguish namespaced permissions from cluster-wide authorization. The other scenario concerns: A cluster user assumes Kubernetes RBAC grants access to all resources because they have access to one namespace. The current Maplewood Schools problem is: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The evidence required here is: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

C:

Diagnostic logs contain no reusable credential and a least-privilege Pod continues to complete its approved work. That observed result would support another specific correction: Remove secret-bearing logging, minimize token mounting and scope API permissions to the actual workload operations. The other scenario concerns: An application with access to the Kubernetes API logs its mounted service-account token during error handling. The current Maplewood Schools problem is: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The evidence required here is: A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.

Question 449

At Timberline Foods, the supply-chain applications team is managing a factory inventory cluster with requirements for operational resilience and accurate stock changes. An implementation review identifies the following problem: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. Which change BEST resolves the specific issue?

  1. Apply least-privilege RoleBindings and distinguish namespaced permissions from cluster-wide authorization.
  2. Use a Secret with appropriately scoped RBAC, avoid placing credentials in ConfigMaps, and configure at-rest encryption where available.
  3. Remove secret-bearing logging, minimize token mounting and scope API permissions to the actual workload operations.
  4. Adopt appropriate distinct identities and short-lived credentials with auditable least-privilege RBAC bindings.

Explanation

Correct Answer

B:

Use a Secret with appropriately scoped RBAC, avoid placing credentials in ConfigMaps, and configure at-rest encryption where available. This directly addresses the operational issue: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. The Timberline Foods team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material.

Incorrect Answers

A:

Apply least-privilege RoleBindings and distinguish namespaced permissions from cluster-wide authorization. That choice addresses a different foundational issue: A cluster user assumes Kubernetes RBAC grants access to all resources because they have access to one namespace. The issue at Timberline Foods is instead: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. It does not establish the required correction; the decisive verification would be: Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material.

C:

Remove secret-bearing logging, minimize token mounting and scope API permissions to the actual workload operations. That choice addresses a different foundational issue: An application with access to the Kubernetes API logs its mounted service-account token during error handling. The issue at Timberline Foods is instead: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. It does not establish the required correction; the decisive verification would be: Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material.

D:

Adopt appropriate distinct identities and short-lived credentials with auditable least-privilege RBAC bindings. That choice addresses a different foundational issue: A cluster uses the same long-lived static token for developers, automation, and workloads, making activity attribution difficult. The issue at Timberline Foods is instead: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. It does not establish the required correction; the decisive verification would be: Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material.

Question 450

At Timberline Foods, the supply-chain applications team is managing a factory inventory cluster with requirements for operational resilience and accurate stock changes. The release reviewer now needs objective evidence for this original issue: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. Which observed result BEST confirms the intended correction?

  1. A test denies a privileged Pod configuration while a separate authorization test restricts API reads by role.
  2. The application starts normally without an unnecessary API token in its container filesystem.
  3. A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed.
  4. Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material.

Explanation

Correct Answer

D:

Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material. This demonstrates that the originally documented problem was resolved: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. The corresponding corrective approach is: Use a Secret with appropriately scoped RBAC, avoid placing credentials in ConfigMaps, and configure at-rest encryption where available. For Timberline Foods, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

A test denies a privileged Pod configuration while a separate authorization test restricts API reads by role. That observed result would support another specific correction: Separate Pod security standards at admission time from RBAC that governs API requests and object access. The other scenario concerns: A project expects Pod Security Admission to replace authorization checks on sensitive Kubernetes API resources. The current Timberline Foods problem is: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. The evidence required here is: Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material.

B:

The application starts normally without an unnecessary API token in its container filesystem. That observed result would support another specific correction: Use a minimal service account policy and disable unnecessary automatic API token mounting for the workload. The other scenario concerns: An application runs with the default service account even though it never needs to call the Kubernetes API. The current Timberline Foods problem is: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. The evidence required here is: Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material.

C:

A controlled test shows default reachability and then verifies the intended default-deny policy after enforcement is installed. That observed result would support another specific correction: Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured. The other scenario concerns: A team assumes every running Pod is isolated from all other Pods by default without NetworkPolicy. The current Timberline Foods problem is: An organization stores an API key in a ConfigMap and believes RBAC on the deployment alone prevents its disclosure. The evidence required here is: Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material.