Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Architect (PR000213) Exam - Topic 1 Question 122 Discussion

Posted by Janna on May 30, 2026 at 04:00 PM

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.

Suggested Answer: C, E

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.


https://www.alpinelinux.org/about/

Get Premium Professional Cloud Architect (PR000213) Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
17 comments · newest first
RI
Rickie 1 month ago
I’d avoid removing dependencies from requirements.txt; that could cause issues.
DO
Donte 1 month ago
Definitely! A smaller base image and proper layering can make a huge difference.
NY
Nydia 1 month ago
Yes, optimizing the Dockerfile is more effective than just scaling up.
MA
Martina 2 months ago
I feel like larger machine types won't solve the deployment speed issue.
AL
Aleisha 2 months ago
Copying the source after installing dependencies is key for faster builds.
JO
Johnetta 2 months ago
Removing Python after pip seems unnecessary. It could break things.
OR
Oren 2 months ago
Agreed! It reduces the image size significantly.
DA
Dalene 2 months ago
I think using a slimmed-down base image like Alpine is a smart move.
CA
Candida 2 months ago
Larger machine types? Seems like overkill for just speed.
WI
Wilson 3 months ago
E makes sense, it can speed up the build process!
LO
Louvenia 3 months ago
I’m not sure about B, removing dependencies could break things.
EU
Eugene 3 months ago
A is a good idea too, less bloat after install.
DE
Delmy 3 months ago
Definitely go with C, Alpine is way lighter!
CH
Chanel 3 months ago
I practiced a similar question, and I think using larger machine types might not really solve the deployment time issue, so I would avoid option D.
EM
Emilio 4 months ago
I feel like copying the source after installing dependencies is a common practice to optimize builds. So maybe option E is also a good pick.
TA
Tamala 4 months ago
I'm not entirely sure, but I think removing Python after running pip might help reduce the image size. That could be option A?
MA
Marsha 4 months ago
I remember that using a slimmed-down base image can really help with deployment times, so I think option C is a good choice.
0/2000 characters

Save Cancel