nerdexam
Amazon

SOA-C02 · Question #198

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…

The correct answer is A. Convert the Python script to an AWS Lambda function. Use an Amazon EventBridge (Amazon. https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/RunLambdaSchedule.html

Submitted by anjalisingh· Mar 30, 2026Deployment, Provisioning, and Automation

Question

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?

Options

  • AConvert the Python script to an AWS Lambda function. Use an Amazon EventBridge (Amazon
  • BConvert the Python script to an AWS Lambda function. Use AWS CloudTrail to invoke the
  • CDeploy the Python script to an Amazon EC2 instance. Use Amazon EventBride (Amazon
  • DDeploy the Python script to an Amazon EC2 instance. Use AWS Systems Manager to schedule

How the community answered

(52 responses)
  • A
    75% (39)
  • B
    4% (2)
  • C
    13% (7)
  • D
    8% (4)

Explanation

https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/RunLambdaSchedule.html

Topics

#AWS Lambda#Amazon EventBridge#scheduled automation#serverless

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice