PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #61
PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #61: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to reveal the answer and full explanation for question #61. The question stem and answer options stay visible for context.
Question
You need to build a CI/CD pipeline for a containerized application in Google Cloud. Your development team uses a central Git repository for trunk-based development. You want to run all your tests in the pipeline for any new versions of the application to improve the quality. What should you do?
Options
- A1. Install a Git hook to require developers to run unit tests before pushing the code to a central
- B1. Install a Git hook to require developers to run unit tests before pushing the code to a central
- C1. Trigger Cloud Build to build the application container, and run unit tests with the container.
- D1. Trigger Cloud Build to run unit tests when the code is pushed. If all unit tests are successful,
Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER questions. Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.