Courseiva
Question 1,393 of 724
SecurityhardMultiple ChoiceObjective-mapped

DVA-C02 Security Practice Question

A developer needs to ensure that every cryptographic operation performed on an AWS KMS customer master key (CMK) used for server-side encryption in Amazon S3 is recorded in AWS CloudTrail for auditing. The developer has already enabled CloudTrail and is logging management events. However, the security team wants to see all calls to the KMS Decrypt and Encrypt APIs for this specific key. What must the developer do?

⚠ Common exam trap

Candidates often confuse S3 server-side encryption with KMS data events, assuming that logging S3 bucket data events will capture KMS calls, when in fact KMS data-plane operations require explicit data event logging on the KMS key itself.

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 data events for the specific KMS key ARN.

CloudTrail data events can be configured to log individual API operations (such as Decrypt and Encrypt) on specific KMS keys. By default, CloudTrail management events do not include these data-plane operations; enabling data events for the specific KMS key ARN ensures every cryptographic call is recorded for auditing.

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 CloudTrail data events for the S3 bucket containing the encrypted objects.

    Why it's wrong here

    Enabling CloudTrail data events for an S3 bucket logs object-level API operations such as GetObject, PutObject, and DeleteObject directly on the S3 objects. While these objects might be encrypted using AWS KMS, the S3 data events do not capture the actual KMS API calls (e.g., Encrypt, Decrypt) that S3 makes to KMS on behalf of the user. To audit the cryptographic operations themselves, KMS-specific data events must be configured.

  • Create an additional CloudTrail trail that logs all management events for the KMS key.

    Why it's wrong here

    Creating an additional CloudTrail trail that logs only management events will not fulfill the requirement to audit cryptographic operations. CloudTrail management events primarily capture control plane operations, such as creating, modifying, or deleting KMS keys and their policies (e.g., CreateKey, DisableKey, PutKeyPolicy). They do not log data plane operations like Encrypt, Decrypt, or GenerateDataKey, which are the actual cryptographic operations performed using the key.

  • Enable CloudTrail data events for the specific KMS key ARN.

    Why this is correct

    CloudTrail data events for KMS record every call to Decrypt, Encrypt, GenerateDataKey, etc. By specifying the key ARN in the data event selector, only operations on that key are logged, meeting the audit requirement without excessive logging.

  • Enable CloudTrail Insights events on the existing trail.

    Why it's wrong here

    CloudTrail Insights is an advanced feature that analyzes existing CloudTrail events to detect unusual API activity patterns, such as spikes in API calls or calls from unusual locations. However, Insights does not change which types of events are logged by the trail. If the underlying trail is not already configured to capture KMS data events (like Encrypt or Decrypt), Insights will have no cryptographic operations to analyze or detect anomalies from, as it only processes events that are already being recorded.

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

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This DVA-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 DVA-C02 exam.