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 46

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.

Question 451

At Silvercrest University, the research computing team is managing a shared container platform with requirements for student workload separation and experiment repeatability. The training lab has documented this issue: 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. Separate Pod security standards at admission time from RBAC that governs API requests and object access.
  2. Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange.
  3. Use a Secret with appropriately scoped RBAC, avoid placing credentials in ConfigMaps, and configure at-rest encryption where available.
  4. Set a restrictive securityContext with nonroot execution and dropped capabilities where supported.

Explanation

Correct Answer

C:

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 Silvercrest University 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:

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 Silvercrest University 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.

B:

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 Silvercrest University 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:

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: 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 452

At Silvercrest University, the research computing team is managing a shared container platform with requirements for student workload separation and experiment repeatability. The team claims a correction and requests independent validation for: 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. Only authorized identities retrieve the secret and the nonsecret ConfigMap contains no key material.
  2. Only the intended application component can read the mounted secret in a controlled multi-container test.
  3. Diagnostic logs contain no reusable credential and a least-privilege Pod continues to complete its approved work.
  4. A container inspection shows no broad host filesystem mount and the approved workload remains functional.

Explanation

Correct Answer

A:

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 Silvercrest University, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

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 Silvercrest University 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:

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 Silvercrest University 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.

D:

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 Silvercrest University 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.

Question 453

At Meadowbrook Finance, the banking platform team is managing a payment application delivery pipeline with requirements for traceable changes and controlled release risk. A platform check finds: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. Which change BEST resolves the specific issue?

  1. Remove secret-bearing logging, minimize token mounting and scope API permissions to the actual workload operations.
  2. Set readOnlyRootFilesystem where supported and mount narrowly scoped writable directories needed by the process.
  3. Plan the application's secret consumption and restart or reload behavior for environment variables versus mounted volumes.
  4. Set a restrictive securityContext with nonroot execution and dropped capabilities where supported.

Explanation

Correct Answer

C:

Plan the application's secret consumption and restart or reload behavior for environment variables versus mounted volumes. This directly addresses the operational issue: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. The Meadowbrook Finance team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

Incorrect Answers

A:

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 Meadowbrook Finance is instead: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. It does not establish the required correction; the decisive verification would be: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

B:

Set readOnlyRootFilesystem where supported and mount narrowly scoped writable directories needed by the process. That choice addresses a different foundational issue: A workload requires read-only source files but mounts its entire container root filesystem writable. The issue at Meadowbrook Finance is instead: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. It does not establish the required correction; the decisive verification would be: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

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 Meadowbrook Finance is instead: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. It does not establish the required correction; the decisive verification would be: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

Question 454

At Meadowbrook Finance, the banking platform team is managing a payment application delivery pipeline with requirements for traceable changes and controlled release risk. An acceptance check is required after fixing: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. Which observed result BEST confirms the intended correction?

  1. The application uses the rotated credential after the approved restart or reload and the previous credential stops working.
  2. Diagnostic logs contain no reusable credential and a least-privilege Pod continues to complete its approved work.
  3. The app runs with its intended writable scratch area but cannot modify the rest of the container filesystem.
  4. A test denies a privileged Pod configuration while a separate authorization test restricts API reads by role.

Explanation

Correct Answer

A:

The application uses the rotated credential after the approved restart or reload and the previous credential stops working. This demonstrates that the originally documented problem was resolved: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. The corresponding corrective approach is: Plan the application's secret consumption and restart or reload behavior for environment variables versus mounted volumes. For Meadowbrook Finance, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

B:

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 Meadowbrook Finance problem is: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. The evidence required here is: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

C:

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 Meadowbrook Finance problem is: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. The evidence required here is: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

D:

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 Meadowbrook Finance problem is: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. The evidence required here is: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

Question 455

At Harborline Logistics, the warehouse platform team is managing a containerized shipping system with requirements for continuous shipment tracing and safe cluster rollouts. An implementation review identifies the following problem: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. Which change BEST resolves the specific issue?

  1. Remove unnecessary hostPath mounts and use scoped volumes or supported APIs for legitimate data exchange.
  2. Plan the application's secret consumption and restart or reload behavior for environment variables versus mounted volumes.
  3. Set readOnlyRootFilesystem where supported and mount narrowly scoped writable directories needed by the process.
  4. Apply least-privilege RoleBindings and distinguish namespaced permissions from cluster-wide authorization.

Explanation

Correct Answer

B:

Plan the application's secret consumption and restart or reload behavior for environment variables versus mounted volumes. This directly addresses the operational issue: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. The Harborline Logistics team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

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 Harborline Logistics is instead: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. It does not establish the required correction; the decisive verification would be: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

C:

Set readOnlyRootFilesystem where supported and mount narrowly scoped writable directories needed by the process. That choice addresses a different foundational issue: A workload requires read-only source files but mounts its entire container root filesystem writable. The issue at Harborline Logistics is instead: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. It does not establish the required correction; the decisive verification would be: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

D:

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 Harborline Logistics is instead: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. It does not establish the required correction; the decisive verification would be: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

Question 456

At Harborline Logistics, the warehouse platform team is managing a containerized shipping system with requirements for continuous shipment tracing and safe cluster rollouts. The release reviewer now needs objective evidence for this original issue: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. 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 test denies a privileged Pod configuration while a separate authorization test restricts API reads by role.
  3. Audit records identify the actual calling identity and an expired or revoked token no longer authenticates.
  4. The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

Explanation

Correct Answer

D:

The application uses the rotated credential after the approved restart or reload and the previous credential stops working. This demonstrates that the originally documented problem was resolved: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. The corresponding corrective approach is: Plan the application's secret consumption and restart or reload behavior for environment variables versus mounted volumes. 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 security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. The evidence required here is: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

B:

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 Harborline Logistics problem is: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. The evidence required here is: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

C:

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 Harborline Logistics problem is: A security engineer rotates a Secret but forgets that applications reading it through environment variables may require a restart. The evidence required here is: The application uses the rotated credential after the approved restart or reload and the previous credential stops working.

Question 457

At Alpine Healthcare, the clinical platform team is managing a healthcare application migration with requirements for patient privacy and high service availability. The training lab has documented this issue: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. Which change BEST resolves the specific issue?

  1. Apply least-privilege RoleBindings and distinguish namespaced permissions from cluster-wide authorization.
  2. Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured.
  3. Use a minimal service account policy and disable unnecessary automatic API token mounting for the workload.
  4. Use provenance validation, image scanning, and approved registry controls before deploying workload artifacts.

Explanation

Correct Answer

D:

Use provenance validation, image scanning, and approved registry controls before deploying workload artifacts. This directly addresses the operational issue: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The Alpine Healthcare team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

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 Alpine Healthcare is instead: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. It does not establish the required correction; the decisive verification would be: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

B:

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 Alpine Healthcare is instead: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. It does not establish the required correction; the decisive verification would be: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

C:

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 Alpine Healthcare is instead: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. It does not establish the required correction; the decisive verification would be: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

Question 458

At Alpine Healthcare, the clinical platform team is managing a healthcare application migration with requirements for patient privacy and high service availability. The team claims a correction and requests independent validation for: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. Which observed result BEST confirms the intended correction?

  1. Only the intended application component can read the mounted secret in a controlled multi-container test.
  2. The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.
  3. Diagnostic logs contain no reusable credential and a least-privilege Pod continues to complete its approved work.
  4. The app runs with its intended writable scratch area but cannot modify the rest of the container filesystem.

Explanation

Correct Answer

B:

The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable. This demonstrates that the originally documented problem was resolved: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The corresponding corrective approach is: Use provenance validation, image scanning, and approved registry controls before deploying workload artifacts. For Alpine Healthcare, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

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 Alpine Healthcare problem is: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The evidence required here is: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

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 Alpine Healthcare problem is: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The evidence required here is: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

D:

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 Alpine Healthcare problem is: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The evidence required here is: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

Question 459

At Timberline Foods, the supply-chain applications team is managing a factory inventory cluster with requirements for operational resilience and accurate stock changes. A platform check finds: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. Which change BEST resolves the specific issue?

  1. Use provenance validation, image scanning, and approved registry controls before deploying workload artifacts.
  2. Use a Secret with appropriately scoped RBAC, avoid placing credentials in ConfigMaps, and configure at-rest encryption where available.
  3. Explain that Pod-to-Pod connectivity is generally permitted unless effective network restrictions are configured.
  4. Use a narrowly justified and reviewed exception process rather than weakening the baseline policy for an entire namespace.

Explanation

Correct Answer

A:

Use provenance validation, image scanning, and approved registry controls before deploying workload artifacts. This directly addresses the operational issue: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The Timberline Foods team should verify its effectiveness rather than assume that an updated manifest or command proves success. The strongest acceptance evidence is: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

Incorrect Answers

B:

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 Timberline Foods is instead: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. It does not establish the required correction; the decisive verification would be: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

C:

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 Timberline Foods is instead: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. It does not establish the required correction; the decisive verification would be: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

D:

Use a narrowly justified and reviewed exception process rather than weakening the baseline policy for an entire namespace. That choice addresses a different foundational issue: An admission policy blocks privileged containers in production but the team bypasses it by adding broad namespace exemptions. The issue at Timberline Foods is instead: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. It does not establish the required correction; the decisive verification would be: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

Question 460

At Timberline Foods, the supply-chain applications team is managing a factory inventory cluster with requirements for operational resilience and accurate stock changes. An acceptance check is required after fixing: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. Which observed result BEST confirms the intended correction?

  1. The app runs with its intended writable scratch area but cannot modify the rest of the container filesystem.
  2. Only the intended application component can read the mounted secret in a controlled multi-container test.
  3. The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.
  4. Diagnostic logs contain no reusable credential and a least-privilege Pod continues to complete its approved work.

Explanation

Correct Answer

C:

The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable. This demonstrates that the originally documented problem was resolved: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The corresponding corrective approach is: Use provenance validation, image scanning, and approved registry controls before deploying workload artifacts. For Timberline Foods, this observed outcome is more meaningful than a completed ticket or configuration claim.

Incorrect Answers

A:

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 Timberline Foods problem is: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The evidence required here is: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

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 Timberline Foods problem is: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The evidence required here is: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.

D:

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 Timberline Foods problem is: A team labels an untrusted internet image as safe solely because it was pulled from a popular public registry. The evidence required here is: The admission or delivery pipeline rejects an unapproved image while a signed and reviewed build is deployable.