Lead Engineer

filter-iconFilter interviews by

400+ Lead Engineer Interview Questions and Answers

Updated 27 Feb 2025

Popular Companies

search-icon

Q51. What is a heap dump, and how can it be used to identify memory leaks?

Ans.

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 number of objects of the same type or objects that should have ...read more

Q52. What is the default connection pooling in Spring Boot, and how can it be customized?

Ans.

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 size, connection timeout, idle timeout, and other paramete...read more

Q53. Find number which repeating first with linear complexity.

Ans.

Finding repeating number with linear complexity.

  • Use Floyd's cycle-finding algorithm to detect the cycle in the sequence.

  • Maintain two pointers, one moving at a rate of one step and the other at a rate of two steps.

  • When they meet, move one pointer to the start and keep the other pointer at the meeting point.

  • Move both pointers at a rate of one step until they meet again, which is the start of the cycle.

  • The number at the start of the cycle is the repeating number.

Q54. What are all steps to convert a core php project into framework level?

Ans.

Converting a core PHP project into a framework involves several steps to organize and optimize the codebase.

  • Choose a suitable framework like Laravel, Symfony, or CodeIgniter.

  • Identify and separate the business logic from presentation logic.

  • Migrate existing PHP files into the framework's directory structure.

  • Refactor code to utilize framework features like routing, ORM, and templating.

  • Update database connections to use the framework's ORM or query builder.

  • Integrate existing func...read more

Are these interview questions helpful?

Q55. How to create unit test cases for a module.

Ans.

Unit test cases for a module can be created by identifying different scenarios and inputs to test the functionality.

  • Identify the different functionalities of the module that need to be tested

  • Create test cases for each functionality, including positive and negative scenarios

  • Ensure test cases cover edge cases and boundary conditions

  • Use testing frameworks like JUnit, NUnit, or pytest to automate the testing process

  • Mock dependencies or use stubs to isolate the module being tested

Q56. How to integrate third party libraries in project.

Ans.

Integrating third party libraries involves adding the library to the project dependencies and configuring it for use.

  • Add the library as a dependency in the project's build file (e.g. Gradle, Maven)

  • Import the necessary classes or functions from the library in your code

  • Configure any necessary settings or initialization code for the library to work properly

  • Ensure compatibility with the project's existing codebase and dependencies

  • Update the project's documentation to include info...read more

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Q57. Describe your current automation framework and tools being used

Ans.

Our automation framework is built using Selenium WebDriver and TestNG.

  • We use Selenium WebDriver for browser automation

  • TestNG is used for test management and reporting

  • We also use Apache POI for data-driven testing

  • Our framework is designed to be modular and scalable

  • We have implemented page object model design pattern

  • We use Jenkins for continuous integration and deployment

Q58. Nexus 9K hardware models used in Leaf and spine architecture?

Ans.

Nexus 9K hardware models used in Leaf and spine architecture.

  • Nexus 9372PX and 9372TX used as leaf switches

  • Nexus 9504, 9508, and 9516 used as spine switches

  • Nexus 93108TC-EX and 93180YC-EX also used as leaf switches

  • All models support VXLAN and ACI

  • Highly scalable and flexible architecture

Lead Engineer Jobs

Lead Engineer- Electronics 6-8 years
Automotive Mahindra
4.1
Chennai
Lead Engineer - Powertrain Development Center 7-8 years
Automotive Mahindra
4.1
Chennai
Lead Engineer - Thermal System Design Tools 7-11 years
GE India Industrial Private Limited
4.2
Bangalore / Bengaluru

Q59. What is the execution plan during emergency shutdown?

Ans.

During emergency shutdown, the execution plan involves immediate identification of the problem and taking necessary steps to mitigate it.

  • Identify the cause of the emergency shutdown

  • Initiate the emergency shutdown procedure

  • Isolate the affected equipment or area

  • Notify relevant personnel and authorities

  • Implement emergency response plan

  • Conduct post-shutdown analysis and investigation

Q60. Tell about the operation of circuit breaker.

Ans.

A circuit breaker is an electrical switch that automatically interrupts an electrical circuit when the current exceeds a certain limit.

  • Circuit breakers are designed to protect electrical circuits from damage caused by overloading or short circuits.

  • They work by detecting an increase in current flow and then tripping to interrupt the circuit.

  • Circuit breakers can be reset manually or automatically depending on the type.

  • They come in different sizes and ratings depending on the am...read more

Q61. What are the mild stones achieved by company in last 3 years

Ans.

The company has achieved several milestones in the last 3 years.

  • Launched a new product line that increased revenue by 25%

  • Expanded into three new international markets

  • Received a patent for a new technology

  • Implemented a new quality control system that reduced defects by 30%

  • Won an industry award for innovation

Q62. What functionalities have you worked as an AEM and java developer?

Ans.

I have worked on developing custom components, templates, workflows, and integrating third-party systems in AEM. In Java, I have worked on backend development, RESTful services, and database interactions.

  • Developed custom components and templates in AEM

  • Implemented workflows for content approval processes

  • Integrated third-party systems with AEM

  • Backend development in Java

  • Created RESTful services

  • Worked on database interactions

Q63. Write media query for showing 3 divs in a row for desktop view and in column for mobile view

Ans.

Media query for 3 divs in row for desktop and column for mobile view

  • Use min-width and max-width to target desktop and mobile views respectively

  • Set display property to flex and flex-wrap to wrap for desktop view

  • Set display property to block for mobile view

Q64. write Singleton pattern which is thread safe

Ans.

A thread-safe implementation of the Singleton pattern ensures that only one instance of a class is created in a multi-threaded environment.

  • Use double-checked locking to minimize the use of synchronization and improve performance.

  • Declare the instance variable as volatile to ensure visibility across threads.

  • Use synchronized block to create the instance if it doesn't exist.

  • Return the instance variable in the getInstance() method.

Q65. Whether I have knowledge on PLM tools or not?

Ans.

Yes, I have knowledge on PLM tools.

  • I have experience working with PLM tools such as Teamcenter and Windchill.

  • I have used PLM tools to manage product data, collaborate with cross-functional teams, and track project progress.

  • I am familiar with PLM concepts such as BOM management, change management, and version control.

  • I have also worked on customizing PLM tools to meet specific business requirements.

  • Overall, my experience with PLM tools has helped me streamline product developm...read more

Q66. What is your Understanding of Design control process and what are PLM you have used.

Ans.

Design control process ensures products meet requirements. PLM tools manage product data.

  • Design control process ensures products meet design requirements and regulatory standards

  • PLM tools (Product Lifecycle Management) are used to manage product data, documents, and processes

  • Examples of PLM tools include Teamcenter, Windchill, and Agile PLM

Q67. What is the PHP and current version of PHP

Ans.

PHP is a server-side scripting language used for web development. The current version is PHP 8.0.

  • PHP stands for Hypertext Preprocessor

  • It is an open-source language

  • PHP is used for creating dynamic web pages

  • PHP 8.0 was released on November 26, 2020

Q68. If System.Out=null and then System.out.println("something") will run then what happened???

Ans.

Printing to console will not happen as System.out is null.

  • System.out is a static field in the System class that represents the standard output stream.

  • Assigning null to System.out means that any attempt to print to console will result in a NullPointerException.

  • To redirect console output to a file or another output stream, System.setOut() method can be used.

Q69. How outages for line / switchyard is taken, wrt load dispatch centre

Ans.

Outages for line/switchyard are managed by the load dispatch centre through coordination and communication.

  • Outages are scheduled in advance to minimize impact on the grid and consumers.

  • Load dispatch centre coordinates with the concerned authorities to plan and execute the outage.

  • Alternative arrangements are made to ensure continuity of power supply during the outage.

  • Regular updates are provided to stakeholders regarding the status of the outage and expected restoration time.

Q70. How to debug the project, when an error occurred on prosuction?

Ans.

Debugging a project in production requires a systematic approach to identify and fix errors efficiently.

  • Start by identifying the specific error message or symptom reported by users or monitoring tools.

  • Review recent code changes or deployments that may have introduced the error.

  • Use logging and monitoring tools to gather more information about the error and its impact.

  • Replicate the issue in a controlled environment if possible to understand the root cause.

  • Apply fixes carefully ...read more

Q71. What is the differnce b/w Business rule and JavaScript? When to use what?

Ans.

Business rules are guidelines or constraints defined by a business, while JavaScript is a programming language used for web development.

  • Business rules are specific to a business domain and define constraints or guidelines for operations.

  • JavaScript is a programming language used for creating interactive web pages and web applications.

  • Business rules are typically defined by business analysts or stakeholders, while JavaScript is written by developers.

  • Use business rules to enforc...read more

Q72. Given a list of string if number is even do plus 1 convert to odd else keep it as is and return the converted list , then write junit test cases

Ans.

Convert even numbers in a list of strings to odd by adding 1

  • Iterate through the list of strings and check if each element is a number

  • If the number is even, convert it to odd by adding 1

  • Return the modified list of strings

Q73. How to find out 1m3 concrete costing?.

Ans.

To find out 1m3 concrete costing, calculate the cost of materials and labor involved.

  • Determine the cost of cement, sand, aggregate, and water per cubic meter

  • Calculate the labor cost involved in mixing, pouring, and finishing the concrete

  • Add the material and labor costs to get the total cost of 1m3 concrete

  • Consider any additional costs such as transportation, equipment rental, and taxes

Q74. Challenges in performance testing

Ans.

Performance testing challenges include identifying bottlenecks, simulating real-world scenarios, and analyzing results.

  • Identifying bottlenecks in the system

  • Simulating real-world scenarios to accurately test performance

  • Analyzing results to identify areas for improvement

  • Ensuring test environment is representative of production environment

  • Managing test data and test scripts

  • Dealing with network latency and other external factors

  • Ensuring tests are repeatable and consistent

  • Balancin...read more

Q75. Defects of bopp film ,how to resolve and about material knowledge

Ans.

Defects in BOPP film can include wrinkles, bubbles, and scratches. Resolving them requires understanding material properties and processing conditions.

  • Identify the specific defect in the BOPP film, such as wrinkles, bubbles, or scratches.

  • Analyze the root cause of the defect, which could be related to material properties or processing conditions.

  • Adjust processing parameters like temperature, speed, or tension to minimize defects.

  • Ensure proper handling and storage of BOPP film ...read more

Q76. How many matches will occur if there are 20 teams and each match is knock out match.

Ans.

There will be 19 matches in total in a knock out tournament with 20 teams.

  • In a knock out tournament, each match eliminates one team.

  • To determine the number of matches, subtract 1 from the total number of teams.

  • For 20 teams, there will be 20 - 1 = 19 matches.

Q77. What is the view and type of view?

Ans.

The question is unclear. Please provide more context.

    Q78. What is transport protocol in CAN J1939?

    Ans.

    Transport protocol in CAN J1939 is used for transmitting large data packets over the network.

    • Transport protocol breaks down large data packets into smaller segments for transmission.

    • It uses a flow control mechanism to ensure all segments are received and reassembled in the correct order.

    • Examples of transport protocols in J1939 include BAM (Broadcast Announce Message) and RTS/CTS (Request To Send/Clear To Send).

    Q79. What is the architecture of the Java Virtual Machine (JVM)?

    Ans.

    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.

    Q80. Can we perform DML operation on UDF function?

    Ans.

    No, DML operations cannot be performed on UDF functions.

    • UDF functions are read-only and cannot modify the data in the database.

    • DML operations can only be performed on tables or views.

    • UDF functions can be used in SELECT statements to retrieve data.

    • Examples of UDF functions include string manipulation, date calculations, and mathematical operations.

    Q81. What is accelerated ageing process in storage chamber of suture testing lab.

    Ans.

    Accelerated ageing process in storage chamber of suture testing lab is a method to simulate long-term storage conditions in a shorter period of time.

    • Accelerated ageing involves subjecting the sutures to elevated temperatures and humidity levels to speed up degradation processes.

    • This process helps researchers predict the shelf life and performance of sutures under normal storage conditions.

    • Common accelerated ageing methods include thermal cycling, UV exposure, and chemical exp...read more

    Q82. Select a.*,b.* From employee a,Employee2 b? Output please...

    Ans.

    SQL query to select all columns from two tables.

    • Use SELECT statement to select columns from tables.

    • Use aliases to differentiate columns from different tables.

    • Separate table names with comma in FROM clause.

    Q83. What is the difference between active agent and passive agent.

    Ans.

    Active agents initiate actions while passive agents respond to actions.

    • Active agents are proactive while passive agents are reactive.

    • Active agents initiate change while passive agents undergo change.

    • Examples of active agents include enzymes, hormones, and neurotransmitters while examples of passive agents include water, air, and salt.

    • Active agents are often associated with living organisms while passive agents are associated with non-living things.

    Q84. Working procedure of Ultrasonic level transmitter?

    Ans.

    Ultrasonic level transmitter uses sound waves to measure the level of liquid or solid in a container.

    • The transmitter sends high-frequency sound waves towards the surface of the liquid or solid.

    • The waves bounce back and are received by the transmitter.

    • The time taken for the waves to return is measured and used to calculate the distance to the surface.

    • The distance is then converted into a level measurement and transmitted to a control system.

    • Ultrasonic level transmitters are co...read more

    Q85. Explain Linux system Process PKI Cryptography Secure Boot process

    Ans.

    Linux system process, PKI, Cryptography, and Secure Boot process are all important components of secure computing.

    • Linux system process refers to the way in which the operating system manages and executes programs and applications.

    • PKI (Public Key Infrastructure) is a system for managing digital certificates and public-private key pairs to ensure secure communication.

    • Cryptography involves the use of mathematical algorithms to secure data and communications.

    • Secure Boot process i...read more

    Q86. How would you go about designing a tools like Google Looker

    Ans.

    To design a tool like Google Looker, I would start by understanding the user's needs and requirements.

    • Conduct user research to understand their needs and pain points

    • Identify key features and functionalities required

    • Create wireframes and prototypes to test and refine the design

    • Collaborate with cross-functional teams to ensure seamless integration with existing systems

    • Continuously gather feedback and iterate on the design

    • Ensure scalability and security of the tool

    Q87. what is ambassador pattern in kubernetes?

    Ans.

    Ambassador pattern is a Kubernetes design pattern that allows for external access to services.

    • It involves using a sidecar container to proxy requests from outside the cluster to the service.

    • The sidecar container can handle tasks such as authentication and load balancing.

    • It allows for decoupling of the service from the external access mechanism.

    • Examples include the use of Ambassador and Istio as implementations of the pattern.

    Q88. What is cursor? What are the attributes of cursor?

    Ans.

    A cursor is a database object used to manipulate data in a result set.

    • A cursor is used to traverse through a result set one row at a time.

    • It can be used to update or delete rows in a result set.

    • Attributes of a cursor include its name, type, scrollability, and sensitivity.

    • Examples of cursor types include forward-only, static, dynamic, and keyset-driven.

    Q89. 1. What are different kinds of weld and its applications. 2. What is stress, strain, torque, buoyancy etc

    Ans.

    1. Different types of welds and their applications. 2. Stress, strain, torque, buoyancy, etc.

    • Different types of welds include butt welds, fillet welds, lap welds, etc.

    • Butt welds are used to join two pieces of metal together end-to-end, while fillet welds are used to join two pieces of metal together at right angles.

    • Lap welds are used to join two pieces of metal together that overlap each other.

    • Stress is the force per unit area that a material is subjected to, while strain is ...read more

    Q90. What is read DTCs service in UDS?

    Ans.

    Read DTCs service in UDS is used to retrieve diagnostic trouble codes from a vehicle's electronic control unit.

    • DTCs are codes that indicate a problem with a vehicle's systems or components

    • The read DTCs service allows technicians to identify and diagnose issues with a vehicle

    • The service is part of the Unified Diagnostic Services (UDS) protocol used in automotive diagnostics

    • Examples of DTCs include P0300 (random/multiple cylinder misfire detected) and U0100 (lost communication ...read more

    Q91. What is 12 factors approach for micro service

    Ans.

    The 12 factors approach is a methodology for building modern, scalable, and maintainable microservices.

    • Codebase: One codebase tracked in revision control, many deploys

    • Dependencies: Explicitly declare and isolate dependencies

    • Config: Store config in the environment

    • Backing services: Treat backing services as attached resources

    • Build, release, run: Strictly separate build and run stages

    • Processes: Execute the app as one or more stateless processes

    • Port binding: Export services via p...read more

    Q92. Which version of Linux kernel you have worked on

    Ans.

    I have worked on Linux kernel versions 3.x, 4.x, and 5.x.

    • Worked on Linux kernel versions 3.x, 4.x, and 5.x

    • Experience with kernel development and debugging

    • Familiar with kernel modules and drivers

    Q93. What is L3 fabric? What is COOP?

    Ans.

    L3 fabric is a network architecture that provides high-speed and low-latency connectivity between devices. COOP is a protocol used for failover and redundancy in networking.

    • L3 fabric is a type of network architecture that uses Layer 3 routing to provide high-speed and low-latency connectivity between devices.

    • It is designed to be scalable and flexible, allowing for easy expansion and modification of the network.

    • COOP (Cluster Over the Wire Protocol) is a protocol used for failo...read more

    Q94. what is the latest features of java and spring boot

    Ans.

    Java 16 and Spring Boot 2.5 are the latest versions with new features and improvements.

    • Java 16 introduces Records, Pattern Matching for instanceof, and Vector API among others.

    • Spring Boot 2.5 includes support for Java 16, improved startup time, and better error messages.

    • Other new features in Spring Boot 2.5 include support for Kotlin 1.5, Micrometer 1.7, and Spring Data 2021.0.

    Q95. What are your capabilities in Civil3D?

    Ans.

    I am proficient in Civil3D and have extensive experience in using it for designing and drafting civil engineering projects.

    • Expertise in creating and editing surfaces, alignments, profiles, and corridors

    • Ability to generate 3D models and perform earthwork calculations

    • Experience in creating plan and profile sheets, cross-sections, and quantity takeoffs

    • Familiarity with Civil3D add-ons such as AutoTURN and Hydraflow

    • Proficient in using Civil3D for various civil engineering projects...read more

    Q96. 2. design and write production code of thread pool

    Ans.

    A thread pool is a group of threads that can be reused to execute multiple tasks concurrently.

    • Define a task interface that encapsulates the work to be done

    • Create a queue to hold tasks

    • Create a fixed number of threads in the pool

    • Each thread should loop indefinitely, taking tasks from the queue and executing them

    • Use synchronization primitives to ensure thread safety

    • Consider using a thread-safe data structure for the task queue, such as a concurrent queue

    • Consider using a thread-s...read more

    Q97. What is CAN bus off and how is it recovered?

    Ans.

    CAN bus off is a state where communication between nodes on a CAN bus is lost. It can be recovered by resetting the bus or fixing the underlying issue.

    • CAN bus off occurs when a node on the bus detects an error and goes into a fault state.

    • This can happen due to issues like a short circuit, open circuit, or excessive noise on the bus.

    • To recover from CAN bus off, the bus needs to be reset or the underlying issue needs to be fixed.

    • Resetting the bus involves sending a sequence of ...read more

    Q98. What are the details involved in engineering calculations?

    Ans.

    Engineering calculations involve analyzing data, applying formulas, and solving problems to design and optimize systems.

    • Identifying the problem or goal of the calculation

    • Gathering relevant data and information

    • Applying appropriate formulas and equations

    • Performing calculations accurately

    • Interpreting results and making recommendations

    • Iterating and refining calculations as needed

    Q99. Leaf and spine architecture in Cisco ACI?

    Ans.

    Leaf and spine architecture is a network topology used in Cisco ACI for scalable and efficient data center networking.

    • Leaf switches connect to spine switches, which then connect to the core network.

    • Leaf switches handle traffic within their own pod, while spine switches handle traffic between pods.

    • ACI uses a 2-tier spine-leaf architecture for scalability and flexibility.

    • The spine switches act as the routing backbone, while the leaf switches provide access to endpoints.

    • ACI allo...read more

    Q100. Write a Linq expression to fetch the desire results

    Ans.

    Linq expression to fetch desired results

    • Use 'Where' to filter data based on conditions

    • Use 'Select' to project data into desired format

    • Use 'OrderBy' or 'OrderByDescending' to sort data

    • Use 'Skip' and 'Take' to implement pagination

    Previous
    1
    2
    3
    4
    5
    6
    7
    Next
    Interview Tips & Stories
    Ace your next interview with expert advice and inspiring stories

    Interview experiences of popular companies

    3.7
     • 5.6k Interviews
    3.5
     • 3.8k Interviews
    3.9
     • 482 Interviews
    3.6
     • 453 Interviews
    3.6
     • 300 Interviews
    3.9
     • 162 Interviews
    4.0
     • 37 Interviews
    View all

    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

    Recently Viewed
    INTERVIEWS
    Ofbusiness
    No Interviews
    JOBS
    Ofbusiness
    No Jobs
    INTERVIEWS
    CitiusTech
    No Interviews
    JOBS
    CitiusTech
    No Jobs
    JOBS
    CitiusTech
    No Jobs
    JOBS
    Qualcomm
    No Jobs
    SALARIES
    Ofbusiness
    SALARIES
    Ofbusiness
    SALARIES
    Tech Mahindra
    SALARIES
    Ofbusiness
    Lead Engineer Interview Questions
    Share an Interview
    Stay ahead in your career. Get AmbitionBox app
    qr-code
    Helping over 1 Crore job seekers every month in choosing their right fit company
    65 L+

    Reviews

    4 L+

    Interviews

    4 Cr+

    Salaries

    1 Cr+

    Users/Month

    Contribute to help millions

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

    Follow us
    • Youtube
    • Instagram
    • LinkedIn
    • Facebook
    • Twitter