Data Modeling and Properties Flashcards
7 cards from real CPSA practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Data Modeling and Properties flashcards as text
A developer needs to store a collection of address records where each address can be retrieved by a unique key such as 'Home' or 'Work'. Which property type is most appropriate?
Answer: Page Group
Page Group stores a collection of embedded pages indexed by a unique string key, making it ideal for keyed address lookups like 'Home' or 'Work'.
Which Pega property mode ensures that a user cannot modify a field value on a screen while still displaying it?
Answer: Read-only
Read-only mode displays the property value on the UI but prevents the user from editing it.
A Single Value property of type 'Decimal' is set to store currency. Which Pega property type setting is used to define the number of decimal places displayed?
Answer: Format string
The Format string setting on a Decimal property controls how the value is displayed, including the number of decimal places.
When a property is defined on a parent class and also defined with the same name on a child class, which definition takes effect for instances of the child class?
Answer: The child class definition overrides the parent
In Pega's class hierarchy, a property defined on a child class overrides the same-named property inherited from a parent class.
Which property type should be used to store a simple list of phone numbers where each entry is a plain text value?
Answer: Value List
Value List stores an ordered collection of single scalar values, which is appropriate for a list of plain text phone numbers.
A developer wants a property that is automatically set to the current operator's ID when a case is created. Which auto-populate option achieves this?
Answer: Use function
The 'Use function' auto-populate option can call built-in functions such as @GetCurrentOperatorID() to populate a property automatically at case creation.
In Pega, a Page property defined on a work class stores what?
Answer: An embedded single-page object with its own set of properties
A Page property embeds a single structured page within the parent page, containing its own child properties.