Question 450
A Linux infrastructure team needs the safest targeted response to this condition: A container service must limit CPU and RAM to avoid starving other workloads. What should the engineer do first?
Explanation
Correct Answer
A container process shares host resources without implicit unlimited isolation safety. This action corrects the relevant condition. Verify that the workload stays within tested resource limits.
Incorrect Answers
That remedy is appropriate when a container image must include a defined application startup command. It targets container image CMD or ENTRYPOINT influences what the container executes by default; here a container process shares host resources without implicit unlimited isolation safety, so it does not directly repair the observed fault.
This change addresses a Kubernetes runtime is referred to as Docker although the node is actually configured to use containerd. The present problem is different: a container process shares host resources without implicit unlimited isolation safety. Applying the alternative would leave the key cause unresolved.
It would correct a separate failure, an administrator deletes a stopped container and expects its container image to disappear automatically. In this environment, a container process shares host resources without implicit unlimited isolation safety; the indicated alternative does not meet the acceptance test.





CompTIA Linux+ (XK0-006) Practice Tests