ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

471 / 500

Question 471:

You work in a large organization and manage hundreds of EC2 instances in both non-production and production environments. To reduce cost, you want to automatically stop and start some non-production EC2 instances at regular intervals. For example, these instances should be stopped at 10:00PM every night and started at 6:30AM every morning. All the selected EC2 instances already have a special tag called "cost-saving". Which of the following actions would you choose to achieve the requirement? (Select TWO.)

Answer options:

A.Create a CloudWatch Event rule that is triggered periodically with two cron expressions.
B.Create two Lambda functions that are used to stop and start the EC2 instances with the"cost-saving" tag.
C.Configure an EC2 Savings Plan that stops instances at 10:00PM and starts instances at 6:30AM if the instances have the "cost-saving" tag.
D.Configure two CloudWatch Event rules that self-trigger on an automated schedule using cron expressions. Add the Lambda function as the target.
E.Add the instances under multiple Auto Scaling groups. Create a scheduled scaling policy that reduces the desired number to 0 at 10:00PM and increases the desired number to 1 at 6:30AM.