A company needs to provide temporary credentials to applications running on EC2 instances to access AWS services securely. Which AWS feature should they use?
Answer
IAM roles
Explanation
IAM roles provide temporary security credentials to EC2 instances, eliminating the need to embed long-term access keys in applications.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A company needs to store frequently accessed data with low latency and high throughput for a machine learning application. The data must be highly durable and available across multiple Availability Zones. Which AWS storage service is MOST appropriate?
View question →
A solutions architect needs to design a system that automatically scales based on demand and only charges for the resources used. Which AWS pricing model supports this requirement?
View question →
A company wants to ensure that only authorized users can access specific Amazon S3 buckets. They need to define permissions that apply to multiple users and resources. Which AWS feature should they use?
View question →
A development team wants to deploy a web application that requires a relational database. They need automated backups, patching, and replication. Which AWS service should they choose?
View question →
A company needs to run a batch processing job that can be interrupted without affecting critical operations. They want to minimize costs. Which EC2 purchasing option is MOST cost-effective?
View question →
A company wants to provide its employees with access to AWS resources without creating individual IAM users. The employees are already authenticated through a corporate directory. Which AWS service should be used?
View question →