What can the developer do to generate a recent history of the EC2 instance?
Run Cost Explorer to identify the start time and end time of the EC2 instance
Use Amazon Inspector to find out when the EC2 instance was stopped
Perform a search in AWS CloudTrail to find all EC2 instance-related events
Use AWS Secrets Manager to display hidden termination logs of the EC2 instance
Explanations:
Cost Explorer provides cost data and trends, not operational history or specific instance events.
Amazon Inspector is a security assessment tool, not used for tracking instance start or stop events.
AWS CloudTrail logs API events for services like EC2, allowing a search for recent instance-related events, including start and termination times.
AWS Secrets Manager is for managing sensitive information, not for tracking EC2 instance lifecycle events or logs.