Courseiva
Monitoring and Logging →mediumMultiple Choice

DOP-C02 Monitoring and Logging Practice Question

A DevOps engineer is troubleshooting a slow web application. The application runs on EC2 instances behind an ALB. The engineer notices that the ALB's TargetResponseTime metric shows high p99 values, but the CPU and memory on the EC2 instances are well below thresholds. What is the most likely cause?

⚠ Common exam trap

A common mix-up: candidates assume high response times must be caused by compute saturation (CPU/memory) or network issues, but the question deliberately shows low resource utilization to force you to consider external dependencies as the root cause.

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

✓

The application is waiting on a slow database query or external API call

High p99 TargetResponseTime on the ALB with low CPU and memory on the EC2 instances indicates that the bottleneck is not compute capacity but rather a dependency external to the application server. The application is likely waiting on a slow database query or external API call, which increases response time without consuming significant local CPU or memory. This is a classic symptom of an I/O-bound or network-bound dependency.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    The Auto Scaling group has too many instances, causing increased network overhead

    Why it's wrong here

    This misidentifies the scaling dynamic: an Application Load Balancer distributes each request to the least loaded healthy target, so adding instances generally reduces per-instance queueing and lowers response latency, not increases it. Only if the application performs heavy inter-instance communication or relies on a shared stateful store would more nodes add meaningful overhead, but that is not inherent to Auto Scaling. Network overhead from additional instances is negligible compared to the latency caused by a slow downstream dependency.

  • ✗

    The ALB is routing requests to instances in different Availability Zones, increasing latency

    Why it's wrong here

    For an Application Load Balancer, cross-zone load balancing is enabled by default, meaning each ALB node actively distributes requests to healthy targets across all Availability Zones in the region. Within a region, AZ-to-AZ traffic travels over AWS's redundant, high-bandwidth backbone—typically adding less than a millisecond—so it cannot be the source of a perceptible slowdown. A request would have to cross regions to experience real network latency impact, which is not the case here.

  • ✓

    The application is waiting on a slow database query or external API call

    Why this is correct

    Synchronous dependencies like database queries and external API calls are the classic cause of elevated application latency; the end-user response time becomes the sum of all blocking calls in the request path, and a single slow query (e.g., missing index, lock contention, or throttled API) holds up the entire page. This pattern usually shows as high response times with low CPU and network utilization on the application instances, because threads are parked waiting for the downstream I/O to complete. In an Auto Scaling environment, simply adding instances won't help while the database or API service remains the bottleneck.

  • ✗

    The ALB idle timeout is set too low, causing connections to be dropped

    Why it's wrong here

    ALB idle timeout controls how long a connection may remain inactive before the load balancer closes it; setting it too low would terminate idle keep-alive connections, causing clients to see connection resets or 502/504 errors on the next request—not high latency during an active request. The timeout does not affect how quickly an in-flight request is processed, since it is based on inactivity, not request duration. Therefore, a low idle timeout cannot explain a slow web application; it would manifest as sporadic connectivity failures instead.

About these practice questions

One of 1,298 original DOP-C02 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 →

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.