SAP-C02 Continuous Improvement for Existing Solutions Practice Question
A company runs a web application on Amazon ECS with Fargate launch type. The application uses an Application Load Balancer. The operations team notices that the ALB returns 503 errors during peak traffic. Which TWO actions should the solutions architect take to resolve this issue?
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
✓
Enable ECS service Auto Scaling to automatically adjust the number of tasks.
Options B and D are correct. 503 errors from ALB indicate the target group has no healthy targets. Enabling ECS service Auto Scaling (B) will increase the number of tasks to handle traffic. Reviewing ECS service events (D) can reveal why tasks are unhealthy. Option A is wrong because increasing ALB idle timeout does not affect health. Option C is wrong because increasing deregistration delay might help but is not a primary fix. Option E is wrong because increasing task memory might not solve the health issue if it's due to capacity.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Increase the idle timeout on the ALB.
Why it's wrong here
Increasing the idle timeout on the ALB does not affect health checks or target availability, so it will not resolve 503 errors.
- ✓
Enable ECS service Auto Scaling to automatically adjust the number of tasks.
Why this is correct
ECS service Auto Scaling adjusts the number of tasks based on demand, ensuring sufficient capacity to handle peak traffic and reducing 503 errors.
- ✗
Increase the deregistration delay on the target group.
Why it's wrong here
Increasing the deregistration delay might allow in-flight requests to complete but does not address the root cause of unhealthy targets or insufficient capacity.
- ✓
Review the ECS service events for task failures or health check issues.
Why this is correct
Reviewing ECS service events helps identify why tasks are failing health checks or becoming unhealthy, enabling corrective actions to restore target health.
- ✗
Increase the task memory allocation in the task definition.
Why it's wrong here
Increasing task memory allocation may improve application performance but does not fix scaling or health issues that cause 503 errors.
Visual reference
Go deeper
Related to this question
About these practice questions
Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-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 SAP-C02 exam.