Which AWS service will help a company identify the user who deleted an Amazon EC2 instance yesterday?
Amazon CloudWatch
AWS Trusted Advisor
AWS CloudTrail
Amazon Inspector
Explanations:
Amazon CloudWatch is primarily used for monitoring AWS resources and applications in real-time, but it does not log user activities or actions such as instance deletions.
AWS Trusted Advisor provides best practice recommendations for optimizing AWS accounts, but it does not track or provide logs of user actions or resource deletions.
AWS CloudTrail is designed to log and monitor account activity related to actions taken on AWS resources, including tracking who deleted an EC2 instance and when it happened.
Amazon Inspector is a security assessment service for applications running on AWS. It does not provide logs of user activities or actions related to EC2 instances.