Pegasystems Certified Pega Lead System Architecture (LSA) Exam 23 PEGACPLSA23V1 Question # 11 Topic 2 Discussion

Pegasystems Certified Pega Lead System Architecture (LSA) Exam 23 PEGACPLSA23V1 Question # 11 Topic 2 Discussion

PEGACPLSA23V1 Exam Topic 2 Question 11 Discussion:
Question #: 11
Topic #: 2

As a Lead System Architect tasked with enhancing a hotel room booking application, your objective is to streamline the booking process by identifying high-value customers. To accomplish this, you have decided to segment customers based on the total revenue generated from their bookings, considering that customers can have multiple bookings. The revenue is calculated by summing the amounts of all bookings made by each customer. Customers will be categorized as follows: Silver: Total booking amount is less than $500. Gold: Total booking amount ranges from $500 to $2000. Platinum: Total booking amount exceeds $2000. You want to use SQL functions for efficient customer categorization. Which SQL function code correctly determines the customer categories?


A.

CASE WHEN {1} < 500 THEN 'Silver' WHEN {1} BETWEEN 500 AND 2000 THEN 'Gold' ELSE 'Platinum' END


B.

IF {1} < 500 THEN 'Silver' ELSE IF {1} >= 2000 THEN 'Platinum' ELSE 'Gold' END


C.

IF {1} < 500 THEN 'Silver' ELSE IF {1} BETWEEN 500 AND 2000 THEN 'Gold' ELSE 'Platinum' END


D.

SELECT CASE WHEN {1} < 500 THEN 'Silver' WHEN {1} BETWEEN 500 AND 2000 THEN 'Gold' ELSE 'Platinum' END


Get Premium PEGACPLSA23V1 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.