Cloud Build needs a build tool not present in the default environment. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Build a custom Cloud Build builder image and reference it in your build steps..
Why this is the answer
Building a custom Cloud Build builder image is the most robust and repeatable solution. This allows you to pre-install all necessary tools and dependencies into a Docker image, which Cloud Build can then use for your builds. This ensures consistent build environments and avoids potential issues with external downloads during the build, which can be slow, unreliable, or introduce security risks. Downloading the binary during the build is unreliable and can introduce security vulnerabilities. Including the binary in your source repository unnecessarily bloats the repository, increases build times for transferring the binary, and doesn't scale well for multiple projects or versions. Filing a feature request is not a practical solution for immediate needs and may never be implemented.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed