Monitoring and Audit Flashcards

1
Q

What are the type of events that are logged by CloudTrail?

A

Management Events: operations performed on AWS resources, e.g. create a Policy, create a new S3 bucket or delete one, Create a Subnet, etc..
Data Events: e.g. get or put object in S3, invoke Lambda, etc…
Insight Events: unusual activities, e.g. innacurate resource provisioning, hitting service limits, burst of IAM actions, etc…

Only Management Events are enabled by default

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

Where can CloudTrail logs be stored?

A

S3 or CloudWatch Logs

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

What’s the retention period of CloudTrail?

A

90 days, to retain longer, log them to S3

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

You have enabled AWS Config to monitor Security Groups if there’s unrestricted SSH access to any of your EC2 instances. Which AWS Config feature can you use to automatically re-configure your Security Groups to their correct state?

A

Config Rules Remediations

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

What’s the difference between AWS Personal Health Dashboard and AWS Service Health Dashboard?

A

Personal shows events that are related to your account instances
Service shows events related to general service or regional failures

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

Can a CoudWatch alarm trigger an EC2 instance action?

A

Yes, an alarm can trigger an action to stop, terminate, reboot or recover an EC2 instance

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

What are the default settings of CloudTrail?

A

By default only management events are logged, the logs are stored in S3 with SSE encryption and the trail applies to all regions

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