SAA-C03: CloudTrail, CloudWatch and AWS Config

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/44

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:27 PM on 5/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

45 Terms

1
New cards

Ways to help keep you environment secure

  • Tracking Performance

  • Detecting Application Problems

  • Detecting Security Problems

  • Logging Events

  • Maintaining an Inventory of AWS Resources

2
New cards

CloudTrail

Kees detailed logs of every read or write action that occurs against your AWS resources

3
New cards

CloudWatch

collects numeric performance metrics from AWS and non-AWS resources such as on-premises servers

4
New cards

AWS Config

tracks how your AWS resources are configured and how they change over time

5
New cards

CloudTrail Logs

logs both API and non-API actions. API actions include launching an instance, creating an S3 bucket. Non-API actions include logging into the management console

6
New cards

CloudTrail Management Events types

  • Write-Only Events

  • Read-Only Events

7
New cards

CloudTrail Write-Only Events

API operations that modify or might modify resources. ex)RunInstances or logging in as the root user

8
New cards

CloudTrail Read-Only Events

API Operations that read resources that DON’T make changes ex)DescribeInstances

9
New cards

Data Events

Tracks two types of data: S3 Object-level activity and Lambda function executions

10
New cards

Event History

CloudTrail logs 90 days of management events and stores them in a viewable, searchable and downloadable database called event history.

11
New cards

Trails

configuration that records specified events and delivers them as CloudTrail log files in an S3 bucket

12
New cards

Components of a log entry

  • eventTime

  • userIdentity

  • eventSource

  • eventName

  • awsRegion

  • sourceIPAddress

Not limited to this.

13
New cards

How many trails can you have per region?

5

14
New cards

Management events vs. data events

Management events - a global service that tracks service events

Data events - track up to 250 individual OBJECTS like lambda and S3 buckets

15
New cards

Log file integrity validation

CloudTrail provides integrity validation by storing logs in an S3 bucket. So if CloudTrail gets compromised by the hacker deleting logs, There’s an S3 bucket with everything in it.

16
New cards

digest file

Every hour CloudTrail creates a file with cryptographic hashes of all the log files created in CloudTrail and stored in an S3 bucket.

17
New cards

How often is a digest file created?

Created every hour

18
New cards

Steps to validate the digest file

  1. Go to AWS CLI

  2. specify the ARN of the trail and start time

19
New cards

CloudWatch

collects, retrieve and graph numeric performance metrics from AWS and non-AWS resources.

20
New cards

How are CloudWatch Metrics organized?

Namespaces (Ex. AWS/Service, CW/Agent, etc.)

21
New cards

Basic Monitoring vs. Detailed Monitoring

Basic Monitoring - sends metrics to CW every five minutes (this becomes an average)

Detailed monitoring - publish metrics every minute

22
New cards

TRUE or FALSE: You can delete CloudWatch metrics.

FALSE - you cannot delete them, they expire on their own.

23
New cards

Graphing metrics use the following statistics:

  • Sum

  • Minimum

  • Maximum

  • Average

  • Sample Count

  • Percentile

24
New cards

CloudWatch Logs

feature of CloudWatch that collects and stores logs from AWS and non-AWS resources

25
New cards

Log Stream vs. Log Groups

Log streams - access logs from individual resources like separate EC2 (xlinkcloud, xquery, calcserver)

Log groups - how all the streams are put together

26
New cards

What is the default setting for log retention?

Indefinitely

27
New cards

CloudWatch Agent

Command line-based program that collects logs from EC2 instances and on-premises servers running Linux or Windows.

28
New cards

CloudWatch Alarms

monitors a single metric and performs an action based on a change in its value

29
New cards

Examples of CloudWatch Actions

  • email notification

  • rebooting an instance

  • executing an ASG action

30
New cards

Threshold

value the data point to monitor must meet or cross to indicate something is wrong

31
New cards

Types of thresholds

  • Static Threshold

  • Anomaly Detection

  • Metric Math Expression

32
New cards

Static threshold examples

CPUUtilization, mem_used_percent, disk_used_percent

33
New cards

Anomaly Detection

based on whether a metric falls outside of a range of values called a band.

34
New cards

Metric Math Expression

evaluate one or more CloudWatch metrics using a metric math expression

35
New cards

Once an alarm is triggered, what are the options for actions?

  • SNS

  • ASG action like spinning up a new instance

  • EC2 action like stop, terminate, reboot or recover

36
New cards

EventBridge

monitors for and takes an action either based on specific events or on a schedule

37
New cards

EventBridge vs. CloudWatch Alarms

EventBridge - takes some action based on specific events

CloudWatch Alarms - takes some action based on metrics

38
New cards

Event Buses

The way EventBridge monitors events

39
New cards

EventBridge Rules and Targets

rules defines the action to take in response to an event. Create the rule to watch for targets to complete the action.

40
New cards

AWS Config

Tracks the configuration state of your resources at a point in time

41
New cards

CloudTrail vs. Eventbridge vs. Config

CloudTrail - logs events

EventBridge - deals with events or actions that occur against a resource

Config - Deals with the state of the resource

42
New cards

AWS Config can help with the following objectives:

  • Security

  • Easy Audit reports

  • Troubleshooting

  • Change Management

43
New cards

AWS Config - Security

Notify of configuration changes and potential breaches

44
New cards

AWS Easy Audit Reports

Provides a configuration snapshot report showing how resources were configured at any point in time

45
New cards

AWS Config - Troubleshooting