Courseiva
Resilient Cloud SolutionshardMultiple SelectObjective-mapped

DOP-C02 Resilient Cloud Solutions Practice Question

A company runs a web application on EC2 instances in an Auto Scaling group across three Availability Zones. The application uses an Application Load Balancer (ALB) and stores session data in an ElastiCache for Redis cluster with cluster mode enabled. During a recent deployment, a new version of the application caused a memory leak in the Redis cluster, leading to out-of-memory errors and evictions. The DevOps team wants to prevent future deployments from affecting the Redis cluster's health. What should the team do? (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

Implement a blue/green deployment strategy using a separate Redis cluster for the new version.

Using a blue/green deployment with a separate Redis cluster for the new version isolates the risk. Option E is correct because enabling CloudWatch alarms on Redis memory usage and evictions can trigger automatic rollback or alerting. Option B (increasing instance size) treats the symptom, not the cause. Option D (snapshot before deployment) is good for backup but doesn't prevent impact. Option C (cluster mode disabled) reduces scalability.

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 a blue/green deployment strategy using a separate Redis cluster for the new version.

    Why this is correct

    Using a blue/green deployment with a separate Redis cluster isolates the risk from the new version to a separate environment, preventing the memory leak from affecting the production cluster.

  • Increase the ElastiCache node type to a larger instance size.

    Why it's wrong here

    Increasing the node type addresses the symptom of insufficient memory but does not prevent the root cause (memory leak) and may not be cost-effective.

  • Disable cluster mode on the Redis cluster to reduce overhead.

    Why it's wrong here

    Disabling cluster mode reduces scalability and does not address the memory leak issue; it would only reduce overhead but not prevent memory exhaustion.

  • Take a manual snapshot of the Redis cluster before each deployment.

    Why it's wrong here

    Taking a manual snapshot before deployment is a backup measure, but it does not prevent the memory leak from causing evictions or outages during the deployment.

  • Configure Amazon CloudWatch alarms on Redis memory usage and evictions to trigger an automatic rollback.

    Why this is correct

    Configuring CloudWatch alarms on Redis memory usage and evictions can detect the memory leak early and trigger an automatic rollback to minimize impact.

About these practice questions

This DOP-C02 question is part of Courseiva's 1,013-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.