Drag steps to the numbered slots on the right, or tap a step then tap a slot.
DOP-C02 Incident and Event Response Practice Question
Drag and drop the steps to troubleshoot an AWS CloudTrail that is not logging API calls.
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
Verify CloudTrail is enabled, then Check bucket policy, then Check log file integrity, then Check IAM role, then Test CloudTrail logging
First verify CloudTrail is enabled, then check bucket policy, then check integrity, then check IAM role, then test.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Verify CloudTrail is enabled, then Check bucket policy, then Check log file integrity, then Check IAM role, then Test CloudTrail logging
Why this is correct
This is the correct sequence because you must first confirm the CloudTrail trail actually exists and is in an enabled logging state; if the trail is disabled or never created, every subsequent check is meaningless. Next, verify the S3 bucket policy explicitly grants CloudTrail the s3:PutObject permission, since misconfigured policies are the most frequent cause of silent log delivery failures. Only after confirming delivery authorization should you validate log file integrity using digest files, because integrity checks depend on logs being successfully written in the first place. Then verify the IAM role (used for cross-service delivery such as CloudWatch Logs) has the required permissions, and finally perform an end-to-end test by generating a test event and confirming a new log file appears.
- ✗
Check bucket policy, then Check IAM role, then Verify CloudTrail is enabled, then Check log file integrity, then Test CloudTrail logging
Why it's wrong here
This order is incorrect because it begins with the S3 bucket policy before verifying that CloudTrail is even enabled, so you could spend significant time tuning permissions for a service that is simply turned off or has no trail configured. The IAM role check is also performed too early, as the role's usability depends on both the trail's existence and the bucket policy allowing the role's actions. The logical troubleshooting flow must first establish the service is running, then check authorization layers in dependency order, then validate the resulting logs.
- ✗
Verify CloudTrail is enabled, then Check log file integrity, then Check bucket policy, then Check IAM role, then Test CloudTrail logging
Why it's wrong here
This sequence is wrong because it attempts to check log file integrity before verifying that the S3 bucket policy permits CloudTrail to write logs. If the bucket policy is malformed or denies the required s3:PutObject action, CloudTrail will drop logs entirely, so the digest files used for integrity validation will be stale, missing, or completely nonexistent, making any integrity assessment misleading. The bucket policy is a prerequisite for log delivery; you must confirm the delivery pipeline is functional before wasting effort on verifying the logs that depend on it.
- ✗
Check IAM role, then Verify CloudTrail is enabled, then Check bucket policy, then Check log file integrity, then Test CloudTrail logging
Why it's wrong here
This order mistakenly puts the IAM role check first, even before confirming CloudTrail is enabled and before reviewing the bucket policy that governs S3 access. The IAM role only applies to specific delivery scenarios, such as sending logs to CloudWatch Logs or using a role in another account, whereas the S3 bucket policy is the primary authorization gate for the standard S3 delivery. Checking the role first encourages you to modify or validate permissions that may not even be relevant until both the trail's state and the bucket policy are known, which violates the dependency chain of CloudTrail's logging pipeline.
Go deeper
Related to this question
About these practice questions
This DOP-C02 question is part of Courseiva's 1,013-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 →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DOP-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 DOP-C02 exam.