KCNA Cloud Native Architecture Practice Question
What is the purpose of the circuit breaker pattern in a microservices architecture?
⚠ Common exam trap
CNCF often tests the distinction between 'preventing overload from a failing service' (circuit breaker) and 'distributing load across healthy instances' (load balancer), so candidates mistakenly pick load balancing when they see 'overwhelmed by requests' in the question.
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
✓
To prevent a service from being overwhelmed by requests when it is failing
The circuit breaker pattern is a stability pattern that monitors for failures and prevents a service from making requests to a failing downstream service, allowing it to recover. When the failure rate exceeds a threshold (e.g., 50% of requests fail within a 10-second sliding window), the circuit 'opens' and subsequent calls fail immediately without consuming resources. This prevents cascading failures and resource exhaustion in distributed systems like Kubernetes or Spring Cloud.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
To balance load across multiple instances
Why it's wrong here
Load balancing is done by Kubernetes Services or ingress controllers.
- ✗
To handle authentication between services
Why it's wrong here
Authentication is done by service mesh or security policies.
- ✗
To encrypt data in transit
Why it's wrong here
Encryption is handled by TLS, not circuit breaker.
- ✓
To prevent a service from being overwhelmed by requests when it is failing
Why this is correct
The circuit breaker pattern stops requests to a failing service, allowing it to recover.
Go deeper
Related to this question
Learn chapter
Cloud Native Architecture and Concepts
Key term
Microservices Architecture
Microservices architecture is a way of building software as a collection of small, independent services that each handle one specific business function and communicate over a network.
Key term
ReplicaSet and Replication
A ReplicaSet ensures a specified number of identical pod instances are running at all times in Kubernetes, using replication to maintain availability and stability.
About these practice questions
One of 833 original KCNA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This KCNA practice question is part of Courseiva's free CNCF 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 KCNA exam.