Automation Engineer

400+ Automation Engineer Interview Questions and Answers

Updated 2 Jul 2025
search-icon

Asked in GEA Group

2d ago

Q. 16) What is modbus ? Types of modbus? How many slaves we can connect to one master

Ans.

Modbus is a communication protocol used in industrial automation. It allows communication between devices connected to a network.

  • Modbus is used to transmit data between devices in a master-slave architecture.

  • There are two types of Modbus: Modbus RTU (serial communication) and Modbus TCP (Ethernet communication).

  • Modbus RTU supports up to 247 slaves while Modbus TCP can support thousands of slaves.

  • Modbus is commonly used in industries such as manufacturing, oil and gas, and ene...read more

3d ago

Q. 1. Explain oops concepts in coding. 2. Write a program to find missing no in a list 3. Write a program to count the alphabets in a string. 4. Explain project framework from scratch 5. Explain selenium code 6. B...

read more
Ans.

The interview questions cover OOP concepts, coding exercises, project frameworks, Selenium automation, BDD with Cucumber, and TestNG.

  • OOP concepts include inheritance, encapsulation, polymorphism, and abstraction.

  • Example: Inheritance - a class 'Car' can inherit properties from a class 'Vehicle'.

  • To find missing number in a list, iterate through the list and check for gaps in sequence.

  • Example: List {1, 2, 4, 5} - Missing number is 3.

  • To count alphabets in a string, iterate throug...read more

Automation Engineer Interview Questions and Answers for Freshers

illustration image

Asked in Blue Yonder

4d ago

Q. What is the difference between Absolute and Relative XPaths?

Ans.

Absolute Xpath is the complete path from the root element to the desired element, while Relative Xpath is the path based on the current element.

  • Absolute Xpath starts with a single slash (/) and is more specific but less flexible.

  • Relative Xpath starts with a double slash (//) and is more flexible but less specific.

  • Absolute Xpath is more prone to breaking if the structure of the page changes.

  • Relative Xpath is easier to maintain and update as it is based on the element's positio...read more

Asked in GEA Group

2d ago

Q. What is the ASI protocol? How many slaves can be connected to one master?

Ans.

ASI protocol is a serial communication protocol used in industrial automation systems.

  • ASI stands for Actuator Sensor Interface.

  • It is used to connect sensors and actuators to a central controller.

  • It is a simple and cost-effective protocol.

  • It supports up to 62 slaves per master.

  • It uses a 2-wire bus for communication.

Are these interview questions helpful?

Q. Write a program to find the number of palindrome words in a given string. For example, given the string "mom dad child", the program should return 2.

Ans.

Count the number of palindrome words in a given string.

  • Split the string into words using space as a delimiter.

  • Iterate through each word and check if it is a palindrome.

  • Increment the count if the word is a palindrome.

4d ago

Q. How many types of PLCs are there, and what are their communication protocols?

Ans.

There are various types of PLCs with different communication protocols.

  • PLC types include Programmable Logic Controller, Compact Programmable Logic Controller, Modular Programmable Logic Controller, and more.

  • Communication protocols include Modbus, Profibus, DeviceNet, Ethernet/IP, and more.

  • The type of PLC and communication protocol used depends on the specific automation application.

  • PLCs can communicate with other devices such as sensors, actuators, and HMIs using different pr...read more

Automation Engineer Jobs

IBM India Pvt. Limited logo
Quality Engineer-Automation 4-9 years
IBM India Pvt. Limited
4.0
Pune
IBM India Pvt. Limited logo
Quality Engineer-Automation 2-6 years
IBM India Pvt. Limited
4.0
₹ 5 L/yr - ₹ 12 L/yr
(AmbitionBox estimate)
Pune
IBM India Pvt. Limited logo
Quality Engineer-Automation 2-6 years
IBM India Pvt. Limited
4.0
₹ 3 L/yr - ₹ 25 L/yr
(AmbitionBox estimate)
Bangalore / Bengaluru

Asked in GEA Group

5d ago

Q. 12) What is watch dog timer , system overhead time , RPI in PLC

Ans.

Watchdog timer is a safety mechanism that resets the system if it fails to respond within a set time. System overhead time is the time required for the system to perform non-critical tasks. RPI is the rate at which the PLC scans its inputs and outputs.

  • Watchdog timer is used to prevent system failures due to software or hardware issues

  • System overhead time is the time required for the system to perform non-critical tasks such as updating the clock or handling interrupts

  • RPI is t...read more

Asked in GEA Group

1d ago

Q. What is RS Linx? What are the drivers in it? What is FactoryTalk Linx?

Ans.

RS Linx is a software used for communication between Rockwell Automation devices. It includes drivers and FactoryTalk Linx.

  • RS Linx is a communication software used for Rockwell Automation devices

  • It includes drivers for various devices such as PLCs, HMIs, and drives

  • FactoryTalk Linx is a component of RS Linx that allows communication between devices and software applications

  • RS Linx supports various communication protocols such as Ethernet/IP, ControlNet, and DeviceNet

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Q. How do you send the following JSON nested object as a POST request payload?

Ans.

JSON payload for POST request with nested object

  • Use curly braces to define the object

  • Use colon to separate key-value pairs

  • Use double quotes for keys and values

5d ago

Q. What is the difference between driver.Navigate and driver.Get?

Ans.

driver.navigate() loads a new web page while driver.get() loads a web page for the first time.

  • driver.get() loads a web page for the first time

  • driver.navigate() loads a new web page without closing the current one

  • driver.navigate() can also go back and forward in the browser history

  • driver.get() and driver.navigate() both accept a URL as a parameter

Asked in PubMatic

3d ago

Q. Write a multithreaded program to scan three large log files for different patterns and write the matches to an output file, ensuring minimal memory usage.

Ans.

Code using multithreading to scan 3 log files for different patterns and write matches in o/p file with low memory footprint.

  • Use Python's threading module to create multiple threads for each log file

  • Use regex to search for patterns in each log file

  • Write matches to output file using a thread-safe queue

  • Use a memory-efficient data structure like deque to store log file lines

Asked in GEA Group

4d ago

Q. When do you prefer to use standard HMI versus performance HMI?

Ans.

Standard HMI for basic operations, Performance HMI for complex operations.

  • Standard HMI for simple and routine operations

  • Performance HMI for complex and critical operations

  • Performance HMI for high-speed processes

  • Standard HMI for low-speed processes

2d ago

Q. Which PLC have you worked on? And which software are you using to develop program for that PLC?

Ans.

I have worked on Siemens S7-300 PLC and used Siemens TIA Portal software to develop programs.

  • Siemens S7-300 PLC

  • Siemens TIA Portal software

3d ago

Q. How many types of analog signals can be used in Micrologix 1400?

Ans.

The Micrologix 1400 can support up to 6 types of analog signals.

  • The Micrologix 1400 can handle analog signals such as voltage, current, resistance, thermocouples, RTDs, and potentiometers.

  • It has 6 analog inputs that can be configured for different types of signals.

  • For example, you can use one input for a voltage signal and another input for a thermocouple signal.

  • The analog signals can be used for monitoring and controlling various processes in automation.

  • The Micrologix 1400 a...read more

Asked in GEA Group

3d ago

Q. What is Kepware? What is the difference between UA and DA?

Ans.

Kepware is a software solution for industrial automation communication.

  • Kepware is used to connect different industrial devices and software applications.

  • It supports various communication protocols such as OPC DA, OPC UA, MQTT, etc.

  • OPC DA is a legacy protocol used for communication between Windows-based applications and process control hardware.

  • OPC UA is a newer and more secure protocol that supports cross-platform communication and data modeling.

  • Kepware provides a user-friend...read more

Asked in LTIMindtree

2d ago

Q. Given the following code, what is the output?

Ans.

The code demonstrates static variable behavior in Java with class inheritance and method invocation.

  • Static variables belong to the class, not instances. Here, 'i' is shared across all instances of class A.

  • When 'a.inc()' is called, 'i' increments from 10 to 11, then to 12.

  • Class B is not defined in the code, leading to a compilation error.

  • If class B extends A, 'b.inc()' would also affect 'i', continuing from the last value.

Q. What is the process for achieving effective data cleaning, and have you ever attempted to automate this process?

Ans.

Effective data cleaning involves identifying and correcting errors in a dataset to ensure accuracy and reliability.

  • Identify and remove duplicate entries

  • Correct inaccuracies and inconsistencies in data

  • Handle missing values appropriately

  • Standardize data formats and values

  • Validate data against predefined rules or constraints

  • Automate the process using scripts or tools like Python pandas or SQL queries

Asked in ENroute

4d ago

Q. What are the types of XPaths in Selenium, and can you describe each one?

Ans.

Types of XPaths in Selenium include Absolute XPath, Relative XPath, and Custom XPath.

  • Absolute XPath: Specifies the complete path from the root element to the desired element.

  • Relative XPath: Specifies the path to the desired element based on its relationship with other elements.

  • Custom XPath: Allows for more flexibility and specificity in locating elements using various attributes and functions.

Asked in ABB GISL

6d ago

Q. What documents should you have on hand when commissioning or servicing equipment?

Ans.

Documents needed for Commissioning/Servicing as an Automation Engineer

  • Equipment manuals and specifications

  • Commissioning checklists

  • Service and maintenance procedures

  • Schematics and wiring diagrams

  • Troubleshooting guides

  • Safety guidelines and protocols

3d ago

Q. What is the difference between 2D and 3D?

Ans.

2D refers to two-dimensional objects or images, while 3D refers to three-dimensional objects or images.

  • 2D objects have length and width, while 3D objects have length, width, and depth

  • 2D images are flat, while 3D images have depth and can be viewed from different angles

  • 2D objects can be represented on a piece of paper or screen, while 3D objects require special software or equipment to view

  • Examples of 2D objects include drawings, photographs, and paintings, while examples of 3...read more

6d ago

Q. How many types of 4-20 mA transmitters are there?

Ans.

There are several types of 4-20 mA type transmitters used in automation engineering.

  • Some common types include pressure transmitters, temperature transmitters, level transmitters, and flow transmitters.

  • Each type of transmitter is designed to measure a specific parameter and convert it into a 4-20 mA current signal.

  • For example, a pressure transmitter measures the pressure of a fluid or gas and converts it into a 4-20 mA signal.

  • Similarly, a temperature transmitter measures the t...read more

Asked in HCLTech

3d ago

Q. What is the output of the following code? class Animal{ Animal(){ System.out.println("animal is created"); } } class Dog extends Animal{ Dog(){ System.out.println("Dog is created");} } class TestSuper4{ public...

read more
Ans.

The output of the code will be 'animal is created' followed by 'Dog is created'.

  • The code defines a class Animal with a constructor that prints 'animal is created'.

  • It also defines a class Dog that extends Animal, with a constructor that prints 'Dog is created'.

  • In the main method, an instance of Dog is created, which will trigger the constructors of both Animal and Dog classes.

Asked in PubMatic

5d ago

Q. How can you simulate one user profile to another user?

Ans.

Simulating one user profile to another can be done through user impersonation.

  • User impersonation can be achieved through various tools and techniques.

  • One way is to use a proxy server to intercept and modify the user's requests and responses.

  • Another way is to use a browser extension or plugin that allows you to switch between user profiles.

  • You can also use a testing tool like Selenium to automate the process of switching between user profiles.

  • It's important to ensure that the ...read more

Asked in PubMatic

2d ago

Q. Write code that runs as a service to scan every 30 seconds to get min, max, and average CPU/memory usage, and also calculate the moving average of the last 300 seconds.

Ans.

Code to run as a service to scan CPU/memory every 30 sec and calculate min, max, avg and moving avg of last 300 sec.

  • Use a loop to run the code every 30 sec

  • Use psutil library to get CPU/memory usage

  • Store the values in a list and calculate min, max, avg and moving avg using numpy library

  • Use threading to run the code in the background as a service

1d ago

Q. How are those ports utilized in your current project?

Ans.

The ports in my current project are utilized for communication between different devices and systems.

  • Ports are used to establish connections and transfer data between devices.

  • They can be physical ports, such as USB or Ethernet ports, or virtual ports.

  • In my project, we use ports to connect sensors, actuators, and controllers to the automation system.

  • For example, we have a temperature sensor connected to a port on a PLC (Programmable Logic Controller) to monitor the temperature...read more

Asked in PubMatic

6d ago

Q. what is multiprocessing and multi threading

Ans.

Multiprocessing is the use of multiple processors to execute multiple tasks simultaneously. Multithreading is the use of multiple threads within a single process to execute multiple tasks simultaneously.

  • Multiprocessing involves the use of multiple processors or cores to execute multiple tasks simultaneously.

  • Multithreading involves the use of multiple threads within a single process to execute multiple tasks simultaneously.

  • Multiprocessing is typically used for CPU-intensive ta...read more

Asked in PwC

1d ago

Q. What is POJO class Difference between throw and throws How to run the tests parallelly in TestNg What is final , Finally How to validate response in rest api How to store response and use it in another request.

Ans.

Answers to common interview questions for Automation Engineer

  • POJO class is a plain old java object used to represent data

  • throw is used to throw an exception while throws is used to declare an exception

  • To run tests parallelly in TestNG, use the 'parallel' attribute in the test tag

  • final is used to declare a constant variable while Finally is used to execute a block of code after try-catch

  • To validate response in rest api, use assertions to check the expected response

  • To store res...read more

Asked in ABB GISL

5d ago

Q. What is one valid reason I should give you an XX% raise?

Ans.

I have consistently delivered exceptional results and have successfully implemented automation solutions that have significantly improved efficiency and productivity.

  • I have a proven track record of successfully implementing automation solutions.

  • I have consistently delivered exceptional results and have received positive feedback from my superiors.

  • I have significantly improved efficiency and productivity through automation.

  • I have saved the company time and resources by automat...read more

Asked in Amadeus

1d ago

Q. selenium and cypress difference ? How to choose best tool

Ans.

Selenium is widely used for web automation while Cypress is a newer tool with better performance and debugging capabilities.

  • Selenium supports multiple programming languages while Cypress only supports JavaScript.

  • Cypress has a built-in test runner and debugger while Selenium requires third-party tools.

  • Selenium is better for cross-browser testing while Cypress is better for end-to-end testing.

  • Choose Selenium for larger and more complex projects while Cypress is better for small...read more

Asked in Tracxn

3d ago

Q. Given an array, find the largest difference between elements where you can only consider the elements at the current index and before.

Ans.

Find the largest difference between array elements considering only the elements at current index and before.

  • Iterate through the array and keep track of the minimum value seen so far.

  • Calculate the difference between the current element and the minimum value and update the maximum difference seen so far.

  • Return the maximum difference seen so far.

1
2
3
4
5
6
7
Next

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Accenture Logo
3.8
 • 8.6k Interviews
Infosys Logo
3.6
 • 7.9k Interviews
Wipro Logo
3.7
 • 6.1k Interviews
Cognizant Logo
3.7
 • 5.9k Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Automation Engineer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits