Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 4.04 KB

File metadata and controls

59 lines (40 loc) · 4.04 KB

1. What is AWS CloudTrail?

AWS CloudTrail is a service that provides governance, compliance, and audit capabilities by recording and storing API calls made on your AWS account.

2. What type of information does AWS CloudTrail record?

CloudTrail records API calls, capturing information about who made the call, when it was made, which service was accessed, and what actions were taken.

3. How does AWS CloudTrail store its data?

CloudTrail stores its data in Amazon S3 buckets, allowing you to easily analyze and retrieve the recorded information.

4. How can you enable AWS CloudTrail for an AWS account?

You can enable CloudTrail through the AWS Management Console or the AWS CLI by creating a trail and specifying the services you want to track.

5. What is a CloudTrail trail?

A CloudTrail trail is a configuration that specifies the settings for logging and delivering events. Trails can be applied to an entire AWS account or specific regions.

6. What is the purpose of CloudTrail log files?

CloudTrail log files contain records of API calls and events, which can be used for security analysis, compliance, auditing, and troubleshooting.

7. How can you access CloudTrail log files?

CloudTrail log files are stored in an S3 bucket. You can access them directly or use services like Amazon Athena or Amazon CloudWatch Logs Insights for querying and analysis.

8. What is the difference between a management event and a data event in CloudTrail?

Management events are related to the management of AWS resources, while data events focus on the actions performed on those resources.

9. How can you view and analyze CloudTrail logs?

You can view and analyze CloudTrail logs using the CloudTrail console, AWS CLI, or third-party tools. You can also set up CloudWatch Alarms to detect specific events.

10. What is CloudTrail Insights?

CloudTrail Insights is a feature that uses machine learning to identify unusual patterns and suspicious activity in CloudTrail logs.

11. How can you integrate CloudTrail with CloudWatch Logs?

You can integrate CloudTrail with CloudWatch Logs to receive CloudTrail events in near real-time, allowing you to create CloudWatch Alarms and automate actions.

12. What is CloudTrail Event History?

CloudTrail Event History is a feature that displays the past seven days of management events for your account, helping you quickly identify changes made to resources.

13. What is CloudTrail Data Events?

CloudTrail Data Events track actions performed on Amazon S3 objects, providing insight into object-level activity and changes.

14. What is the purpose of CloudTrail Insights events?

CloudTrail Insights events are automatically generated when CloudTrail detects unusual or high-risk activity, helping you identify and respond to potential security issues.

15. How can you ensure that CloudTrail logs are tamper-proof?

CloudTrail logs are stored in an S3 bucket with server-side encryption enabled, ensuring that the logs are tamper-proof and protected.

16. Can CloudTrail logs be used for compliance and auditing?

Yes, CloudTrail logs can be used to demonstrate compliance with various industry standards and regulations by providing an audit trail of AWS account activity.

17. How does CloudTrail support multi-region trails?

Multi-region trails allow you to capture events from multiple AWS regions in a single trail, providing a centralized view of account activity.

18. Can CloudTrail be used to monitor non-AWS services?

CloudTrail primarily monitors AWS services, but you can integrate it with AWS Lambda to capture and log custom events from non-AWS services.

19. How can you receive notifications about CloudTrail events?

You can use Amazon SNS (Simple Notification Service) to receive notifications about CloudTrail events, such as when new log files are delivered to your S3 bucket.

20. How can you use CloudTrail logs for incident response?

CloudTrail logs can be used for incident response by analyzing events to identify the cause of an incident, understand its scope, and take appropriate actions.