Flashcardsfor IT Certifications

D2: Automated Integration Tests in Cloud Build

Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards

Question
What is an integration test?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Automated Integration Tests in Cloud Build practice questions and answers
  1. What is an integration test?
    Verifies components work together (app + database + messaging).
  2. How to run integration tests in Cloud Build?
    Add build steps that run test containers against emulators or test environments.
  3. How to run dependencies during builds?
    Docker Compose or service containers in steps.
  4. When to fail a build?
    When tests fail, preventing deployment.
  5. Why use ephemeral test environments?
    Isolated, reproducible tests without polluting shared envs.
  6. How to deploy then test?
    Deploy to staging with --no-traffic or tagged revision, run tests, then promote.
  7. How to give tests credentials?
    Use the Cloud Build service account with least privilege.
  8. Where to store test reports?
    Cloud Storage artifacts or build logs.
  9. Why separate unit and integration stages?
    Fast feedback first, slower tests later.
  10. What is a smoke test?
    Quick post-deployment check that the service works.