B. AWS CloudTrail
AWS CloudTrail is a service that records all API activity in your AWS account, including the termination of EC2 instances. It creates log entries for various events, providing an audit trail of actions taken on resources. By reviewing CloudTrail logs, you can identify when an EC2 instance was terminated, who initiated the termination, and other relevant details about the event.
AWS CloudTrail: A service that records API calls and related events for your AWS account. It provides visibility into user activity, resource changes, and important events. CloudTrail logs can be used to identify when an Amazon EC2 instance was terminated, along with other activities and events within your AWS environment.
The other options do not specifically focus on tracking and logging events related to instance termination:
AWS Identity and Access Management (IAM): Is used for managing access to AWS services and resources. It does not provide detailed logs of instance termination events.
AWS Compute Optimizer: Analyzes the configuration and utilization of EC2 instances to make recommendations for optimal performance. It does not log specific events like instance termination.
Amazon EventBridge: A serverless event bus service that makes it easy to connect different applications using events. While it can be used for event-driven architectures, it doesn't focus on logging and tracking instance termination events.
AWS CloudTrail records API calls made on your AWS account, including when an Amazon EC2 instance is terminated. CloudTrail logs events such as starting, stopping, and terminating instances, along with details about who made the request, when it occurred, and other relevant information. This makes it the appropriate service to track the termination of EC2 instances
B. AWS CloudTrail
AWS CloudTrail is a service that records all API activity in your AWS account, including the termination of EC2 instances. It creates log entries for various events, providing an audit trail of actions taken on resources. By reviewing CloudTrail logs, you can identify when an EC2 instance was terminated, who initiated the termination, and other relevant details about the event.
B. AWS CloudTrail
AWS CloudTrail is a service that records all API activity in your AWS account, including the termination of EC2 instances. It creates log entries for various events, providing an audit trail of actions taken on resources. By reviewing CloudTrail logs, you can identify when an EC2 instance was terminated, who initiated the termination, and other relevant details about the
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
felixlugo06
Highly Voted 1 year, 6 months agoTheFivePips
Highly Voted 1 year, 3 months agoSir_Kay
Most Recent 1 month, 4 weeks agoAmin_013
3 months, 3 weeks agoyaralexie
6 months, 3 weeks agoGPFT
8 months agoRuffyit
1 year, 2 months agostheno
1 year, 4 months agoasdfcdsxdfc
1 year, 5 months agolunamuller
1 year, 5 months agoezeadnah
1 year, 6 months ago