GCP Professional Cloud Architect Practice Question
Your company is migrating loosely coupled microservices to Google Kubernetes Engine (GKE). Each service already passes unit tests and performance benchmarks run in Cloud Build. After several releases, run-time failures occur because of mismatched request and response formats once workloads reach the shared staging cluster. You must extend the CI/CD pipeline so these issues are caught earlier without markedly increasing build time. Which type of test should you add?
Expand the existing unit test suite with additional component-level functional tests that mock external dependencies for each microservice in isolation.
Introduce stress tests that generate peak-load traffic against each microservice to validate autoscaling policies prior to staging deployment.
Insert a static application security testing (SAST) step in Cloud Build to scan source code and container images for known vulnerabilities before the build is promoted.
Add an automated end-to-end integration test stage that deploys all related microservices into a temporary GKE namespace and runs API contract scenarios across service boundaries.
End-to-end integration testing validates how independently built services work together by exercising real network calls and data contracts between them in an environment that mimics production. This exposes schema or protocol mismatches that are invisible to unit or component-level functional tests. Static application security testing focuses on code vulnerabilities, not cross-service compatibility. Component-level functional tests already exist and test logic in isolation, so they will not reveal integration bugs. Stress or load tests measure performance and scaling behaviour but do not ensure that services exchange data correctly. Therefore, introducing automated integration tests that spin up all dependent microservices in an ephemeral environment is the most effective way to catch the observed issues early.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is end-to-end integration testing?
Open an interactive chat with Bash
How do temporary GKE namespaces help in testing?
Open an interactive chat with Bash
Why is API contract testing important in microservices?
Open an interactive chat with Bash
What is an end-to-end integration test in GKE?
Open an interactive chat with Bash
Why is static application security testing (SAST) unsuitable for integration issues?
Open an interactive chat with Bash
What is a GKE namespace and why use it for temporary tests?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Analyzing and optimizing technical and business processes
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .