nerdexam
CompTIACompTIA

CV0-004 · Question #235

CV0-004 Question #235: Real Exam Question with Answer & Explanation

Sign in or unlock CV0-004 to reveal the answer and full explanation for question #235. The question stem and answer options stay visible for context.

Security

Question

A cloud engineer is reviewing the following Dockerfile to deploy a Python web application: Which of the following changes should the engineer make to the file to improve container security?

Options

  • AAdd the instruction USER nonroot.
  • BChange the version from latest to 3.11.
  • CRemove the instruction.
  • DEnsure myapp/main/py is owned by root.

Unlock CV0-004 to see the answer

You've previewed enough free CV0-004 questions. Unlock CV0-004 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Container Security#Dockerfile Best Practices#Principle of Least Privilege#Docker USER Instruction
Full CV0-004 PracticeBrowse All CV0-004 Questions