A company has an application that hosts personally identifiable information (PII) of…
- User
A company has an application that hosts personally identifiable information (PII) of users. All connections to the application must be secured by HTTPS with TLS certificates that implement Elliptic Curve Cryptography (ECC).
The application uses stateful connections between the web tier and the end users. Multiple instances host the application. A network engineer must implement a solution that offloads TLS connections to a load balancer.
Which load-balancing solution will meet these requirements?
A. Provision a Network Load Balancer. Configure a TLS listener by specifying the use of an ECC SSL certificate that is uploaded to AWS identity and Access Management (IAM). Turn on health checks to monitor the web hosts that connect to the end users. B. Provision an Application Load Balancer. Configure an HTTPS listener by specifying the use of an ECC SSL certificate that is uploaded to AWS Certificate Manager (ACM). Configure a default action to redirect to the URL for the application. Turn on health checks to monitor the web hosts that connect to the end users. C. Provision a Network Load Balancer. Configure a TLS listener by specifying the use of an ECC SSL certificate that is uploaded to AWS Certificate Manager (ACM). Turn on application-based session affinity (sticky sessions). Turn on health checks to monitor the web hosts that connect to the end users. D. Provision an Application Load Balancer. Configure an HTTPS listener by specifying the use of an ECC SSL certificate that is uploaded to AWS Identity and Access Management (IAM). Configure a default action to redirect to the URL for the application. Turn on application-based session affinity (sticky sessions).
Assistant
The correct answer is C. Provision a Network Load Balancer. Configure a TLS listener by specifying the use of an ECC SSL certificate that is uploaded to AWS Certificate Manager (ACM). Turn on application-based session affinity (sticky sessions). Turn on health checks to monitor the web hosts that connect to the end users.
Here's why:
- The application uses stateful connections, which means that the load balancer needs to maintain session affinity (sticky sessions) to ensure that incoming requests from a user are directed to the same instance. Network Load Balancer (NLB) supports sticky sessions, whereas Application Load Balancer (ALB) does not.
- The requirement is to offload TLS connections to the load balancer, which means that the load balancer needs to terminate the TLS connection. NLB supports TLS termination, whereas ALB does not.
- The ECC SSL certificate needs to be uploaded to AWS Certificate Manager (ACM), not IAM.
- Health checks are necessary to monitor the web hosts that connect to the end users.
Option A is incorrect because it doesn't mention sticky sessions, which are required for stateful connections. Option B is incorrect because ALB does not support TLS termination or sticky sessions. Option D is incorrect because it mentions IAM instead of ACM for the ECC SSL certificate, and ALB does not support sticky sessions.