Monitoring Flashcards

1
Q

We’d like to have CloudWatch Metrics for EC2 at a 1 minute rate. What should we do?

A

Enable Detailed Monitoring

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

High Resolution Custom Metrics can have a minimum resolution of

A

1 second

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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?

A

the Alarm will remain in Alarm state but never decrease the number of instances in ASG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

An Alarm on a High Resolution Metric can be triggered as often as

A

10 seconds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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?

A

CloudWatch

CloudWatch is used to monitor the applications performance / metrics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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?

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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?

A

set up config rules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

You would like to evaluate the compliance of your resource’s configurations over time. Which technology do you choose?

A

Config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly