Courseiva

SCS-C02 Security Logging and Monitoring Practice Question

A company uses AWS CloudTrail to log all API calls in their AWS account. They need to ensure that log files are not tampered with after they are delivered to the S3 bucket. Which feature should be enabled to provide integrity validation?

⚠ Common exam trap

Test-takers frequently confuse data protection features like encryption or versioning with integrity validation, but only CloudTrail's built-in integrity validation provides cryptographic proof that log files have not been tampered with after delivery.

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

✓

Enable CloudTrail log file integrity validation.

CloudTrail log file integrity validation uses a SHA-256 hash chain to detect if log files have been modified, deleted, or tampered with after delivery to S3. When enabled, CloudTrail delivers a digest file that contains hashes of the log files, allowing you to verify that no unauthorized changes have occurred. This is the only feature specifically designed for integrity validation of CloudTrail logs.

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 S3 Versioning on the CloudTrail bucket.

    Why it's wrong here

    Enabling S3 Versioning on the CloudTrail bucket preserves overwritten and deleted log file versions, so an auditor could potentially recover prior copies after an incident. However, versioning does not validate the integrity of the current or historical objects—any version could itself be altered, and nothing detects that a log file's content differs from what CloudTrail originally delivered. It is a data-retention and availability control, not a tamper-evidence mechanism, so it cannot confirm whether the logs have been modified.

  • ✗

    Enable S3 server-side encryption with SSE-S3.

    Why it's wrong here

    SSE-S3 encryption protects the confidentiality of CloudTrail logs by encrypting objects at rest with Amazon-managed keys. Encryption alone does not establish integrity: an attacker or a process with PutObject permissions can rewrite log data and the encrypted object will still decrypt successfully, leaving no cryptographic proof that the content was changed after delivery. Since the requirement is to detect tampering rather than prevent unauthorized reads, SSE-S3 is not a valid integrity-control answer.

  • ✓

    Enable CloudTrail log file integrity validation.

    Why this is correct

    CloudTrail log file integrity validation is the correct choice because it provides cryptographic verification of the log files: every log file's SHA-256 hash is included in a separate, frequently issued digest file that is signed with a private key. This hash chain lets you detect whether a log file was modified, deleted, or replaced after CloudTrail delivered it, and you can verify digests using the public key that CloudTrail publishes. Because an attacker would need the private key to forge a valid digest, this feature directly satisfies the requirement to determine whether CloudTrail logs have been tampered with.

  • ✗

    Enable S3 Object Lock on the CloudTrail bucket.

    Why it's wrong here

    S3 Object Lock provides write-once-read-many (WORM) protection, and when combined with a retention mode it prevents objects from being deleted or overwritten until the retention period expires. It does not, however, validate the content of those objects—it will block writes and deletes, but it will not reveal whether an object was modified before the lock was applied or produce any digest that proves current content matches the original. Object Lock is an immutability and retention control, not a cryptographic integrity-verification feature, so it fails to address the core requirement.

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

This SCS-C02 question is part of Courseiva's 1,205-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.