Monitoring Flashcards
We’d like to have CloudWatch Metrics for EC2 at a 1 minute rate. What should we do?
Enable Detailed Monitoring
High Resolution Custom Metrics can have a minimum resolution of
1 second
Your CloudWatch alarm is triggered and controls an ASG. The alarm should trigger 1 instance being deleted from your ASG, but your ASG has already 2 instances running and the minimum capacity is 2. What will happen?
the Alarm will remain in Alarm state but never decrease the number of instances in ASG
An Alarm on a High Resolution Metric can be triggered as often as
10 seconds
You have made a configuration change and would like to evaluate the impact of it on the performance of your application. Which service do you use?
CloudWatch
CloudWatch is used to monitor the applications performance / metrics
Someone has terminated an EC2 instance in your account last week, which was hosting a critical database. You would like to understand who did it and when, how can you achieve that?
CloudTrail helps audit the API calls made within your account, so the database deletion API call will appear here (regardless if made from the console, the CLI, or an SDK)
You would like to ensure that over time, none of your EC2 instances expose the port 84 as it is known to have vulnerabilities with the OS you are using. What can you do to monitor this?
set up config rules
You would like to evaluate the compliance of your resource’s configurations over time. Which technology do you choose?
Config