100% Latest & Updated Linux Foundation KCNA Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 380
Three cloud-native tickets are examined. Case A: a Job should not repeatedly restart a failed process inside one Pod with Always. Case B: a private registry returns unauthorized when kubelet tries to fetch a workload image. Case C: a containerized process should avoid running as privileged root on a worker. Select exactly THREE distinct checks, one most directly validating each case.
- Resolved image digest in Pod status
- Pod ImagePullBackOff events and imagePullSecrets entries
- Dockerfile stages and build command
- Container user identity and runtime security settings
- Image scan report matched to immutable digest
- Pod restartPolicy and Job controller behavior
Explanation
Correct Answers
B:Pod ImagePullBackOff events and imagePullSecrets entries is the direct verification point for the scenario where a private registry returns unauthorized when kubelet tries to fetch a workload image. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
D:container user identity and runtime security settings is the direct verification point for the scenario where a containerized process should avoid running as privileged root on a worker. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
F:Pod restartPolicy and Job controller behavior is the direct verification point for the scenario where a Job should not repeatedly restart a failed process inside one Pod with Always. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
Incorrect Answers
A:Resolved image digest in Pod status helps when a production manifest references latest and a registry retags it to a different build. The question instead requires one diagnostic check per stated case (1. a Job should not repeatedly restart a failed process inside one Pod with Always; 2. a private registry returns unauthorized when kubelet tries to fetch a workload image; 3. a containerized process should avoid running as privileged root on a worker); this option does not directly match any of those named conditions.
C:Dockerfile stages and build command helps when build tooling needs a declarative sequence to assemble an application image. The question instead requires one diagnostic check per stated case (1. a Job should not repeatedly restart a failed process inside one Pod with Always; 2. a private registry returns unauthorized when kubelet tries to fetch a workload image; 3. a containerized process should avoid running as privileged root on a worker); this option does not directly match any of those named conditions.
E:Image scan report matched to immutable digest helps when a container image includes a library with a known CVE before deployment. The question instead requires one diagnostic check per stated case (1. a Job should not repeatedly restart a failed process inside one Pod with Always; 2. a private registry returns unauthorized when kubelet tries to fetch a workload image; 3. a containerized process should avoid running as privileged root on a worker); this option does not directly match any of those named conditions.
Question 381
The architecture note describes a situation in which an architect assumes every container launches its own full guest operating-system kernel. Which concrete operational property follows most directly from this situation?
- A multi-stage build can omit build tools from production image
- A Dockerfile can specify image base commands and file copies
- Ordinary containers share the host kernel while virtual machines use separate guest kernels
- Cgroups account for and constrain resource consumption
Explanation
Correct Answer
C:ordinary containers share the host kernel while virtual machines use separate guest kernels follows from the Kubernetes behavior seen when an architect assumes every container launches its own full guest operating-system kernel. This is the specific operational consequence to plan around, rather than an unrelated outcome.
Incorrect Answers
A:a multi-stage build can omit build tools from production image is relevant when a Go binary needs a compiler during build but not in its release image. Here, the question concerns an architect assumes every container launches its own full guest operating-system kernel; that different situation calls for a different consequence, so this option does not specifically answer the case.
B:a Dockerfile can specify image base commands and file copies is relevant when build tooling needs a declarative sequence to assemble an application image. Here, the question concerns an architect assumes every container launches its own full guest operating-system kernel; that different situation calls for a different consequence, so this option does not specifically answer the case.
D:cgroups account for and constrain resource consumption is relevant when one container's CPU use must be throttled without imposing a machinewide cap. Here, the question concerns an architect assumes every container launches its own full guest operating-system kernel; that different situation calls for a different consequence, so this option does not specifically answer the case.
Question 382
A new hire is asked to reason about this observation: a container image includes a library with a known CVE before deployment. Which concrete operational property follows most directly from this situation?
- Limiting build context reduces accidental disclosure and speeds builds
- Image scanning detects known vulnerable components in image contents
- Cgroups account for and constrain resource consumption
- RestartPolicy controls container retry behavior within a Pod
Explanation
Correct Answer
B:image scanning detects known vulnerable components in image contents follows from the Kubernetes behavior seen when a container image includes a library with a known CVE before deployment. This is the specific operational consequence to plan around, rather than an unrelated outcome.
Incorrect Answers
A:limiting build context reduces accidental disclosure and speeds builds is relevant when a build accidentally sends a local secrets directory to the build daemon. Here, the question concerns a container image includes a library with a known CVE before deployment; that different situation calls for a different consequence, so this option does not specifically answer the case.
C:cgroups account for and constrain resource consumption is relevant when one container's CPU use must be throttled without imposing a machinewide cap. Here, the question concerns a container image includes a library with a known CVE before deployment; that different situation calls for a different consequence, so this option does not specifically answer the case.
D:restartPolicy controls container retry behavior within a Pod is relevant when a Job should not repeatedly restart a failed process inside one Pod with Always. Here, the question concerns a container image includes a library with a known CVE before deployment; that different situation calls for a different consequence, so this option does not specifically answer the case.
Question 383
In a design meeting, the following behavior is observed: a runtime container should not mutate its root filesystem except a mounted temp area. Which concrete operational property follows most directly from this situation?
- An immutable runtime root reduces unauthorized modification of image files
- Cgroups account for and constrain resource consumption
- Ordinary containers share the host kernel while virtual machines use separate guest kernels
- RestartPolicy controls container retry behavior within a Pod
Explanation
Correct Answer
A:an immutable runtime root reduces unauthorized modification of image files follows from the Kubernetes behavior seen when a runtime container should not mutate its root filesystem except a mounted temp area. This is the specific operational consequence to plan around, rather than an unrelated outcome.
Incorrect Answers
B:cgroups account for and constrain resource consumption is relevant when one container's CPU use must be throttled without imposing a machinewide cap. Here, the question concerns a runtime container should not mutate its root filesystem except a mounted temp area; that different situation calls for a different consequence, so this option does not specifically answer the case.
C:ordinary containers share the host kernel while virtual machines use separate guest kernels is relevant when an architect assumes every container launches its own full guest operating-system kernel. Here, the question concerns a runtime container should not mutate its root filesystem except a mounted temp area; that different situation calls for a different consequence, so this option does not specifically answer the case.
D:restartPolicy controls container retry behavior within a Pod is relevant when a Job should not repeatedly restart a failed process inside one Pod with Always. Here, the question concerns a runtime container should not mutate its root filesystem except a mounted temp area; that different situation calls for a different consequence, so this option does not specifically answer the case.
Question 384
A post-incident note claims too much about this observation: a team needs an image representation usable across compatible runtimes. Which limitation should a reviewer record to avoid an overconfident inference?
- Apps needing temporary writes still require permitted scratch storage
- Image registry availability can block new Pod starts even if older Pods run
- Builds can still be nonreproducible if external dependencies change
- OCI compliance does not guarantee architecture or app binary compatibility
Explanation
Correct Answer
D:OCI compliance does not guarantee architecture or app binary compatibility is the precise caveat for the case where a team needs an image representation usable across compatible runtimes. It bounds the claim so that the team does not infer a guarantee Kubernetes or the related tool does not provide.
Incorrect Answers
A:apps needing temporary writes still require permitted scratch storage is relevant when a runtime container should not mutate its root filesystem except a mounted temp area. Here, the question concerns a team needs an image representation usable across compatible runtimes; that different situation calls for a different qualification, so this option does not specifically answer the case.
B:image registry availability can block new Pod starts even if older Pods run is relevant when the worker must download a private container image before starting its Pod. Here, the question concerns a team needs an image representation usable across compatible runtimes; that different situation calls for a different qualification, so this option does not specifically answer the case.
C:builds can still be nonreproducible if external dependencies change is relevant when build tooling needs a declarative sequence to assemble an application image. Here, the question concerns a team needs an image representation usable across compatible runtimes; that different situation calls for a different qualification, so this option does not specifically answer the case.
Question 385
An internal runbook describes this situation: two image builds reuse unchanged base layers but change the last application file. Which limitation should a reviewer record to avoid an overconfident inference?
- A Job's backoff policy is a distinct layer of retry management
- Small images still need patching and vulnerability scanning
- Reusing a layer does not mean the container filesystem is globally shared
- Kubernetes namespaces are API scopes and are unrelated to Linux kernel namespace mechanics
Explanation
Correct Answer
C:reusing a layer does not mean the container filesystem is globally shared is the precise caveat for the case where two image builds reuse unchanged base layers but change the last application file. It bounds the claim so that the team does not infer a guarantee Kubernetes or the related tool does not provide.
Incorrect Answers
A:a Job's backoff policy is a distinct layer of retry management is relevant when a Job should not repeatedly restart a failed process inside one Pod with Always. Here, the question concerns two image builds reuse unchanged base layers but change the last application file; that different situation calls for a different qualification, so this option does not specifically answer the case.
B:small images still need patching and vulnerability scanning is relevant when a Go binary needs a compiler during build but not in its release image. Here, the question concerns two image builds reuse unchanged base layers but change the last application file; that different situation calls for a different qualification, so this option does not specifically answer the case.
D:Kubernetes namespaces are API scopes and are unrelated to Linux kernel namespace mechanics is relevant when two containers see their own process IDs and mount roots under normal isolation settings. Here, the question concerns two image builds reuse unchanged base layers but change the last application file; that different situation calls for a different qualification, so this option does not specifically answer the case.
Question 386
A reviewer documents the following scenario: a production manifest references latest and a registry retags it to a different build. Which limitation should a reviewer record to avoid an overconfident inference?
- Cgroups do not by themselves restrict network reachability
- Apps needing temporary writes still require permitted scratch storage
- An image digest alone does not validate its software supply chain
- Kubernetes command and args override image defaults in different ways
Explanation
Correct Answer
C:an image digest alone does not validate its software supply chain is the precise caveat for the case where a production manifest references latest and a registry retags it to a different build. It bounds the claim so that the team does not infer a guarantee Kubernetes or the related tool does not provide.
Incorrect Answers
A:cgroups do not by themselves restrict network reachability is relevant when one container's CPU use must be throttled without imposing a machinewide cap. Here, the question concerns a production manifest references latest and a registry retags it to a different build; that different situation calls for a different qualification, so this option does not specifically answer the case.
B:apps needing temporary writes still require permitted scratch storage is relevant when a runtime container should not mutate its root filesystem except a mounted temp area. Here, the question concerns a production manifest references latest and a registry retags it to a different build; that different situation calls for a different qualification, so this option does not specifically answer the case.
D:Kubernetes command and args override image defaults in different ways is relevant when a built image's default executable and default arguments must be understood. Here, the question concerns a production manifest references latest and a registry retags it to a different build; that different situation calls for a different qualification, so this option does not specifically answer the case.
Question 387
A post-incident note claims too much about this observation: the worker must download a private container image before starting its Pod. Which limitation should a reviewer record to avoid an overconfident inference?
- Apps needing temporary writes still require permitted scratch storage
- OCI compliance does not guarantee architecture or app binary compatibility
- Image registry availability can block new Pod starts even if older Pods run
- Cgroups do not by themselves restrict network reachability
Explanation
Correct Answer
C:image registry availability can block new Pod starts even if older Pods run is the precise caveat for the case where the worker must download a private container image before starting its Pod. It bounds the claim so that the team does not infer a guarantee Kubernetes or the related tool does not provide.
Incorrect Answers
A:apps needing temporary writes still require permitted scratch storage is relevant when a runtime container should not mutate its root filesystem except a mounted temp area. Here, the question concerns the worker must download a private container image before starting its Pod; that different situation calls for a different qualification, so this option does not specifically answer the case.
B:OCI compliance does not guarantee architecture or app binary compatibility is relevant when a team needs an image representation usable across compatible runtimes. Here, the question concerns the worker must download a private container image before starting its Pod; that different situation calls for a different qualification, so this option does not specifically answer the case.
D:cgroups do not by themselves restrict network reachability is relevant when one container's CPU use must be throttled without imposing a machinewide cap. Here, the question concerns the worker must download a private container image before starting its Pod; that different situation calls for a different qualification, so this option does not specifically answer the case.
Question 388
An internal runbook describes this situation: a private registry returns unauthorized when kubelet tries to fetch a workload image. Which limitation should a reviewer record to avoid an overconfident inference?
- A clean scan does not prove runtime configuration or unknown vulnerabilities safe
- Image registry availability can block new Pod starts even if older Pods run
- A Job's backoff policy is a distinct layer of retry management
- Pull credentials are not the same as in-app API credentials
Explanation
Correct Answer
D:pull credentials are not the same as in-app API credentials is the precise caveat for the case where a private registry returns unauthorized when kubelet tries to fetch a workload image. It bounds the claim so that the team does not infer a guarantee Kubernetes or the related tool does not provide.
Incorrect Answers
A:a clean scan does not prove runtime configuration or unknown vulnerabilities safe is relevant when a container image includes a library with a known CVE before deployment. Here, the question concerns a private registry returns unauthorized when kubelet tries to fetch a workload image; that different situation calls for a different qualification, so this option does not specifically answer the case.
B:image registry availability can block new Pod starts even if older Pods run is relevant when the worker must download a private container image before starting its Pod. Here, the question concerns a private registry returns unauthorized when kubelet tries to fetch a workload image; that different situation calls for a different qualification, so this option does not specifically answer the case.
C:a Job's backoff policy is a distinct layer of retry management is relevant when a Job should not repeatedly restart a failed process inside one Pod with Always. Here, the question concerns a private registry returns unauthorized when kubelet tries to fetch a workload image; that different situation calls for a different qualification, so this option does not specifically answer the case.
Question 389
Two separate Kubernetes tickets are confirmed. Case A: a built image's default executable and default arguments must be understood. Case B: a Job should not repeatedly restart a failed process inside one Pod with Always. Select exactly TWO distinct responses, one most directly addressing each case.
- Distinguish OS-level container isolation from virtual-machine guest kernels
- Set explicit executable and default arguments in the image or Pod specification
- Choose a Job-compatible restartPolicy such as OnFailure or Never
- Define build steps in a version-controlled Dockerfile
- Run as a non-root user where the workload supports it
Explanation
Correct Answers
B:set explicit executable and default arguments in the image or Pod specification directly addresses the requirement that a built image's default executable and default arguments must be understood. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
C:choose a Job-compatible restartPolicy such as OnFailure or Never directly addresses the requirement that a Job should not repeatedly restart a failed process inside one Pod with Always. It changes or applies the mechanism responsible for this case without substituting an unrelated cluster feature.
Incorrect Answers
A:Distinguish OS-level container isolation from virtual-machine guest kernels helps when an architect assumes every container launches its own full guest operating-system kernel. The question instead requires one action per stated case (1. a built image's default executable and default arguments must be understood; 2. a Job should not repeatedly restart a failed process inside one Pod with Always); this option does not directly match any of those named conditions.
D:Define build steps in a version-controlled Dockerfile helps when build tooling needs a declarative sequence to assemble an application image. The question instead requires one action per stated case (1. a built image's default executable and default arguments must be understood; 2. a Job should not repeatedly restart a failed process inside one Pod with Always); this option does not directly match any of those named conditions.
E:Run as a non-root user where the workload supports it helps when a containerized process should avoid running as privileged root on a worker. The question instead requires one action per stated case (1. a built image's default executable and default arguments must be understood; 2. a Job should not repeatedly restart a failed process inside one Pod with Always); this option does not directly match any of those named conditions.
Question 390
Three cloud-native tickets are examined. Case A: two containers see their own process IDs and mount roots under normal isolation settings. Case B: a private registry returns unauthorized when kubelet tries to fetch a workload image. Case C: a built image's default executable and default arguments must be understood. Select exactly THREE distinct checks, one most directly validating each case.
- Image config Entrypoint and Cmd arrays
- Dockerfile stages and build command
- Pod ImagePullBackOff events and imagePullSecrets entries
- Pod securityContext.readOnlyRootFilesystem and writable volume mounts
- Pod restartPolicy and Job controller behavior
- Runtime namespace configuration and process lists
Explanation
Correct Answers
A:image config Entrypoint and Cmd arrays is the direct verification point for the scenario where a built image's default executable and default arguments must be understood. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
C:Pod ImagePullBackOff events and imagePullSecrets entries is the direct verification point for the scenario where a private registry returns unauthorized when kubelet tries to fetch a workload image. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
F:runtime namespace configuration and process lists is the direct verification point for the scenario where two containers see their own process IDs and mount roots under normal isolation settings. It exposes the relevant observable state or diagnostic signal instead of merely guessing from a related symptom.
Incorrect Answers
B:Dockerfile stages and build command helps when build tooling needs a declarative sequence to assemble an application image. The question instead requires one diagnostic check per stated case (1. two containers see their own process IDs and mount roots under normal isolation settings; 2. a private registry returns unauthorized when kubelet tries to fetch a workload image; 3. a built image's default executable and default arguments must be understood); this option does not directly match any of those named conditions.
D:Pod securityContext.readOnlyRootFilesystem and writable volume mounts helps when a runtime container should not mutate its root filesystem except a mounted temp area. The question instead requires one diagnostic check per stated case (1. two containers see their own process IDs and mount roots under normal isolation settings; 2. a private registry returns unauthorized when kubelet tries to fetch a workload image; 3. a built image's default executable and default arguments must be understood); this option does not directly match any of those named conditions.
E:Pod restartPolicy and Job controller behavior helps when a Job should not repeatedly restart a failed process inside one Pod with Always. The question instead requires one diagnostic check per stated case (1. two containers see their own process IDs and mount roots under normal isolation settings; 2. a private registry returns unauthorized when kubelet tries to fetch a workload image; 3. a built image's default executable and default arguments must be understood); this option does not directly match any of those named conditions.
Kubernetes and Cloud Native Associate (KCNA) Practice Tests