AWS CloudTrail Flashcards
I need to be able to capture changes from all regions, what is the best way to do this?
Use cloud trail and select option ‘Apply to all regions’
I need to be able to capture changes from all accounts in my organization, what is the best way to do this?
Create a cloud trail and select to use ‘Apply trail to my organization’, this will capture all changes from all accounts and if you select ‘apply to all regions’ you also get trails across all regions in all accounts in the orgnization.
I need to collect AWS resource API event information for S3 and lambs, what options do I have?
You can enable data collection when creating a cloud trail, you can select individual objects or turn option on for every object.
I need to create a CloudTrail, do I pay for just one?
No
Where can I store cloud trails logs to?
You can store the cloud trail logs to an S3 bucket.
I have an organization with many accounts, is it possible to capture all changes across all accounts to a CloudTrail log?
Yes, you sent the option to have cloud trail consolidate across all account, this means the trails will aggregate into one single bucket.
As part of regulatory, I have to ensure all my data is stored encrypted at rest, what options do I have for cloud trail?
When creating a CloudTrail, I can in advance options select encryption of log files using KMS SSE
As part of regulatory, I need to capture all changes in AWS and also ensure the data can not be seen if the log data file was taken by hackers, I also need to ensure the log data files not tampered with, what are my best options?
- Use CloudTrail to capture all changes in AWS
- Use the advanced option of a CloudTrail to encrypt the files with a KMS SSK
- Use the advanced option to also sign the files
I have created a CloudTrail and I need to be able to know when files are delivered to the S3 bucket, what options do I have?
You can use the CloudTrail advance option of notification and select an SNS topic.
How long will cloud trail retain logs?
You can search back 90 days of hoistory, but if you have a CloudTrail pushing logs to s3, data is retained indefently, you can use life cycle policies to delete the logs files form s3 as needed.
How many trails can I create in a single region?
5
What makes storing CloudTrail logs in S3 secure?
- ## By default CloudTrail encrypts the log files before placing in a S3 buckket.
How do I get charged for CloudTrail?
AWS CloudTrail allows you to view and download the last 90 days of your account activity for create, modify, and delete operations of supported services free of charge. There is no charge from AWS CloudTrail for creating a CloudTrail trail and the first copy of management events within each region is delivered to the S3 bucket specified in your trail free of charge.
If I have only one trail with management Events, and apply it to all regions, will I incur charges?
No. The first copy of management events is delivered free of charge in each region.
I nneed to process CloudTrail logs using an Java application I am creating, what are my options?
AWS CloudTrail Processing Library is a Java librar