ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 71 - Professional Cloud Architect discussion

Report
Export

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.

A.
Remove Python after running pip
Answers
A.
Remove Python after running pip
B.
Remove dependencies from requirements.txt
Answers
B.
Remove dependencies from requirements.txt
C.
Use a slimmed-down base image like Alpine Linux
Answers
C.
Use a slimmed-down base image like Alpine Linux
D.
Use larger machine types for your Google Container Engine node pools
Answers
D.
Use larger machine types for your Google Container Engine node pools
E.
Copy the source after he package dependencies (Python and pip) are installed
Answers
E.
Copy the source after he package dependencies (Python and pip) are installed
Suggested answer: C, E

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.

References: https://groups.google.com/forum/#!topic/google-appengine/hZMEkmmObDU https://www.alpinelinux.org/about/

asked 18/09/2024
Alberto Castillo
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first