SCS-C03 practice question 14 of 15

A company needs to build a code-signing solution using an AWS KMS asymmetric key and must store immutable evidence of key creation and usage for compliance and audit purposes. Which solution meets these requirements?

Full set: 227 questions
Answer options
A: Create an Amazon S3 bucket with S3 Object Lock enabled. Create an AWS CloudTrail trail with log file validation enabled for KMS events. Store logs in the bucket and grant auditors access. Correct answer
B: Log application events to Amazon CloudWatch Logs and export them.
C: Capture KMS API calls using EventBridge and store them in DynamoDB.
D: Track KMS usage with CloudWatch metrics and dashboards.
Correct Answer:
A. Create an Amazon S3 bucket with S3 Object Lock enabled. Create an AWS CloudTrail trail with log file validation enabled for KMS events. Store logs in the bucket and grant auditors access.
Explanation

To meet the requirements for immutable evidence for compliance, a combination of AWS CloudTrail and Amazon S3 Object Lock is the correct solution. CloudTrail captures all AWS KMS API calls (key creation, usage, etc.) as auditable log events. Enabling log file validation provides cryptographic assurance that the logs have not been altered after delivery. Storing these validated logs in an S3 bucket with Object Lock in Compliance mode ensures the logs are immutable (WORM - Write-Once, Read-Many) for the specified retention period, fulfilling stringent audit requirements.

Why Incorrect

B. CloudWatch Logs does not provide the same built-in, verifiable immutability and cryptographic log file validation as the CloudTrail and S3 Object Lock solution.
C. This is a custom, less robust solution. It lacks the comprehensive, verifiable audit trail and immutability features that are standard with AWS CloudTrail.
D. CloudWatch metrics provide aggregated, numerical data (e.g., number of API calls), not the detailed, immutable log records of specific events needed for an audit.

References

1. AWS CloudTrail Documentation. (2023). Validating CloudTrail log file integrity. AWS CloudTrail User Guide. "Log file validation helps you determine if a log file was unchanged, deleted, or modified after CloudTrail delivered it."

2. Amazon S3 Documentation. (2023). Using S3 Object Lock. Amazon S3 User Guide. "S3 Object Lock can help you prevent objects from being deleted or overwritten for a fixed amount of time or indefinitely... to meet regulatory requirements that require write-once, read-many (WORM) storage."

3. AWS Key Management Service Documentation. (2023). Logging AWS KMS API calls with AWS CloudTrail. AWS KMS Developer Guide. "AWS KMS is integrated with AWS CloudTrail, a service that provides a record of actions taken by a user, role, or an AWS service in AWS KMS."

Scroll to Top