GregLab | Exam Prep

Security, Identity, and Compliance

Core

AWS Security Token Service (AWS STS)

Service that issues temporary AWS security credentials for authorized role and federation sessions.

Key points

  • AssumeRole requires caller permission and an accepting role trust relationship.
  • Returned credentials are temporary and represent the assumed role session.
  • Session context and conditions can further constrain access.

Best-known use cases

  • Temporary cross-account role access.
  • Delegated workload or federated AWS sessions.

What candidates often confuse it with

  • STS issues temporary AWS credentials; Cognito user pools issue application-user tokens.
  • Assuming a role changes the operating principal; a resource policy can authorize a caller that retains its identity.

Key takeaway

Use STS for temporary AWS principal sessions and configure both the request permission and target trust.

Related services

  • AWS Identity and Access Management (IAM)
  • Amazon Cognito
  • AWS Key Management Service (AWS KMS)

Relevant exam tasks

  • D2.1 — Implement authentication and/or authorization for applications and AWS services
  • 2.1.3 — Configure programmatic access to AWS
  • 2.1.4 — Make authenticated calls to AWS services
  • 2.1.5 — Assume an IAM role
  • 2.1.8 — Handle cross-service authentication in microservice architectures

Learn more

Free AWS Certified Developer - Associate prep

Build focused DVA-C02 quizzes from skill areas, topics, and product references.

Practice with exam-style multiple-choice and multiple-response questions, score breakdowns, explanations, and a compact reference for this lane's official exam domains.

Read Topics Build a quiz

Exam Weights

Exam snapshot

DVA-C02 at a glance

Category
Associate
Duration
130 minutes
Questions
65 total; 50 scored and 15 unidentified unscored
Formats
Multiple choice and multiple response
Scoring
100–1,000 scaled score; 720 minimum passing score

Quiz builder

Choose your practice set

Mode

Exam fidelity: AWS documents 65 questions in 130 minutes: 50 scored and 15 unidentified unscored, using multiple-choice and multiple-response formats. This site's practice accuracy and readiness do not reproduce AWS's 100–1,000 scaled scoring or identify unscored items. Difficulty labels describe this site's Associate-level scenario complexity, not an AWS-published question rating.

Reference

DVA-C02 topics and reference map

Study links

DVA-C02 resources