Skip to content
M-DCA
Image Creation, Management, and Registry
medium
Question 8 of 40

A container image must always start /usr/bin/myapp, but operators should be able to append different arguments at runtime. Which Dockerfile pattern best supports that?

AUse only CMD for /usr/bin/myapp
BUse ENTRYPOINT for /usr/bin/myapp and CMD for default arguments
CUse EXPOSE for /usr/bin/myapp and CMD for arguments
DUse ARG for /usr/bin/myapp and ENV for arguments

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion