🔥 3-day streak
CompTIA PenTest+ (PT0-003)14 / 175
Question 14 of 175

During an authorized cloud penetration test, you gain command execution on an EC2 instance through a vulnerable web application. To escalate access, you want to enumerate the temporary IAM credentials associated with the instance's role. Which action should you take to retrieve those credentials from within the instance?

Reviewed for accuracy · Report an issueNext question