exam questions

Exam DCA All Questions

View all questions & answers for the DCA exam

Exam DCA topic 1 question 8 discussion

Actual exam question from Mirantis's DCA
Question #: 8
Topic #: 1
[All DCA Questions]

Is this an advantage of multi-stage builds?
better logical separation of Dockerfile instructions for increased readability

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
LavaPup
2 weeks, 1 day ago
Selected Answer: A
Yes, multi-stage builds in a Dockerfile offer significant advantages, particularly when optimizing Docker image size and improving build efficiency.
upvoted 1 times
...
walid1009
11 months, 3 weeks ago
Yes, as you can use one first stage for installing packages and dependencies and a second stage to copy specified binaries. This separation makes to Dockerfile more organized and readable.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago