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

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

PEGACPLSA23V1 Exam Topic 1 Question 1 Discussion:
Question #: 1
Topic #: 1

You are a Pega developer working on an insurance application. The application needs to manage different types of insurance policies such as car insurance, home insurance, and life insurance. Each type of insurance policy has some common attributes (policy number, policyholder name, and premium amount), but also has some unique attributes (such as vehicle details for car insurance, property details for home insurance, and beneficiary details for life insurance). Which one of the following approaches to handling this scenario would be most appropriate in a Pega application?


A.

Create a single class for all types of insurance policies and dynamically add or remove attributes as needed.


B.

Create a single class for all types of insurance policies and define all possible attributes.


C.

Create a base class for the insurance policy for the common attributes, and then create derived classes for each type of insurance policy with their unique attributes.


D.

Create a separate class for each type of insurance policy and then define the common attributes in the new class.


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.