A quick multiple-choice check before you move on. Answer every question, then submit to see how you did.
1.The theory notes that a Rust run stage only needs a minimal OS base image, unlike the typical .NET setup. What is the underlying reason the run stage does not need a separate runtime image?
2.In the multi-stage Dockerfile, what is the primary purpose of the COPY --from=builder /app/target/release/your_bin /usr/local/bin/ line?
3.According to the theory, why should you build with cargo build --release in the Dockerfile rather than a default debug build?
4.The theory suggests copying only Cargo.toml and Cargo.lock first, running a build, and then copying the rest of the source. What problem does this ordering solve?
5.The theory compares Rust's dependency-caching Docker trick to a .NET practice. Which .NET step is it analogous to?