AWS CloudTrail Flashcards
What types of logs am I capturing in CloudTrail?
You’re captioning Activity and Management lags, like API calls that are performed by the user from the CLI or the web interface.
What are the some benefits of using CloudTrail to capture logs across my organization?
Governance
compliance
Audit for your AWS account.
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.
Is the use of AWS CloudTrail free?
Generally, AWS CloudTrail is free for data that is there for 90 days;
after the 90 days,
you would have to implement sending the logs to another storage and visualization search function, and for these, you’d have to pay.
Where can I store cloud trails logs to?
- You can push logs s3 Bucket
-CloudTrail Data Lake
If I have issues understanding who would delete certain resources, what service could I use to understand this?
CloudTrail is ideal for this as it captures all of the e-management API calls across accounts
for compliance reasons, I have to have my management data encrypted at rest. Is this something that AWS CloudTrail does out of the box
CloudTrail data is encrypted out list
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.
In AWS, what is the limit of the number of trails I can create in any single account?
5: In AWS CloudTrail, you can create up to five trails per AWS Region within a single account. This limit applies to both single-region and multi-region trails. Multi-region region trail counts as one trail in each Region it applies to. citeturn0search0
When CloudTrail pushes logs to the S3 bucket, are they encrypted by default?
- 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 need to process CloudTrail logs using a Java application I am creating; what are my options?
AWS CloudTrail Processing Library is a Java librar
What is CloudTrail log file integrity validation?
CloudTrail log file integrity validation feature allows you to determine whether a CloudTrail log file was unchanged, deleted, or modified since CloudTrail delivered it to the specified Amazon S3 bucket.
What is the benefit of CloudTrail log file integrity validation?
ensure the logs delivered to S3 are not tampered after delivery.
I shose to use KMS SSE with cloudtrail will I be charged?
Yes you will pay for KMS
How often will CloudTrail deliver log files to my Amazon S3 bucket?
CloudTrail delivers log files to your S3 bucket approximately every 5 minutes.
How long does it take CloudTrail to deliver an event for an API call?
Typically, CloudTrail delivers an event within 15 minutes of the API call.
What will CloudTrail log for you?
All api calls to your accounts. but not calls inside each sevice or resource, you can enable this capture for S3 and Lambds.
I need to keep my audit logs from AWS for two years, how cna |I do this?
You need to set up a CloudTrail-trail export and have cloud trail logs send to s3.
I need to have my cloud trail logs send to lambda, is this possible and if so how?
You can set up a CloudTrail-trail and have the log stream call a lambda function.
If I have CloudTrail apply to all regions and AWS adds a new region, what will happen by default?
CloudWatch will be added to the new region.