CloudTrail Flashcards
What AWS service do you use when you need to know who to blame?
CloudTrail
In what service can you monitor API Calls?
CloudTrail
AWS CloudTrail is a service that enables this 4 elements of your AWS account.
- Governance
- Compliance
- Operational auditing
- Risk auditing (rɪsk ˈɑdətɪŋ)
With CloudTrail you can collect logs beyond 90 days by creating one of these
A Trail
In CloudTrail, Trail data is stored where?
S3
What do you have to use to To analyze a Trail in CloudTrail?
Amazon Athena
ˈæməˌzɑn əˈθinə
Because There is no a trail GUI
Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run.
Which Trail option should you enable to ensure the logs are not tampered with?
Log File Validation
With CloudTrail this AWS service handles the server side encryption of data
Key Management Service (SSE-KMS)
Sending CloudTrail to a CloudWatch log enables what functionality?
SNS notifications on specific activities
Where can you send events from CloudTrail?
CloudWatch Logs
Which 2 AWS services can you track with CloudTrail Data Events?
Data events provide visibility into the resource operations performed on or within a resource. These are also known as data plane operations. Data events are often high-volume activities. The following data types are recorded:
- Amazon S3 object-level API activity (for example, GetObject, DeleteObject, and PutObject API operations)
- AWS Lambda function execution activity (the Invoke API)
The CloudTrail event type that is high volume and results in additional charges
Data Events
The 2 types of CloudTrail events
Management Events
Tracks management operations. (Eg. Attach role policies)
Turned on by default. Can’t be turned off.
Data Events
Tracks specific operations for specific AWS Services. Data events are high volume logging and will result in additional charges. Turned off by default.
The two services that can be tracked is S3 and Lambda. So it would track action such as: GetObject, DeleteObject, PutObject
They occur very frequently
In CloudTrail that are 4 things you can do on Management Events?
- Security
- Registering devices
- Configuring rules for routing data
- Setting up logging
What is CloudTrail?
What are its 4 elements?
- It’s a service that enables governance, compliance, operational auditing, and risk auditing of your AWS account
- Who to blame
- It logs calls between AWS Service
- Trails
- Log file validation
- Type of Events (Managed and data)
- Athena