Practice free →
HomeAWS Cloud Practitionercloudcomputingsecuritycompliance › Which AWS service logs all API calls made agains…

Which AWS service logs all API calls made against the AWS account, so administrators can audit who did what and when?

AAmazon CloudWatch Logs (which only collects application log files)
BAWS CloudTrail
CAWS Cost Explorer (which only shows spend over time)
DAWS Trusted Advisor (which only flags best-practice gaps)
Answer & Solution
Correct answer: B. AWS CloudTrail
CloudTrail records every API call to AWS (console, CLI, SDK, internal services) into immutable log files. CloudWatch Logs ingests app/server logs, Trusted Advisor inspects configurations, and Cost Explorer is for billing — none of those answers "who called the AWS API."
Solve this in the app — AWS Cloud Practitioner practice & 24k+ MCQs →
Related questions