Courseiva
Design Solutions for Organizational ComplexityhardMultiple ChoiceObjective-mapped

SAP-C02 Practice Question: Design Solutions for Organizational Complexity

A company has a multi-account AWS environment with a central logging account and multiple workload accounts. The security team requires that all VPC Flow Logs be delivered to a central S3 bucket in the logging account. The VPC Flow Logs are encrypted with a customer-managed KMS key in the logging account. The workload accounts have created VPC Flow Logs, but the logs are not appearing in the central S3 bucket. The IAM role used by VPC Flow Logs in the workload accounts has the necessary permissions to deliver logs to the central S3 bucket. What is the most likely cause of the issue?

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 KMS key policy in the logging account does not grant the VPC Flow Logs service principal permission to use the key.

Even though the IAM role in the workload account has permissions to write to the S3 bucket, the KMS key policy in the logging account must explicitly grant the VPC Flow Logs service principal permission to use the key for encryption. Without this key policy statement, the logs cannot be encrypted and delivered. Option A is incorrect because VPC Flow Logs can be delivered directly to S3 without CloudWatch Logs. Option B is incorrect because a bucket policy denying workload accounts would be an issue, but the question states the IAM role has necessary permissions, and the key policy is the missing piece. Option C is incorrect because encryption in transit is not a common requirement for VPC Flow Logs delivery to S3, and the issue is about encryption at rest using KMS.

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 VPC Flow Logs are being delivered to CloudWatch Logs instead of S3.

    Why it's wrong here

    If configured for S3, they go directly to S3.

  • The S3 bucket policy denies access to the workload accounts.

    Why it's wrong here

    Bucket policy is likely correct if IAM role has permissions.

  • The S3 bucket has a bucket policy that requires encryption in transit.

    Why it's wrong here

    Not relevant to missing logs.

  • The KMS key policy in the logging account does not grant the VPC Flow Logs service principal permission to use the key.

    Why this is correct

    Key policy must allow the service principal from workload accounts.

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 SAP-C02 question is part of Courseiva's 1,660-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 SAP-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 SAP-C02 exam.