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?
CMD for /usr/bin/myappENTRYPOINT for /usr/bin/myapp and CMD for default argumentsEXPOSE for /usr/bin/myapp and CMD for argumentsARG for /usr/bin/myapp and ENV for argumentsMore Image Creation, Management, and Registry Questions
40 questions
Full Docker Certified Associate Practice Test
All topics covered
All Docker Certified Associate Questions
Browse by topic
Related Questions
A developer runs `docker image pull alpine` without specifying a tag. Which tag does Docker use by d...
A release engineer wants every deployment to use the exact same image content even if someone later ...
A build needs a temporary variable during image creation, but the final runtime container should not...
What does the `EXPOSE 8080` instruction do in a Dockerfile?...
A team wants the smallest practical production image and does not want compilers or build tools incl...
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
Sign in to join the discussion