A system behind an ALB must support HTTP/2, and responses must be compressed selectively based on content type and size. Additionally, you need consistent client IP visibility and strict WAF protection with rate limiting. Which design best matches these requirements?

Answer

Configure ALB with an HTTP listener supporting HTTP/2; enable response compression via application or AWS features where supported; set X-Forwarded-For handling through ALB headers; attach WAFv2 Web ACL with rate-based rules and managed rule groups

Explanation

ALB can negotiate HTTP/2 with clients, and WAFv2 can enforce rate limiting and managed protections. Using ALB-provided forwarding headers preserves real client IP information for downstream services.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

A multi-account organization uses SCPs to prevent direct attachment of AdministratorAccess. A workload needs cross-account access to an encrypted S3 bucket using KMS keys. Which combination best satisfies least privilege while still enabling decryption?

View question →

Your team must implement fine-grained access control for a multi-tenant SaaS. Tenants are isolated by data prefix in a shared S3 bucket and by a DynamoDB partition key. You must prevent a tenant from querying other tenants using the AWS console or API. Which approach is strongest?

View question →

A company must ensure that images uploaded to S3 are virus-scanned before becoming publicly accessible. Uploads can occur at high volume. Which pattern best enforces this with minimal manual operations?

View question →

You need a streaming data pipeline that ingests from Kinesis Data Streams, transforms records with event-time semantics, and writes to S3 in an optimized layout for Athena. There is a requirement to reprocess data deterministically for a specific time window if an error occurs. Which approach best achieves deterministic replay?

View question →

You must design a disaster recovery plan for an active-active architecture across two Regions using Route 53. Constraints: RPO ≤ 15 minutes, RTO ≤ 30 minutes, and workloads are stateful (relational DB). Which architecture is the most aligned while minimizing cutover risk?

View question →

A VPC contains private subnets for an application and an isolated data tier. The application tier needs to access only one service endpoint (e.g., a specific AWS service) without traversing the public internet. It must also be reachable from on-prem via VPN. What is the most secure network design choice?

View question →

QuestionBack to list