SAP-C02 Continuous Improvement for Existing Solutions Practice Question
A company runs a critical application on Amazon ECS with Fargate launch type. The application experiences intermittent latency spikes. CloudWatch metrics show high CPU utilization on tasks during these spikes. The current task definition has 1 vCPU and 2 GB memory. Which improvement will most effectively reduce latency without over-provisioning?
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
✓
Increase both memory and vCPU to 4 GB and 2 vCPUs.
Increasing both vCPU and memory improves performance for CPU-bound tasks and prevents memory contention. Option A is wrong because increasing the number of tasks (horizontal scaling) does not reduce latency for a single request if the task itself is underpowered; it distributes load but does not address high CPU on each task. Option B is wrong because increasing only vCPU might alleviate CPU pressure but could still be limited by memory if the application is also memory-intensive; however, increasing both ensures no bottleneck. Option D is wrong because increasing memory alone does not address the high CPU utilization.
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 number of tasks (desired count) to distribute the load.
Why it's wrong here
Scaling horizontally won't reduce latency for a single request if each task is underpowered.
- ✗
Increase the vCPU to 2 while keeping 2 GB memory.
Why it's wrong here
vCPU increase may help, but memory might also be a bottleneck.
- ✓
Increase both memory and vCPU to 4 GB and 2 vCPUs.
Why this is correct
Balanced increase addresses both CPU and memory constraints.
- ✗
Increase the memory to 4 GB while keeping 1 vCPU.
Why it's wrong here
Memory increase alone won't help CPU-bound latency.
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.