PROFESSIONAL-CLOUD-DEVELOPER · Question #233
PROFESSIONAL-CLOUD-DEVELOPER Question #233: Real Exam Question with Answer & Explanation
Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #233. The question stem and answer options stay visible for context.
Question
Your team is developing unit tests for Cloud Function code. The code is stored in a Cloud Source Repositories repository. You are responsible for implementing the tests. Only a specific service account has the necessary permissions to deploy the code to Cloud Functions. You want to ensure that the code cannot be deployed without first passing the tests. How should you configure the unit testing process?
Options
- AConfigure Cloud Build to deploy the Cloud Function. If the code passes the tests, a deployment
- BConfigure Cloud Build to deploy the Cloud Function, using the specific service account as the
- CConfigure Cloud Build to run the unit tests. If the code passes the tests, the developer deploys the
- DConfigure Cloud Build to run the unit tests, using the specific service account as the build agent. If
Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER 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.