Courseiva
Data Operations and SupporteasyMultiple ChoiceObjective-mapped

DEA-C01 S3 CloudWatch 4xxErrors metric Practice Question

A data engineer needs to monitor the number of Amazon S3 PUT requests that result in a 403 AccessDenied error. Which AWS service should be used to capture the necessary data?

⚠ Common exam trap

Candidates may assume that the built‑in S3 request metrics can be filtered by status code. In reality, the 4xxErrors metric cannot be segmented by individual error codes; CloudTrail must be used for this granularity.

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

AWS CloudTrail data events

S3 request metrics do not provide filtering by status code; the 4xxErrors metric aggregates all 4xx errors. To monitor specific 403 AccessDenied errors, you should use AWS CloudTrail data events, which capture API call details including error codes. You can create a CloudWatch metric filter on the CloudTrail log group to emit a custom metric for 403 errors, enabling monitoring and alarming.

Answer analysis

Option-by-option breakdown

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

  • Amazon CloudWatch S3 request metrics

    Why it's wrong here

    S3 request metrics (like 4xxErrors) do not allow filtering by specific error codes; they aggregate all 4xx errors.

  • Amazon S3 server access logs

    Why it's wrong here

    S3 server access logs can capture 403 errors but are not the recommended service for real‑time monitoring via CloudWatch metrics; CloudTrail is preferred.

  • AWS Config

    Why it's wrong here

    AWS Config tracks configuration changes, not API request errors.

  • AWS CloudTrail data events

    Why this is correct

    AWS CloudTrail data events capture API calls details, including error codes. You can create a CloudWatch metric filter on the CloudTrail log group to monitor specific errors like 403.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every DEA-C01 question from scratch — 1,711 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DEA-C01 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 DEA-C01 exam.