Practice Test 2 | Google Cloud Certified Professional Cloud DevOps Engineer | Dumps | Mock Test
Your team is building an automated CICD pipeline in the development Project. The Cloud Source Repository will be used for code versioning, Cloud Build will be used to build and deploy the application to Google Kubernetes Engine. The Cloud Build Service account has been given the Kubernetes Engine Developer permissions. After a developer pushes code to the Cloud Source Repository, you notice the application is not getting deployed to GKE.
Which of the following could be the reason?
A. The Kubernetes Engine Developer permissions are not sufficient.
B. No Trigger was created in Cloud Build.
C. Cloud Source Repositories needs permissions to use Cloud Build
D. The GKE API is not enabled
Correct Answer: B
- Option A is incorrect. The Kubernetes Engine Developer permission is sufficient for Cloud Build to deploy to GKE.
- Option B is CORRECT. For Cloud Build to automatically build code pushed to Cloud Source Repository, triggers must be created.
- Options C and D are incorrect. Cloud Source Repository does not need permissions and the GKE API will be enabled by the Cloud Build service before deployment.
Reference:
Comments are closed, but trackbacks and pingbacks are open.