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
Related questions
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 legacy system writes files to an on-prem NFS mount. You need to modernize toward S3 with minimal application changes, ensure integrity validation, and handle bursty ingestion. Which approach is most suitable?
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 →
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 design an architecture where a multi-region workload performs schema and data changes safely during blue/green deployments. You need rollback without data loss and minimal downtime. Which combination most directly supports controlled rollout with strong safety?
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 →