CLF-C02 practice question: Monitoring, logging and auditing (2 of 2)
Security and Compliance A free question from our original CLF-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.
A company has 15 AWS accounts in AWS Organizations.
Its auditors need a record of every API call in all accounts, kept for five years in one central location. Today the security team checks each account's CloudTrail event history by hand.
Which approach meets the requirement with the LEAST manual work?
Choose one answer.
AA. Export each account's CloudTrail event history every quarter and save the files on a shared drive
BB. Create an organization trail that sends every account's logs to one S3 bucket kept five years
CC. Turn on AWS Config recording in each account, so every API call is stored as a configuration item
DD. Enable VPC flow logs in every VPC, so each network flow is stored with its source IP address, port and action
Show the answer and explanation
Answer: B
A. Wrong: Event history keeps only the past 90 days in each Region, and this manual export must be repeated for every account. It is not a continuous, central record for the whole organization.
B. Right: Correct. An organization trail logs events for the management account and every member account, and delivers them to one S3 bucket. A lifecycle rule on that bucket keeps the logs for five years, so no account needs manual work. Learn more: Creating a trail for an organization (opens in a new tab)
C. Wrong: AWS Config records configuration changes to resources, not every API call. It also needs setup in each account, so it does not meet the audit requirement.
D. Wrong: VPC flow logs record IP traffic metadata that passes through VPC network interfaces. They do not record AWS API calls, so they cannot serve as the audit record.
Explanation
An organization trail records API activity for the management account and all member accounts, and delivers the logs to one central S3 bucket. CloudTrail event history covers only the past 90 days in each Region, so it cannot be the audit record. AWS Config and VPC flow logs record different things, configuration changes and network traffic.
One organization trail covers all 15 accounts and delivers every log to a single bucket kept for five years.
Want more on Monitoring, logging and auditing? The 5 full-length practice sets have 10 more Monitoring, logging and auditing questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →