Question 75 of 500

Quick Answer

The answer is implementing the circuit breaker pattern using a service mesh like Istio. This is correct because the circuit breaker pattern prevents cascading failures in a microservices architecture by monitoring service health and stopping requests to a failing service until it recovers, allowing the system to degrade gracefully. On the Google Professional Cloud Developer exam, this question tests your understanding of how Istio’s Envoy sidecar proxies enforce circuit breaking at the network layer, decoupling services without requiring code changes—a common trap is confusing this with retry or timeout patterns, which handle transient issues but not sustained failures. For the exam, remember that Istio’s circuit breaker is configured via DestinationRule settings like `maxConnections` and `http1MaxPendingRequests`, and it works hand-in-hand with outlier detection to eject unhealthy pods. Memory tip: think of a “breaker box” that trips when too many requests fail, just like an electrical circuit breaker protecting your home’s wiring.

PCD Practice Question: Designing highly scalable, available, and reliable cloud-native applications

This PCD practice question tests your understanding of designing highly scalable, available, and reliable cloud-native applications. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is migrating a monolithic application to a microservices architecture on Google Cloud. They want to decouple services and ensure that a failure in one service does not impact others. Which pattern should they implement?

Question 1mediummultiple choice
Read the full NAT/PAT explanation →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Implement circuit breaker pattern using a service mesh like Istio

The circuit breaker pattern, implemented via a service mesh like Istio, is the correct approach because it prevents cascading failures by monitoring service health and stopping requests to a failing service until it recovers. Istio's Envoy sidecar proxies enforce circuit breaking at the network layer, allowing the system to degrade gracefully without impacting other services.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Implement caching with Memorystore

    Why it's wrong here

    Caching improves performance but does not prevent failure propagation.

  • Increase the number of instances of each service

    Why it's wrong here

    More instances do not prevent fault propagation.

  • Use synchronous HTTP calls with retries

    Why it's wrong here

    Synchronous calls can cause cascading failures if not handled properly.

  • Implement circuit breaker pattern using a service mesh like Istio

    Why this is correct

    Circuit breaker trips on failures, isolating the fault.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Cisco often tests the misconception that scaling instances (Option B) or adding caching (Option A) is sufficient for fault isolation, but these patterns address performance and availability, not decoupling or failure containment.

Detailed technical explanation

How to think about this question

The circuit breaker pattern in Istio uses Envoy proxies to track consecutive errors (e.g., 5xx responses) and connection timeouts; when a threshold (e.g., 5 consecutive failures) is reached, the circuit opens, and subsequent requests fail fast without reaching the unhealthy service. This is configured via DestinationRule settings like `trafficPolicy.connectionPool.http.maxRetries` and `trafficPolicy.outlierDetection`, which also support half-open states for automatic recovery. In a real-world scenario, a payment service failure would trigger the circuit breaker, preventing the order service from hanging or timing out, thus maintaining overall system availability.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PCD practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PCD practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PCD question test?

Designing highly scalable, available, and reliable cloud-native applications — This question tests Designing highly scalable, available, and reliable cloud-native applications — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Implement circuit breaker pattern using a service mesh like Istio — The circuit breaker pattern, implemented via a service mesh like Istio, is the correct approach because it prevents cascading failures by monitoring service health and stopping requests to a failing service until it recovers. Istio's Envoy sidecar proxies enforce circuit breaking at the network layer, allowing the system to degrade gracefully without impacting other services.

What should I do if I get this PCD question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on PCD

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A team is migrating a monolithic application to a microservices architecture on Google Kubernetes Engine (GKE). They want to ensure that failures in one microservice do not cascade to others. Which design pattern should they implement?

medium
  • A.Implement retry logic with exponential backoff for all inter-service calls.
  • B.Implement a circuit breaker pattern that opens when failure thresholds are exceeded.
  • C.Use synchronous HTTP calls with timeouts to detect failures quickly.
  • D.Use bulkheads to separate thread pools for each service.

Why B: The circuit breaker pattern is the correct choice because it prevents cascading failures by monitoring inter-service calls and opening the circuit when failures exceed a threshold, allowing the system to fail fast and recover gracefully. In a GKE-based microservices architecture, this pattern is typically implemented using libraries like Resilience4j or Istio's circuit breaker, which can be configured to trip after a certain number of consecutive failures, thus protecting downstream services from being overwhelmed.

Keep practising

More PCD practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PCD practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCD exam.