Ultimate access to all questions.
A developer modified an EC2 application from using IAM user access keys to an IAM role with equivalent permissions. After restarting, the application faced AWS AccessDeniedException. Despite this, the developer could successfully run DynamoDB commands via AWS CLI on the same server. What is the most likely cause?