nerdexam
Google

PROFESSIONAL-CLOUD-ARCHITECT · Question #367

You need to build a continuous delivery pipeline for a containerized application in Google Cloud. You want to run all your tests in the pipeline to improve your application's quality. What should…

The correct answer is A. 1. After the developers push the code to a central repository, trigger Cloud Build to run unit tests. This approach runs the right tests at the right stages: unit tests before building and publishing the image, integration and acceptance tests in a dedicated testing environment after deployment, and smoke tests after production deployment to validate the release. Running tests…

Submitted by naveen.iyer· Mar 30, 2026Managing implementation

Question

You need to build a continuous delivery pipeline for a containerized application in Google Cloud. You want to run all your tests in the pipeline to improve your application's quality. What should you do?

Options

  • A
    1. After the developers push the code to a central repository, trigger Cloud Build to run unit tests.
  • B
    1. After the developers push the code to a central repository, trigger Cloud Build to build the
  • C
    1. Automatically run unit tests in a local environment once the code is changed. If all tests are
  • D
    1. Run unit tests in the developer's local environment before committing and pushing the code to

How the community answered

(17 responses)
  • A
    88% (15)
  • B
    6% (1)
  • D
    6% (1)

Explanation

This approach runs the right tests at the right stages: unit tests before building and publishing the image, integration and acceptance tests in a dedicated testing environment after deployment, and smoke tests after production deployment to validate the release. Running tests throughout the pipeline maximizes quality while preventing untested artifacts from progressing to later stages.

Topics

#Cloud Build#continuous delivery#unit testing#container deployment

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice