Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Study Guide
© Copyright 2005
Pegasystems Inc., Cambridge, MA
All rights reserved.
This document and the software describe products and services of Pegasystems Inc. It may contain trade
secrets and proprietary information. This information should not be disclosed to third parties unless otherwise
provided for by a contract or business agreement with Pegasystems. This document and the software are
protected by federal copyright law, international laws, and/or applicable treaties.
This document is current as of the date of publication only. Changes in the document may be made from time
to time at the discretion of Pegasystems. This document remains the property of Pegasystems and must be
returned to it upon request. This document does not imply any commitment to offer or deliver the products or
services provided.
This document may include references to Pegasystems product features that have not been licensed by your
company. If you have questions about whether a particular capability is included in your installation, please
consult your Pegasystems service consultant.
Introduction..................................................................................................................................... 3
Section 5: Activities.......................................................................................................................27
Section 9: Clipboard......................................................................................................................40
Introduction
Welcome to the PegaRULES Process Commander® Study Guide. This PRPC study guide is
designed to:
• Provide a concept review for veteran Pegasystems professionals preparing for the
Certified PRPC System Architect exam
• Reinforce concepts for newly hired Pegasystems professionals who have completed Fast
Track to PRPC and Advanced PRPC Bootcamp
The questions are intended to challenge you to seek answers from several sources such as:
• Workbooks and materials for Fast Track to PRPC and Advanced PRPC Bootcamp
Guardrails
1. Adopt an Iterative Approach
2. Establish a Robust Foundation
3. Do Nothing That Is Hard
4. Limit Custom Java
5. Build For Change
6. Design Intent-Driven Processes
7. Create Easy-To-Read Flows
8. Monitor Performance Regularly
9. Calculate and Edit Declaratively, Not Procedurally
10. Keep Security Object-Oriented Too
Key Points
(a) Perform PAL testing 8
(b) Use standard PRPC rules, objects and properties 3,4
(c) Use no more than 15 SmartShapes® 7
(d) Control access to the application using privileges and roles 10
(e) Create the class structure early in the design process 2
(f) Use flow actions to guide users through the application 6
(g) Document five use cases upfront 1
(h) Use Auto Generated HTML 3
(i) Create a declared expression instead of using Property-Set 9
1.8 A RuleSet is c
(a) Any set of rules
(b) The set of rules and data that comprise your application
(c) A related group of business rules
1.9 Which of the following illustrates the preferred naming conventions for RuleSets? c
(a) MyCo-Orders
(b) Orders
(c) MyCoOrders
(d) mycoorders
1.12 Access to RuleSets can be granted in all but one of these ways: c
(a) For the entire Organization
(b) For a Division
(c) For an Org Unit
(d) By Job Function (via access groups)
(c) Instances of both Data- & Embed- classes can be saved as pages inside work
objects
(d) Embed- objects can be saved as persistent objects in the database
1.19 There is a ________ relationship between a folder and the items it contains: d
(a) One-to-one
(b) Many-to-one
(c) One-to-many
(d) Many-to-many
Peoples Insurance & Life (PIL) needs to build a PRPC application that generates insurance
quotes and policies. PIL offers insurance products for three lines of business: auto, home and life.
The workflow begins when a potential customer calls a toll free number and reaches a customer
service rep, or enters the PIL storefront and speaks to a sales agent. The sales agent or
Customer Service Rep gathers basic data such as name and age, and collects specific
information based on the type of insurance product the client is requesting, such as the make and
model of a car.
The PIL product database returns a Quote, which comprises a list of products and prices for each
type of insurance requested. Each product contains a product name, type, and price. A Quote
can be held for seven calendar days while the customer makes a decision. After seven days, the
Quote becomes inactive.
If the customer wants to purchase the insurance, the Quote information is retrieved and is used to
create a policy. As part of the issuance process, the policy is reviewed by Underwriting, and is
accepted or rejected within two business days. The sales agent or CS Rep is notified of the policy
status via an assignment to review the policy and its status.
In the Account Information section, the user selects the Region name, and a two-letter Region
code is stored in the property. The business uses a total of four or five regions that do not change
frequently.
2.3 The best way to implement the Region selection list is with a: c
(a) Local List
(b) Class Key Value
(c) Prompt List
(d) Remote List
10 Study Guide
In the Vehicle Information section, the user can select several automobiles. The selections are
stored in the Vehicle property.
2.5 The value selected in Make determines the values to be displayed in Model. This function is
implemented using: b
(a) Property set
(b) Dynamic select
(c) Dependency list
(d) Obj-List
2.6 Which two of the following are options in Rules Inspector? c, d, e as of 4.02
(a) Show harness rules
(b) Show section rules
(c) Show HTML rules
(d) Show property rules
(e) Show declarative rule
2.8 Standard attachment types in PRPC include all of the following except: b
(a) File
(b) Object
(c) URL
(d) Screenshot
(e) Scanned document
PegaRULES Process Commander Study Guide 11
A B C D E F G H
I J K L M N O
P Q R
1 Connector L 10 Split-Join I
2 Fork K 11 Utility D
3 Comment O 12 Assignment-Service Q
4 Integrator H 13 Router B
5 Assignment E 14 Split-ForEach J
6 Notify C 15 Start R
7 Flow F 16 Ticket N
9 Decision G 18 Pool P
3.2 What is usually the preferred way for an activity to create a work object in a flow? c
(a) Trick question – activities can’t start flows
(b) Use the Flow-New method
(c) Page-New method and call Work- Add
(d) Use the Utility shape
3.4 A flow can have more than one Start Flow shape. F
• True
• False
3.5 A flow can have none, one or many Flow End shapes. T
• True
• False
3.6 Worklist is one standard assignment activity. What are the others? c
(a) Workbasket
(b) Workbasket and router
(c) Workbasket, agent, connect and external
(d) Workbasket, agent, and router
3.8 The Assignment shape has a parameter for entering the work status. This status takes
effect: a
(a) When the assignment is created
(b) When the assignment is completed via a local flow action
(c) Only for the duration of the assignment
3.10 If your Assignment shape uses the standard rule Worklist, and your Router uses the
standard rule ToWorkbasket, what happens? d
(a) The flow will not save
(b) The flow will be suspended
(c) The flow will save, but an execution Java exception will be raised
(d) The flow will be suspended, and control will be transferred to the FlowProblems flow
3.13 Router, Notify, and Utility shapes are all based on what rule? c
(a) Rule-Obj-Flow
(b) Rule-Activity
(c) Rule-Obj-Activity
(d) They are each separate rule types
3.14 If a flow encounters an error condition that prevents it from continuing, what happens? b
(a) An exception is placed in the log4j file
(b) The current flow is suspended and the FlowProblems flow is started
(c) An e-mail is sent to the user’s manager
(d) The work object is closed
3.15 When would you choose a Fork shape instead of a Decision shape? b
(a) When you want to invoke a map value (not a map value pair)
(b) When you want to test something about the work object or its properties
(c) They are interchangeable
3.16 A work object has assignments in two different flows – Flow A and B. Flow B has ticket
attached to a Flow End shape. When the Ticket is set, what happens to Flow A? a
(a) Nothing happens as the Flow A assignment remains open.
(b) Flow A is terminated
(c) It depends on what is happening in Flow B
3.17 A work object has assignments in two different flows – Flow A and B. Flow B has ticket
attached to a FlowEnd shape. When the ticket is set: a
(a) You need to be sure to “clean up” any assignments from Flow B
(b) You need to be sure to “clean up” any assignments from both Flow A and B
(c) All assignments on this work object are automatically closed as an automatic part of
PRPC ticket processing
3.21 After dragging a Utility shape onto your flow, you use SmartPrompt in the Shape properties
to find your activity. The activity you want does not appear. Why not? d
(a) The Utility is not initialized
(b) The Utility is in the wrong class
(c) Your activity is in the correct class
(d) Your activity is not set to type Utility
14 Study Guide
3.22 In a Utility, how do I set a status that can be tested in the flow? c
(a) Use a Java step
(b) Call History-Add
(c) Use the TaskStatus-Set method
(d) Use a transition
3.23 The swim lane feature on a flow diagram organizes other shapes within separate
rectangles to illustrate distinct functional capabilities associated with an organization unit or
division. Each rectangle is known as a lane; the collection is known as the pool. true
(a) True
(b) False
3.25 How could you use a Flow shape to branch to another flow without returning control? a
(a) Do not have any connectors emanating from the Flow shape
(b) In the Flow parameters, select Branch, not Call
(c) You cannot use a Flow shape to branch to another flow
3.27 There must be one Connector shape emanating from a Decision shape for every possible
return value. b
(a) True
(b) False
3.28 If you want to enable SmartPrompt for the connectors emanating from a Decision shape: b
(a) Do nothing; this is automatic
(b) Include all possible return values in the Allowed Results field on the Results tab of the
decision rule
(c) Include the Result list in the properties for this Decision shape
PegaRULES Process Commander Study Guide 15
4.2 The ability to detect and obtain missing data needed for automatic computations to occur is
known as: b
(a) Forward chaining
(b) Backward chaining
4.5 To place a condition on a property, such as a value boundary, the best rule to use is: b
(a) Rule-Declare-Expressions
(b) Rule-Declare-Constraints
(c) Rule-Declare-GoalSeek
(d) Rule-Declare-OnChange
4.6 To run an activity when a target property changes the best rule to use is: d
(a) Rule-Declare-Expressions
(b) Rule-Declare-Constraints
(c) Rule-Declare-GoalSeek
(d) Rule-Declare-OnChange
Section 5: Activities
5.1 Pages and classes in activities: c
(a) Are used to link page names to a class within PRPC
(b) Enable SmartPrompts to display rules or properties within the Activity form for the
appropriate class
(c) Correspond to the pages on the clipboard
(d) None of the above
(e) A to c above
5.2 To loop through an embedded page in an activity, the directive to use is: c
(a) Loop
(b) Get Next
(c) For Each
5.3 When looping through a page list, all of the following are valid index references except: b
(a) (<CURRENT>)
(b) (<FIRST>)
(c) (<LAST>)
(d) (<INSERT>)
(e) (<APPEND>)
(f) (<PREPEND>)
5.7 Which method causes the system to end the current activity and continue with the next
activity on the requestor's activity list? a
(a) Activity-End
(b) End-Activity
(c) Exit-Activity
5.8 Obj-Open method opens an instance of a class into a step page. Which of the following
statements is true? d
(a) Before Obj-Open, the step page has to be created using Page-New
(b) The step page can be classless if it is temporary
(c) An instance of a step page with the same name can be reused and the data must be
cleared using Page-Reset
(d) An instance of a step page with the same name can be reused and the data is cleared
automatically
5.11 What is the class of the top-level clipboard page created by the Obj-List method? a
(a) Code-Pega-List
(b) Rule-Pega-Obj
(c) pxResults
(d) The same class as the returned instance
18 Study Guide
Section 6: Administration
6.1 A new operator ID can be created in which of the following ways: d
(a) Clicking the Add Operator link in the Organization area of the Administer workspace
(b) Using the Organization Chart link on the Administer workspace
(c) Creating a new instance of Data-Admin-Operator-ID
(d) All of the above
6.2 All the following are steps in creating a new work group except: c
(a) Creating a new instance of Data-Admin-WorkGroup
(b) Adding external and internal contacts
(c) Specifying a default RuleSet
(d) Specifying a default workbasket
6.4 All the following are steps in creating a new access group except: d
(a) Creating an access group name
(b) Specifying the default portal
(c) Specifying the default work pool
(d) Specifying a default workbasket
6.10 When delivering a PRPC product, the best practice is to mark the RuleSet as: b
(select all that apply):
(a) Final
(b) Locked
(c) Blocked
(d) Not available
6.11 The best way to move a RuleSet from the development environment into the production
environment is to use (select all that apply): a, b
(a) Export rules
(b) Load rules
(c) Skim rules
6.12 The best way to create a new major RuleSet version is to use: c
(a) Export rules
(b) Load rules
(c) Skim rules
6.13 The best way to create a minor or patch RuleSet version is to: b
(a) Use the Skim Rules tool
(b) Select the latest RuleSet version and Save As a new version
(c) Select New RuleSet from the administrater workspace
6.14 A user profile specifies RuleSet MyCoLoan:04-04. This user can access the following
RuleSet version (select all that apply): a, b
(a) MyCoLoan:04-04-12
(b) MyCoLoan:04-03-01
(c) MyCoLoan:04-05-01
(d) MyCoLoan:04-
20 Study Guide
7.2 PRPC has the ability to access data from an external database using: b
(a) Services
(b) Connectors
(c) Both a and b
(d) Neither a or b
7.3 External systems have the ability to access PRPC data using: d
(a) SnapStart
(b) Services
(c) Connectors
(d) Either a and b
(e) Either b and c
7.6 Which of the following statements are true regarding requestor pools? a c d
(a) A requestor pool is a set of requestor IDs that PRPC creates and reserves for a specific
service package
(b) Requestor pools can be used with stateful sessions and stateless sessions
(c) PRPC can shrink or expand the requestor pool automatically as needed
(d) In a stateless session, the clipboard for a requestor is cleared when the service
completes its response
7.7 The rule type that defines the components of a service is of class: b
(a) Data-Service-Requestor
(b) Data-Admin-ServicePackage
(c) Rule-Admin-Services
(d) Rule-Service-Package
7.9 Which class is used to process inbound e-mail as a service to receive messages from other
systems? b
(c) Data-Email account
(d) Rule-Service-Email
22 Study Guide
8.2 Which of the following statements about service level rules is true: a
(a) Service level rules define three time intervals: goal, deadline, and late
(b) Service levels are invoked for individual assignments, not for a work object as a whole
(c) Service levels are based on calendar days but are converted to business days using
Rule-SLA-Calendar
8.4 The following are all features of the Monitor Activity portal except: b
(a) Analyze Process Performance
(b) View Flows
(c) Find Reports by Name
(d) Create Custom Report
Section 9: Clipboard
9.1 The clipboard page containing all the pages created by your application and normal
processing is the: d
(a) Process page
(b) Requestor page
(c) Thread page
(d) User pages
9.2 The clipboard page that contains information about your access roles, RuleSet list, and
HTTP protocol parameters is the: b
(a) Process page
(b) Requestor page
(c) Thread page
(d) User pages
9.3 The clipboard page that is created at startup and contains system-wide state and
configuration information to PRPC is called: a
(a) Process page
(b) Requestor page
(c) Thread pages
(d) User pages
9.4 A clipboard page can be created by using the following activity method: b
(a) Page-Add
(b) Page-New
(c) Page-Create
(d) Page-Insert
9.5 The contents of a step page can be viewed in XML format using: b
(a) Show-XML
(b) Show-Page
(c) Show-HTML
(d) None; step pages cannot be viewed as XML
9.6 When a user logs out, user pages are marked for garbage collection and are removed
automatically: true
(a) True
(b) False
9.7 When a user logs out, requestor pages are marked for garbage collection and are removed
automatically: true
(a) True
(b) False
24 Study Guide
9.8 When a service request arrives from another application, a requestor page is created. As
the application executes, thread and user pages are created as well. These pages will be
removed automatically: b
(a) Never, as pages created by external services can only be removed using Page-
Remove
(b) Sometimes, as it depends on whether the Rule-Service- record indicates that the
requestor should be reused for subsequent requests
(c) Always, as requestor pages are temporary and are deleted after the work object is
created
9.10 A best practice for proper clipboard management is to match every Page-New, Obj-Open,
and Obj-List with a Page-Remove: true
(a) True
(b) False
PegaRULES Process Commander Study Guide 25
10.2 A user can set breakpoints in the Tracer tool for the following conditions except: d
(a) When a step results in a Java exception
(b) When a step results in a Warn status
(c) When a step results in a Fail status
(d) When a step results in a Continue status
10.3 The Tracer tool is running but no messages are being displayed. A likely cause is: a
(a) The Trace Event types and RuleSet options are not set
(b) The watch variables not set
(c) The breakpoints are not set
10.4 Using the Connector list in the Tracer, a user can trace processing for all the following
requestor types except: c
(a) Internet Explorer-based users
(b) Background users (such as agents and daemons)
(c) Listener processing (such MQ Listener)
(d) External applications
10.6 To change the format and level of detail in the log file as an aid to debugging, edit the
following: a
(a) log4j.xml (prlogging.xml in V4.02 SP2)
(b) logfactor5.xml
(c) jvm_log.xml
26 Study Guide
11.2 Typically, the process architect maintains which of the following rules:
(a) Decision tables x
(b) Decision trees x
(c) Access roles
(d) Access privileges
(e) Correspondence x
(f) Expressions x
11.3 Typically, the system architect maintains which of the following rules:
(a) Properties x
(b) User interface rules
(c) Services x
(d) RuleSets x
(e) Indexes
11.4 Typically, the system administrator maintains which of the following rules:
(a) Flows
(b) Portal access x
(c) User IDs x
(d) Activities
11.4 Place the SmartBuild Steps in order. Put a number next to the step indicating the order in
which the step is performed.