AWS Certified Security – Specialty (SCS-C02) — Question 131

A company uses an external identity provider to allow federation into different AWS accounts. A security engineer for the company needs to identify the federated user that terminated a production Amazon EC2 instance a week ago.

What is the FASTEST way for the security engineer to identify the federated user?

Answer options

Correct answer: B

Explanation

The fastest way to identify the federated user who terminated the instance is to filter for the TerminateInstances event and check the AssumeRoleWithSAML event to find the username directly related to the role. Option A does not provide the username directly, option C requires cross-referencing times which could be inefficient, and option D involves multiple queries which may take longer.