M2P Fintech
10+ Lloyds Engineering Works Limited Interview Questions and Answers
Q1. What is the mean by thread, how many ways we can create thread?
A thread is a lightweight sub-process that allows concurrent execution within a process. Threads can be created in multiple ways.
Threads can be created by extending the Thread class in Java.
Threads can be created by implementing the Runnable interface in Java.
Threads can be created using thread pools in Java.
Threads can be created using asynchronous functions in JavaScript.
Q2. What is the difference between sync and asynchronous call?
Sync call blocks the execution until the response is received, while asynchronous call allows the program to continue executing without waiting for the response.
Sync call blocks the program execution until the response is received
Asynchronous call allows the program to continue executing without waiting for the response
Sync calls are easier to understand and debug, but can lead to performance issues if used excessively
Asynchronous calls are more efficient for handling multipl...read more
Q3. What is the difference between fail safe and fail fast
Fail safe focuses on ensuring system stability and preventing catastrophic failures, while fail fast prioritizes quick detection and response to errors.
Fail safe is about designing systems to minimize the impact of failures and ensure stability.
Fail fast is about quickly detecting and responding to errors to prevent further issues.
Fail safe often involves redundancy and error checking mechanisms to prevent catastrophic failures.
Fail fast encourages rapid feedback loops and ea...read more
Q4. What is spring boot dependency injection?
Spring Boot dependency injection is a design pattern where objects are passed their dependencies rather than creating them internally.
In Spring Boot, dependency injection is achieved through the use of @Autowired annotation.
It helps in achieving loose coupling between classes and promotes easier testing and maintenance.
Example: @Autowired private UserService userService; // Injecting UserService dependency
Q5. How to deploy your service in production server?
Deploying service in production server involves building the application, configuring the server, and monitoring performance.
Build the application code into a deployable package (e.g. JAR file for Java applications)
Configure the production server with necessary dependencies and environment variables
Deploy the application package to the server using tools like Docker, Kubernetes, or manual deployment scripts
Monitor the performance of the deployed service using monitoring tools...read more
Q6. What is the use of rate limiter?
Rate limiter is used to control the rate of incoming requests to a server or API.
Prevents server overload by limiting the number of requests a client can make in a specific time period
Helps protect against DDoS attacks by limiting the rate of incoming requests
Ensures fair usage of resources by preventing one client from monopolizing server resources
Can be implemented using algorithms like token bucket or leaky bucket
Example: Setting a rate limit of 100 requests per minute for...read more
Q7. What is use of Jenkins and kubernates?
Jenkins is a continuous integration tool used for automating software development processes, while Kubernetes is a container orchestration platform for managing containerized applications.
Jenkins is used for automating the building, testing, and deployment of software projects.
Kubernetes helps in automating the deployment, scaling, and management of containerized applications.
Jenkins can be integrated with Kubernetes to automate the deployment of applications in containers.
Bo...read more
Q8. What is collection framework?
Collection framework is a unified architecture for representing and manipulating collections of objects in Java.
It provides interfaces (like List, Set, Map) and classes (like ArrayList, HashSet, HashMap) to store and manipulate groups of objects.
It allows for easy manipulation, sorting, searching, and iteration of collections.
Collections in the framework can store objects of any type, including user-defined classes.
Example: List
names = new ArrayList<>(); names.add("Alice"); ...read more
Q9. What is use of thread.join()?
thread.join() is used to wait for a thread to finish its execution before moving on to the next steps.
thread.join() blocks the current thread until the thread it is called on completes its execution.
It is commonly used in multi-threaded applications to ensure that all threads have finished before proceeding.
Without thread.join(), the main thread may continue executing while other threads are still running.
Example: thread1.join() will wait for thread1 to finish before continui...read more
Q10. Sorting 1's and 0's effectively
Use two pointers approach to sort 1's and 0's effectively in an array of strings.
Initialize two pointers, one at the beginning and one at the end of the array.
Move the left pointer until it points to a '1' and the right pointer until it points to a '0'.
Swap the elements at the left and right pointers.
Repeat the process until the pointers meet in the middle of the array.
Q11. Are you willing to allocate
Yes, I am willing to allocate time and resources as needed for the job.
I am committed to meeting project deadlines and delivering high-quality code.
I am open to learning new technologies and tools to improve my skills.
I am willing to work extra hours if necessary to complete tasks on time.
Q12. How the APIs were used in the customer journey?
APIs were used in the customer journey to streamline processes and enhance user experience.
APIs were integrated into the company's website to provide real-time data to customers.
APIs were utilized to connect the company's CRM system with third-party applications for seamless customer interactions.
APIs enabled customers to access personalized recommendations and content based on their preferences.
APIs facilitated secure payment processing and order tracking for a smooth purcha...read more
Q13. What is the terraform do?
Terraform is an infrastructure as code tool used for building, changing, and versioning infrastructure safely and efficiently.
Terraform allows users to define infrastructure in a declarative configuration language.
It automates the process of provisioning and managing cloud resources.
Terraform supports multiple cloud providers such as AWS, Azure, and Google Cloud.
It helps in creating reproducible infrastructure and enables infrastructure changes to be versioned.
Q14. How alb will work
ALB stands for Application Load Balancer, which distributes incoming application traffic across multiple targets, such as EC2 instances.
ALB routes traffic based on rules defined by the user
Supports path-based routing, host-based routing, and routing based on HTTP headers
Can handle WebSocket traffic, HTTP/2, and gRPC protocols
Provides SSL termination, content-based routing, and sticky sessions
Top HR Questions asked in Lloyds Engineering Works Limited
Interview Process at Lloyds Engineering Works Limited
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month