Courseiva
Security Logging and MonitoringmediumMultiple ChoiceObjective-mapped

SCS-C02 Security Logging and Monitoring Practice Question

A company is using Amazon Route 53 and wants to log DNS queries for investigative purposes. The logs must be stored in a centralized S3 bucket in the security account. What is the MOST efficient way to achieve this?

⚠ Common exam trap

Candidates often confuse VPC Flow Logs (which capture network flows) with DNS query logs, or assume that CloudWatch Logs or Lambda are required for S3 delivery, when Route 53 Resolver query logging can directly write to S3 with minimal configuration.

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

Configure Route 53 Resolver query logging to deliver to the central S3 bucket.

Route 53 Resolver query logging natively supports delivering DNS query logs directly to an S3 bucket, including cross-account S3 buckets, without requiring any intermediate services. This is the most efficient method because it eliminates the need for additional compute resources or manual polling, and it directly satisfies the requirement for centralized logging in the security account.

Answer analysis

Option-by-option breakdown

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

  • Enable VPC Flow Logs and analyze DNS traffic.

    Why it's wrong here

    VPC Flow Logs capture only metadata about IP traffic—source/destination IPs, ports, and protocol—at the elastic network interface level. They do not parse or record the DNS query payload, so even though you'd see packets to a resolver on port 53, you would not see the queried domain name, record type, or response code. To comply with the requirement to log DNS queries, you need a service that can read DNS content, not just connection metadata.

  • Enable CloudWatch Logs for Route 53 and stream to a Lambda function that writes to S3.

    Why it's wrong here

    Enabling CloudWatch Logs for Route 53 and streaming to a Lambda function that writes to S3 introduces unnecessary latency and operational overhead from managing the Lambda invocation and execution. Route 53 can directly publish query logs to a specified S3 bucket without any intermediate compute layer. This option is tempting because CloudWatch Logs is a common centralised logging destination, and Lambda is often used to transform or route logs; however, in this scenario, the requirement is simply to store logs in S3, which Route 53’s native logging feature achieves directly without additional services.

  • Configure Route 53 Resolver query logging to deliver to the central S3 bucket.

    Why this is correct

    Route 53 Resolver query logging is the native capability that records the full DNS query and response data for queries handled by Route 53 Resolver, including those from VPCs, inbound, and outbound endpoints. It can directly write logs to a central S3 bucket, and using a cross-account bucket policy, you can allow Route 53 in your account to deliver into the consolidated logging bucket. This approach avoids any intermediate compute, scales automatically, and is the most straightforward secure delivery mechanism.

  • Use a custom Lambda function to poll Route 53 logs and write to S3.

    Why it's wrong here

    This option incorrectly assumes there is a Route 53 logging API that can be polled; Route 53 Resolver does not expose an endpoint for retrieving DNS query logs on demand. The only way to receive query logs is to configure the native query-logging feature and specify a destination; if you wanted Lambda, you'd set up CloudWatch Logs or a Firehose destination that triggers the function, not have it poll unresolvable data. Adding a polling Lambda also creates unnecessary operational overhead and potential data-loss gaps when the polling function is not running.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

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 SCS-C02 question from scratch — 376 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 SCS-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 SCS-C02 exam.