Flashcardsfor IT Certifications

D5: Testing Frameworks: Load, Unit & Integration

Google Cloud Professional Cloud Architect exam practice questions · 10 flashcards

Question
What is a unit test?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Testing Frameworks: Load, Unit & Integration practice questions and answers
  1. What is a unit test?
    Tests a single function or component in isolation.
  2. What is an integration test?
    Tests that components work together, e.g. app and database.
  3. What is a load test?
    Measures behavior under expected and peak traffic.
  4. What is a stress test?
    Pushes beyond capacity to find breaking points.
  5. Tools for load testing?
    Open-source tools like Locust, JMeter or k6 running on GKE/Compute Engine.
  6. Why run load tests before launch?
    Validate autoscaling, quotas and SLOs.
  7. Why use emulators in testing?
    Test locally without cloud costs or side effects.
  8. What is test coverage?
    Proportion of code exercised by tests.
  9. Where should tests run?
    Automatically in CI pipelines.
  10. Why test in production-like environments?
    Avoid surprises from config or scale differences.