ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 179 - Professional Cloud Developer discussion

Report
Export

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?

A.
Configure Cloud Build to deploy the Cloud Function. If the code passes the tests, a deployment approval is sent to you.
Answers
A.
Configure Cloud Build to deploy the Cloud Function. If the code passes the tests, a deployment approval is sent to you.
B.
Configure Cloud Build to deploy the Cloud Function, using the specific service account as the build agent. Run the unit tests after successful deployment.
Answers
B.
Configure Cloud Build to deploy the Cloud Function, using the specific service account as the build agent. Run the unit tests after successful deployment.
C.
Configure Cloud Build to run the unit tests. If the code passes the tests, the developer deploys the Cloud Function.
Answers
C.
Configure Cloud Build to run the unit tests. If the code passes the tests, the developer deploys the Cloud Function.
D.
Configure Cloud Build to run the unit tests, using the specific service account as the build agent. If the code passes the tests, Cloud Build deploys the Cloud Function.
Answers
D.
Configure Cloud Build to run the unit tests, using the specific service account as the build agent. If the code passes the tests, Cloud Build deploys the Cloud Function.
Suggested answer: D
asked 18/09/2024
David Romano
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first