A financial services firm is automating a legacy Windows application that frequently displays modal dialog boxes for transaction confirmations. These dialogs are owned by the main application process. The automation intermittently fails because it attempts to interact with the main window while a modal dialog is active. Which adapter property should be configured to ensure Robot Studio can interact with these modal dialogs reliably?
Answer and explanation
Correct answer: B
The HookChildProcesses property on a Windows adapter allows Robot Studio to inject its logic into child processes and windows created by the main application, including modal dialogs. When this is set to True, the adapter can see and interact with controls on these spawned windows, resolving the issue of the main window being blocked.
Question 2
Multiple answers
A developer is building an automation that iterates through a list of customer records from an Excel spreadsheet. For each record, the automation must perform a lookup in a web application. If the lookup takes more than 15 seconds, it should log a timeout error and move to the next record. Which combination of components is best suited to implement this specific timeout requirement for the web lookup action within the loop? (Select TWO)
Answer and explanation
Correct answers: A, B
A ForLoop is the standard component for iterating through a collection of items, such as rows from an Excel file.
A Timer component can be started at the beginning of the web lookup and its Elapsed event can be used to trigger the timeout logic if the lookup does not complete within the specified interval (15 seconds).
Question 3
An architect is designing a robotic solution that requires strict separation of concerns. The solution will interact with a CRM (Windows application), a claims processing system (web application), and use several custom date and string manipulation routines. According to Pega Robotic Coding Standards, how should the project items be organized within the solution?
Answer and explanation
Correct answer: D
Pega Robotic Coding Standards recommend creating separate projects for each interrogated application to encapsulate its logic. Shared, non-application-specific components like StringUtils and DateTimeUtils should be placed in a Global Container project, conventionally named with a _GC_ prefix. A main controller project then orchestrates the interactions between these components.
Question 4
A developer needs to extract a specific value from a fixed-length string where data is organized by character position. The input string is CUST001234ACCT987654PENDING. The goal is to extract the account number, which always starts at character position 11 and is 10 characters long. Which StringUtils method is the most direct and efficient way to accomplish this?
Answer and explanation
Correct answer: B
The Substring method is designed specifically for extracting a portion of a string based on a starting index and a length. For this scenario, using Substring with a startIndex of 10 (since it is zero-based) and a length of 10 is the most precise and efficient method.
Question 5
True or False: When using the StartMyDay component, the MessageManifest.xml file is mandatory for the component to function and load applications.
Answer and explanation
Correct answer: B
The MessageManifest.xml file is used by the StartMyDay component to display user-friendly messages during the application loading process. However, the component can still start applications without this file; it will simply not display the custom messages. Therefore, the file is optional, not mandatory.
Question 6
A project requires automating a web application that uses a multi-level navigation menu. When a user hovers over a top-level menu item, a sub-menu appears, and hovering over a sub-menu item reveals a third-level menu. The automation needs to click an item in the third-level menu. During interrogation, Robot Studio can only see the top-level menu items. What is the most effective technique to interrogate and automate the nested menu items?
Answer and explanation
Correct answer: C
For dynamic web elements that appear on events like hover, the standard interrogation process may not see them. The correct technique is to manually perform the action (hover over the menu) in the live application, which makes the sub-menu visible. Then, in the Interrogation Form, refreshing the control tree will allow Robot Studio to discover and capture the newly appeared elements for automation.
Question 7
A developer is debugging an automation and observes that a cloned instance of a web application page is not being released from memory after its use, leading to a memory leak. The automation uses the Created event of a page element to trigger logic, but there is no corresponding action for when the page is closed. Which practice should be implemented to ensure the cloned context is properly destroyed?
Answer and explanation
Correct answer: B
For every Created event that establishes a cloneable context (often setting a key), there must be a corresponding Destroyed event automation. This automation should handle the cleanup, which typically involves removing the key associated with that instance. This signals to Robot Studio that the context is no longer needed and can be released, preventing memory leaks.
Question 8
A retail company uses a centralized configuration server to manage settings for its fleet of robots. A new requirement is to have robots fetch a daily discount code from a REST API endpoint on the server before starting their tasks. Where in the Pega Robotic Automation solution should this configuration logic be implemented to ensure it runs automatically when the robot runtime starts?
Answer and explanation
Correct answer: B
The RuntimeConfig.xml file is processed when the Pega Robot Runtime starts. By specifying a StartupProject, you can designate a project within your solution to execute automatically upon startup, before any user interaction. This is the correct place to implement logic that needs to run once at the beginning of a robot's session, such as fetching configuration data.
Question 9
You are creating an automation that needs to perform one of three actions based on a customer's status: 'Gold', 'Silver', or 'Bronze'. Any other status should be treated as 'Standard'. Which automation component allows you to design this multi-branch logic cleanly based on the string value of the customer status?
Answer and explanation
Correct answer: C
The Switch component is specifically designed for multi-branch logic based on the value of a single variable. You can define a 'case' for each expected value ('Gold', 'Silver', 'Bronze') and a 'default' case to handle all other values ('Standard'). This results in a much cleaner and more maintainable automation than using multiple nested If-Else blocks.
Question 10
A developer is using the Excel File Connector to read data from a .xlsx file. The automation works correctly in the development environment but fails on the production machine with an error indicating that the Microsoft Access Database Engine is not installed. What is the root cause of this issue?
Answer and explanation
Correct answer: D
Under the hood, the Excel File Connector in Pega Robot Studio uses an OleDb data provider to connect to and query Excel files as if they were databases. This provider is part of the Microsoft Access Database Engine redistributable. If this engine is not installed on the machine where the robot is running, the connection will fail with the described error.
Question 11
An automation needs to wait for one of two possible outcomes after submitting a form: either a 'Success' message appears on the current page, or a new 'Error' page is loaded. The automation should proceed as soon as either of these events occurs. Which component is designed for this scenario?
Answer and explanation
Correct answer: B
The WaitAny component is used to pause an automation until at least one of a set of specified events has been triggered. In this case, you would connect the Created event of the 'Success' message and the Created event of the 'Error' page to the inputs of the WaitAny component. The automation will resume as soon as the first of these events occurs.
Question 12
A developer is building a solution that will be deployed to hundreds of desktops. The solution includes an adapter for a web application that requires a specific browser extension. What is the best practice for ensuring the required extension is present and enabled on all target machines?
Answer and explanation
Correct answer: B
For large-scale deployments, relying on manual user action is unreliable. The industry best practice is to use enterprise management tools like Windows Group Policy (GPO), Microsoft Endpoint Manager, or similar software to centrally manage and enforce browser configurations, including the silent installation and enabling of required extensions. This ensures consistency and reliability across the entire robot fleet.
Question 13
A case study involves a large insurance company that is automating its claims processing. The process involves multiple users, roles, and applications. The company wants a central dashboard for agents to see their assigned work, launch automations, and receive notifications. Which Pega Robotic Automation component is specifically designed to fulfill this requirement for a user-centric interaction hub?
Answer and explanation
Correct answer: C
Pega Interaction Manager is the component designed precisely for this purpose. It provides a framework for building a user-facing desktop application (the 'Interaction Player') that can host activities, manage work items from Pega Platform, display context data, and provide a control panel for users to interact with attended automations. It directly addresses all the requirements outlined in the case study.
Question 14
When interrogating a Java application that uses custom UI components, the standard interrogation process fails to identify individual controls within a custom grid. The grid is recognized as a single, monolithic object. Which Pega Robot Studio feature should be used to extend the interrogation capabilities to properly recognize the cells and rows within the custom Java grid?
Answer and explanation
Correct answer: B
Translators and Factories are advanced features in Robot Studio designed to handle non-standard or custom controls. A Factory identifies the custom control (the grid), and a Translator 'translates' its internal structure, exposing its constituent parts (rows, cells) as individual, interrogatable objects with properties and methods. This is the correct approach for deep integration with custom components.
Question 15
Multiple answers
What are the primary functions of Pega Robot Manager in a robotic automation ecosystem? (Select THREE)
Answer and explanation
Correct answers: B, C, D
A core function of Robot Manager is scheduling robot execution and managing work queues for unattended automation.
Robot Manager provides dashboards and reporting to monitor the operational status of all registered robots.
Robot Manager handles the distribution of work from Pega Platform work queues to available robots based on skills and priority.
Question 16
True or False: A single Pega Robot Studio solution can contain projects that create both a attended (RDA) deployment package and an unattended (RPA) deployment package.
Answer and explanation
Correct answer: A
A Pega Robot Studio solution is a container for multiple projects. It is possible and sometimes necessary to have different entry-point projects within the same solution, where one is configured for an attended deployment (e.g., using Interaction Manager) and another is configured for unattended execution. You can then generate separate deployment packages from the same solution targeting different operational models.
Question 17
You need to create a variable in your automation to store a customer's date of birth for later use. Which of the following is the most appropriate data type for this variable?
Answer and explanation
Correct answer: C
The DateTime data type is specifically designed to store date and time values. Using it allows you to perform date-specific calculations (like calculating age) and formatting easily using components like DateTimeUtils. Storing it as a String would require manual parsing for any date-related operations.
Question 18
An automation for a call center requires capturing a user's signature from a signature pad device connected via USB. This device does not have a standard Windows interface and requires interaction via a proprietary DLL file. How can a developer integrate this device's functionality into a Pega automation?
Answer and explanation
Correct answer: C
Pega Robot Studio's native capabilities are for automating application UIs. To integrate with hardware or custom logic contained in external libraries (like a DLL), the standard method is to use a Script component. Inside the script, you can write .NET code (C# or VB.NET), add a reference to the external DLL, and call its methods. The script can then expose its own methods and events to be used within the visual automation flow.
Question 19
A developer is troubleshooting an automation that interacts with a web page containing a table of search results. The automation needs to click a 'Details' button in the same row as a result with a specific Order ID. However, the button itself has no unique attributes. The Order ID is in the second column of the row, and the button is in the fifth. Which is the most robust method to identify the correct button to click?
Answer and explanation
Correct answer: B
The table designer in Robot Studio is built for this exact scenario. You first create a matched control for the data cell (the Order ID). Then, you create a control for the target element (the 'Details' button). By editing the button's match rules, you can specify that it must be a descendant of the same table row ( tag) as the matched data cell. This creates a reliable, context-based link between the data you know and the control you need to act upon.
Question 20
A case study describes a utility company that needs to automate the processing of PDF invoices. The invoices have a consistent layout but are scanned images, meaning the text cannot be selected. The automation must extract the invoice number, date, and total amount from each PDF. Which approach should the architect recommend?
Scenario Details
A regional power company receives hundreds of vendor invoices per day as PDF files. These PDFs are generated from a scanner and are image-based. A team of clerks manually re-types the data from these PDFs into a financial application. The goal is to create an unattended robot to automate this process.
Key Requirements
The solution must process image-based PDFs.
It must reliably extract data from specific locations on the document (e.g., invoice number is always in the top-right corner).
The solution must be integrated into the Pega Robot Studio environment.
flowchart TD
Start([Start Robot]) --> GetPDF{Get Next PDF Invoice}
GetPDF --> ExtractData[Extract Invoice Data]
ExtractData --> |Success| EnterData[Enter Data into Financial App]
ExtractData --> |Failure| LogError[Log Extraction Error]
EnterData --> ArchivePDF[Archive PDF]
LogError --> GetPDF
ArchivePDF --> GetPDF
Answer and explanation
Correct answer: C
Optical Character Recognition (OCR) is the specific technology designed to extract text from images. Since the PDFs are scanned images, an OCR component is required. The automation would use the OCR component to read text from defined regions of the PDF image (e.g., the top-right corner for the invoice number) and then use that extracted text in subsequent steps.