Courseiva
Security Logging and MonitoringeasyMultiple ChoiceObjective-mapped

SCS-C02 Security Logging and Monitoring Practice Question

A security engineer needs to centralize logs from multiple AWS accounts into a single S3 bucket. Which solution is most secure?

⚠ Common exam trap

It's easy for candidates to assume S3 replication (Option A) is the simplest centralized solution, but they overlook that CloudTrail can deliver directly to a cross-account bucket with a properly scoped bucket policy, which is more secure and avoids the overhead of replication or streaming services.

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 each account's CloudTrail to deliver to a centralized S3 bucket in a logging account, with a bucket policy allowing CloudTrail from source accounts.

It uses a centralized S3 bucket in a dedicated logging account with a bucket policy that explicitly grants CloudTrail from source accounts the s3:PutObject permission. This ensures logs are written directly to a single location without intermediate replication or cross-account delivery that could introduce latency or complexity. The bucket policy can restrict access to only CloudTrail service principals and specific source account ARNs, maintaining a secure, auditable log trail.

Answer analysis

Option-by-option breakdown

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

  • Deliver logs to separate buckets per account and use S3 replication to copy them to a central bucket.

    Why it's wrong here

    Delivering logs to separate buckets per account and using S3 replication introduces a time lag and does not enforce a single, immutable write destination; replication is asynchronous, so logs can be altered or deleted in the source bucket before being copied, violating the centralised, tamper-proof logging requirement. This approach is tempting because it is commonly used for cross-region or cross-account data synchronisation when eventual consistency and source-bucket retention are acceptable, such as for backup or disaster recovery scenarios.

  • Use a single S3 bucket in the management account and have each account write logs directly without additional permissions.

    Why it's wrong here

    This is incorrect because cross-account delivery of CloudTrail logs to an S3 bucket cannot happen without explicit permission. Each source account's CloudTrail service must be granted write access via a bucket policy on the destination bucket; absent that policy, S3 returns AccessDenied. Additionally, colocating logs in the management account violates the security best practice of using a dedicated logging account, since the management account is the highest-privilege account and its compromise would also expose or tamper with logs.

  • Configure each account's CloudTrail to deliver to a centralized S3 bucket in a logging account, with a bucket policy allowing CloudTrail from source accounts.

    Why this is correct

    This is correct because CloudTrail can be configured as a single trail (or one per source account) to deliver to a centralized S3 bucket in a dedicated logging account. The logging account's S3 bucket policy must explicitly authorize cloudtrail.amazonaws.com for each source account, usually with a source account and source ARN condition, so CloudTrail can write objects to a per-source prefix. This creates an immutable, central log store that source-account administrators cannot modify or delete, and it is a standard, well-supported pattern for centralized logging.

  • Stream logs to Amazon Kinesis Data Firehose in each account and consolidate into a single S3 bucket via cross-account delivery.

    Why it's wrong here

    Streaming logs via Kinesis Data Firehose in each account with cross-account delivery to a single S3 bucket is a functional log centralisation method. However, it is not the most secure because it requires each source account's Firehose stream to be granted direct write permissions to the central S3 bucket. This approach grants individual source accounts direct access, which can be less controlled than solutions where the central account explicitly defines write permissions via S3 bucket policies, or uses services like CloudTrail or Config aggregation that inherently manage cross-account log delivery securely. Firehose is excellent for real-time data ingestion and transformation within a single account or to a central account when the focus is on throughput and processing, rather than the strictest cross-account security posture.

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 376 original SCS-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 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.