Question 922 of 1,750
Resilient Cloud SolutionshardMultiple ChoiceObjective-mapped

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.

An application running on Amazon ECS with Fargate experiences intermittent failures. The task definition includes a single container with a health check command. Despite the health check passing, the application occasionally returns HTTP 500 errors. The application logs are sent to CloudWatch Logs. What is the MOST likely root cause?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

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 health check command only checks the process status, not the application's ability to serve requests.

Option A is correct because a health check command in an ECS task definition typically checks the container process status (e.g., via a shell command or a simple TCP check), not the application's HTTP layer. If the health check passes but the application returns HTTP 500 errors, it indicates the container is running but the application logic is failing (e.g., unhandled exceptions, database connection issues). This mismatch between process-level health and application-level health is a common cause of intermittent failures in containerized applications.

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.

  • The health check command only checks the process status, not the application's ability to serve requests.

    Why this is correct

    A shallow health check can report healthy while the app is unable to serve requests.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The application is missing environment variables that are required for certain requests.

    Why it's wrong here

    Missing env vars would cause consistent errors for specific functionality.

  • The ECS service is configured with a target tracking scaling policy that reacts too slowly.

    Why it's wrong here

    Auto scaling lag would not cause intermittent 500s if health check passes.

  • The container port and host port in the task definition do not match the ALB target group port.

    Why it's wrong here

    Port mismatch would cause consistent health check failures.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates assume a passing health check guarantees the application is fully functional, but AWS specifically tests the distinction between container-level health (process running) and application-level health (HTTP response correctness), which is a key concept for the DOP-C02 exam.

Detailed technical explanation

How to think about this question

ECS health checks use the `healthCheck` parameter in the task definition, which runs a command (e.g., `CMD-SHELL curl -f http://localhost/ || exit 1`) inside the container. If this command only checks a static endpoint or process existence, it won't detect transient application errors like database connection pool exhaustion or unhandled exceptions that cause HTTP 500 responses. In production, you should implement a dedicated health endpoint (e.g., `/health`) that validates critical dependencies (database, cache) and returns appropriate HTTP status codes, and configure the ALB target group health check to use that endpoint with a 200 OK response.

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 cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

Visual reference

Client Server SYN (seq=100) SYN-ACK (seq=200, ack=101) ACK (ack=201) Connection established — data transfer begins

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.

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.

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: The health check command only checks the process status, not the application's ability to serve requests. — Option A is correct because a health check command in an ECS task definition typically checks the container process status (e.g., via a shell command or a simple TCP check), not the application's HTTP layer. If the health check passes but the application returns HTTP 500 errors, it indicates the container is running but the application logic is failing (e.g., unhandled exceptions, database connection issues). This mismatch between process-level health and application-level health is a common cause of intermittent failures in containerized applications.

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.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

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 →

How Courseiva writes practice questions · Editorial policy

Keep practising

More DOP-C02 practice questions

Last reviewed: Jul 4, 2026

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.

Loading comments…

Sign in to join the discussion.

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.