Question : A user has setup an EBS backed instance and a CloudWatch alarm when the CPU utilization is more than %. The user has setup the alarm to watch it for 5 periods of 5 minutes each. The CPU utilization is 60% between 9 AM to 6 PM. The user has stopped the EC2 instance for 15 minutes between 11 AM to 11:15 AM. What will be the status of the alarm at 11:30 AM?
Explanation: Amazon CloudWatch alarm watches a single metric over a time period the user specifies and performs one or more actions based on the value of the metric relative to a given threshold over a number of time periods. The state of the alarm will be OK for the whole day. When the user stops the instance for three periods the alarm may not receive the data
Question A user is running one instance for only hours every day. The user wants to save some cost with the instance. Which of the below mentioned Reserved Instance categories is advised in this case? 1. The user should not use RI; instead only go with the on-demand pricing 2. The user should use the AWS high utilized RI 3. Access Mostly Uused Products by 50000+ Subscribers 4. The user should use the AWS low utilized RI Ans : 1 Exp : The AWS Reserved Instance provides the user with an option to save some money by paying a one-time fixed amount and then save on the hourly rate. It is advisable that if the user is having 30% or more usage of an instance per day, he should go for a RI. If the user is going to use an EC2 instance for more than 2200-2500 hours per year, RI will help the user save some cost. Here, the instance is not going to run for less than 1500 hours. Thus, it is advisable that the user should use the on-demand pricing.
Question : A user has setup an RDS DB with Oracle. The user wants to get notifications when someone modifies the security group of that DB. How can the user configure that? 1. It is not possible to get the notifications on a change in the security group 2. Configure SNS to monitor security group changes 3. Access Mostly Uused Products by 50000+ Subscribers 4. Configure the CloudWatch alarm on the DB for a change in the security group Ans : 3 Exp : Amazon RDS uses the Amazon Simple Notification Service to provide a notification when an Amazon RDS event occurs. These events can be configured for source categories, such as DB instance, DB security group, DB snapshot and DB parameter group. If the user is subscribed to a Configuration Change category for a DB security group, he will be notified when the DB security group is changed.
Question : A user is trying to setup a recurring Auto Scaling process. The user has setup one process to scale up every day at am and scale down at PM. The user is trying to setup another recurring process which scales up on the 1st of every month at 8 AM and scales down the same day at 7 PM. What will Auto Scaling do in this scenario? 1. Auto Scaling will execute both processes but will add just one instance on the 1st 2. Auto Scaling will add two instances on the 1st of the month 3. Access Mostly Uused Products by 50000+ Subscribers 4. Auto Scaling will throw an error since there is a conflict in the schedule of two separate Auto Scaling
Explanation: Auto Scaling based on a schedule allows the user to scale the application in response to predictable load changes. The user can also configure the recurring schedule action which will follow the Linux cron format. As per Auto Scaling, a scheduled action must have a unique time value. If the user attempts to schedule an activity at a time when another existing activity is already scheduled, the call will be rejected with an error message noting the conflict.
Question : A user is planning to setup infrastructure on AWS for the Christmas sales. The user is planning to use Auto Scaling based on the schedule for proactive scaling. What advise would you give to the user? 1. It is good to schedule now because if the user forgets later on it will not scale up 2. The scaling should be setup only one week before Christmas 3. Access Mostly Uused Products by 50000+ Subscribers 4. It is not advisable to use scheduled based scaling
Explanation: Auto Scaling based on a schedule allows the user to scale the application in response to predictable load changes. The user can specify any date in the future to scale up or down during that period. As per Auto Scaling the user can schedule an action for up to a month in the future. Thus, it is recommended to wait until end of November before scheduling for Christmas.