1What is the primary purpose of using External Scripts in Automation 360?
A.To automatically generate documentation
B.To increase the license cost of the RPA solution
C.To extend the capabilities of bots beyond native actions
D.To replace the Control Room database
Correct Answer: To extend the capabilities of bots beyond native actions
Explanation:
External scripts allow developers to perform complex logic, calculations, or integrations that are not available as out-of-the-box actions in the Automation 360 command library.
Incorrect! Try again.
2Which of the following scripting languages is NOT natively supported by a specific 'Script' package in Automation 360?
A.VBScript
B.Python
C.Swift
D.JavaScript
Correct Answer: Swift
Explanation:
Automation 360 provides specific packages for Python, VBScript, and JavaScript (and DLLs). Swift is primarily used for Apple ecosystem development and does not have a native action package.
Incorrect! Try again.
3When using the Python Script package, which action is required to initialize the script execution environment?
A.Python Script: Initialize
B.Python Script: Open
C.Python Script: Execute
D.Python Script: Run
Correct Answer: Python Script: Open
Explanation:
The 'Open' action is required to initialize the session, define whether the script is inline or a file, and set the Python version/path before running functions.
Incorrect! Try again.
4In the context of VBScript integration, what must be done to ensure multiple actions (Open, Run, Close) refer to the same script instance?
A.They must share the same error handler
B.They must be in the same loop
C.They must use the same variable mapping
D.They must use the same Session Name
Correct Answer: They must use the same Session Name
Explanation:
The Session Name (e.g., 'Default') links the Open, Run, and Close actions together so the bot knows which script environment to execute commands in.
Incorrect! Try again.
5What is a common use case for integrating a DLL (Dynamic Link Library) in Automation 360?
A.To execute high-performance compiled code or system-level functions
B.To record user keystrokes
C.To styling the user interface of the bot
D.To send emails without an SMTP server
Correct Answer: To execute high-performance compiled code or system-level functions
Explanation:
DLLs are used to run compiled code (often written in C# or C++) for high-performance tasks, complex calculations, or accessing system APIs not exposed by the RPA tool.
Incorrect! Try again.
6When using the Python Script: Run function action, how are arguments typically passed to the Python function?
A.Arguments cannot be passed to Python
B.As a JSON string only
C.As a global dictionary
D.As a List variable
Correct Answer: As a List variable
Explanation:
In Automation 360, arguments passed to a Python function are typically configured as a List variable, which the Python function receives as a list argument.
Incorrect! Try again.
7Which file extension is associated with VBScript files used in external automation?
A..dll
B..py
C..vbs
D..js
Correct Answer: .vbs
Explanation:
VBScript (Visual Basic Script) files typically use the .vbs extension.
Incorrect! Try again.
8If a Python script requires external libraries (e.g., pandas), what is a prerequisite for the bot to run the script successfully?
A.The libraries must be imported in the Control Room
B.The libraries must be converted to .dll files
C.The libraries must be installed in the Python environment utilized by the Bot Agent
D.External libraries are not supported
Correct Answer: The libraries must be installed in the Python environment utilized by the Bot Agent
Explanation:
The Python environment on the machine running the bot (Bot Agent) must have the necessary packages installed (e.g., via pip install) for the script to import them.
Incorrect! Try again.
9What is the best practice regarding the Close action for script packages?
A.It should only be used if an error occurs
B.It should always be called to release system resources and memory
C.It is optional and can be skipped
D.It is handled automatically by the operating system immediately
Correct Answer: It should always be called to release system resources and memory
Explanation:
Explicitly using the Close action ensures that the script engine (Python interpreter, VBScript engine, etc.) is terminated properly, freeing up RAM and file handles.
Incorrect! Try again.
10In the JavaScript package, which action is used to execute a specific function within the script?
A.JavaScript: Run function
B.JavaScript: Compile
C.JavaScript: Launch
D.JavaScript: Run JavaScript
Correct Answer: JavaScript: Run function
Explanation:
The 'Run function' action allows you to specify the name of the function inside the JavaScript code you wish to execute and pass arguments to it.
Incorrect! Try again.
11When passing sensitive data (like passwords) to an external script, what is the most secure method?
A.Pass the password as plain text in the variable
B.Write the password to a text file and have the script read it
C.Hardcode the password in the script file
D.Retrieve from Credential Vault and pass as an insecure string variable (only if necessary and handled securely in memory)
Correct Answer: Retrieve from Credential Vault and pass as an insecure string variable (only if necessary and handled securely in memory)
Explanation:
Credentials should never be hardcoded or written to files. They should be pulled from the Credential Vault. While scripts often require string inputs, the data should be handled with least-privilege scope and cleaned up immediately.
Incorrect! Try again.
12Which of the following is a limitation of VBScript compared to Python when used in RPA?
A.VBScript cannot manipulate strings
B.VBScript requires a paid license
C.VBScript cannot run on Windows
D.VBScript has fewer modern libraries and community support for data science and AI
Correct Answer: VBScript has fewer modern libraries and community support for data science and AI
Explanation:
Python has a vast ecosystem (Pandas, NumPy, TensorFlow) for modern data processing. VBScript is a legacy language primarily used for Windows automation and lacks these modern libraries.
Incorrect! Try again.
13In a Python script designed for Automation 360, what data type is returned to the bot if the Python function returns a dictionary?
A.It is returned as a Boolean
B.It causes a runtime error
C.It is strictly converted to a String
D.It can be mapped to a Dictionary variable in Automation 360
Correct Answer: It can be mapped to a Dictionary variable in Automation 360
Explanation:
Automation 360 supports mapping the return value of a Python script directly to a Dictionary variable if the Python function returns a dictionary object.
Incorrect! Try again.
14What is the purpose of 'Manual input' in the Open action of a script package?
A.To manually type or paste the script code directly into the bot definition
B.To type the file path manually
C.To ask the user for input at runtime
D.To manually select a file from the desktop
Correct Answer: To manually type or paste the script code directly into the bot definition
Explanation:
Manual input allows the developer to write the code inline within the Bot editor, rather than importing an external file. This is useful for short, simple scripts.
Incorrect! Try again.
15How does Automation 360 handle errors thrown within an external script (e.g., a Python syntax error)?
A.The action fails, and the error can be caught using the Error Handler package
B.The bot pauses indefinitely
C.The bot ignores it and continues
D.The computer restarts
Correct Answer: The action fails, and the error can be caught using the Error Handler package
Explanation:
If the external script crashes or throws an exception, the specific Run action in the bot will fail. This failure can be caught and managed using a Try-Catch block in the Error Handler package.
Incorrect! Try again.
16When using the DLL package, what is the difference between Managed and Unmanaged code?
A.There is no difference in Automation 360
B.Managed code runs on the .NET CLR; Unmanaged code runs directly on the OS
C.Managed code requires a manager approval
D.Managed code is Python; Unmanaged is C++
Correct Answer: Managed code runs on the .NET CLR; Unmanaged code runs directly on the OS
Explanation:
Automation 360 allows selecting the type of DLL. Managed DLLs (C#, VB.NET) run inside the Common Language Runtime, while Unmanaged DLLs (C++) execute directly as native machine code.
Incorrect! Try again.
17What is a 'Session Name' conflict?
A.When the script file name matches the session name
B.When two bots try to run at the same time
C.When the variable name matches the session name
D.When a bot tries to Open a new session with a name that is already currently Open
Correct Answer: When a bot tries to Open a new session with a name that is already currently Open
Explanation:
If a bot executes an 'Open' action with the session name 'MySession' while 'MySession' is already active (hasn't been Closed), a session conflict error will occur.
Incorrect! Try again.
18To maximize maintainability, where should large or complex external scripts be stored?
A.Emailed to the developer
B.Pasted directly into the 'Manual input' field
C.Stored as a file in the Control Room repository or a secure shared drive
D.Stored in a local temporary folder
Correct Answer: Stored as a file in the Control Room repository or a secure shared drive
Explanation:
Storing scripts as files in the Control Room ensures version control, centralization, and that the bot always downloads the latest version of the script logic.
Incorrect! Try again.
19Which of the following is a security risk when using external scripts?
A.Using comments in the code
B.Returning a boolean value
C.Using a script to calculate
D.Allowing the script to execute arbitrary code download from the internet (Remote Code Execution)
Correct Answer: Allowing the script to execute arbitrary code download from the internet (Remote Code Execution)
Explanation:
Scripts that download and execute code from external URLs pose a severe security risk (RCE). Scripts should be self-contained or only access trusted, verified internal resources.
Incorrect! Try again.
20In a Python script, what needs to be considered regarding the 'List' argument passed from Automation 360?
A.Python cannot accept lists
B.Python converts it to a tuple
C.Python treats it as a standard Python list
D.Python treats it as a string
Correct Answer: Python treats it as a standard Python list
Explanation:
Automation 360 marshals the List variable into a standard Python list object, which can be indexed and iterated over using standard Python syntax.
Incorrect! Try again.
21Why might a developer choose a DLL over a Python script for a calculation-heavy task?
A.DLLs (compiled languages) generally offer faster execution speed than interpreted scripts
B.Python is not supported in Automation 360
C.DLLs do not require a session
D.DLLs are easier to write
Correct Answer: DLLs (compiled languages) generally offer faster execution speed than interpreted scripts
Explanation:
Compiled languages (C#/C++) packaged in DLLs often execute purely computational tasks significantly faster than interpreted languages like Python or VBScript.
Incorrect! Try again.
22What is the recommended approach for debugging an external script that is failing inside a bot?
A.Implement logging within the script to write status/errors to a text file
B.Run the bot repeatedly hoping it works
C.Delete the script
D.Guess the error and change the code
Correct Answer: Implement logging within the script to write status/errors to a text file
Explanation:
Since you cannot easily step-through debug a script while the bot is running it blindly, adding logging statements (print/write to file) inside the script helps identify where logic breaks or what values are being received.
Incorrect! Try again.
23Which variable type is NOT typically supported as a direct return type from a VBScript function to Automation 360?
A.Complex Custom Object
B.Number
C.String
D.Boolean
Correct Answer: Complex Custom Object
Explanation:
RPA tools generally exchange simple data types (Strings, Numbers, Booleans, basic Lists/Dictionaries). Complex custom objects defined inside a script usually cannot be passed back directly; they must be serialized (e.g., to JSON) first.
Incorrect! Try again.
24What is the function of the System.Reflection approach when using DLLs?
A.It allows the bot to inspect and interact with the DLL's metadata and types dynamically
B.It makes the bot run slower
C.It mirrors the screen
D.It is used for image recognition
Correct Answer: It allows the bot to inspect and interact with the DLL's metadata and types dynamically
Explanation:
In .NET, Reflection allows the code (or the bot) to inspect loaded assemblies, classes, and methods at runtime to invoke them, which is how Automation 360 interacts with Managed DLLs.
Incorrect! Try again.
25When defining a Python function for Automation 360, how should the function signature look if it accepts arguments?
A.def MyFunction:
B.def MyFunction(args):
C.void MyFunction()
D.function MyFunction { }
Correct Answer: def MyFunction(args):
Explanation:
Python syntax requires the def keyword, the function name, and parentheses containing the argument name (e.g., args), followed by a colon.
Incorrect! Try again.
26If a VBScript is intended to automate an Excel file, what object is typically instantiated within the script?
A.CreateObject("Excel.Application")
B.GetExcel()
C.Import Excel
D.New Excel()
Correct Answer: CreateObject("Excel.Application")
Explanation:
CreateObject("Excel.Application") is the standard COM command in VBScript to create an instance of the Excel application for automation.
Incorrect! Try again.
27What is a 'Timeout' setting in the Run Script action used for?
A.To delay the script execution
B.To prevent the bot from hanging indefinitely if the script gets stuck
C.To determine when to start the script
D.To speed up the script
Correct Answer: To prevent the bot from hanging indefinitely if the script gets stuck
Explanation:
The timeout ensures that if a script enters an infinite loop or freezes, the bot will eventually terminate the action and throw an error rather than waiting forever.
Incorrect! Try again.
28Which of the following is a valid method to return data from a VBScript to Automation 360?
A.The function name must be assigned the return value (e.g., MyFunction = result)
B.Using WScript.Echo
C.Writing to the registry
D.Using return result
Correct Answer: The function name must be assigned the return value (e.g., MyFunction = result)
Explanation:
In VBScript, values are returned from a function by assigning the value to the function's name, unlike Python or JS which use the return keyword.
Incorrect! Try again.
29In the context of the JavaScript package, which engine is typically used for execution?
A.Unity Engine
B.Unreal Engine
C.The V8 engine inside a browser or NodeJS (depending on config) or Windows Script Host
D.Java Runtime Environment
Correct Answer: The V8 engine inside a browser or NodeJS (depending on config) or Windows Script Host
Explanation:
JavaScript in RPA is usually executed via Windows Script Host (JScript) or, in modern contexts, mapped to Node/Browser engines. Automation 360 primarily utilizes standard JS syntax compatible with these hosts.
Incorrect! Try again.
30If you need to parse a complex JSON response from an API that native actions cannot handle easily, which script type is most naturally suited for this?
A.JavaScript or Python
B.Batch file
C.VBScript
D.DLL
Correct Answer: JavaScript or Python
Explanation:
JavaScript (JSON is native to JS) and Python (standard json library) are far superior and easier to use for JSON parsing than VBScript or Batch files.
Incorrect! Try again.
31How can you pass multiple distinct values back from a Python script to the Bot if the Bot only accepts one return variable?
A.It is impossible
B.Return them as a List or Dictionary (or JSON string) and parse them in the Bot
C.Use global variables
D.Run the script multiple times
Correct Answer: Return them as a List or Dictionary (or JSON string) and parse them in the Bot
Explanation:
You can bundle multiple data points into a complex structure (List/Dictionary) or serialize them into a JSON string, return that single object, and then use Automation 360 actions to extract the individual values.
Incorrect! Try again.
32What is a 'Bot Agent' in the context of running scripts?
A.The local service running on the machine that executes the script code
B.The cloud server
C.The database
D.The person writing the bot
Correct Answer: The local service running on the machine that executes the script code
Explanation:
The Bot Agent is the execution engine installed on the local machine. It is responsible for spinning up the script processes (Python, VBScript) requested by the bot.
Incorrect! Try again.
33Which Python version is generally recommended for compatibility with Automation 360?
A.Python 1.0
B.The version officially supported by the specific release of Automation 360 (usually 3.x)
C.Any version works identically
D.Python 2.7
Correct Answer: The version officially supported by the specific release of Automation 360 (usually 3.x)
Explanation:
Automation 360 generally supports Python 3.x. Python 2 is deprecated. It is crucial to check the specific documentation for the supported version range (e.g., 3.6 to 3.12).
Incorrect! Try again.
34When using the DLL: Run function, what must be specified regarding the class?
A.The class constructor arguments
B.The namespace and class name (e.g., MyNamespace.MyClass)
C.The class background color
D.The class inheritance tree
Correct Answer: The namespace and class name (e.g., MyNamespace.MyClass)
Explanation:
To invoke a method in a managed DLL, the bot needs the fully qualified name: Namespace + Class Name.
Incorrect! Try again.
35What constitutes a 'clean' script environment (Best Practice)?
A.A script with no comments
B.Ensuring temporary files are deleted and variables are cleared/scoped correctly
C.A script that relies on no external dependencies
D.A script that deletes all files on the computer
Correct Answer: Ensuring temporary files are deleted and variables are cleared/scoped correctly
Explanation:
Best practices dictate that scripts should not leave 'garbage' behind (temp files, open connections) that could clutter the bot runner or cause memory leaks.
Incorrect! Try again.
36If a Python script works in IDLE but fails in Automation 360, what is a likely cause?
A.The computer is off
B.Python is too fast
C.Path issues or missing environment variables/dependencies in the execution context
D.Automation 360 hates Python
Correct Answer: Path issues or missing environment variables/dependencies in the execution context
Explanation:
Scripts often rely on relative paths or environment variables set in a developer's IDE that are not present when the Bot Agent executes the script in a background process.
Incorrect! Try again.
37What is the primary benefit of using External Scripts for regular expressions (Regex)?
A.Native Automation 360 string actions do not support advanced Regex patterns efficiently
B.It is slower
C.Regex is illegal in RPA
D.It is more code to write
Correct Answer: Native Automation 360 string actions do not support advanced Regex patterns efficiently
Explanation:
While Automation 360 has some string manipulation, languages like Python have powerful, standard Regex libraries that can handle complex pattern matching and substitution much more effectively.
Incorrect! Try again.
38How are print() statements in a Python script handled by Automation 360?
A.They are automatically emailed to the admin
B.They stop the bot
C.They are ignored (unless captured via stdout redirection techniques, which is not standard)
D.They appear in a pop-up window
Correct Answer: They are ignored (unless captured via stdout redirection techniques, which is not standard)
Explanation:
Standard output (print) is not the return value. To get data back to the bot, the function must return data. print outputs usually go nowhere unless specific logging is set up.
Incorrect! Try again.
39Which advanced script integration example would best solve the problem of 'Reading text from a scanned PDF that requires OCR configuration not present in the native tool'?
A.A VBScript MsgBox
B.A JavaScript alert
C.A simple text file
D.A Python script using the pytesseract or OpenCV library
Correct Answer: A Python script using the pytesseract or OpenCV library
Explanation:
Python has extensive libraries for Computer Vision and OCR (like Tesseract) that can provide capabilities far beyond basic built-in OCR tools.
Incorrect! Try again.
40When converting legacy metabots to Automation 360, how is logic often migrated?
A.Logic is often converted into Task Bots or DLL/Script integrations
B.Metabots are natively supported without changes
C.By printing the code on paper
D.It is deleted
Correct Answer: Logic is often converted into Task Bots or DLL/Script integrations
Explanation:
Metabots (from v11) often used DLLs. In Automation 360, these are migrated by using the DLL package or converting the logic into standard Task Bots or Scripts.
Incorrect! Try again.
41What is a 'Zombie Process' in the context of script automation?
A.A process that eats brains
B.A virus
C.A process that runs at midnight
D.A script process (e.g., python.exe) that remains running in the background after the bot finishes
Correct Answer: A script process (e.g., python.exe) that remains running in the background after the bot finishes
Explanation:
If 'Close' actions are not used or error handling is poor, the script engine executable may remain active in memory, consuming resources, known as a zombie process.
Incorrect! Try again.
42In VBScript, how do you handle arguments passed to the script file globally?
A.Using Console.ReadLine
B.Using WScript.Arguments
C.Using input()
D.Using sys.argv
Correct Answer: Using WScript.Arguments
Explanation:
WScript.Arguments is the collection used in VBScript to access command-line arguments passed to the script execution.
Incorrect! Try again.
43To ensure a Python script is portable between different Bot Agents, you should:
A.Hardcode absolute paths like C:\Users\John\Desktop\script.py
B.Never use Python
C.Use relative paths or system variables
D.Install Python on the D: drive only
Correct Answer: Use relative paths or system variables
Explanation:
Hardcoded paths fail if the username or drive letter differs. Using relative paths (relative to the bot execution dir) or system variables makes the bot portable.
Incorrect! Try again.
44Which command is used in Python to handle errors gracefully?
A.Do...Loop
B.try...except
C.On Error Resume Next
D.try...catch
Correct Answer: try...except
Explanation:
Python uses the try...except block structure for exception handling. (try...catch is Java/JS/C#).
Incorrect! Try again.
45Which command is used in VBScript to handle errors gracefully (or ignore them)?
A.ignore error
B.On Error Resume Next
C.try...except
D.catch error
Correct Answer: On Error Resume Next
Explanation:
VBScript uses On Error Resume Next to proceed to the next line after an error, or On Error GoTo 0 to disable it.
Incorrect! Try again.
46Can an Automation 360 variable of type 'Number' be passed directly to a Python script?
A.No, Numbers are deprecated
B.Yes, but it must be wrapped in a List or converted to String depending on the input configuration
C.Yes, directly as an integer
D.No, only Strings are supported
Correct Answer: Yes, but it must be wrapped in a List or converted to String depending on the input configuration
Explanation:
The Python 'Run function' action typically takes a List of arguments. You would add the Number variable to a List variable in Automation 360, then pass the List.
Incorrect! Try again.
47What is the result of using $$ inside a VBScript string in Automation 360?
A.It represents a single $ literal if variable expansion is active
B.It comments out the line
C.It represents a variable
D.It is a syntax error
Correct Answer: It represents a single $ literal if variable expansion is active
Explanation:
In Automation Anywhere, variables are wrapped in .
Incorrect! Try again.
48Which of the following is an example of an inefficient script integration?
A.Opening a Python session, running one function, and closing it inside a loop that runs 1000 times
B.Using a DLL for math
C.Opening a session once, looping 1000 times running the function, then closing the session
D.Using a script to parse a 10MB JSON file
Correct Answer: Opening a Python session, running one function, and closing it inside a loop that runs 1000 times
Explanation:
Initializing the script engine (Open) is resource-intensive. It is much more efficient to Open once, Loop the Run action, and Close once.
Incorrect! Try again.
49What is the significance of the __name__ == "__main__" block in Python scripts used with Automation 360?
A.It is required for the script to run
B.It renames the bot
C.It causes an error in Automation 360
D.It is useful for testing the script locally but is ignored when calling specific functions via the Bot
Correct Answer: It is useful for testing the script locally but is ignored when calling specific functions via the Bot
Explanation:
This block executes code only if the script is run directly (standalone). When Automation 360 imports the script to call a specific function (e.g. def process():), the code inside if __name__ == "__main__": does not run, preventing side effects.
Incorrect! Try again.
50If a script requires user interaction (e.g., a Python input() prompt), what will happen in a scheduled unattended bot?
A.The bot will hang/timeout because there is no user to provide input
B.The bot will randomly guess the input
C.The bot skips the line
D.The Admin receives an SMS
Correct Answer: The bot will hang/timeout because there is no user to provide input
Explanation:
Unattended bots run in the background. Scripts that block execution waiting for UI input (stdin) will cause the bot to hang until the timeout limit is reached.