‹ All DOP-C02 questions

DOP-C02 Practice Question 10: Organization Trail Log Integrity

AWS Certified DevOps Engineer – Professional (DOP-C02) · Test 1 · question 10 of 10

Security and Compliancehard

An auditor requires that management-event API activity from every account in an AWS Organization (including accounts created after the control is put in place) be captured in a single Log Archive account, and that the organization be able to prove cryptographically that no delivered log file was modified or deleted after the fact. Member account administrators must not be able to stop or reconfigure the collection for their own account.

Which solution meets all of these requirements?

Select one answer
Show answer and explanation

Answer:

  • C. Enable an organization trail in the management account writing to a bucket in the Log Archive account, turn on CloudTrail log file integrity validation, and verify delivered files with the digest files using aws cloudtrail validate-logs

An organization trail is created once in the management account (or by a delegated administrator) and automatically logs events for every member account, including accounts joined later. Member account administrators see the trail but cannot modify or delete it, it is read-only from their side, which is what the last constraint requires. Log file integrity validation is the piece that supplies the cryptographic proof: CloudTrail computes a SHA-256 hash of each delivered log file and writes hourly *digest files*, each signed with a private key whose chain links to the previous hour's digest. aws cloudtrail validate-logs walks that chain and reports any log file that was altered or deleted, and any gap in the digest chain itself. No other option produces a verifiable assertion of that kind.

Option A gets coverage but not the guarantee. Per-account trails deployed by a StackSet are owned by the member accounts, so a local administrator can stop or reconfigure one, and the StackSet would have to be re-run or auto-deployed for each new account. Macie discovers sensitive data in S3; it does not attest to file integrity.

Option B has the right trail but the wrong integrity control. KMS encryption protects confidentiality and Versioning preserves prior object versions, but neither produces a signed hash you can present to an auditor, and a principal with sufficient S3 permissions can still delete versions. The stem asks specifically for cryptographic proof, which is CloudTrail's integrity validation feature.

Option D collects the wrong data. AWS Config records resource configuration state and compliance, not the API-call management events the auditor asked for. Object Lock in compliance mode does make the delivery bucket tamper-resistant, but it is a retention control on stored objects, not a means of validating that a given log file matches what CloudTrail originally emitted.

Reference: Validating CloudTrail log file integrity

Practice Test 1 ›

Study guides for DOP-C02

AWS Service Control Policies Explained: SCPs and DenialsAWS service control policies explained: how SCPs cap permissions, why admins still get access denied, inheritance, deny vs allow lists and the exam traps.
How AI Is Changing Software Jobs: Where to PrepareHow AI is changing software jobs: what history shows, the evidence on junior developers, what Klarna learned, new AI roles and five domains to prepare for.
How AWS Certification Exams Work: Scoring and RenewalHow AWS certification exams work: levels, booking, question types, unscored questions, scaled scores, pass marks, validity and how recertification works.
What Is Amazon RDS? Multi-AZ, Read Replicas and BackupsWhat is Amazon RDS? Engines, Multi-AZ, read replicas, backups, RDS Proxy, Aurora and pricing explained, with the traps that AWS exams set around each one.
Best DevOps certification: AWS, Azure, Google or CKAThe best DevOps certification for your stack: AWS DOP-C02, Azure AZ-400, Google Cloud DevOps Engineer and CKA compared on cost, level and prerequisites.
What Is AWS Lambda? Triggers, Concurrency and Cold StartsWhat is AWS Lambda? How functions run, cold starts, triggers vs event source mappings, concurrency, layers, aliases, pricing and the exam traps.
AWS CloudOps Engineer Associate (SOA-C03) exam guideAWS Certified CloudOps Engineer – Associate (SOA-C03) replaced SysOps Administrator. Format, cost, the five domains, what changed and how to prepare.
Which AWS certification should you get? 2026 roadmapWhich AWS certification to get first, by role and experience, with each exam's status in October 2026, what is changing, and prices in USD and INR.
What Is Amazon EC2? Instances, AMIs, EBS and Auto ScalingAmazon EC2 explained: instances, AMIs, instance types, security groups, EBS, Auto Scaling groups and pricing options, with the traps AWS exams set.
SQS vs SNS vs EventBridge on AWSWhen to use an SQS queue, an SNS topic or an EventBridge bus, plus fan-out, FIFO ordering, visibility timeouts and dead-letter queues for AWS exams.