Add office photos
Engaged Employer

M2P Fintech

3.6
based on 82 Reviews
Filter interviews by

SRF Packaging film Business Interview Questions and Answers

Updated 1 May 2024

Q1. What is the mean by thread, how many ways we can create thread?

Ans.

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.

Add your answer

Q2. What is the difference between sync and asynchronous call?

Ans.

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

Add your answer

Q3. What is the difference between fail safe and fail fast

Ans.

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

Add your answer

Q4. What is spring boot dependency injection?

Ans.

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

Add your answer
Discover SRF Packaging film Business interview dos and don'ts from real experiences

Q5. How to deploy your service in production server?

Ans.

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

Add your answer

Q6. What is the use of rate limiter?

Ans.

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

Add your answer

Q7. What is use of Jenkins and kubernates?

Ans.

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

Add your answer

Q8. What is collection framework?

Ans.

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

Add your answer

Q9. What is use of thread.join()?

Ans.

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

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Lead Software Engineer Interview Questions from Similar Companies

4.0
 • 16 Interview Questions
3.5
 • 15 Interview Questions
3.5
 • 13 Interview Questions
View all
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
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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