2V0-71.23 Question 323
Select 3You are configuring the NSX Advanced Load Balancer (ALB) to manage traffic for a Tanzu Kubernetes Grid cluster. The application being deployed requires Layer 7 load balancing with specific routes directed to different backend services based on URL paths. Which of the following configurations would you need to implement to achieve this?
- A
Create an HTTP application profile to enable Layer 7 features and define URL-based routing rules.
- B
Configure a Layer 4 TCP/UDP virtual service to handle all incoming application traffic.
- C
Set up a DataScript to customize the traffic routing logic based on HTTP headers.
- D
Define a pool group to manage multiple backend service pools and associate it with the virtual service.
- E
Enable passthrough mode on the virtual service to bypass Layer 7 inspection.
Show answer and explanation
Correct answers: A, C, D
Explanation
To achieve URL-based routing with NSX Advanced Load Balancer in a Tanzu Kubernetes Grid environment, you need to leverage Layer 7 features provided by an HTTP application profile. Pool groups help manage backend services dynamically. Additionally, DataScripts provide the flexibility to create custom routing logic, such as using HTTP headers. Layer 4 virtual services and passthrough mode, however, do not support the Layer 7 features required for this use case.
- A. Correct.
Correct. An HTTP application profile is crucial to enabling Layer 7 features like URL-based routing. It allows you to define rules for routing traffic based on URL paths.
- B. Incorrect.
Incorrect. A Layer 4 TCP/UDP virtual service does not provide Layer 7 capabilities such as URL-based routing, which is required in this scenario.
- C. Correct.
Correct. DataScripts allow for advanced customization of traffic routing, such as using HTTP headers or paths for more granular control.
- D. Correct.
Correct. Pool groups enable management of multiple backend service pools and allow dynamic traffic distribution, which is essential for URL-based routing to different services.
- E. Incorrect.
Incorrect. Enabling passthrough mode disables Layer 7 inspection and routing capabilities, which is not suitable for this scenario.