ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 3 - SOA-C02 discussion

Report
Export

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?

A.
Convert the Python script to an AWS Lambda function. Use an Amazon EventBridge (Amazon CloudWatch Events) rule to invoke the function every night.
Answers
A.
Convert the Python script to an AWS Lambda function. Use an Amazon EventBridge (Amazon CloudWatch Events) rule to invoke the function every night.
B.
Convert the Python script to an AWS Lambda function. Use AWS CloudTrail to invoke the function every night.
Answers
B.
Convert the Python script to an AWS Lambda function. Use AWS CloudTrail to invoke the function every night.
C.
Deploy the Python script to an Amazon EC2 instance. Use Amazon EventBride (Amazon CloudWatch Events) to schedule the instance to start and stop every night.
Answers
C.
Deploy the Python script to an Amazon EC2 instance. Use Amazon EventBride (Amazon CloudWatch Events) to schedule the instance to start and stop every night.
D.
Deploy the Python script to an Amazon EC2 instance. Use AWS Systems Manager to schedule the instance to start and stop every night.
Answers
D.
Deploy the Python script to an Amazon EC2 instance. Use AWS Systems Manager to schedule the instance to start and stop every night.
Suggested answer: A

Explanation:

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

asked 16/09/2024
Alper Atar
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first