Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified Cloud Practitioner · AWS
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
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.
Cloud trail can audit logs based on several event taken on the ec2 instace like termination, traffic ect