i
Persistent
Systems
Work with us
Filter interviews by
ITIL is a framework for IT service management that aligns IT services with business needs.
ITIL stands for Information Technology Infrastructure Library.
It provides best practices for delivering IT services effectively.
The framework is divided into five stages: Service Strategy, Service Design, Service Transition, Service Operation, and Continual Service Improvement.
For example, in Service Design, organizations cre...
Automation execution can encounter various exceptions, impacting test reliability and results.
Timeout Exceptions: Occur when a test waits too long for an element to appear, e.g., waiting for a button that never loads.
Element Not Found: Happens when the automation script cannot locate a UI element, e.g., a missing input field on a form.
Stale Element Reference: Occurs when a web element is no longer attached to the ...
Method overloading allows multiple methods with the same name but different parameters; overriding replaces a method in a subclass.
Method Overloading: Same method name, different parameter types or counts. Example: 'add(int a, int b)' and 'add(double a, double b)'.
Method Overriding: Redefining a method in a subclass that already exists in the parent class. Example: 'void display()' in both parent and child.
Overloa...
The event loop is a programming construct that manages asynchronous operations in JavaScript, enabling non-blocking execution.
Single Threaded: JavaScript runs on a single thread, meaning it can only execute one operation at a time, which is managed by the event loop.
Call Stack: The event loop works with the call stack, where functions are executed in a last-in, first-out manner.
Web APIs: Asynchronous operations li...
Event-driven programming in JavaScript enables responsive and interactive applications by reacting to user actions and events.
Asynchronous Handling: JavaScript uses event-driven programming to handle asynchronous events, allowing the application to remain responsive while waiting for tasks like API calls.
User Interaction: Events such as clicks, key presses, and mouse movements can trigger functions, enabling dynam...
The server-side model processes requests on the server, generating dynamic content and managing data before sending it to the client.
Request Handling: The server receives requests from clients, processes them, and sends back responses, often using frameworks like Express.js.
Dynamic Content Generation: Server-side applications can generate HTML dynamically based on user input or database queries, e.g., rendering a ...
Async and await are keywords in JavaScript that simplify working with asynchronous code, making it easier to read and maintain.
Async Function: Declaring a function with 'async' allows it to return a promise, enabling the use of 'await' within it.
Await Keyword: The 'await' keyword pauses the execution of an async function until the promise is resolved, making asynchronous code look synchronous.
Error Handling: Async...
This program identifies the second highest number in a list of integers, ensuring efficient comparison and handling of duplicates.
Input Array: Start with an array of integers, e.g., [3, 5, 1, 4, 2].
Remove Duplicates: Use a set to eliminate duplicates, resulting in {1, 2, 3, 4, 5}.
Sort the Array: Convert the set back to a list and sort it in descending order, yielding [5, 4, 3, 2, 1].
Select Second Element: The seco...
Playwright enables parallel test execution to speed up testing processes across multiple browsers and contexts.
Test Runner: Use Playwright Test, which supports parallel execution out of the box by running tests in multiple workers.
Configuration: Set the 'workers' option in the Playwright configuration file to define how many tests can run simultaneously. Example: 'workers: 4'.
Test Suites: Organize tests into suite...
Playwright allows easy retrieval of table data from web pages using selectors and built-in functions for automation testing.
Use CSS Selectors: Identify the table using a CSS selector, e.g., `await page.$('table')`.
Extract Rows: Retrieve all rows with `const rows = await page.$$('table tr');` to get an array of row elements.
Loop Through Rows: Iterate through the rows to extract cell data, e.g., `for (const row of r...
I applied via Naukri.com and was interviewed in Mar 2021. There were 4 interview rounds.
Code for database connectivity
Import the required database driver
Create a connection object using the driver
Establish connection to the database using connection object
Execute SQL queries using the connection object
Close the connection
Dynamic web tables can be handled using various methods like XPath, CSS selectors, and Selenium commands.
Identify the table element using its HTML tag and attributes
Use Selenium commands like findElement() and findElements() to locate the table and its rows/columns
Iterate through the rows and columns using loops and extract the required data
Use XPath or CSS selectors to locate specific cells or data within the table
Han...
I appeared for an interview in Jan 2025.
The Java Virtual Machine (JVM) is an abstract computing machine that enables a computer to run Java programs.
JVM is platform-independent and converts Java bytecode into machine code.
It consists of class loader, runtime data areas, execution engine, and native method interface.
JVM memory is divided into method area, heap, stack, and PC register.
Examples of JVM implementations include Oracle HotSpot, OpenJ9, and GraalVM.
The default connection pooling in Spring Boot is HikariCP, which can be customized through properties in the application.properties file.
HikariCP is the default connection pooling library in Spring Boot, known for its high performance and low overhead.
To customize the connection pooling, you can modify properties like 'spring.datasource.hikari.*' in the application.properties file.
For example, you can set maximum pool ...
Best practices for optimizing a Spring Boot application
Use Spring Boot Actuator to monitor and manage application performance
Implement caching mechanisms like Spring Cache to reduce database calls
Optimize database queries and indexes for better performance
Use asynchronous processing with Spring's @Async annotation for non-blocking operations
Profile and analyze application performance using tools like VisualVM or JProfi...
A heap dump is a snapshot of the memory usage of a Java application at a specific point in time.
Heap dumps can be generated using tools like jmap or VisualVM.
They provide detailed information about objects in memory, their sizes, and references.
Analyzing a heap dump can help identify memory leaks by pinpointing objects that are consuming excessive memory.
Common signs of memory leaks in a heap dump include a large numbe...
Diagonally iterate through and print elements of a 2D array of strings.
Use nested loops to iterate through rows and columns of the 2D array.
Calculate the diagonal elements by incrementing row and column indices together.
Print the elements as you iterate through the diagonal of the array.
I appeared for an interview in Feb 2025.
Flattening an array involves converting a multi-dimensional array into a single-dimensional array without using the flat method.
Use reduce: You can use the reduce method to iterate through the array and concatenate elements. Example: `arr.reduce((acc, val) => acc.concat(val), [])`.
Use recursion: Create a function that checks if an element is an array and flattens it recursively. Example: `function flatten(arr) { ret...
Implementing a counter in React without useState can be achieved using refs for mutable state management.
Using useRef: You can create a mutable reference using useRef to store the counter value, which persists across renders.
Example: const countRef = useRef(0); to initialize the counter.
Updating the Counter: Use a function to increment the value, e.g., countRef.current += 1; to update the counter.
Triggering Re-renders:...
Using Context API to manage API data in a React application.
Create a Context using React.createContext().
Build a Provider component that fetches data from an API.
Use useEffect to make the API call when the component mounts.
Store the fetched data in a state variable using useState.
Pass the data and any necessary functions through the Provider's value.
Consume the context in child components using useContext.
I applied via Walk-in and was interviewed in Nov 2024. There were 3 interview rounds.
It's walkin, so they conducted 1 technical mcqs round.
Microservices communicate with each other through various communication protocols like HTTP, messaging queues, and gRPC.
Microservices can communicate over HTTP using RESTful APIs.
Messaging queues like RabbitMQ or Kafka can be used for asynchronous communication between microservices.
gRPC is a high-performance, open-source RPC framework that can be used for communication between microservices.
Service discovery mechanism...
Microservices allow for modular, scalable, and flexible software development by breaking down applications into smaller, independent services.
Microservices enable easier maintenance and updates as each service can be developed, deployed, and scaled independently.
They improve fault isolation, as failures in one service do not necessarily affect the entire application.
Microservices promote agility and faster time-to-mark...
I applied via Naukri.com and was interviewed in Dec 2024. There were 3 interview rounds.
Use Java Streams to find pairs in an array that sum to 11.
Use IntStream.range to iterate through the array indices.
For each element, check if there's a complement (11 - current element) in the array.
Use a Set to store seen numbers for efficient lookup.
Example: For array [1, 10, 2, 9, 3, 8], pairs are (10, 1), (9, 2), (8, 3).
I appeared for an interview in Jan 2025.
In Linux shell scripting, use the -e flag to check if a file exists.
Use the command: if [ -e $filename ]; then echo 'File exists'; fi
The -e flag checks for the existence of a file or directory.
You can also use -f for regular files: if [ -f $filename ]; then echo 'Regular file exists'; fi
For directories, use -d: if [ -d $dirname ]; then echo 'Directory exists'; fi
This task involves removing a specified number of characters from a string based on asterisks indicating the count.
Identify the number of asterisks in the string to determine how many characters to remove.
Use string slicing to remove the specified characters from the original string.
Example: For 'Persis****', remove 4 characters to get 'Pe'.
Consider edge cases, such as when the number of asterisks exceeds the length of...
I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.
Business Analyst (BA) focuses on understanding business needs and requirements, while Product Owner (PO) focuses on defining and prioritizing product features.
BA analyzes business processes and systems to identify areas for improvement, while PO works closely with stakeholders to define product features and prioritize the product backlog.
BA typically works on multiple projects simultaneously, while PO is dedicated to a...
I appeared for an interview in Jan 2025.
A Java program to find and replace specified characters with corresponding numbers in an array of strings.
Iterate through each string in the array
Count the occurrences of specified characters
Replace the characters with corresponding numbers
Return the modified array of strings
Separate even and odd numbers in an array, placing even numbers on the right side and odd numbers on the left side.
Iterate through the array and check if each element is even or odd.
Create two separate arrays to store even and odd numbers.
Append even numbers to one array and odd numbers to another.
Finally, combine the two arrays with even numbers on the right and odd numbers on the left.
I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.
I am a Senior Data Engineer with experience in developing data pipelines and optimizing data storage for various projects.
Developed data pipelines using Apache Spark for real-time data processing
Optimized data storage using technologies like Hadoop and AWS S3
Worked on a project to analyze customer behavior and improve marketing strategies
My day-to-day job in the project involved designing and implementing data pipelines, optimizing data workflows, and collaborating with cross-functional teams.
Designing and implementing data pipelines to extract, transform, and load data from various sources
Optimizing data workflows to improve efficiency and performance
Collaborating with cross-functional teams including data scientists, analysts, and business stakeholde...
DAGs handle fault tolerance by rerunning failed tasks and maintaining task dependencies.
DAGs rerun failed tasks automatically to ensure completion.
DAGs maintain task dependencies to ensure proper sequencing.
DAGs can be configured to retry failed tasks a certain number of times before marking them as failed.
Shuffling is the process of redistributing data across partitions in a distributed computing environment.
Shuffling is necessary when data needs to be grouped or aggregated across different partitions.
It can be handled efficiently by minimizing the amount of data being shuffled and optimizing the partitioning strategy.
Techniques like partitioning, combiners, and reducers can help reduce the amount of shuffling in MapRed...
Repartition increases or decreases the number of partitions in a DataFrame, while Coalesce only decreases the number of partitions.
Repartition can increase or decrease the number of partitions in a DataFrame, leading to a shuffle of data across the cluster.
Coalesce only decreases the number of partitions in a DataFrame without performing a full shuffle, making it more efficient than repartition.
Repartition is typically...
Incremental data is handled by identifying new data since the last update and merging it with existing data.
Identify new data since last update
Merge new data with existing data
Update data warehouse or database with incremental changes
SCD stands for Slowly Changing Dimension, a concept in data warehousing to track changes in data over time.
SCD is used to maintain historical data in a data warehouse.
There are three types of SCD - Type 1, Type 2, and Type 3.
Type 1 SCD overwrites old data with new data.
Type 2 SCD creates a new record for each change, preserving history.
Type 3 SCD maintains both old and new values in the same record.
SCD is important for...
Reverse a string using SQL and Python codes.
In SQL, use the REVERSE function to reverse a string.
In Python, use slicing with a step of -1 to reverse a string.
Use Spark and SQL to find the top 5 countries with the highest population.
Use Spark to load the data and perform data processing.
Use SQL queries to group by country and sum the population.
Order the results in descending order and limit to top 5.
Example: SELECT country, SUM(population) AS total_population FROM table_name GROUP BY country ORDER BY total_population DESC LIMIT 5
To find different records for different joins using two tables
Use the SQL query to perform different joins like INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
Identify the key columns in both tables to join on
Select the columns from both tables and use WHERE clause to filter out the different records
A catalyst optimizer is a query optimization tool used in Apache Spark to improve performance by generating an optimal query plan.
Catalyst optimizer is a rule-based query optimization framework in Apache Spark.
It leverages rules to transform the logical query plan into a more optimized physical plan.
The optimizer applies various optimization techniques like predicate pushdown, constant folding, and join reordering.
By o...
Used query optimization techniques to improve performance in database queries.
Utilized indexing to speed up search queries.
Implemented query caching to reduce redundant database calls.
Optimized SQL queries by restructuring joins and subqueries.
Utilized database partitioning to improve query performance.
Used query profiling tools to identify and optimize slow queries.
Merging two schemas in PySpark involves combining DataFrames with different structures into a unified format.
Use the `unionByName()` method to merge DataFrames with different column names.
Example: df1.unionByName(df2, allowMissingColumns=True) merges df1 and df2, filling missing columns with nulls.
For schema evolution, use `mergeSchema` option when reading from Parquet files.
Example: spark.read.option('mergeSchema', 't...
Use the len() function to check the length of the data frame.
Use len() function to get the number of rows in the data frame.
If the length is 0, then the data frame is empty.
Example: if len(df) == 0: print('Data frame is empty')
Cores and worker nodes are decided based on the workload requirements and scalability needs of the data processing system.
Consider the size and complexity of the data being processed
Evaluate the processing speed and memory requirements of the tasks
Take into account the parallelism and concurrency needed for efficient data processing
Monitor the system performance and adjust cores and worker nodes as needed
Enforcing schema ensures that data conforms to a predefined structure and rules.
Ensures data integrity by validating incoming data against predefined schema
Helps in maintaining consistency and accuracy of data
Prevents data corruption and errors in data processing
Can lead to rejection of data that does not adhere to the schema
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
Terraform daily tasks involve infrastructure provisioning, configuration management, and automation.
Creating and managing infrastructure using Terraform scripts
Updating and modifying existing infrastructure as needed
Automating deployment processes for applications
Implementing version control for Terraform configurations
Monitoring and troubleshooting Terraform deployments
RPA stands for Robotic Process Automation, which involves using software robots to automate repetitive tasks.
RPA uses software robots to automate repetitive tasks, mimicking human actions.
It can be used to streamline business processes, increase efficiency, and reduce human error.
RPA tools can interact with existing applications, extract data, and perform tasks across multiple systems.
Examples of RPA tools include UiPa...
RE-Framework is a Robotic Enterprise Framework for automating business processes using UiPath.
RE-Framework is a template designed by UiPath for building scalable and efficient automation projects.
It includes pre-built workflows for exception handling, logging, and reusability of components.
RE-Framework follows a state machine design pattern to manage the flow of automation.
It allows for easy integration of new processe...
What people are saying about Persistent Systems
The duration of Persistent Systems interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 591 interview experiences
Difficulty level
Duration
based on 4.4k reviews
Rating in categories
Software Engineer
4.6k
salaries
| ₹2.5 L/yr - ₹11 L/yr |
Senior Software Engineer
4.5k
salaries
| ₹5.1 L/yr - ₹18.8 L/yr |
Lead Software Engineer
3.6k
salaries
| ₹7.4 L/yr - ₹19.3 L/yr |
Lead Engineer
3.5k
salaries
| ₹10 L/yr - ₹27.4 L/yr |
Project Lead
2.1k
salaries
| ₹12.6 L/yr - ₹40 L/yr |
Cognizant
TCS
IBM
LTIMindtree