A customer requires user authentication with federation and conditional access rules based on device posture. They also need short-lived tokens for services and centralized revocation. Which AWS-native approach is most appropriate?

Answer

Use Cognito User Pools with federated identity providers and custom authentication triggers; issue JWTs and validate via API Gateway authorizers.

Explanation

Cognito User Pools supports federation, custom authentication flows (e.g., device posture checks), and short-lived JWTs for service access. Centralized token validation enables revocation behavior when integrated with the authentication flow.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

A company needs a global, low-latency read path with occasional writes that must be durable and consistent enough to avoid stale reads beyond 5 seconds. Which design best balances consistency, latency, and write durability using AWS managed services?

View question →

You are designing a high-availability architecture where failures must be isolated by functional boundary, not by individual instances. You need automatic recovery, controlled scaling, and health-based routing at the edge. Which combination best meets these requirements?

View question →

You must store sensitive application secrets in a way that supports rotation, auditability, and least-privilege access. Rotation schedule is automated and both EC2 and Lambda functions must retrieve secrets at runtime. Which architecture is most aligned with these needs?

View question →

A payments system uses SQS to buffer events from an external provider. During regional maintenance, you must guarantee that processing continues without message loss, and consumers must scale horizontally with controlled backpressure. Which approach best satisfies these constraints?

View question →

A team uses AWS Organizations with consolidated billing. They want a multi-account environment where only specific accounts can deploy to a shared ECR repository, and cross-account access must be revocable immediately. Which control strategy is strongest?

View question →

An analytics workload ingests streaming click events and must support ad-hoc SQL queries while processing continues. You need a design that separates ingestion from querying, provides near-real-time freshness, and supports cost-effective schema evolution. Which option is best?

View question →

QuestionBack to list