A company wants to implement zero-trust access to internal services running on ECS behind an ALB. Requests must be authorized based on user identity and device posture, and credentials must be short-lived. Which approach best aligns with least privilege and dynamic trust evaluation?

Answer

Use AWS IAM Identity Center (or OIDC federation) to authenticate users, assume scoped IAM roles via STS with session tags, and enforce authorization through an application authorizer that consults device posture (e.g., via Verified Access)

Explanation

Short-lived STS credentials with scoped permissions and session tags support least privilege and context-aware authorization. Integrating identity federation plus device posture verification avoids over-reliance on network-layer signals.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

A data platform streams click events into S3 via Kinesis Data Firehose, and analytics jobs read using Athena. The team needs to ensure new partitions become queryable quickly while avoiding partial data files during schema evolution. What is the best approach?

View question →

A company uses Aurora PostgreSQL Serverless v2 for a spiky workload. They observe that after traffic drops, connections remain open longer than expected and the autoscaling doesn’t reduce capacity quickly. What is the most likely cause and best remedy?

View question →

A solution uses DynamoDB with Global Tables across multiple regions. A requirement states: reads must always reflect writes from the local region immediately, but global eventual consistency can lag. Which setup best satisfies this?

View question →

A migration from self-managed Kafka to Amazon MSK fails intermittently due to consumer group rebalances taking too long. The consumers must not lose ordering for keys but can tolerate duplicates. What is the best configuration strategy?

View question →

An AWS AppSync GraphQL API backs a fleet of mobile clients. You need deterministic ordering of events consumed by downstream systems, but you cannot block ingestion while ordering is enforced. Which architecture best satisfies this?

View question →

You are designing a multi-account AWS landing zone. A security team wants consistent tagging and automated controls for new accounts, but developers must be able to deploy resources before a tagging pipeline completes. Which approach best meets the requirement?

View question →

QuestionBack to list