AWS Certified Developer – Associate — Question 183
A developer at a company needs to create a small application that makes the same API call once each day at a designated time. The company does not have infrastructure in the AWS Cloud yet, but the company wants to implement this functionality on AWS.
Which solution meets these requirements in the MOST operationally efficient manner?
Answer options
- A. Use a Kubernetes cron job that runs on Amazon Elastic Kubernetes Service (Amazon EKS).
- B. Use an Amazon Linux crontab scheduled job that runs on Amazon EC2.
- C. Use an AWS Lambda function that is invoked by an Amazon EventBridge (Amazon CloudWatch Events) scheduled event.
- D. Use an AWS Batch job that is submitted to an AWS Batch job queue.
Correct answer: C
Explanation
The correct answer is C because using an AWS Lambda function with an Amazon EventBridge scheduled event is the most efficient solution that does not require managing servers or infrastructure. Options A and B involve more operational overhead due to server management, while D is unnecessary for a simple daily task as it introduces complexity and resource management that isn't required.