ANS-C01 · Question #207
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…
The correct answer is D. Configure a third-party certificate on the EC2 instances for the communication between the ALB. To protect a public application using an ALB with end-to-end encryption and web security, configure the ALB with a public certificate for client-to-ALB TLS, deploy AWS WAF on the ALB, and configure the EC2 instances with a certificate for ALB-to-EC2 TLS re-encryption.
Question
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?
Options
- AConfigure a Network Load Balancer (NLB) that has a target group of the existing EC2 instances.
- BConfigure TLS connections to terminate at the ALB that uses a public certificate. Configure AWS
- CConfigure a Network Load Balancer (NLB) that has a target group of the existing EC2 instances.
- DConfigure a third-party certificate on the EC2 instances for the communication between the ALB
How the community answered
(49 responses)- A2% (1)
- B4% (2)
- C10% (5)
- D84% (41)
Why each option
To protect a public application using an ALB with end-to-end encryption and web security, configure the ALB with a public certificate for client-to-ALB TLS, deploy AWS WAF on the ALB, and configure the EC2 instances with a certificate for ALB-to-EC2 TLS re-encryption.
AWS WAF cannot be directly associated with a Network Load Balancer (NLB); WAF integrates with Application Load Balancer, CloudFront, or API Gateway, making this option incorrect.
While this option achieves end-to-end encryption and WAF protection, the phrasing of 'public certificate for communication between the ALB and the EC2 instances' is less general than 'third-party certificate'. Typically, for backend traffic within a trusted AWS network, a certificate issued by a private CA or a self-signed one (which could also be a 'third-party certificate') is common.
AWS WAF cannot be directly associated with a Network Load Balancer (NLB), rendering this option invalid for providing web application security.
Configuring the ALB with a public certificate ensures encrypted communication (HTTPS) from clients to the ALB, while AWS WAF on the ALB provides protection against web vulnerabilities. A third-party certificate on the EC2 instances enables HTTPS communication from the ALB to the instances, achieving true end-to-end encryption by re-encrypting traffic for the backend segment.
Concept tested: End-to-end encryption with ALB, WAF, and TLS re-encryption
Source: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html
Community Discussion
No community discussion yet for this question.