
Answer-first summary for fast verification
Answer: The Cloud Build service account lacks certain permissions that your personal account has.
Option B is correct because the Cloud Build service account must have the same permissions as those used for the local builder. Options A, C, and D are incorrect because running multiple builds, firewall rules, and regional differences do not impact the Cloud Build service's functionality. For more details, refer to Google Cloud's documentation on building and debugging locally.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are developing a new application for a gambling company that employs a microservices architecture for loose coupling of components. Cloud Build is your tool for building Docker images. While local testing with the local builder was successful, the build fails in Cloud Build. What could be the issue?
A
Running multiple builds simultaneously is causing the failure.
B
The Cloud Build service account lacks certain permissions that your personal account has.
C
Firewall rules in the VPC are blocking Cloud Build traffic.
D
Cloud Build is operating in a different region from where you conducted your tests.
No comments yet.