Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 36 discussion

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.
  • 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.
  • D. Deploy the Python script to an Amazon EC2 instance. Use AWS Systems Manager to schedule the instance to start and stop every night.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
airraid2010
Highly Voted 1 year, 6 months ago
Selected Answer: A
Converting the Python script to an AWS Lambda function and using an Amazon EventBridge (Amazon CloudWatch Events) rule to invoke the function every night is a serverless and fully managed solution, which means that the administrator does not have to worry about managing the underlying infrastructure or scaling. AWS Lambda allows for easy deployment, scaling, and management of code in response to events. EventBridge (CloudWatch Events) provides a reliable way to schedule events and to invoke AWS services on a schedule.
upvoted 7 times
...
Aamee
Most Recent 2 weeks, 2 days ago
Selected Answer: A
Def. A as it's asks for 'Operationally efficient' method.
upvoted 1 times
...
jipark
1 year, 3 months ago
Selected Answer: A
the reason for not C : "schedule the instance to start and stop every night." -> restart instance every day sounds non-sense.
upvoted 1 times
...
Gomer
1 year, 7 months ago
Everyone seems to choose A. without a second thought, and there is a default metric for Lambda invocation errors. However, this doesn't deal with the alarms that Lambda may generate while running. Dealing with this requires CloudWatch logs to use patterns such as ?ERROR to parse the log files and generate an alert. Since the question doesn't seem that exotic or specific, "A." is probably the right choice, but this is a tricky question. If you think it isn't, read: https://aws.amazon.com/blogs/mt/get-notified-specific-lambda-function-error-patterns-using-cloudwatch/
upvoted 1 times
Gomer
1 year, 7 months ago
SORRY, DISREGARD MY COMMENT. I MEANT IT FOR QUESTION 37.
upvoted 2 times
...
...
michaldavid
1 year, 11 months ago
Selected Answer: A
aaaaaaaa
upvoted 2 times
...
Liongeek
1 year, 12 months ago
Selected Answer: A
Ans: A
upvoted 1 times
...
Surferbolt
2 years, 1 month ago
Selected Answer: A
A. Lambda is good enough.
upvoted 1 times
...
get_certified
2 years, 2 months ago
Selected Answer: A
Here a lambda function will be the most efficient solution.
upvoted 2 times
...
CiCa560
2 years, 2 months ago
Selected Answer: A
Question asks for 'the MOST operationally efficient solution' Deploying a Python script to an EC2 instance for execution would not be efficient
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...