How to achieve end-to-end encryption and WAF protection with an ALB?
A company has a public application. The application uses an Application Load Balancer (ALB) that has a target group of Amazon EC2 instances. The company wants to protect the application from security issues in web requests. The traffic to the application must have end-to-end encryption. Which solution will meet these requirements?
Community Votes
71% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The core trap is the misconception that AWS Certificate Manager (ACM) cannot be used for backend (ALB-to-EC2) encryption; in reality, ACM certificates deployed to an ALB can be used to encrypt traffic to targets in the target group.
This question tests how to secure an Application Load Balancer (ALB) fronting EC2 instances with end-to-end encryption and AWS WAF. The community is split between B and D, with most choosing D because they believe ACM certificates cannot be used between the ALB and EC2 instances.
Many candidates choose D because they incorrectly believe ACM certificates cannot be used between an ALB and EC2 instances, leading them to import a third-party certificate onto the instances instead.
Community Discussion (6 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
The correct answer is B. The scenario requires end-to-end encryption of web traffic and protection from web-based security issues, which points directly to an Application Load Balancer (ALB) combined with AWS WAF. An ALB natively supports TLS termination on the listener side and can also use an AWS Certificate Manager (ACM) certificate to encrypt traffic to the EC2 target group. This satisfies the end-to-end encryption requirement without requiring manual certificate management on the instances.
Why B is correct:
- TLS terminates at the ALB using a public ACM certificate.
- The ALB then re-encrypts traffic to the EC2 instances using another ACM certificate.
- An AWS WAF web ACL is associated with the ALB to inspect and protect against web exploits.
- This is the simplest, most AWS-native way to achieve end-to-end encryption.
Why A and C are wrong:
- A and C both propose using a Network Load Balancer (NLB). However, AWS WAF cannot be associated with an NLB; WAF only supports ALB, CloudFront, and API Gateway. This immediately disqualifies both options.
- Additionally, C suggests using self-signed certificates, which is not a best practice for public-facing applications and complicates trust management.
Official Reference
Exam Strategy
When a question mentions protecting web traffic and requires WAF, immediately eliminate any option involving a Network Load Balancer (NLB), as WAF does not support NLB. Then, prefer AWS-native services like ACM over third-party or self-signed certificates unless the scenario explicitly requires them.
Related Analysis
Practice All ANS-C01 Questions
Access 137 questions with complete answers and detailed explanations.
View Full ANS-C01 Practice Test →