Q. What is the purpose of Docker's multi-stage builds?
β
Correct Answer: (A)
To build images with multiple base images to reduce the image size
Explanation: Multi-stage builds allow you to use multiple FROM statements in the Dockerfile to reduce image size by removing unnecessary dependencies.