Medium1 markMultiple Choice

GCP PCA · Question 29 · Domain 4: Analyzing and Optimizing Technical and Business Processes

Your development team is adopting a microservices architecture on GKE. The CTO wants to ensure that if a service fails, it degrades gracefully rather than causing a cascading failure across the entire application. Which architectural pattern should you implement?

Answer options:

A.

Strangler Fig

B.

Circuit Breaker

C.

Sidecar Proxy

D.

Blue/Green Deployment

How to approach this question

Identify the software design pattern used to prevent cascading failures in distributed systems.

Full Answer

B.Circuit Breaker✓ Correct
Circuit Breaker
In microservices, if Service A calls Service B, and Service B is unresponsive, Service A might exhaust its threads waiting. This causes Service A to fail, leading to a cascading failure. The Circuit Breaker pattern monitors for failures; if the failure rate exceeds a threshold, the circuit 'trips' and immediately returns an error or fallback response, protecting the system.

Common mistakes

Confusing deployment patterns (Blue/Green) with resilience patterns (Circuit Breaker).

Practice the full GCP Professional Cloud Architect Practice Exam 4

50 questions · hints · full answers · grading

More questions from this exam