nerdexam
Amazon

DOP-C02 · Question #483

A video-sharing company stores its videos in an Amazon S3 bucket. The company needs to analyze user access patterns such as the number of users who access a specific video each month. Which solution…

The correct answer is B. Enable Amazon S3 server access logging. Use Amazon Athena to create an external table that. To analyze S3 video access patterns with the least development effort, enable S3 server access logging and use Amazon Athena to query the logs directly from S3.

Submitted by manish99· Mar 6, 2026Monitoring and Logging

Question

A video-sharing company stores its videos in an Amazon S3 bucket. The company needs to analyze user access patterns such as the number of users who access a specific video each month. Which solution will meet these requirements with the LEAST development effort?

Options

  • AEnable Amazon S3 server access logging. Load the access logs into an Amazon Aurora
  • BEnable Amazon S3 server access logging. Use Amazon Athena to create an external table that
  • CInvoke an AWS Lambda function for every S3 object access event. Configure the Lambda
  • DRecord a log message in Amazon CloudWatch Logs for every S3 object access event. Configure

How the community answered

(19 responses)
  • A
    21% (4)
  • B
    63% (12)
  • C
    11% (2)
  • D
    5% (1)

Why each option

To analyze S3 video access patterns with the least development effort, enable S3 server access logging and use Amazon Athena to query the logs directly from S3.

AEnable Amazon S3 server access logging. Load the access logs into an Amazon Aurora

Loading S3 access logs into an Amazon Aurora relational database would require substantial development effort for schema design, table creation, and building an ETL process to parse and ingest the log data.

BEnable Amazon S3 server access logging. Use Amazon Athena to create an external table thatCorrect

Enabling Amazon S3 server access logging provides detailed records of all requests made to the S3 bucket, capturing user access information. Amazon Athena is a serverless query service that can directly query these S3 access logs using standard SQL, eliminating the need for complex ETL processes or data loading into a separate database, which significantly reduces development effort for analyzing access patterns.

CInvoke an AWS Lambda function for every S3 object access event. Configure the Lambda

Invoking an AWS Lambda function for every S3 object access event would generate a massive number of invocations for a video-sharing company, leading to prohibitively high costs and significant development effort to process and aggregate the event data efficiently.

DRecord a log message in Amazon CloudWatch Logs for every S3 object access event. Configure

Recording every S3 object access event in Amazon CloudWatch Logs would incur high ingestion and storage costs, and analyzing complex access patterns directly within CloudWatch Logs is less flexible and efficient than using Amazon Athena for structured SQL queries.

Concept tested: S3 access logging analysis with Amazon Athena

Source: https://docs.aws.amazon.com/athena/latest/ug/using-s3-logs.html

Topics

#S3 Server Access Logging#Amazon Athena#Log analysis#Operational efficiency

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice