- A
Configure an RDS read replica in a different Availability Zone.
Why wrong: Read replicas are not automatically promoted for failover; Multi-AZ is the correct approach.
- B
Use a Single-AZ RDS for MySQL database to keep costs low.
Why wrong: Single-AZ does not provide automatic failover if the AZ fails.
- C
Place all EC2 instances in the same Availability Zone to reduce cross-AZ data transfer costs.
Why wrong: This creates a single point of failure for the web tier.
- D
Configure the Auto Scaling group to launch EC2 instances in at least two Availability Zones.
Distributing instances across AZs provides high availability for the web tier.
- E
Deploy the RDS for MySQL database in a Multi-AZ configuration.
Multi-AZ provides automatic failover to a standby in a different AZ.
Quick Answer
The correct actions are deploying the RDS for MySQL database in a Multi-AZ configuration and configuring the Auto Scaling group to launch EC2 instances in at least two Availability Zones. This combination achieves AZ-level resilience by ensuring that both the compute and database tiers can survive the failure of an entire Availability Zone. The Auto Scaling group distributes EC2 instances across multiple zones, so traffic continues through the ALB if one zone goes down, while RDS Multi-AZ provides a synchronous standby replica in a different zone with automatic failover for the database. On the AWS Certified DevOps Engineer Professional DOP-C02 exam, this tests your understanding of layered resilience patterns—a common trap is thinking a single Multi-AZ deployment alone covers all tiers, but you must explicitly distribute compute resources as well. Remember the memory tip: "Spread the compute, sync the database" to recall that Auto Scaling spans zones while RDS mirrors writes.
DOP-C02 Resilient Cloud Solutions Practice Question
This DOP-C02 practice question tests your understanding of resilient cloud solutions. 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 building a multi-tier web application on AWS. The application must be resilient to the failure of an entire Availability Zone. The architecture includes an Application Load Balancer (ALB), EC2 instances in an Auto Scaling group, and an Amazon RDS for MySQL database. Which TWO actions should be taken to achieve this resilience? (Choose two.)
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
Configure the Auto Scaling group to launch EC2 instances in at least two Availability Zones.
Option D is correct because configuring the Auto Scaling group to launch EC2 instances in at least two Availability Zones ensures that if one AZ fails, the remaining AZ(s) can continue serving traffic. This is a fundamental pattern for building AZ-resilient compute tiers. Option E is correct because deploying Amazon RDS for MySQL in a Multi-AZ configuration automatically provisions and maintains a synchronous standby replica in a different AZ, providing automatic failover if the primary DB instance fails, thus ensuring database resilience.
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.
- ✗
Configure an RDS read replica in a different Availability Zone.
Why it's wrong here
Read replicas are not automatically promoted for failover; Multi-AZ is the correct approach.
- ✗
Use a Single-AZ RDS for MySQL database to keep costs low.
Why it's wrong here
Single-AZ does not provide automatic failover if the AZ fails.
- ✗
Place all EC2 instances in the same Availability Zone to reduce cross-AZ data transfer costs.
Why it's wrong here
This creates a single point of failure for the web tier.
- ✓
Configure the Auto Scaling group to launch EC2 instances in at least two Availability Zones.
Why this is correct
Distributing instances across AZs provides high availability for the web tier.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
Deploy the RDS for MySQL database in a Multi-AZ configuration.
Why this is correct
Multi-AZ provides automatic failover to a standby in a different AZ.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse read replicas (asynchronous, for read scaling) with Multi-AZ deployments (synchronous, for high availability), and mistakenly think placing all resources in one AZ reduces costs without recognizing the critical single point of failure it introduces.
Detailed technical explanation
How to think about this question
Multi-AZ RDS for MySQL uses synchronous replication to a standby instance in a different AZ, with automatic failover typically completing within 60-120 seconds. The Auto Scaling group distributes EC2 instances across AZs based on the subnets specified in the launch template or configuration, and the ALB automatically routes traffic only to healthy instances in remaining AZs during a failure. This combination ensures that both compute and database tiers can survive an entire AZ outage without manual intervention.
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 startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.
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.
- →
Resilient Cloud Solutions — study guide chapter
Learn the concepts, then practise the questions
- →
Resilient Cloud Solutions practice questions
Targeted practice on this topic area only
- →
All DOP-C02 questions
1,740 questions across all exam domains
- →
AWS Certified DevOps Engineer Professional DOP-C02 study guide
Full concept coverage aligned to exam objectives
- →
DOP-C02 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related DOP-C02 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Configuration Management and IaC practice questions
Practise DOP-C02 questions linked to Configuration Management and IaC.
Resilient Cloud Solutions practice questions
Practise DOP-C02 questions linked to Resilient Cloud Solutions.
Monitoring and Logging practice questions
Practise DOP-C02 questions linked to Monitoring and Logging.
Incident and Event Response practice questions
Practise DOP-C02 questions linked to Incident and Event Response.
Security and Compliance practice questions
Practise DOP-C02 questions linked to Security and Compliance.
SDLC Automation practice questions
Practise DOP-C02 questions linked to SDLC Automation.
DOP-C02 fundamentals practice questions
Practise DOP-C02 questions linked to DOP-C02 fundamentals.
DOP-C02 scenario practice questions
Practise DOP-C02 questions linked to DOP-C02 scenario.
DOP-C02 troubleshooting practice questions
Practise DOP-C02 questions linked to DOP-C02 troubleshooting.
Practice this exam
Start a free DOP-C02 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 DOP-C02 question test?
Resilient Cloud Solutions — This question tests Resilient Cloud Solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Configure the Auto Scaling group to launch EC2 instances in at least two Availability Zones. — Option D is correct because configuring the Auto Scaling group to launch EC2 instances in at least two Availability Zones ensures that if one AZ fails, the remaining AZ(s) can continue serving traffic. This is a fundamental pattern for building AZ-resilient compute tiers. Option E is correct because deploying Amazon RDS for MySQL in a Multi-AZ configuration automatically provisions and maintains a synchronous standby replica in a different AZ, providing automatic failover if the primary DB instance fails, thus ensuring database resilience.
What should I do if I get this DOP-C02 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 →
Same concept, more angles
5 more ways this is tested on DOP-C02
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 company is designing a highly available architecture for a stateless web application using AWS services. Which TWO steps should they take to achieve high availability?
medium- A.Store session state in an EBS volume attached to each instance
- ✓ B.Deploy EC2 instances in multiple Availability Zones
- C.Use a single NAT instance in a public subnet
- D.Use only M5 instance types for better performance
- ✓ E.Use an Application Load Balancer to distribute traffic
Why B: Deploying across multiple AZs ensures availability during AZ failure. An ALB distributes traffic and performs health checks. Option C is wrong because M5 instances are not required. Option D is wrong because EBS is not stateless; better to use ephemeral or S3. Option E is wrong because it's an anti-pattern.
Variation 2. A company is designing a highly available architecture for a web application that uses Amazon EC2 instances. The application must be resilient to the failure of a single instance and a single Availability Zone. Which TWO actions should the company take? (Choose TWO.)
easy- ✓ A.Use an Auto Scaling group with a minimum of two instances spread across two Availability Zones.
- ✓ B.Distribute EC2 instances across at least two Availability Zones.
- C.Place all EC2 instances in a single Availability Zone and use a Network Load Balancer.
- D.Use a single Application Load Balancer in one Availability Zone.
- E.Use a single large EC2 instance in one Availability Zone.
Why A: Option A is correct because an Auto Scaling group with a minimum of two instances spread across two Availability Zones ensures that if one instance or one entire AZ fails, the remaining instance(s) in the other AZ can continue serving traffic, and Auto Scaling will automatically launch a replacement instance in the healthy AZ to restore the desired count. Option B is correct because distributing EC2 instances across at least two Availability Zones is the fundamental requirement for AZ-level resilience, as it eliminates a single point of failure at the AZ boundary.
Variation 3. A company is designing a highly available architecture for a web application using AWS. Which TWO of the following design principles should be applied? (Select TWO.)
easy- A.Run all resources in a single Availability Zone to reduce complexity
- B.Store session data on EC2 instances to improve performance
- ✓ C.Deploy resources across multiple Availability Zones
- ✓ D.Use loosely coupled components, such as queues and asynchronous processing
- E.Use tightly coupled components to reduce latency
Why C: Correct answers: B and D. B spreads resources across AZs for fault tolerance. D decouples components to prevent cascading failures. A is wrong because single Region is not resilient. C is wrong because tightly coupled components reduce availability.
Variation 4. A company is designing a resilient architecture for a critical application. Which TWO strategies improve resilience?
medium- ✓ A.Deploy resources across multiple Availability Zones
- B.Use a single large instance instead of multiple smaller ones
- ✓ C.Use health checks to automatically replace unhealthy resources
- D.Disable automated backups to reduce latency
- E.Deploy resources in a single Availability Zone
Why A: Multi-AZ deployments and health checks with auto-remediation improve resilience by handling failures automatically.
Variation 5. A company wants to design a resilient architecture for a web application using AWS services. Which of the following is a best practice for improving resilience?
easy- ✓ A.Deploy EC2 instances in multiple Availability Zones.
- B.Use an Auto Scaling group in a single AZ.
- C.Use a single AZ with RDS Multi-AZ.
- D.Use one large EC2 instance to handle all traffic.
Why A: Option A is correct because deploying across multiple Availability Zones ensures that if one AZ fails, the application remains available. Option B is incorrect because a single EC2 instance in one AZ is not resilient. Option C is incorrect because a single AZ with RDS Multi-AZ still has a single point of failure at the AZ level. Option D is incorrect because Auto Scaling in one AZ is still vulnerable to AZ failure.
Keep practising
More DOP-C02 practice questions
- A company uses AWS CodePipeline with a multi-branch strategy. A new feature branch triggers a pipeline that runs unit te…
- A development team uses AWS CodeBuild to compile a Java application and run unit tests. The build takes 30 minutes, but…
- A company uses AWS CodePipeline with multiple stages: Source (Amazon S3), Build (AWS CodeBuild), and Deploy (AWS CodeDep…
- A company uses AWS CodeCommit for source control. Developers frequently push large binary files (e.g., compiled JARs) to…
- An organization uses AWS CodePipeline to orchestrate deployments to multiple environments (dev, test, prod). Each enviro…
- A company uses AWS Key Management Service (KMS) to encrypt data at rest in Amazon S3. The security team wants to ensure…
Last reviewed: Jun 11, 2026
This DOP-C02 practice question is part of Courseiva's free Amazon Web Services 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 DOP-C02 exam.
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.
Sign in to join the discussion.