exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 590 discussion

Exam question from Amazon's AWS-SysOps
Question #: 590
Topic #: 1
[All AWS-SysOps Questions]

A Developer created an AWS Lambda function and has asked the SysOps Administrator to make this function run every 15 minutes.
What is the MOST efficient way to accomplish this request?

  • A. Create an Amazon EC2 instance and schedule a cron to invoke the Lambda function.
  • B. Create a Repeat Time variable inside the Lambda function to invoke the Lamdba function.
  • C. Create a second Lambda function to monitor and invoke the first Lamdba function.
  • D. Create an Amazon CloudWatch scheduled event to invoke the Lambda function.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
https://docs.aws.amazon.com/lambda/latest/dg/with-scheduled-events.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
saumenP
Highly Voted 2 years, 7 months ago
D is correct
upvoted 13 times
...
saumenP
Highly Voted 2 years, 7 months ago
https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/RunLambdaSchedule.html
upvoted 5 times
white_shadow
2 years, 6 months ago
"You can also use CloudWatch Events to schedule automated actions that self-trigger at certain times using cron or rate expressions."
upvoted 1 times
...
...
albert_kuo
Most Recent 10 months ago
Selected Answer: D
Amazon CloudWatch allows you to schedule events at specified intervals using cron or rate expressions. You can create a CloudWatch scheduled event with a cron expression that triggers the Lambda function at the desired interval, in this case, every 15 minutes. By configuring the CloudWatch scheduled event to invoke the Lambda function, you can ensure that the function runs automatically and at the specified frequency without the need for additional infrastructure or manual intervention. This is a cost-effective and efficient way to schedule and automate the execution of the Lambda function.
upvoted 1 times
...
Finger41
1 year, 10 months ago
Selected Answer: D
Old question, now its Event Bridge. https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-run-lambda-schedule.html
upvoted 1 times
...
sapien45
2 years, 5 months ago
It would be EventBridge now
upvoted 1 times
...
RicardoD
2 years, 6 months ago
D is the answer CW events rules allows you to schedule events that can trigger many different actions into aws services
upvoted 1 times
...
HVarada
2 years, 6 months ago
Answer "D". CloudWatch Events scheduler works like CRON jobs. So, this is the easiest way to trigger Lambda functions periodically.
upvoted 2 times
...
abhishek_m_86
2 years, 6 months ago
D. Create an Amazon CloudWatch scheduled event to invoke the Lambda function.
upvoted 2 times
...
jackdryan
2 years, 6 months ago
I'll go with D
upvoted 2 times
...
MFDOOM
2 years, 6 months ago
D. Create an Amazon CloudWatch scheduled event to invoke the Lambda function.
upvoted 3 times
...
sen12
2 years, 6 months ago
You can create rules that self-trigger on an automated schedule in CloudWatch Events using cron or rate expressions. All scheduled events use UTC time zone and the minimum precision for schedules is 1 minute. CloudWatch Events supports cron expressions and rate expressions. Rate expressions are simpler to define but don't offer the fine-grained schedule control that cron expressions support. For example, with a cron expression, you can define a rule that triggers at a specified time on a certain day of each week or month. In contrast, rate expressions trigger a rule at a regular rate, such as once every hour or once every day.
upvoted 3 times
...
Abreddy
2 years, 6 months ago
Thanks Saumen for providing the reference.
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago