ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 175 - Professional Cloud Architect discussion

Report
Export

Your team will start developing a new application using microservices architecture on Kubernetes Engine. As part of the development lifecycle, any code change that has been pushed to the remote develop branch on your GitHub repository should be built and tested automatically. When the build and test are successful, the relevant microservice will be deployed automatically in the development environment. You want to ensure that all code deployed in the development environment follows this process. What should you do?

A.
Have each developer install a pre-commit hook on their workstation that tests the code and builds the container when committing on the development branch. After a successful commit, have the developer deploy the newly builtcontainer image on the development cluster.
Answers
A.
Have each developer install a pre-commit hook on their workstation that tests the code and builds the container when committing on the development branch. After a successful commit, have the developer deploy the newly builtcontainer image on the development cluster.
B.
Install a post-commit hook on the remote git repository that tests the code and builds the container when code is pushed to the development branch. After a successful commit, have the developer deploy the newly built container imageon the development cluster.
Answers
B.
Install a post-commit hook on the remote git repository that tests the code and builds the container when code is pushed to the development branch. After a successful commit, have the developer deploy the newly built container imageon the development cluster.
C.
Create a Cloud Build trigger based on the development branch that tests the code, builds the container, and stores it in Container Registry. Create a deployment pipeline that watches for new images and deploys the new image on thedevelopment cluster. Ensure only the deployment tool has access to deploy new versions.
Answers
C.
Create a Cloud Build trigger based on the development branch that tests the code, builds the container, and stores it in Container Registry. Create a deployment pipeline that watches for new images and deploys the new image on thedevelopment cluster. Ensure only the deployment tool has access to deploy new versions.
D.
Create a Cloud Build trigger based on the development branch to build a new container image and store it in Container Registry. Rely on Vulnerability Scanning to ensure the code tests succeed. As the final step of the CloudBuildprocess, deploy the new container image on the development cluster. Ensure only Cloud Build has access to deploy new versions.
Answers
D.
Create a Cloud Build trigger based on the development branch to build a new container image and store it in Container Registry. Rely on Vulnerability Scanning to ensure the code tests succeed. As the final step of the CloudBuildprocess, deploy the new container image on the development cluster. Ensure only Cloud Build has access to deploy new versions.
Suggested answer: A
asked 18/09/2024
Omar Olaya
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first