DVA-C02 Domain 2: Security

Which service should you use to use temporary credentials in EC2 applications?

Multiple choice — select one answer

Answer choices

  1. a. Long-term user keys on disk
  2. b. AWS Secrets Manager
  3. c. IAM instance profiles
  4. d. AWS KMS with Lambda

Architectural breakdown & explanation

Instance profiles deliver role credentials to EC2.

Correct answer(s): c. 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.