Course menuDOP-C02

Exams / DOP-C02 / CloudTrail, Access Analyzer, Inspector and auditing / Question 1

DOP-C02 practice question: CloudTrail, Access Analyzer, Inspector and auditing (1 of 2)

Security and Compliance A free question from our original DOP-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

A logistics company has 50 AWS accounts. Its security team needs an audit trail of API activity in every account and Region, and it must be able to prove that stored log files have not been changed or deleted.

The log files must be kept in a dedicated log archive account, so that the workload account administrators cannot read or alter them. Engineers in the workload accounts should not need to change their own trails.

Which configuration meets these requirements?

Choose one answer.

  1. A. Create a CloudTrail trail in each workload account that delivers to a bucket in that same account, with log file validation enabled and a bucket policy that the account administrators can edit.
  2. B. Enable AWS Config in each account with a configuration recorder, and deliver the configuration history to a bucket in the log archive account, so that every API call is recorded there.
  3. C. Create a CloudTrail trail in the management account for only the Organizations API calls, and rely on the workload accounts' default event history for their own API activity.
  4. D. Create an organization trail from the management account, delivering to a bucket in the log archive account with log file validation enabled and Object Lock turned on, and cover every Region in the trail.
Show the answer and explanation

Answer: D

Explanation

An organization trail created from the management account records activity in every member account and Region and delivers it to a single archive account. Log file validation lets the team prove the files are unchanged, and Object Lock keeps them from being deleted or altered. Per-account trails, Config history and a narrow management trail each miss a requirement.

An organization trail delivering to a log archive account The management account creates one organization trail. It records activity in every member account, including new ones, in every Region, and delivers the logs to a central S3 bucket in the log archive account, protected with log file integrity validation and Object Lock. Management account creates the organization trail Member accounts Account Account New account every account and Region Log archive account Central S3 bucket integrity validation, Object Lock
Log file validation proves the logs are unchanged, and Object Lock stops anyone deleting them.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on CloudTrail, Access Analyzer, Inspector and auditing? The 5 full-length practice sets have 10 more CloudTrail, Access Analyzer, Inspector and auditing questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets