nerdexam
Google

PROFESSIONAL-CLOUD-ARCHITECT · Question #23

One of the developers on your team deployed their application In Google Container Engine with the Dockerfile below. They report that their application deployments are taking too long. You want to…

The correct answer is C. Use a slimmed-down base image like Alpine linux. E. Copy the source after the package dependencies (Python and pip) are installed. The speed of deployment can be changed by limiting the size of the uploaded app, limiting the complexity of the build necessary in the Dockerfile, if present, and by ensuring a fast and reliable internet connection. Note: Alpine Linux is built around musl libc and busybox. This…

Submitted by emma.c· Mar 30, 2026Managing implementation

Question

One of the developers on your team deployed their application In Google Container Engine with the Dockerfile below. They report that their application deployments are taking too long. You want to optimize this Dockerfile for faster deployment times without adversely affecting the app's functionality. Which two actions should you take? Choose 2 answers

Options

  • ARemove Python after running pip.
  • BRemove dependencies from requirements.txt.
  • CUse a slimmed-down base image like Alpine linux.
  • DUse larger machine types for your Google Container Engine node pools.
  • ECopy the source after the package dependencies (Python and pip) are installed.

How the community answered

(23 responses)
  • A
    13% (3)
  • B
    4% (1)
  • C
    78% (18)
  • D
    4% (1)

Explanation

The speed of deployment can be changed by limiting the size of the uploaded app, limiting the complexity of the build necessary in the Dockerfile, if present, and by ensuring a fast and reliable internet connection. Note: Alpine Linux is built around musl libc and busybox. This makes it smaller and more resource efficient than traditional GNU/Linux distributions. A container requires no more than 8 MB and a minimal installation to disk requires around 130 MB of storage. Not only do you get a fully-fledged Linux environment but a large selection of packages from the repository.

Topics

#Docker optimization#Alpine Linux#container layer caching#container images

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice