Courseiva
SecuritymediumMultiple SelectObjective-mapped

DVA-C02 Security Practice Question

A company wants to audit access to their S3 buckets. Which TWO services can be used to log and monitor S3 API calls?

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

S3 server access logs

S3 server access logs (Option B) provide detailed records about requests made to an S3 bucket, including object-level API calls. AWS CloudTrail (Option C) logs management events for S3, such as bucket creation or configuration changes, and can also be configured to log data events for object-level operations. Option A (AWS Config) is used for resource configuration tracking, not API call logging. Option D (AWS KMS) manages encryption keys. Option E (Amazon CloudWatch Logs) can store logs but does not directly capture S3 API calls; it works with CloudTrail or other sources.

Answer analysis

Option-by-option breakdown

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

  • AWS Config

    Why it's wrong here

    AWS Config is a resource inventory and compliance service that tracks the configuration state of your S3 bucket over time—such as changes to bucket policies, lifecycle rules, or encryption settings—but it does not record API call activity or object-level requests. An audit of access requires knowing who performed each GetObject or PutObject, which Config never captures because it operates on configuration snapshots, not data-plane operation logs. Thus, AWS Config cannot answer the who/what/when of S3 bucket access.

  • S3 server access logs

    Why this is correct

    S3 server access logging records every request made to a bucket, including the requester's IP address (or IAM role/account if available), the request operation (e.g., REST.GET.OBJECT), the object key, response status, and timestamps, then delivers these logs to a destination bucket you designate. These logs provide a comprehensive object-level audit trail of both authenticated and unauthenticated access, making them a direct answer to the audit requirement. Keep in mind the logs are delivered on a best-effort basis with no guarantee of completeness, but they are still the standard method for forensic analysis of S3 access.

  • AWS CloudTrail

    Why this is correct

    AWS CloudTrail is the native audit service that records API activity across your AWS account, including S3 management events like CreateBucket and, when data events are enabled, object-level operations such as GetObject, PutObject, and DeleteObject. Each event includes the IAM principal, source IP address, request parameters, and response elements, so CloudTrail provides a near-real-time, complete audit trail of who accessed which S3 object and when. Enabling CloudTrail data events for S3 buckets is a common best practice for meeting access audit requirements.

  • AWS KMS

    Why it's wrong here

    AWS Key Management Service is a managed service for creating and controlling the cryptographic keys used to protect data, such as SSE-KMS encryption keys for S3 objects. While KMS generates CloudTrail events for key usage (e.g., when an object is decrypted), it does not itself record or report on who accessed the S3 bucket or what operations were performed on objects. KMS supports encryption, not logging, so it would be an enabling technology for a secure audit trail, not an audit tool for S3 access.

  • Amazon CloudWatch Logs

    Why it's wrong here

    Amazon CloudWatch Logs is a service for collecting, monitoring, and querying log data from applications and AWS services, but S3 does not natively send its access logs to CloudWatch Logs. Rather, S3 server access logs are written to an S3 bucket, and CloudTrail events can be optionally streamed to CloudWatch Logs for real-time alarm or metric purposes. As a result, CloudWatch Logs can be a downstream destination or analysis layer, but it is not a direct source of S3 bucket access data and cannot by itself audit access.

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

One of 724 original DVA-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 DVA-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 DVA-C02 exam.