Application Development (20%) Flashcards

1
Q

Which ECS layer contains the assets used on an enterprise-wide basis?

A

Organization Layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What ECS layer would you put a customer account number property that is reused across an online retailer’s business?

A

Organization Layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The ____________ layer also contains enterprise-wide data assets such as classes and rules for data stored in the system, and classes and rules for data access to data in external systems, via connectors. (for example, access to an external customer database is an integration point that may be added in this layer)

A

Organization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which ECS layer contains assets used on a division-wide basis? This layer is the middle level of the three-level organizational hierarchy (Org-Div-Unit) and is available for use in every application.

A

Division

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Assets in the ___________ layer may apply to a line of business, region, or brand. (For example, a line of business wants to reuse a service level rule that defines the expected response time to a customer complaint in all of its applications.)

A

Division

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which ECS layer is optional? (This layer can be used to manage the reuse of rules and other application assets)

A

Division Layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which ECS layer contains assets that can be extended in specific implementations?

A

Framework Layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The ________ layer may be comprised of one or more generalized applications, such as a standard Pega application for a specific industry, or an extendable custom application

A

Framework

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which ECS layer defines an application customized for a specific division or line of business?

A

Implementation Layer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The ________ layer application may extend one or more framework layer applications.

A

Implementation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

For example, a clothing retailer consists of two brands of stores. One brand focuses on the upscale clothing market, while the other brand runs a value-oriented chain of stores. Each brand needs to manage item returns. The retailer can develop a generalized application that manages clothing returns in the framework layer. Each brand can then create its own ________ layer to customize the returns process. Each customized application contains brand-specific assets, such as styling and policies.

A

Implementation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Try to make a question out of the picture

A

Try to make a question out of the picture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the purpose of the Enterprise Class Structure (ECS)?

  1. ECS provides a structure supporting rule reuse
  2. ECS is used to alter the performance of the Pega Platform
  3. ECS documents industry or enterprise standards that applications must contain
  4. ECS references single-value properties and complex properties
A
  1. ECS provides a structure supporting rule reuse

ECS has layers designed to hold rules specific to that layer. The placement of rules within ECS is a determining factor in how they are used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

You have a requirement to create an email correspondence that can be reused by other applciations. In which two layers of the ECS could you apply the email correspondence rule? (choose two)

  1. Division
  2. Implementation
  3. Pega Platform
  4. Organization
A
  1. Division
    * Assets in the Division layer are available for use in applications*
  2. Organization
    * The Organization layer contains the assets used on an enterprise-wide basis. Assets contained in the Organization layer are available for use in applications*
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which layer of the ECS contains generalized assets that are then extended by specific implementations?

  1. Division
  2. Framework
  3. Implementation
  4. Organization
A
  1. Framework

The Framework layer contains assets used to create generalized, reusable applications. A framework application is then extended by specific implementations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The initial application created by the New Application Wizard contains a set of rulesetes for the application and organizational assets.

  • True
  • False
A

True

When the application is generated, two rulesets are created for the application and two are created for organizational rulesets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

You create the initial application rulesets using the New Application Wizard. Which application ruleset is used for rules related to integration?

  1. GogoRoadApp
  2. MyTownApp
  3. HRApps
  4. MyTownAppInt
A
  1. MyTownAppInt
    * The rulesets ending in Int are used for rules related to integration*
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What kind of rule can we use when faced with the following example?

Company responses to customer complaints are within one business day. For customers with silver status the company responds in 5 hours and customers with gold get a response in 2 hours.

A

We can use a circumstanced rule here to handle this complexity.

  • Alternatively we can use SLA’s to apply 3 different response intervals in a process with 3 different assignments and the SLA’s applied to each of the assigments. This causes us to change 3 assignments instead of one if the prcoess changes.*
  • Complex exceptions that depend on combinations of factors become difficult to maintain and update.*
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What type of rule can be used to handle the specific conditions of the bank listed below?

Bank of America offers the following promotions that reduce or wave fees for customers meeting the criteria:

  • A new customer recieves 100 cummission-free trades for the first 3 months after opening an investment account
  • A customer recieves a rebate on commissions as long as the daily balance in their investment account exceeds certain thresholds (varys on account type and country)
  • A customer who refers a friend to the bank recieves 10 commission free trades per month for 6 months
A

In this scenario we would handle it with a circumstanced rule.

  • In Pega applications, you model complex exceptions through circumstancing. With circumstancing you create a variant of a rule, such as a decision or a service level, tailored to the specific circumstance.*
  • Circumstancing allows you to customize the behavior of your application to address each exception condition you identify using a collection of targeted rules, rather than one complex and difficult to maintain rule.*
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

True or False: Circumstancing allows you to customize the behavior of your application to address condition exceptions using a single complex rule.

A

FALSE

Circumstancing allows you to customize the behavior of your application to address each exception. You create a variant of a rule tailored to a specific circumstance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is the base rule in the following situation? Why?

Consider a company with different response time obligations for elite and non-elite customers. The response time for non-elite customers is the expected behavior.

A

The base rule in this situation is the non-elite response time because this is the expected behavior.

First you create the base rule that covers the majority or expected outcome, then you identify and exceptions to the expected behavior for circumstanced rules.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

True or False. You can circumstance a rule according to one or more conditions?

A

TRUE

A condition can be one variable, multiple variables or the processing date.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

______ rule variant is effective whenever the value of a single property satisfies the circumstancing condition.

A

Single Value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

______ rule variant is effective whenever the combination of property values satisfies the circumstancing condition.

A

Multiple Value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Multiple value circumstances are based on a ______ and ______.

A

Circumstance Template and Circumstance Definition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

The ______ defines the combination of conditions in which a property uses a variant of a rule.

A

Circumstance Definition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

______ rule variant is effective after a certain date or during a range of dates.

A

As-of Date

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

______ rule variant is effective whenever the value of a date property satisfies the circumstancing definition.

A

Date property

This condition can either be a single date or a range of dates. The As-of date rule variant is slightly different because it is applying after a specified date or date range. Unlike the _date property, which allows you to specify a comparison date such as a birth date_, the _As-of date property uses the system date/time as the date comparison._

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

You have two options for overriding a circumstanced rule: ______ rule or ______ a rule.

A

flag a base rule or withdraw a rule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

True or False? Circumstanced rules have the same name as a base rule.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

How do you flag a rule as a new base version in order to get rid of any circumstancing on that rule?

A

Copy the rule to a higher RS version and mark it as a base rule by checking the box.

This tells the rule resolution algorithm to ignore all previous occurrences of the rule in the same major but different minor/patch version.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

How would you get rid of circumstancing on a rule by withdrawing it?

A

When a circumstanced rule is withdrawn all previous occurrences of this rule in the same major but lower minor/patch versions having the same circumstance type are withdrawn

Rule resolution then selects the base version of the rule despite meeting the circumstanced condition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

What rule is selected in rule resolution when a borrower has HighRisk accoring to our ruleset and the contained rules? (see picture)

A

The flagged rule is the correct rule resolution for this scenario. The flagged base rule is a higher priority then the rule with the values of HighRisk. In this case the lower ruleset version (01-01-01) with the two circumstanced rules is obsolete.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

Which rule would be selected by the rule resolution algorithm in this scenario? (Borrower with a low risk of default)

A

In this scenario the correct rule resolution for a borrower with a low risk of default in this example is the rule in the MyCoLoan ruleset version 01-01-01.

The higher version of MortLoan in the MyCoLoan ruleset is Withdrawn. A withdrawn rule hides a prior circumstanced version and reverts to the base rule.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

Which of the following statements are true about single variable rule circumstancing?

  1. The base rule is a backup rule in case the circumstanced rule is deleted
  2. A circumstanced rule is always created in the next higher ruleset verison
  3. The base rule is created by removing the circumstancing condition from a rule
  4. The name of the circumstanced rule remains the same as the name of the base rule
A
  1. The name of the circumstanced rule remains the same as the name of the base rule.

Circumstanced rules have the same name as the base rule. It is crucial to note the ruleset version for rule resolution.

36
Q

Which two of the following requirements are satisfied by configuring single-variable circumstancing of a rule? (choose 2)

  1. During an auto insurance claim, if a customer is located in Canada, it is required that a collect information form prompts an agent to enter a date of last service
  2. Contractors located in the US are sent Form 1A, contractors in Canada are sent Form 1B, and contractors located in the UK are sent Form 1C
  3. Silver-level customers have a guaranteed response time of 24 hours, whereas gold level members have a response time of 12 hours
  4. If an expense request exceeds 1000 dollars, it is routed to the Business Manager. If the request is over 10000 dollars it is routed to the Vice President of Finance
A
  1. Contractors located in the US are sent Form 1A, contractors in Canada are sent Form 1B, and contractors located in the UK are sent Form 1C
    * This is a good example of using circumstancing to evaluate an example property value of .ContractorLocation to determine which email attachment to send during case processing.*
  2. Silver-level customers have a guaranteed response time of 24 hours, whereas gold level members have a response time of 12 hours
    * This is a good example of evaluating an example property of .CustomerLevel for a Gold or Silver value, which would change the SLA. SLAs must be configured on a per-rule basis, and circumstancing allows to select different rules based on the property value evaluation.*
  • Review the reasoning behind the other answers not working: for the auto insurance claim, you can configure this solution by using a visible When condition to evaluate a property.*
  • For the expense requests, you can use simple business logic for routing and does not require special circumstanced rules.*
37
Q

Create a __________ to define a set of conditions that your application evaluates at run time to determine whether a rule is available for rule resolution

A

Create a circumstance template to define a set of conditions that your application evaluates at run time to determine whether a rule is available for rule resolution.

By defining the priority of circumstance definitions you control how your application behaves when one or more definition meets the specified condition

38
Q

_________ are circumstanced rules that are configured to reference other circumstance rules for the same base rules.

A

Redirected rules are circumstanced rules that are configured to reference other circumstance rules from the same base rules.

39
Q

A ______ is the fallback rule selected by the rule resolution when no other cirumstance version’s criteria is met.

A

A base rule is the fallback rule selected by the rule resolution when no other cirumstance version’s criteria is met.

Base rules have no circumstance qualification

40
Q

True or False? We are able to specialize (circumstance) case types in Pega.

A

TRUE

41
Q

Use a __________ rule to identify properties for multivariate circumstanced rules.

A

Use a circumstance template rule to identify properties for multivariate circumstanced rules.

These rules define the value combinations for each of the properties defined in the circumstance template rule.

42
Q

What type of circumstancing would you use in the following scenario?

A bank waives account fees for customers who maintain an account balance of $10,000 and are residents of the US. For customers who are not residents of the US, the account balance must exceed $25,000.

A

Multi-variant Circumstancing

  • In this situation, you create a circumstance template to define the properties on which to circumstance the rule. You then createt a circumstance definition to specify the minimum balance of $25,000 and the exception for customers who are not residents of the US.*
  • The circumstance template is the rule that defines the properties used to determine if the circumstance is applicable. In the minimum balance example, you first configure a circumstance template that defines .CountryOfResidence and .MinBalance as the two multivariate properties. For each circumstanced rule you must also provide a unique circumstance definition which defines the values for the circumstance template.*
  • If .CountryOfResidence != US then .MinBalance = $25,000*
43
Q

A __________ contains an array of properties such as .State, .Channel, and .ClaimAmount that reference property values in one or more __________.

A

A circumstance template rule contains an array of properties such as .State, .Channel, and .ClaimAmount that reference property values in one or more circumstance definition rules.

44
Q

True or False? Circumstancing provides a way to configure a complex rule with numerous permutations as several targeted and less complex rules.

A

TRUE

45
Q

If State = NY && RewardLevel = Silver, which rule is selected?

A

In this scenario, Pega would select the default highest ruleset. NY and Silver are not a circumstanced option, so the rule resolves to the highest default rule.

46
Q

Select 3 of the following tasks correctly and put them into the proper order:

  1. Configure a circumstance record
  2. Configure a circumstance definition
  3. Create a circumstance definition for unaccounted circumstance values
  4. Configure a circumstance template
A

Order:

  1. Configure a circumstance template
  2. Configure a circumstance definition
  3. Configure a circumstance record
47
Q

Which of the following statements is true about circumstancing?

  1. Multivariate circumstancing on start date and end date properties cannot also include additional circumstancing on a time property
  2. OrderDate is not a valid property to circumstance
  3. You need a template for circumstancing on more than one property
  4. When a circumstanced rule is withdrawn, rule resolution selects the next non-circumstanced rule in a higher ruleset version
A

  1. Multivariate circumstancing on start date and end date properties cannot also include additional circumstancing on a time property
    * Time can be specified along with date for the period definition*
  2. OrderDate is not a valid property to circumstance
    * OrderDate IS a valid property to circumstance.*

3. You need a template for circumstancing on more than one property: TRUE

  • Multivariate circumstancing requires a template, while single value circumstancing does not*
    4. When a circumstanced rule is withdrawn, rule resolution selects the next non-circumstanced rule in a higher ruleset version
  • This is not necessarily true. Rule resolution would select the next non-circumstanced version of a rule if the base rule is selected after the withdrawn rule, even if there are circumstanced rules in higher RS versions.*
48
Q

In which of the following two situations do you use circumstancing? (choose 2)

  1. Employee PTO accrual rate varies by number of years in service
  2. A new manager is assigned to the team from the first of next month until the end of the quarter
  3. The sales tax rate changes at the first of next year
  4. Attach PDF file of expense list to approval request when total amount is more than USD1000
  5. Format requirements change for postal code address when a user selects US or Canada
A
  1. Employee PTO accrual rate varies by number of years in service
    * A decisioning rule is used for this task instead of circumstancing*
  2. A new manager is assigned to the team from the first of next month until the end of the quarter
    * The manager and teams are both data instances. Both can be changed as needed in a production system.*

3. The sales tax rate changes at the first of next year

Circumstancing is helpful in such situations where calculations can change by current date

4. Attach PDF file of expense list to approval request when total amount is more than USD1000

  • This is accomplished by circumstancing a flow rule with that criteria*
    5. Format requirements change for postal code address when a user selects US or Canada
  • This solution is configured using a When condition and an Edit validate rule. How can we codify when we can use a When condition/Edit validate? There was another one of these questions where I also got this wrong.*
49
Q

Which of the following statements is true about the relationship between base rules and circumstanced rules?

  1. A base rule is created by removing circumstancing condition from a rule.
  2. The name of circumstanced rule remains the same as the base rule
  3. A new circumstanced rule always gets created in next higher ruleset version
  4. A base rule is needed as backup if a circumstanced rule gets deleted.
A
  1. The name of circumstanced rule remains the same as the base rule
    * The name of the rule remains same, which is why it is crucial to pay attention to RS versions during rule resolution*
50
Q

The ________ is the rule that defines the properties used to determine if the circumstance is applicable, whereas the ________ defines values.

A

The circumstance template is the rule that defines the properties used to determine if the circumstance is applicable, whereas the circumstance definition defines values.

51
Q

Based on the information below, if you execute the rule when .Dept=Accounting, which version does Pega Platform™ use?

Rule Version Circumstance

01-01-01 None
01-01-01 .Dept=Accounting
01-01-15 None
01-01-25 None, base rule selected
01-01-30 .Dept=Accounting
01-01-35 None

  1. 01-01-25, None, base rule selected.
  2. 01-01-01, .Dept=Accounting.
  3. 01-01-01, None.
  4. 01-01-30, .Dept=Accounting.
A
  1. 01-01-30, .Dept = Accounting
    * This version is the circumstanced version in the highest ruleset version above the ruleset in which the base rule flag was selected. All the rules before the base rule selected version are not applicable*
52
Q

Based on the information below, if you execute the rule when .Dept=Accounting, which version does Pega Platform™ use?

Rule Version Circumstance

01-01-01 None
01-01-01 .Dept=Accounting
01-01-15 None
01-01-25 None, base rule selected
01-01-30 .Dept=Accounting
01-01-35 None

  1. 01-01-25, None, base rule selected.
  2. 01-01-01, .Dept=Accounting.
  3. 01-01-01, None.
  4. 01-01-30, .Dept=Accounting.
A
  1. 01-01-30, .Dept = Accounting
    * This version is the circumstanced version in the highest ruleset version above the ruleset in which the base rule flag was selected. All the rules before the base rule selected version are not applicable*
53
Q

Based on the information below, if you execute the rule when .Dept=Engineering, which version does Pega Platform™ use?

Rule Version Circumstance

01-01-01 None
01-01-01 .Dept=Engineering
01-01-15 None
01-01-20 .Dept=Engineering
01-01-25 None, base rule selected
01-01-35 None

  1. 01-01-35, None
  2. 01-01-01, None.
  3. 01-01-20, .Dept=Engineering.
  4. 01-01-01, .Dept=Engineering.
A
  1. 01-01-35, None

Rule version 01-01-25 has the base rule selected. All the rules before this version are no longer applicable. When the system looks at only those rules available for ranking, the circumstance for Engineering is not applicable. The system chooses the highest version of the rule without any circumstances defined.

54
Q

________ is a search algorithm that a system uses to find the most appropriate instance of a rule to execute in any situation.

A

Rule resolution is a search algorithm that a system uses to find the most appropriate instance of a rule to execute in any situation.

  • Rule resolution occurs whenever a rule is needed to accomplish case processing.*
  • Rule resolution applies to most rules that are instances of classes derived from the Abstract Rule- base class:*
    • Case Types (Rule-Obj-CaseType)*
    • Properties (Rule-Obj-Property)*
    • UI*
    • Declare Expressions*
    • Data Pages*
55
Q

True or False? Rule resolution does not apply to records that are instances of classes derived from any other abstract base class such as Data-, System-, or Work-.

A

TRUE

  • A rule’s type is derived from the clcass which the rule was derived. For example, the rule type of a rule derived from the Rule-HTML-Section is called a section rule.*
  • Ex:*
    • Operator IDs(Data-Admin-Operator-ID)*
    • Email Listeners*
    • Operator’s Favorites*
    • The rule check in process*
56
Q

Inputs to the ________ include:

  • Predefined rule keys that are used as a unique identifier, such as the Apply to: class, rule _____, and rule _____
  • User’s Ruleset List
  • Class Hierarchy of the rule in question
  • ________ such as the value of a property or time/date restrictions
  • Availability of the rule
  • User’s access _____ and _____
A

Inputs to the rule resolution algorithm include:

  • Predefined rule keys that are used as a unique identifier, such as the Apply to: class, rule name, and rule type
  • User’s Ruleset List
  • Class Hierarchy of the rule in question
  • Circumstances such as the value of a property or time/date restrictions
  • Availability of the rule
  • User’s access roles and priveleges
  • The output of the rule resolution process is the first rule found that matches all of the input criteria.*
57
Q

Rules that are subject to the rule resolution process have an _______ setting.

A

Rules that are subject to the rule resolution process have an availability setting.

58
Q

The ______ setting is used to determine if a rule is used during rule resolution.

A

The availability setting is used to determine if a rule is used during rule resolution.

Also used to determine if you can view, copy or edit in Dev studio.

59
Q

You can set the availability of a rule to one of five values:

_________

_________

_________

_________

_________

A

You can set the availability of a rule to one of five values:

Available

Not Available

Blocked

Withdrawn

Final

60
Q

True or False? The rule resolution algorithm inputs rule instances and outputs a rule identifier, such as the rule types and class, to process a case.

A

FALSE

The rule resolution algorithm outputs the first rule found that matches all of the input criteria.

61
Q

Pega Platform uses a caching mechanism called the ________ to ensure rule resolution operates efficiently.

A

Pega Platform uses a caching mechanism called the Rules Cache to ensure the rule resolution operates efficiently.

  • When you application references a rule, the pega platform checks the rules cache for the referenced rule.*
  • If the referenced rule is not available in the rules cache, the pega platform uses a multi-step process to populate the rules cache.*
62
Q

What are the 6 stages in the process of populating the Rules Cache?

A
  1. Add rules with correct purpose
    * The rule resolution algorithm first creates a list of all rules that match the purpose of the rule in question to populate the rules cache. The purpose of a rule is defined by the combination of the rule name and rule type.*
  2. Remove Not Available rules
  3. Operator Ruleset List Access
    * The rule resolution algorithm uses the operator’s ruleset list to determine which candidates the operator can access*
  4. Remove Non-Inheritance Path
    * The ruleset resolution algorithm then removes all rule candidates not defined in a class hierarchy*
  5. Rank the remaining rule candidates (multi-step sub-process)
  6. Add remaining rule candidates to the Rules Cache
63
Q

Choose the correct statement:

  1. The rule resolution algorithm populates the Rules Cache with appropriate rule instances
  2. The rule resolution algorithm removes rule instances from the rules cache when a rule instance is updated
  3. The rule resolution algorithm inherits input from the rules cache to identify a rule instance
A
  1. The rule resolution algorithm populates the rules cache with appropriate rule instances.
64
Q

Choose the correct statement:

  1. When you create new rule instances, the key parts of the rule instance are used during rule resolution
  2. When you create new rule instances, the rule resolution process ranks the rule instance against existing rules
  3. When you create new rule instances, the rule instances are added to the rules cache
A
  1. When you create new rule instances, the key parts of the rule instance are used during rule resolution
65
Q

Choose the correct statement:

  1. Rule resolution applies to the followng rule instances: the Product Review Section, the Employee Review case type, and a new employee operator
  2. Rule resolution applies to the followng rule instances: the Account status declare expression, Medical Records request case, and a customer zip code property
  3. Rule resolution applies to the followng rule instances: Customer information data page, product review section and Mortgage pre-approval case type
A
  1. Rule resolution applies to the followng rule instances: Customer information data page, Product Review section, and Mortage pre-approval case type.
    * Figure out why the answer is not #2? The first time I solved through this I selected that as my answer.*
66
Q

The purpose of a rule is defined by the combination of the _______ and the _______.

A

The purpose of a rule is defined by the combination of the rule name** and **rule type.

67
Q

What are the major/minor version requirements when checking the operator’s ruleset list in the rule caching process?

A

Each rule must have the same major version number and a minor version number less than or equal to the specified minor versino number listen in the operator’s ruleset list.

  • In the example in PA, assume the operator’s RS list includes Purchasing:02-01 and TBB:03-01*
  • The 3 rules in the Purchasing:01-01-01 ruleset are eliminated because they do not match the major version in the operator’s ruleset list (Purchasing:02-01)*
68
Q

Select the correct statement:

  1. During rule resolution, the rule resolution algorithm discards rules that are unavailable and undefined in the class hierarchy
  2. During rule resolution, the rule resolution algorithm discards rules with the same rule name and rule type
  3. During rule resolution, the rule resolution algorithm considers rules from all major and minor versions of rulesets in the user’s ruleset list
  4. During rule resolution, the rule resolution algorithm creates a list of all rules that match the rule name
A
  1. During rule resolution, the rule resolution algorithm discards rules that are unavailable and undefined in the class hierarchy
69
Q

What are the 3 steps in the subprocess in the rule resolution process that ranks the remaining rule candidates?

A
  1. Sort the list of rule candidates
  2. All rule candidates marked with Withdrawn are removed from the list
    * Rules that share applies to class, major/minor version, and rule purpose with the Withdrawn rule are also removed from the list of the rule candidates*
  3. Default rule candidate is defined
70
Q

When the rule resolution algorithm subbprocess sorts the remaining candidates, what is the sort order? (there are 6 sorting conditions)

A

The rule resolution algorithm sorts the remaining candidates according to this order:

  • Class
  • Ruleset
  • Circumstance
  • Circumstance Date
  • Date/Time Range
  • Version
  • The first two criteria (class/rs) provide the basis for rule resolution. The closer a rule candidate is to the applied to class of the referenced rule, the higher the rule candidate is ranked.*
  • The next 3 criteria (circumstance(property/templates), circumstance date, and date/time range) are used as qualifiers to the basics of rule resolution and further refine the rule candidates.*
  • The last criteria (version) ranks the remaining candidate rules by the ruleset version that contains them. This ensures that cirumstanced rules are not automatically overridden if the base rule is updated in a more recent version.*
  • In the example, the list of candidates is ranked according to class and ruleset order, including any cirumstanced rules so no rules are removed from the list of remaining rule candidates.*
71
Q

In the rule resolution algorithm sub process when a rule is set to withdrawn what happens? What are the matching criteria to the withdrawn rule that results further action?

A

When available = withdrawn that rule is removed from the list of the remaining rule candidates.

Any other rule candidates that match (conditions need to all be true (I think? Doublecheck on this)) are also removed from the rule candidate list:

  • Applies to Class
  • Ruleset name and Major version number
  • Rule purpose
  • Any additional qualifiers
72
Q

A __________ is the first rule candidate (highest rank) that has _________.

A

A default rule candidate** is the first rule candidate (highest rank) that has **no qualifiers.

The default rule candidate is the last possible rule to be executed as it always matches any additional requests for this rule.

73
Q

Additional rule candidates ranked ________** the default rule candidate are **________.

A

Additional rule candidates ranked below** the default rule candidate are **discarded.

  • In the example, the default rule candidatet is TBG-Purchasing-Work-CreateREquest in the Purchase: 02-01-05 ruleset.*
  • The twto rules below the default rule candidate are removed from the list of rule candidates.*
74
Q

TRUE or FALSE? The default rule candidate has no qualifiers and is the first rule to be executed.

A

FALSE

The default rule is the _last_ rule to be executed as it _always_ matches any additional requests for this rule.

75
Q

If rule resolution is already run for the rule, the ________ has a alist of all possible rule candidates.

A

If rule resolution is already run for the rule, the Rules Cache has a alist of all possible rule candidates.

76
Q

A first best match is determined by an exact match of a property or date _______, or a _______ if no exact __________ matches are found. (blank 1 and 3 are the same)

A

A first best match is determined by an exact match of a property or date circumstance, or a default rule if no exact circumstance matches are found.

77
Q

What happens in the rule resolution process if it cannot find the rule in the rules cache?

A

The rule resolution populates the rules cache and it selects the best matching rule.

78
Q

What are the two conditions that will cause an error in the rule resolution process after it has selected the best matching rule?

A
  • Rule is blocked
  • Current Operator (requestor) is unauthorized to access the rule
79
Q

What happens when the rule resolution algorithm finds two rules that are equally correct when searching for a best match?

A

Pega Platform sends a message that there are duplicate rules and it stops processing.

80
Q

Based on the information in the attached table, if you execute the rule when .Product = Available which version of the rule does Pega Platform use?

  1. 02-01-05, .Product = Available
  2. 02-01-10, .Product = Restricted
  3. 02-01-05, .Product = Not Available
  4. 02-01-15, .Product = Available
  5. 02-01-10, .Product = Available
  6. 02-01-20, None
A
  1. 02-01-15. .Product = Available
    * If you execute when .Product = Available, Pega Platform uses the version 02-01-15 because it is the highest available rule where the qualifier matches the use case*
81
Q

Which of the two following statements are true about the rule resolution process? (choose 2)

  1. Rule resolution applies to rules that are instances of classes derviced from the Rule- and Work- base classes
  2. The rule purpose takes precedence over the rule availability
  3. If the system finds more than one rule instance during rule resolution, users are provided with a choice of which rule to use depending on context
  4. If a user does not have access to the selected rule, the system sends a message that the rule is not authorized for execution
A
  1. The rule purpose takes precedence over the rule availability
    * The algorithm checks the rule availability after checking the rule purpose*
  2. If a user does not have access to the selected rule, the system sends a message that the rule is not authorized for execution
    * The rule resolution algorithm verifies that the user has authorization to access the selected rule*
    * Rule insances derived from the Work- base class are not subject to rule resolution.*
82
Q

Which rule availability setting can you use to force the system to look for an instance of the rule in the next highest class or ruleset?

  1. Blocked
  2. Withdrawn
  3. Final
  4. Available
A
  1. Withdrawn

When a rule marked as Withdrawn is found duriwng rule resolution, the system looks for an instance of the rule in the next highest class or ruleset.

83
Q

Based on the image, given that Primary Page Class = MyCo-PL-Loan and the Clipboard Value of Risk Property = High Risk, which rule executes?

  1. None. An error is logged.
  2. 2
  3. 4
  4. 5
A
  1. 2
    * The withdrawn rule masks all lower versions of the non-circumstanced rules. The circumstanced rules have their own availability values. The rule request meets the condition for the High Risk circumstanced rule.*
    * Even though we have a Withdrawn rule in the 01-01-04 ruleset version and this is a higher version than the rule that we chose, the circumstancing on our rule prevents it from being Withdrawn and knocked out of the rule candidate list, however rules 1 and 4 are Withdrawn alongside rule 5.*
    * The circumstanced rule takes precedent.*
84
Q

Based on the image, given that Primary Page Class = MyCo-PL-Loan and Clipboard Value of Risk Property = “”, which rule executes?

  1. None. An error is logged.
  2. 2
  3. 4
  4. 5
A
  1. None. An error is logged.

  • The rule instances are blocked, and an error is logged if there is no circumstanced rule, and a higher version of the rule is set to Blocked.*
  • Since we don’t have a circumstancing and our Primary Page Class is MyCo-PL-Loan we select the highest RS version in this Applies to Class (and not the MyCo-PL- class) and therefor the highest version is the Blocked rule in row 5*
85
Q

For all 5 statuses mark which ones can be viewed, edited, copied, and/or executed:

Available:

Not Available:

Withdrawn:

Final:

Blocked:

A

Available: View, Copy, Edit, Execute

Not Available: View, Copy, Edit

Withdrawn: View, Copy, Edit

Final: View, Execute

Blocked: View, Copy, Edit

  • When a rule set to Not Available is found in the rules cache during the rule resolution process, the rule in the next highest version is considered for ruleset resolution*
  • If a blocked rule is selected during ruleset resolution, execution is halted and an error message is added to the log file*
  • Ruleset resolution process looks for an instance of the rule in the parent class or next highest ruleset in the application ruleset stack when a withdrawn rule is found*
86
Q

Which of the two following statements are true? (choose 2)

  1. If a rule marked as Blocked is selected during rule resolution, an error message is logged an execution continues
  2. To copy a rule, it must be marked as available
  3. When a rule is marked as Withdrawn any rule with the same purpose and lower version number is not considered
  4. The Availability setting is used to determine if a rule is available for use during rule resolution
A
  1. When a rule is marked as Withdrawn any rule with the same purpose and lower version number is not considered
  2. The Availability setting is used to determine if a rule is available for use during rule resolution
    * When a rule marked as withdrawn is found during ruleset resolution, the system looks for an instance of the rule in the parent class or next highest ruleset in the application ruleset stack.*