AWS Certified SysOps Administrator – Associate — Question 429

A SysOps administrator developed a Python script that uses the AWS SDK to conduct several maintenance tasks. The script needs to run automatically every night.
What is the MOST operationally efficient solution that meets this requirement?

Answer options

Correct answer: A

Explanation

AWS Lambda is a serverless compute service that eliminates the operational overhead of managing underlying infrastructure, making it the most operationally efficient choice. Amazon EventBridge (formerly CloudWatch Events) can natively trigger Lambda functions on a time-based schedule using cron or rate expressions. In contrast, using Amazon EC2 instances introduces unnecessary management overhead, and AWS CloudTrail is an auditing tool that cannot schedule tasks.