Topic 1 Question 152
A company uses a three-tier web application to provide training to new employees. The application is accessed for only 12 hours every day. The company is using an Amazon RDS for MySQL DB instance to store information and wants to minimize costs. What should a solutions architect do to meet these requirements?
Configure an IAM policy for AWS Systems Manager Session Manager. Create an IAM role for the policy. Update the trust relationship of the role. Set up automatic start and stop for the DB instance.
Create an Amazon ElastiCache for Redis cache cluster that gives users the ability to access the data from the cache when the DB instance is stopped. Invalidate the cache after the DB instance is started.
Launch an Amazon EC2 instance. Create an IAM role that grants access to Amazon RDS. Attach the role to the EC2 instance. Configure a cron job to start and stop the EC2 instance on the desired schedule.
Create AWS Lambda functions to start and stop the DB instance. Create Amazon EventBridge (Amazon CloudWatch Events) scheduled rules to invoke the Lambda functions. Configure the Lambda functions as event targets for the rules.
ユーザの投票
コメント(17)
https://aws.amazon.com/blogs/database/schedule-amazon-rds-stop-and-start-using-aws-lambda/
It is option D. Option A could have been applicable had it been AWS Systems Manager State Manager & not AWS Systems Manager Session Manager
👍 25study_aws12022/10/30- 正解だと思う選択肢: A
A is true for sure. "Schedule Amazon RDS stop and start using AWS Systems Manager" Steps in the documentation: 1. Configure an AWS Identity and Access Management (IAM) policy for State Manager. 2. Create an IAM role for the new policy. 3. Update the trust relationship of the role so Systems Manager can use it. 4. Set up the automatic stop with State Manager. 5. Set up the automatic start with State Manager. https://aws.amazon.com/blogs/database/schedule-amazon-rds-stop-and-start-using-aws-systems-manager/
👍 7123jhl02022/10/20 - 正解だと思う選択肢: D
Option D is the one. Option A could be as well if it referred to State Manager instead of Session Manager.
👍 5ArielSchivo2022/11/09
シャッフルモード