AWS Certified SAP on AWS – Specialty (PAS-C01) — Question 2
A global retail company is running its SAP landscape on AWS. Recently, the company made changes to its SAP Web Dispatcher architecture. The company added an additional SAP Web Dispatcher for high availability with an Application Load Balancer (ALB) to balance the load between the two SAP Web Dispatchers.
When users try to access SAP through the ALB, the system is reachable. However, the SAP backend system is showing an error message. An investigation reveals that the issue is related to SAP session handling and distribution of requests. The company confirmed that the system was working as expected with one SAP Web Dispatcher. The company replicated the configuration of that SAP Web Dispatcher to the new SAP Web Dispatcher.
How can the company resolve the error?
Answer options
- A. Maintain persistence by using session cookies. Enable session stickiness (session affinity) on the SAP Web Dispatchers by setting the wdisp/HTTP/esid_support parameter to True.
- B. Maintain persistence by using session cookies. Enable session stickiness (session affinity) on the ALB.
- C. Turn on host-based routing on the ALB to route traffic between the SAP Web Dispatchers.
- D. Turn on URL-based routing on the ALB to route traffic to the application based on URL.
Correct answer: A
Explanation
The correct answer is A because enabling session stickiness on the SAP Web Dispatchers ensures that user requests are consistently routed to the same dispatcher, maintaining the session state. Option B incorrectly suggests enabling stickiness on the ALB instead of the dispatchers, which would not resolve the session handling issue. Options C and D focus on routing methods that do not address the session persistence requirement necessary for handling SAP user sessions correctly.