Courseiva
Security Logging and MonitoringmediumMultiple ChoiceObjective-mapped

SCS-C02 Security Logging and Monitoring Practice Question

A security engineer is troubleshooting why CloudTrail logs are not being delivered to an S3 bucket. The bucket policy allows CloudTrail to write objects, and the trail is configured to log management events. However, no log files appear in the bucket. What is the MOST likely cause?

⚠ Common exam trap

Many exam-takers assume a correct bucket policy is sufficient, overlooking that SSE-KMS encryption introduces a separate permission layer via the KMS key policy, which must explicitly authorize the CloudTrail service principal.

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

The S3 bucket uses SSE-KMS encryption and the trail does not have permission to use the KMS key.

When an S3 bucket uses SSE-KMS encryption, CloudTrail requires explicit permission to use the KMS key for encrypting log files. Even if the bucket policy allows CloudTrail to write objects, the trail will fail to deliver logs if the KMS key policy does not grant the `kms:GenerateDataKey` and `kms:Decrypt` actions to the CloudTrail service principal. This is the most likely cause because the bucket policy appears correct, but the KMS key permissions are missing.

Answer analysis

Option-by-option breakdown

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

  • The trail is not logging data events.

    Why it's wrong here

    Data events are not captured by default, but CloudTrail logs management events automatically for every trail. If the trail is not configured to record data events, you simply won't see S3 object-level API calls in the delivered logs; this does not block CloudTrail from writing the management event log files it is generating. Because the delivery failure affects all event categories, including management events, the absence of data-event logging is not the root cause.

  • The S3 bucket uses SSE-KMS encryption and the trail does not have permission to use the KMS key.

    Why this is correct

    When an S3 bucket uses SSE-KMS encryption, CloudTrail must have permission to call the KMS key to encrypt each delivered log file. Specifically, CloudTrail needs kms:Decrypt and kms:GenerateDataKey actions in the key policy. If those permissions are missing, CloudTrail cannot write the encrypted log objects and stops delivering logs, producing a delivery failure shown on the trail configuration page.

  • The S3 bucket is in a different AWS account.

    Why it's wrong here

    CloudTrail is designed to deliver logs to an S3 bucket in another AWS account as long as the destination bucket has a bucket policy that grants CloudTrail's delivery role s3:PutObject (and optionally s3:GetBucketAcl). Cross-account delivery is a common architecture for centralizing logs, so the bucket being in a different account is not an inherent blocker. If the cross-account permissions were misconfigured, that could cause a failure, but the symptom described here is most consistent with an SSE-KMS permission problem, not a cross-account one.

  • The bucket policy is missing a Deny statement.

    Why it's wrong here

    The bucket policy for a CloudTrail destination should contain an Allow statement that grants CloudTrail permission to write objects (s3:PutObject) to the bucket. The absence of a Deny statement cannot cause log delivery to fail because access is denied by default unless an Allow explicitly grants it; a missing Allow would be the problem. Adding a Deny might block delivery, but lacking one does not prevent CloudTrail from writing.

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