Practice Free PEGACPLSA88V1 Exam Online Questions
Question #71
In an e-commerce application that is built on Pega Platform, a data type named Order stores the order-related information. as shown in the following table:
An operations manager wants to view a report at the end of each day. If the number of items ordered in a category is greater than 5, the report displays the number of items in that category that are ordered during the day.
Which option do you use to implement the requirement?
- A . A report with a custom SQL function on Quantity and filter condition Sum (Quantity) > 5 that the system applies before aggregation.
- B . A report with a summarize function on Quantity and filter condition Sum (Quantity) > 5 that the system applies before aggregation.
- C . A report with a summarize function on Quantity and filter condition Sum (Quantity) > 5 that the system applies after aggregation.
- D . A report with a custom SQL function on Quantity and filter condition Sum (Quantity) > 5 that the system applies after aggregation.
Correct Answer: C
C
Explanation:
Summarize Function with Filter Condition After Aggregation:
Using a report with a summarize function on Quantity and a filter condition applied after aggregation ensures that the report accurately displays categories with more than 5 items ordered.
Reference: Pega documentation on report definitions and aggregation functions outlines how to apply filters after summarizing data to meet reporting requirements.
Therefore, the correct answer is:
C. A report with a summarize function on Quantity and filter condition Sum (Quantity) > 5 that the system applies after aggregation.
C
Explanation:
Summarize Function with Filter Condition After Aggregation:
Using a report with a summarize function on Quantity and a filter condition applied after aggregation ensures that the report accurately displays categories with more than 5 items ordered.
Reference: Pega documentation on report definitions and aggregation functions outlines how to apply filters after summarizing data to meet reporting requirements.
Therefore, the correct answer is:
C. A report with a summarize function on Quantity and filter condition Sum (Quantity) > 5 that the system applies after aggregation.
Question #72
Case Type A and Case Type B capture information about multiple line items. Each line item is an Instance erf the same Line Item data type. Separate work pool classes are used for Case Types A and B.
What is the optimal data model design to meet these requirements?
- A . Add a CaseTypeRef property to the Line Item data type. Case Types A and B possess a Query (tisf Uneltem) property. This List Query property sources a D_UneltemList data page that accepts a pylD parameter.
- B . Add a CsseTypeRef property, an ObjClass property, and Query property related to the Line Item data type. The Query property sources a Lookup Data Page that accepts ObjClass and CaseTypeRef parameters.
- C . Add CaseTypeARef and CaseTypeBRef properties to the Line Item data type. The CaseTypeARef property is a case reference to Case Type A. The CaseTypeBRef property is a case reference to Case Type B.
- D . Case Types A and B both possess an embedded list of line items. Define a Declare Index against each embedded list. Change the direct inheritance class for each Declare Index class to the Line Item data type.
Correct Answer: D
D
Explanation:
Embedded List with Declare Index:
Both Case Types A and B possess an embedded list of line items. Using a Declare Index against each embedded list ensures efficient data retrieval and indexing.
Changing the direct inheritance class for each Declare Index class to the Line Item data type allows for proper data management and querying.
Reference: Pega best practices for data modeling and indexing recommend using Declare Index for embedded lists to enhance performance and data organization.
Therefore, the correct answer is:
D. Case Types A and B both possess an embedded list of line items. Define a Declare Index against each embedded list. Change the direct inheritance class for each Declare Index class to the Line Item data type.
D
Explanation:
Embedded List with Declare Index:
Both Case Types A and B possess an embedded list of line items. Using a Declare Index against each embedded list ensures efficient data retrieval and indexing.
Changing the direct inheritance class for each Declare Index class to the Line Item data type allows for proper data management and querying.
Reference: Pega best practices for data modeling and indexing recommend using Declare Index for embedded lists to enhance performance and data organization.
Therefore, the correct answer is:
D. Case Types A and B both possess an embedded list of line items. Define a Declare Index against each embedded list. Change the direct inheritance class for each Declare Index class to the Line Item data type.