Pega Interview Questions For Freshers
Pega Interview Questions For Freshers
1. Explain the decision table and decision tree in the context of Pega. What are the
differences between them?
Decision Table:
In case of a decision table, the values in a column in a decision table evaluate against the
same property/operator pair, such as Gender =. When developers need to analyse several
different combinations of the same set of properties or conditions in order to produce a single
value or property, they can use a decision table. For example, a corporation determines bonus
eligibility based on the number of years spent at the company and ratings on five employee
assessment measures.
Decision Tree:
In a decision tree, each branch compares the property/operator pair to a single value in order
to take an action, such as returning a value or evaluating a nested condition. When evaluating
requirements on multiple attributes that are reliant on other conditions, developers might
employ a decision tree. In a decision tree, each branch is assessed, and any branches that
evaluate to true perform the action that follows, such as continuing the evaluation to the
nested condition. A language learning software, for example, is doing significant A/B testing,
with some users receiving hearts and others receiving stars for their efforts. Hearts and stars
have their own properties with their own worth. Based on the number of hearts or stars linked
with the account, a decision tree examines the various prizes that users are qualified for.
When a comparison evaluates to true, both decision tables and decision trees analyze
characteristics or conditions to deliver outcomes. Decision trees evaluate against distinct
characteristics or conditions than decision tables, which evaluate against the same set of
qualities or conditions.
A business stakeholder or low-code developer can easily configure and change dependent
conditions that evaluate against distinct characteristics due to the decision tree's line-by-line
layout. When a decision table is used in a circumstance where several criteria evaluate
against the same property, the decision table will include empty boxes where a value is not
required for the conclusion. A business stakeholder or low-code developer can easily
configure and change a decision that evaluates against many of the same properties due to the
decision table's table structure.
Real-Life Problems
Create My Plan
A data page in a Pega Platform application retrieves data from a specified data source and
caches it in memory. The integration to the data source is managed by a data page, which
separates business activities from any integration details. This separation enables app
developers to use supplied data in their apps without having to know the data source or
connection specifics. Unlike most Pega Platform pages, applications seek to populate the
contents of a data page only when the page is requested, rather than through an explicit
action. Data pages are classified as declarative rules since their content is available on
demand. To distinguish a data page from other pages in memory, Pega Platform
automatically adds the characters D_ to the name.
A developer must give four crucial pieces of information when creating a data page. They are
as follows :
Agents are defined by their own set of rules (Rule-Agent-Queue rule type). Agent Queue data
instances are used to enable and schedule agents (Data-Agent-Queue class). If potential
deadlock and other locking issues are appropriately managed by the activities in a multi node
cluster, an agent can execute on numerous nodes, even each node, to achieve high
throughput.
When users upload an input form, it is evaluated at the end of the input processing.
During the execution of an activity, assessment takes place at each step, after the
method has completed but before the evaluation of a transition in that phase.
As control passes from one job (one shape on the Visio flow diagram) to the next
during flow execution.
When the work item progresses from one form to another and within connectors at the
end of a flow transition (if a relevant property is set).
When the value of any of the attributes involved in the rule changes, index rules are
activated.
When an object is saved to the database, trigger rules are activated.
Decision tree rules, decision table rules, and case match rules do not employ forward
chaining and are only assessed when explicitly requested.
5. Explain Rule Resolution in the context of Pega. What are its benefits?
The search technique used by the system to discover the best or most appropriate rule
instance to apply in a given is known as rule resolution.
Except for a few rule types — classes that inherit from the Rule- class — rule resolution
applies to all rule types. Instances of classes derived from the Work-, Data-, or any other base
class are not affected by rule resolution.
Despite the fact that the rule resolution process is fast and invisible, it is critical to
comprehend how it works. Make key component value selections based on how you want
rules to be found via rule resolution when you construct applications. The rule resolution
process can be speed up by using an in-memory rule cache. If the system discovers an
instance (or instances) of the rule in question in the cache, it accepts the candidate rules from
the cache and bypasses many steps in the resolution process.
By
6. What do you mean by workspace or studio in the context of Pega? What are the
different types of workspaces offered by Pega?
A workspace is a place where you can use specialized tools and functionalities. You may let
team members focus on tasks that fit with their expertise by using different workspaces to
create and administer your application.
Pega Platform offers four studios, or role-based authoring workspaces and they are as
follows:
App Studio
Dev Studio
Prediction Studio
Admin Studio
Each studio speeds up application development and increases productivity by giving users
role-based capabilities.
Using role-based workspaces in the Pega Platform can help you increase productivity. Users
may see what they require when they require it. Front-end developers, for example, can work
in one workspace to create interface channels, while system administrators can switch
between workspaces to configure additional features and monitor run-time outcomes.
Multiple workspaces are available to users. The system opens the default workspace when
users log in. Users have access to various workstations and can switch between studios.
7. Explain activities in the context of Pega. What are the best practices while using
activities?
Activities in Pega Platform automate processing. Activities are scripted in Dev Studio and
consist of a series of stages that must be completed in the order specified. When more
appropriate rule types are unavailable, usually due to more sophisticated computations or
procedures, or when a rule requires an activity to run, activity rules automate the system.
Declare On change, for example, necessitates the usage of an activity to start a process or
pause work when the value of a particular property changes. Control returns to the rule that
called the action after the activity is completed.
For example, an insurance firm is obligated to upload insurance claims to the Registry of
Motor Vehicles. To minimize the impact on users, automated uploads take place during off-
peak hours. An activity can be configured in Pega Platform to allow the system to automate
claim uploads without the need for user participation.
Following are some of the best practices that one should keep in mind while using activities
in Pega :
Keep activities to a minimum. Limit your actions to no more than 25 steps, and make
sure that each one is focused on achieving a single goal.
Use alternate rule types whenever possible, such as a data transform to set a property
value.
Hand-coded Java should be kept to a minimum. When standard or custom rule types,
library functions, or activity methods are available, skip the Java stages in activities.
Topic Buckets
Mock Assessments
Reading Material
View Tracks
8. Explain PRPC in the context of Pega. What are the benefits of PRPC?
PRPC stands for Pega Rules Process Commander. Pegasystems is built on the PRPC
foundation. It is totally model-driven, allowing the creation of dependable and efficient
applications without the use of any code, including SQL, Java, CSS, or HTML. PRPC is a
software platform that enables companies to combine all of their diverse, complex business
procedures and methods into a single platform. It allows you to combine multi-stream
processing into a single system by automating, documenting, and simplifying business
processes.
Pega PRPC is made up of two unique entities.
Businesses can use the PRPC platform to combine all of their independent, separate,
and multiple business procedures and rules into a single platform.
It enables corporate processes to be automated, documented, and streamlined.
Multi-stream methods can be combined into a single system.
Data can be transferred between frameworks and processed, segregated, and decoded.
The purpose of PEGA PRPC is to cut down on the costs of any adjustments.
9. Explain Flow Action in the context of Pega. What are the different types of Flow
Actions available?
A flow action is a decision that users can make as an interim or final disposition for an
assignment they're working on. The Rule-Obj-FlowAction rule type is used to define each
flow action.
There are two sorts of flow actions:
Take, for example, an application that facilitates employee recruitment operations. When
completing an assignment that requires the employee to evaluate the quality of a candidate
(based on a résumé and application form), the employee enters his judgments and reasoning
in the application and then selects one of three flow actions: Advance, Reject, or MoreInfo.
These flow actions may employ distinct user form displays, such as in the action section of a
perform harness or in a modal dialogue, and may require different input fields.
10. Explain Requestor Type in Pega. What are the different types of Requestor types in
Pega?