DVA-C02 Domain 2: Security

What is the MOST appropriate AWS solution to use temporary credentials in EC2 applications?

Multiple choice — select one answer

Answer choices

  1. a. Long-term user keys on disk
  2. b. IAM instance profiles
  3. c. AWS Secrets Manager
  4. d. S3 Block Public Access

Architectural breakdown & explanation

Instance profiles deliver role credentials to EC2.

Correct answer(s): b. IAM instance profiles

Exam domain: Domain 2: Security (26% weight on the official guide).

Official documentation & study links

Practice this certification

This page is one question from the AWS Certified Developer – Associate bank. Run a full timed practice exam with domain-weighted random questions in your browser.