Q49 — AWS SAA-C03 Ch.12
Question 49 of 100 | ← Chapter 12
Q849. A robotics company is designing a solution for medical surgery. The robots will use advanced sensors, cameras, and AI algorithms to perceive their environment and to complete surgeries.The company needs a public load balancer in the AWS Cloud that will ensure seamless communication with backend services. The load balancer must be capable of routing traffic based on the query strings to different target groups. The traffic must also be encrypted.Which solution will meet these requirements?
- A. Use a Network Load Balancer with a certificate attached from AWS Certificate Manager (ACM). Use query parameter-based routing.
- B. Use a Gateway Load Balancer. Import a generated certificate in AWS Identity and Access Management (IAM). Attach the certificate to the load balancer. Use HTTP path-based routing.
- C. Use an Application Load Balancer with a certificate attached from AWS Certificate Manager (ACM). Use query parameter-based routing. ✓
- D. Use a Network Load Balancer. Import a generated certificate in AWS Identity and Access Management (IAM). Attach the certificate to the load balancer. Use query parameter-based routing.
Correct Answer: C. Use an Application Load Balancer with a certificate attached from AWS Certificate Manager (ACM). Use query parameter-based routing.
Explanation
To meet the requirements of a public load balancer in the AWS Cloud that ensures seamless communication with backend services, routes traffic based on query strings, and encrypts the traffic, the solution that best fits is:C. Use an Application Load Balancer with a certificate attached from AWS Certificate Manager (ACM). Use query parameter-based routing.Here's why:Option C suggests using an Application Load Balancer (ALB) with a certificate attached from AWS Certificate Manager (ACM) and utilizing query parameter-based routing.An ALB is a Layer 7 load balancer that operates at the application layer and provides advanced routing capabilities. By using an ALB, the load balancer can intelligently distribute traffic to different target groups based on query parameters, which aligns with the requirement of routing traffic based on query strings.Attaching a certificate from ACM to the ALB enables traffic encryption using HTTPS. ACM provides managed SSL/TLS certificates, making it easy to secure communication between clients and the load balancer.Option A suggests using a Network Load Balancer (NLB) with a certificate attached from ACM and utilizing query parameter-based routing. However, NLB operates at Layer 4, which does not provide the same level of advanced routing capabilities as ALB. Therefore, Option A is not the most suitable choice for query parameter-based routing.Option B suggests using a Gateway Load Balancer (GWLB) with an imported certificate in IAM and using HTTP path-based routing. GWLB is primarily designed for routing traffic to virtual appliances or software-based networking functions, and it may not provide the necessary flexibility for query parameter-based routing. Thus, Option B is not the most appropriate choice for this scenario.Option D suggests using a Network Load Balancer (NLB) with an imported certificate in IAM and utilizing query parameter-based routing. Similar to Option A, NLB does not provide the advanced routing capabilities required for query parameter-based routing. Therefore, Option D is not the best fit for this scenario.In summary, the recommended solution is to use an Application Load Balancer with a certificate attached from AWS Certificate Manager (ACM) and to employ query parameter-based routing. This solution provides the necessary routing flexibility, traffic encryption, and seamless communication with backend services.