CSSA Flashcards
Which of the following statements are true regarding skimming? (Choose two)
a. Rules are automatically deleted once skimming has been completed to reduce the total number of RuleSet versions in the application.
b. Skimming is located in Tools > Rule Management > Skim a RuleSet.
c. When skimming to RuleSet 03-01-01, only the highest versioned rules from 02-01-01 and 01-01-01 RuleSets are included in the skim.
d. Withdrawn rules are included in a skim.
Skimming is located in Tools > Rule Management > Skim a RuleSet.
Withdrawn rules are included in a skim.
Note: RuleSets may be manually deleted but are not automatically deleted. Skims only select rules in one major version
You can create a Rule-Admin-Product-Patch with the same name both in the MLS RuleSet and in the MyCo RuleSet.
a. Yes - the system will allow for two separate instances of the rule if it is saved in different RuleSets. This practice should be avoided.
b. No - the system does not allow for multiple instances of a Rule-Admin- Product-Patch with the same name.
a. Yes - the system will allow for two separate instances of the rule if it is saved in different RuleSets. This practice should be avoided.
Note: You can create a Rule-Admin-Product-Patch with the same name both in the MLS RuleSet and in the MyCo RuleSet. The standard system validations allow you to create the rules with the same name in two different
RuleSets; however, since this can cause confusion it is not considered a best practice.
True or False: When migrating a Rule-Admin-Product-Patch from one environment to another, you must first have migrated a Rule-Admin-Product.
False
Note: There is no edit when the zip archive is loaded in the system.
For which purpose can out of the box activities be used?
Choose one answer.
a. To route work
b. To update the status of a work object
c. To add work to a cover or folder
d. All of the above
All of the above
Note: There are many out of the box activities that can be used for work-related processing, including routing to a work list or work basket, updating work status based on an input parameter, and adding work to a cover or folder.
In which category would you expect to find activities under the Rules by Type tab? Choose one answer. a. Process b. Technical c. Decision d. SysAdmin
Technical
Note: Activities are located under the Technical category in the Rules by Type tab in Manage Rules.
When processing a For loop or iterating over a Value List or Page List, which standard parameter would you inspect to get the value of the current iteration? Choose one answer. a. pyIterationNumber b. pyForEach c. pyCount d. pyForEachCount
pyForEachCount
Note: The standard parameter pyForEachCount holds the index value of the current iteration. Note that if the iteration is a For loop, the increment may be a value other than 1.
Which index value would you use when referencing the index of the current property within an iteration? Choose one answer. a. b. c. d.
Note: Use the index value of to reference the current property within an iteration.
Which of the following statements is false?
a. Local variables can be passed between activities
b. You cannot view local variables and their values in the tracer tool
c. You cannot view the contents of the parameter page in the clipboard viewer
d. You can view parameters and their values in the tracer tool
Local variables can be passed between activities
Note: Local Variables cannot be passed between activities and are valid only within the activity where they are set. This is the principle difference between local variables and parameters.
True or False: It is possible to comment out an activity step to prevent it from executing.
True
Note: To prevent an activity step from executing, comment it out by putting // in the Label column. This is very useful in testing.
True or False: You must always define the primary page of an activity on the Pages & Classes tab.
False
Note: If you do not define the primary page on the Pages & Classes tab, PRPC assumes the rules ?Applies To? class as the class of the primary page (referenced using the keyword PRIMARY).
How do you get the information for the user who has the lock?
Choose one answer.
a. You can?t get the information so you can?t satisfy this requirement
b. Leverage the LockInfoPage to see who has the lock
c. DetermineLockString will lock the claim items for you so this situation will never arise
d. This information is stored in pxRequestor.pxUserIdentifier
Leverage the LockInfoPage to see who has the lock
Note: In case a lock failure occurs when you do an obj -open or obj -open-by-handle, you can use the lockinfo text box on the method to specify a page name. The lock information for the object is stored under the pxUpdateOperator on the lockpage.
Can a cover and a covered work object belong to different class groups?
No
Note: Covers and the work objects they contain must belong to the same application classgroup.
What is the difference between a database lock and an object lock?
Choose one answer.
a. Object level locks persist for longer than database level lock and prevent two users from making changes to the record simultaneously
b. Database locks are held for a longer duration than object locks
c. None ? they are the same
Object level locks persist for longer than database level lock and prevent two users from making changes to the record simultaneously
Note: An object level lock prevents two people from making changes at the same time, thus protecting work object integrity. If you did not have object level locking, it would be possible for person A to overwrite person B?s changes without realizing that Person B had already written data to the database.
What is the entity relationship between covers and covered items? Choose one answer. a. One-to-Many b. Many-to-Many c. Many-to-One d. One-to-One
One-to-Many
Note: There is a one-to-many relationship between the cover and its covered work objects. Covered work objects can only belong to one cover.
What is the entity relationship between folders and foldered items? Choose one answer. a. One-to-One b. Many-to-One c. One-to-Many d. Many-to-Many
Many-to-Many
Note: There is a many-to-many relationship between folders and work objects. The same work object can be added to multiple folders.
Which shape allows you to spawn a flow for each element in an embedded list? Choose one answer. a. Spin-Off b. Sub-Flow c. Swim Lane d. Split-forEach
Split-forEach
Note: The Split-forEach shape allows you to spawn the same flow for each element in a page list. This allows multiple assignments to be created on the given work object.
After a ticket is raised can you resume processing from the point where the ticket was invoked?
Choose one answer.
a. Yes
b. No
No
Note: A ticket is a true ?goto? or ?jump? in the process and does not provide any functionality to resume back to where the flow was. The ticket breaks the normal execution of the flow and has no way to resume from where it was raised.
What value does having multiple end shapes in a flow provide?
a. None, because you cannot have multiple end shapes in a flow.
b. Helps to keep the flow clean and also provides a status at each end-shape that can be used from the parent flow.
c. It only keeps the flow clean.
d. It allows you to run an activity at each end shape.
Helps to keep the flow clean and also provides a status at each end-shape that can be used from the parent flow.
Note: Multiple end shapes allow you to keep the flow clean and at the same set a status at each end shape. This status can then be used by the parent flow to branch the flow down the appropriate path.
True or False: Screen flows have the same stencil/flow shapes as any other flow?
True
False
False
Note: Screen flows have a limited set of shapes available. This keeps the flows simple and at the same time limits the functionality that can be done for a screen flow.
In a java step inside an activity, you need to create an instance of the vector class. What is the valid way to do this in PRPC?
Choose one answer.
a. Vector x = new Vector ()
b. java.util.Vector x = new java.util.Vector()
c. java.library.Vector x = new java.library.Vector()
java.util.Vector x = new java.util.Vector()
Note: You must include the java.util.Vector library.
What does the tools.getDatabase () method do? (Tools is an instance of the PublicAPI object.)
Choose one answer.
a. It connects to the database and creates a new page.
b. It finds specific information in the database that can be used for current processing.
c. It associates a database instance with the current processing.
d. It gets a connection to the PegaRULES database instance associated with the current processing
It gets a connection to the PegaRULES database instance associated with the current processing
Note: The tools.getDatabase() method enables you to interface with other systems to complete current processing.
How do you obtain a lock on a row in the PegaRULES database through the PublicAPI ?
Choose one answer.
a. tools.lock()
b. tools.getDatabase().lock(, false).getLockManager(). ? where is set as a stringmap in a clipboard page
c. tools.getDatabase().getLockManager().lock(, false) ? where is set as a stringmap in a clipboard page.
d. tools.getDatabse().lock()
tools.getDatabase().getLockManager().lock(, false) ? where is set as a stringmap in a clipboard page.
Note: You need to include the getLockManager() and lock() methods
How would you refer to the step page of a java step in an activity?
Choose one answer.
a. Tools.findPage(myStepPage)
b. Use of the implicitly available instance myStepPage (e.g. myStepPage.addMessage)
c. Tools.findPage(?pagename?)
Use of the implicitly available instance myStepPage (e.g. myStepPage.addMessage)
Note: In activity steps, myStepPage is the object of class ClipboardPage. It refers to the page that was defined as the step page for that particular step.
What should you do to update an external database?
a. Call your Lead System Architect and ask what you should do.
b. Use the RDB-Save method.
c. Write a java step in an activity that creates and manages the database connection and executes the SQL query.
d. Write a java function that can be called in any activity within the application. More reuse than option A.
Use the RDB-Save method.
Note: By using an RDB-Save method, you are developing a system that is built for change. You do not need to worry.
Which classes are history records created for? Choose one answer. a. Work Classes b. Data Classes c. Rule Classes d. All of the Above
All of the Above
Note: History is created for work, data, and rule classes.
Which of the following are out of the box routing algorithms? Choose one answer. a. Route to a balanced skilled group b. Route to a skilled workbasket c. Route to a specific user d. All of the Above
All of the Above
Note: PRPC offer out of the box routing activities that should always be reviewed when working with routing. There are out of the box activities to push work to skilled workbaskets, to an individual, or to an individual who has the necessary skills and balance the work to the user with the least amount of work.
Which concept is associated with Pull Routing? Choose one answer. a. Worklist Routing b. Load Balanced Routing c. GetNextWork
GetNextWork
Note: The GetNextWork concept is used with Pull Routing. The system can determine how to pull work and assign the given work to a user.
What drives the order in which work is pulled by the GetNextWork algorithm?
Choose one answer.
a. It is driven by the access group.
b. It is controlled by the Operator ID tab.
c. It is controlled by the application rule.
It is controlled by the Operator ID tab.
Note: The operator ID record allows you to define for each operator how work should be pulled. The work can be pulled from the worklist first or from workbaskets. When deciding how workbaskets should be processed you can now have it pull from the order on the operator ID, or merge all workbaskets first then pull most urgent, or have it pull from all workbaskets for the workgroup.
True or False: Can you define SLA’s for assignments and also for work objects?
True
Note: SLA’s can be defined at each assignment and also for a work object. The work object SLA is defined by the pySLANAME which is set in the model for the work object.
The calculation types (e.g. Sum Of, Value Of, etc.) available in a Rule-Declare-Expression are:
Choose one answer.
a. Dependent on the applies to class of the rule.
b. Dependent on if the expression is context-free or context sensitive.
c. Dependent on the type of the input properties.
d. Dependent on the type of the target property.
Dependent on the type of the target property.
Note: Calculation types are only dependent on the type of the target property.
Which of the following options in the Change Tracking field enable backward chaining? (Select all that apply)
a. When used if no value present
b. When used if property is missing
c. Whenever used
d. Whenever inputs change
Whenever used
Note: The Whenever inputs change and When applied by a Rule Collection options enable you to forward chain, not backward chain.
Which of the following rules cannot be called by an expression in a manner in which property changes are tracked? Choose one answer. a. Decision Trees b. Decision Tables c. Activities d. Map Values
Activities
Note: Activities can only be called via utility function and thus are not changed tracked.
The simplest way to test a declarative expression network that performs aggregate functions (e.g. SUM OF) over a list of items is:
Choose one answer.
a. Create an activity that does property-sets on all of the necessary values.
b. Use a model to preset the number of items in the list.
c. Use the standard expression tester (the play button from the expression form) as it supports adding pages to a page list.
Use the standard expression tester (the play button from the expression form) as it supports adding pages to a page list.
Note: The standard expression tester supports adding pages to page lists and allows you to quickly test a number of different values.
All of the following rule types are executed declaratively except? Choose one answer. a. Constraints b. Activity c. OnChange d. Expressions e. Declare Pages
Activity
Note: An activity is executed procedurally rather than declaratively.
True or False: Backward chaining expressions always lead to worse performance than forward chaining rules
False
Note: This statement is false because in some situations, such as taking the sum over an aggregate list, backward chaining can improve performance.
Which of the following statements regarding naming and best practice is true?
Choose one answer.
a. Declarative page names and load activities can be named using the normal naming rules of PRPC.
b. Load activity names must start with the string ?Load.? Declare Page rules must start ?Declare_.?
c. Declare Page rules must start ?Declare_? as a best practice. Load activities must have an Activity Type of LoadDeclarativePage.
d. The name (key) of a Declare page is its Class followed by its name (purpose), such as DP1-Products.ProductList.
Declare Page rules must start ?Declare_? as a best practice. Load activities must have an Activity Type of LoadDeclarativePage.
Note: The name of the Declare Page rule defines the name of the page it creates. Only activities labeled as LoadDeclarativePage are referencable from a Declare Pages rule.
Which of the following statements are True for When rules in Declare Pages? (Select all that apply)
a. The page is refreshed when the When condition evaluates to True.
b. The When rule defines the logic for refreshing a Node scope Declare page.
c. The page is refreshed when the When condition evaluates to False.
d. The When rule defines the logic for refreshing a Thread scope Declare page.
The page is refreshed when the When condition evaluates to False.
The When rule defines the logic for refreshing a Thread scope Declare page.
Note: Thread scoped declared pages can be conditionally refreshed. The When rule that governs this process tests the question, ?Is this page fresh?? If false, the page is stale and is refreshed.
Which operation is valid on Declare Pages in the clipboard?
Choose one answer.
a. Executing the Page-Remove method in an activity.
b. Executing the Property-Set method in an activity.
c. Using the Delete Page action in the clipboard Viewer tool.
d. Using the Update Page action in the clipboard Viewer tool.
Executing the Page-Remove method in an activity.
Note: Declare Pages in the clipboard are protected from being altered manually to maintain data integrity. Removal, however, just forces the system to recreate the page when next required.
Which of the following is a difference between a declarative page defined as Node level versus Thread level?
Choose one answer.
a. Node level pages are read-only, and Thread level are not
b. Thread level pages can use a When rule to determine if the page needs to be refreshed; Node level cannot.
c. Node level pages must be named Declare_Node_.
d. Node level pages are loaded when PRPC starts up, and Thread level pages are loaded when the user logs in.
Thread level pages can use a When rule to determine if the page needs to be refreshed; Node level cannot.
Note: Node level rules can only be refreshed periodically. They cannot use When logic to determine when to refresh.
True or False: Thread level declarative pages can be designed so that they always hold data related to the current work object.
True
Note: Using a When rule you can associate the declarative page with the work object and refresh the declarative page when the work object changes.
True or False: You can include a section on a harness that refers to a Declare_ page as long as all fields are marked read-only.
True
Note: Declarative pages can have sections built on them and displayed on a work object
harness.
Which of the following is true about debugging declarative pages?
Choose one answer.
a. You can use the Flush Page button on the rule form to force a page to be flushed.
b. The Declare Page Tracer event type allows you to see the loading of declarative pages.
c. PAL contains a number of counters specific to declarative pages.
d. All of the above.
All of the above.
Note: All of the above options can be used in debugging declarative pages.
Which of the following statements is false?
Choose one answer.
a. Decision tables can call other decision tables without having to use a utility function.
b. Decision trees can call other decision trees without having to use a utility function.
c. Decision trees can call other decision trees, decision tables, or map values without having to use a utility function.
d. Decision tables can call other decision tables, decision trees, or map values without having to use a utility function.
Decision tables can call other decision tables, decision trees, or map values without having to use a utility function.
Note: Decision tables can only call other decision tables using the Call syntax; to call a
different rule type would require the execution of a utility function.
Which of the following rule types can take advantage of function aliases to improve the readability of business rules? Choose one answer. a. Map Values b. Decision Trees c. Decision Tables d. Declarative Pages
Decision Trees
Note: Only decision tree forms utilize function aliases.
Which of the following rule types would normally NOT be delegated to business users? Choose one answer. a. Rule-Declare-DecisionTable b. Rule-Obj-MapValue c. Rule-Obj-Activity d. Rule-Declare-DecisionTree
Rule-Obj-Activity
Note: Activities are normally not delegated to the business as they require a deeper technical knowledge and often do not contain pure business logic.
True or False: Decision trees and decision tables allow you to set a number of different properties for each result that is returned.
True
Note: You can set multiple properties per rule using the Take Actions feature on decision
trees and the Additional Action Columns on a decision table.
Which of the following statements is true about Rule-Declare-Trigger execution?
Choose one answer.
a. Declarative triggers run directly in the database.
b. Declarative triggers always run in a separate requestor from the user’s session.
c. By default declarative triggers run in the user’s current requestor but can be configured to run in a child requestor.
d. Declarative triggers run only in the current user’s requestor.
Note: Triggers provide the options to run the trigger activity in the current requestor (default) or ‘In Background On Copy’.
By default declarative triggers run in the user’s current requestor but can be configured to run in a child requestor.
Note: Triggers provide the options to run the trigger activity in the current requestor (default) or ‘In Background On Copy’.
Unlike Rule-Declare-Trigger instances, Rule-Declare-OnChange instances:
Choose one answer.
a. Can only run once per user interaction.
b. Can programmatically review the changes that caused the rule to fire.
c. Can see the previous value of any changed property.
d. Can be executed by PRPC running a property-set.
Can be executed by PRPC running a property-set.
Note: OnChange rules can be executed by the simple act of changing a property’s value.
Triggers require some type of persistence operation to occur.
Rule-Declare-OnChange rules are different from Rule-Declare-Expressions in that:
Choose one answer.
a. OnChange rules can execute an activity directly, rather than set a single property.
b. OnChange rules require a front end user to make a change.
c. OnChange rules can only track top level properties.
d. OnChange rules ONLY use backward chaining to track changes whereas expressions can use either forward or backward chaining.
OnChange rules can execute an activity directly, rather than set a single property.
Note: Expressions can only set a single property at a time.
Which of the following allows you to create a zip archive containing rules?
Choose one answer.
a. Rule-Admin-Product
b. Choosing File > Export Archive from the Developers Portal
c. Choosing Tools > Rule Management > Delete a RuleSet
d. All of the above
All of the above
Note: Each of the listed processes has an output of a zip archive file. The Delete a Ruleset option creates a zip archive for recovery purposes.
When selecting work from the WorkList the out of the box (OOTB) functionality will be ranked on which of the following? (Choose one)
Choose one answer.
a. Work Object urgency value defined by the pySLAName property of your work object and depending on the assignment urgency.
b. Both WorkObject and Assignment Urgency are considered in ranking.
c. Assignment urgency only
d. Neither - it works on the FIFO principle
Assignment urgency only
On the Security Tab of an Activity there is a “May Start” checkbox. In which circumstance would it be appropriate to leave this box unchecked? (Choose one)
Choose one answer.
a. You don’t want the activity to be used yet as it is still under development
b. This activity is to be limited in its scope and is not to start other activities.
c. You would like to promote the security of your application and want to limit what actions can start
this activity.
You would like to promote the security of your application and want to limit what actions can start
this activity.
What is the only declarative rule that can use backward chaining?
a. Constraint
b. Expressions
c. Index
d. OnChange
e. Trigger
Expressions
Note: Backward chaining is used only by declare expression when the change tracking option has one of the following: When used, if no value present. When used, if property is missing. Whenever used. When applied by a Rule collection.
A context-free Declarative Expression allows you to define and execute expressions on embedded data classes. True or False
FALSE
How would you delegate a rule to a specific group of users? (Choose two)
a. By adding this rule to System-User-MyRules through the Favorites and specifying the access group
b. By creating a link to that rule in the portal
c. By making sure security and portal configuration for this group of user is appropriate
d. By providing developer access to restricted set of users in that group
By adding this rule to System-User-MyRules through the Favorites and specifying the access group
By making sure security and portal configuration for this group of user is appropriate
Note: We have to add the rule in the Favorites; we also have to make necessary changes to that Roles security setting so those users can actually save these rules.
Which query will require more memory in the PRPC clipboard memory? Please choose one answer.
Choose one answer.
a. Select count (*) from pc-work
b. Select pzINSKEY from pc-work where pzINSKEY = ‘1234’
c. Select * from pc-work
d. Select PVZSTREAM from pc-work where pzINSKEY = ‘1234’
Select * from pc-work
A production system is suddenly running very slow. Looking at the PRPC Alert log file you see thousands of “Query time exceeds limit” alert messages for the same query with long elapsed time.
Which one of the following is the correct answer to resolve the problem?
Choose one answer.
a. Remove the “Where Clause” from the query.
b. Verify that the database table contains an index on the column name used in the query “where clause”.
c. Increase the alert threshold number of the “Query time exceeds limit” alert message to a higher number to avoid the logging in the alert log file.
Verify that the database table contains an index on the column name used in the query “where clause”.
Identify the two statements that are true in the context of the SMA? (Choose two)
a. The SMA is available in both the prweb.war and prpc_j2ee14.ear deployment files.
b. Using SMA you can get the PegaRULES build information.
c. Using SMA you can manage the JDBC connection pool size.
d. Using SMA you can see all the integration service listeners and their individual status
e. Size of the Rules Assembly Cache and Database Cache can be seen in the Memory Management option.
f. SMA cannot be configured to access multiple nodes.
Using SMA you can get the PegaRULES build information.
Using SMA you can see all the integration service listeners and their individual status
What is the best way to report on embedded data structures? (I.E. data that lives within a pagelist)
a. Build a list view which reports directly on the embedded data
b. Build a declarative index that maps to the embedded data structure and build the report in the index class
c. Expose as many columns as needed so you can build the listview report
d. Use a custom activity to write the data to an external table and then build a listview to report on the data.
Build a declarative index that maps to the embedded data structure and build the report in the index class
Note: b is the best option as it uses PRPC to map the embedded data to the index class and your reports can run on the exposed columns in the index table.
Which of the following are true about Summary View but are not true for List View? (Choose three)
a. Can have multiple criteria
b. Can define threshold. True, we can only define threshold in summary view.
c. Can have paging.
d. Can have charts. True, only summary view can have charts.
e. Can have trend reporting. True, only summary view can have trend reporting.
Can define threshold. True, we can only define threshold in summary view.
Can have charts. True, only summary view can have charts.
Can have trend reporting. True, only summary view can have trend reporting.
We can improve the reusability of a rule in PRPC in which of the following ways? (Choose Three)
a. By using Application Profiler
b. By following naming conventions and Documentation
c. By using Availability feature in the Rule form
d. By using parameters in the rules where possible
e. By completing the history tab
By following naming conventions and Documentation
By using parameters in the rules where possible
By completing the history tab
Please complete the following sentence. Access When rules?
Choose one answer.
a. Are instances of Rule-Obj-When referenced that determine which users have access to a given application.
b. Are used to dynamically grant privileges and define role entitlements based on the specified criteria
c. Can only refer to properties on the primary clipboard page.
d. Are the same as Rule-Obj-When rules except that they can call utility functions.
Are used to dynamically grant privileges and define role entitlements based on the specified criteria
Which four statements are true about roles? (Choose four.)
a. A role defines the levels of access to rules that apply to a class and instances of that class
b. Roles can be created and modified using the Role Editor
c. A role defines various levels of access to RuleSets and RuleSet versions
d. A role defines a list of privileges a user has on a class level
e. Rule-Access-When rules provide conditional grants of privileges.
f. An access group can only have one role defined
A role defines the levels of access to rules that apply to a class and instances of that class
Roles can be created and modified using the Role Editor
A role defines a list of privileges a user has on a class level
Rule-Access-When rules provide conditional grants of privileges.
In the context of PRPC Services and Connectors, identify the statement(s) that are true? (Choose two)
a. Service Package is used to generate the WSDL file for an end client that wishes to use a SOAP service.
b. The JMS integration interface supports both point-to-point and publish/subscribe messaging models.
c. The service package locates the service rule and then assembles a response message from the input
properties.
d. Connector rules are used within PRPC to provide services to external systems.
Service Package is used to generate the WSDL file for an end client that wishes to use a SOAP service
Note: WSDL files are used only in the context of web service integration.
The JMS integration interface supports both point-to-point and publish/subscribe messaging models.
Note: The JMS integration interface supports interactions between your Process Commander application and other systems through the Java Message Service (JMS). Process Commander supports JMS through both services and connectors. JMS services can receive (consume) messages from a JMS topic or queue and produce responses to those messages. This facility supports both point-to-point and publish/subscribe messaging models. It supports durable subscriptions, automatic acknowledgment and, if Process Commander is deployed as an enterprise application, transaction-based processing.
An extremely cost-conscious client uses Tomcat servers but need services exported from PRPC. Can you implement Rule-Service-EJB?
No
Note: Tomcat is not a full application server and cannot support this
Which of the following is NOT a PRPC provided tool that assists in creating rich and dynamic user interfaces?
Choose one answer.
a. A Style Wizard that assists in creating and maintaining CSS styles that are applied to screens.
b. A list to list control that allows users to simply drag and drop items from one list to another.
c. Selectable listviews, that allow users to view report style data and interact with it by selecting one or many rows
d. A carousel style widget for displaying related work objects
A carousel style widget for displaying related work objects
Which of the following is not true about portals?
Choose at least one answer.
a. An operator can have multiple portals.
b. In PRPC v5.5 developers must use Composite Portal type No, it is not a requirement, traditional
portal can also be used.
c. Portal is rule resolved
d. Portal is specified in Data-Admin-Operator ID No, portals are specified in the access group not in the operator record.
e. Skin of the user portal is specified in Portal Rule
In PRPC v5.5 developers must use Composite Portal type No, it is not a requirement, traditional
portal can also be used.
Portal is specified in Data-Admin-Operator ID No, portals are specified in the access group not in the operator record.
RuleSet prerequisites are part of rule resolution and enforced during run-time. True or False
False
Note: Correct, RuleSet prerequisitesare enforced at development time, not during run-time.
You can define a circumstance of a rule if a base rule does not exist. True or False
False
Note: False is the correct answer. A base rule must exist before a circumstanced version can be created.
Can you create an agent in Legacy Mode in PRPC v5.5?
Choose one answer.
No
Note: Legacy Mode was been deprecated in PRPC v5.
When you create a Standard Agent to queue work, under which access group does the agent process a work object?
Choose one answer.
a. Its own specified on the security tab.
b. The requestor who queued the work.
c. The access group specified under Data-Admin-Requestor:Batch
d. It doesn’t need an access group as the system figures out how to process the queue.
The requestor who queued the work.
Note: Standard agents that use Auto Queue management are context based. They use the same Access Group to run as the requestor who queued the work.
What are the three modes in which an agent can run in PRPC v5.5?
a. Legacy
b. Advanced
c. Standard
d. Deprecated
Legacy
Advanced
Standard
Note: Deprecated is not a mode.
Can you enable Auto Queue Management for Advanced agents?
No
Note: Auto Queue Management is available only for Standard Agents.
Do you have to explicitly create Schedule instances for the Agent on every node?
No
Note: Schedule instances are auto created by PRPC.
What is the Agent Manager
Choose one answer.
a. An out of the box agent that manages PRPC requestor sessions and times them out.
b. A master agent that creates schedule instances from Agent definitions.
c. An out of the box agent that manages the queue for standard agents.
d. A master agent that bypasses activity authentication for agents.
A master agent that creates schedule instances from Agent definitions.
Are Agent Schedule instances created if the Enable this Agent? checkbox on the Agents Definition is disable?
No
What kind of a cache is the lookup list cache?
Choose one answer.
a. Database level cache for properties and metadata about properties
b. App Server disk based cache
c. App server memeory based cache
d. The only way to cache compiled rules
App Server disk based cache
Note: Lookup list cache is a mechanism to store the results of a query against the database on the application server in the PRPC temporary directory.
How do you utilize the lookup list cache?
Choose one answer.
a. By calling @baseclass.lookuplist or one of its subclass variants in an activity step
b. By calling tools.retrieveLookupList() in a java step
c. By calling out of the box supplied Rule Utility Function listLookup
By calling @baseclass.lookuplist or one of its subclass variants in an activity step
Note: @baseclass.lookuplist forms the basis for all lookuplist calls. This activity allows you to specify two parameters for doing lookups.
What will happen if the System Pulse does not run in an multi-node environment? Choose Two.
a. Rule changes made on one node will not be visible on other nodes
b. Static content caches won?t be synchronized.
c. Lucene indexes for full text searching won?t be synchronized
d. Property conclusion cache won?t be synchronized
Lucene indexes for full text searching won?t be synchronized
Rule changes made on one node will not be visible on other nodes
Note: general, the following four events are published to the pr_sys_updatescache table:
Cache (changes to the rules)
DELLC (Lookup list cache changes)
Index (Lucene Index)
RFDEL (Rule File Deletes)
The pulse running on each node will wake up and pick the records that were not created by it within the window of time starting with the last pulse run which in turn would invalidate the cache entries on the node and cause RA Cache and possible Rule Instance Cache to be refreshed after compilation of that rule occurs.
What is the advantage of Rule Assembly Cache?
Choose one answer.
a. No advantage, databases are superfast and so is code generation this is an overhead
b. Generated and compiled code ensures that there is no further database activity to retrieve rules and makes the system fast
c. Even though the code is generated external systems can update the rules thereby forcing the system to regenerate the rules so there is no advantage
d. First Use Assembly forces the system to regenerate the code every time the system restarts thereby ensuring that the latest rules are always available to the user
Generated and compiled code ensures that there is no further database activity to retrieve rules and makes the system fast
Note: The process of generating java code, compiling it and storing java compiled class files on disk ensures that once a system is primed further database activity is minimized thus ensuring faster performance.
What happens if the extract marker file is deleted from the temporary directory?
a. Only Rule-Utility-Function rules are recompiled
b. Previously generated code is moved to the backup directory and full code regeneration occurs
c. The usage of the file is deprecated and it makes no difference if the file is deleted
d. The file is created every time you reboot the application server and tells the system to regenerate the code
Previously generated code is moved to the backup directory and full code regeneration occurs
Note: Contrary to what the contents of the extract marker file says, deleting the file will cause code regeneration and compilation.
What is the Rule Instance Cache?
Choose one answer.
a. In Memory Cache of the XML of a frequently accessed rule
b. Disk based cache of the XML of a frequently accessed rule
c. First Use Assembly cache
d. Cache of the generated and instantiated rule instance
In Memory Cache of the XML of a frequently accessed rule
What happens if you delete the java file for a rule and restart the system?
Choose one answer.
a. Code is regenerated and compiled again
b. Nothing as the class file still exists
c. Code is retrieved from the PRGenBackup directory and recompiled
d. Class file is deleted and code is regenerated and recompiled
Nothing as the class file still exists
Note: The rule execution process is highly optimized if a class file is present it uses that to prevent compilations.
I am trying to find out who is holding the lock on a given work object. What is the best way to do this without trying to lock the object?
Choose one answer.
a. Use Ob-Open-By-Handle and use the LockInfoPage
b. Run a RDB method against the database to see who holds the lock
c. Use the tools.getLockManager().isLocked method in a java step
Use the tools.getLockManager().isLocked method in a java step
Note: The public API has powerful facilities that can be leveraged to find information about locks without locking the work object.
I am entering my expense report into PRPC and it always crashes due to bad active controls. I log back in as the same person and I am prompted to release a lock. If I am the same person, why I am prompted to release the lock?
Choose one answer.
a. PRPC locks are held at the requestor level
b. Someone else locked the object while your browser crashed.
c. The lock went soft and someone stole it.
d. The Expense Report system has special code in it that always asks you to release a lock.
PRPC locks are held at the requestor level
Note: All PRPC locks are held at the requestor level. There can be multiple requestors for a given user, which means you can open two IE windows to do work on the same object. Requestor level locking prevents you from opening two windows to work on the same object.
When you select File > Open > Portal > WorkUser and a new portal opens in a window, is this a new requestor, thread, Thread?
Choose one answer.
a. New Requestor, New Thread, and New thread
b. New Requestor, New Thread, and Old thread
c. Same Requestor, New Thread, and same thread
d. Same Requestor, same Thread, and same thread
Same Requestor, New Thread, and same thread
Note: One Requestor, one underlying Operating System thread and multiple Thread namespaces.
) If I perform the tasks listed below in the sequence shown in an Activity on an Integer Property X, what is the final value in the database?
- Property-Set (value = 5)
- Obj-Save
- Property-Set (value = 10)
- Obj-Save with Write now
- Commit
Choose one answer.
a. 10
b. 5
c. 0
d. 15
5
Note: The first obj-sav puts the value of 5 on the deferred ops list. The second obj-save writes the value of 10 to the database directly. The final commit flushes the deferred ops list which means the at the value of 5 will overwrite the value of 10.
If I perform the tasks listed below in the sequence shown in an Activity on an Integer Property X, what is the final value in the database?
- Property-Set (value = 5)
- Obj-Save
- Property-Set (value = 10)
- Obj-Save
- Commit
Choose one answer.
a. 10
b. 5
c. 0
d. 15
10
Note: Only one update statement will be on the deferred ops list so 10 will overwrite 5.