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