
Explanation:
For Cloud Build to function correctly, the build configuration file must be either a JSON or YAML file and must be saved in the same directory as the application's source code. Options B, C, and E are incorrect as they do not adhere to the required file formats for Cloud Build configuration. Reference: Cloud Build Documentation
Ultimate access to all questions.
No comments yet.
Your company is leveraging GCP services to automate its Continuous Integration and Deployment process, utilizing Cloud Build for creating images and artifacts. A new developer is responsible for setting up the build configuration files, but the process is failing. What could be the potential reasons? (Choose Two)
A
The cloudbuild.yaml file was not located in the same directory as the application source code.
B
The cloudbuild.sh script was not placed in the same directory as the application source code.
C
The cloudbuild.py script was not located in the same directory as the application source code.
D
The cloudbuild.json file was not placed in the same directory as the application source code.
E
The cloudbuild.xml file was not located in the same directory as the application source code.