Premium Employer

Xebia

3.5
based on 772 Reviews
Filter interviews by

Bandhan Bank Interview Questions and Answers

Updated 16 Mar 2024
Popular Designations

Q1. What are Java 8 new features? Which of these have you used?

Ans.

Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods.

  • Lambda expressions: Enable functional programming in Java by expressing instances of single-method interfaces (functional interfaces) concisely.

  • Functional interfaces: Interfaces with a single abstract method, such as java.util.function.Function or java.util.function.Predicate.

  • Streams: Allow for processing sequences of elements in a functional style, support...read more

Add your answer

Q2. Have you worked on Kafka? How many partitions did your code have?

Ans.

Yes, I have worked on Kafka. My code had 10 partitions.

  • Yes, I have experience working with Kafka and have implemented code with multiple partitions.

  • In one of my projects, I used Kafka with 10 partitions to distribute the workload efficiently.

  • Having multiple partitions in Kafka helped in achieving high throughput and scalability for real-time data processing.

Add your answer

Q3. Are you aware of Eviction Policy in Cache?

Ans.

Eviction policy in cache determines which items should be removed when the cache reaches its maximum capacity.

  • Eviction policy helps in managing the cache size and ensuring that the most relevant data is retained.

  • Common eviction policies include LRU (Least Recently Used), LFU (Least Frequently Used), and FIFO (First In, First Out).

  • For example, in LRU policy, the least recently accessed items are removed from the cache when it reaches its limit.

Add your answer

Q4. Which cache have you used? Why is Cache needed

Ans.

I have used Redis and Memcached. Cache is needed to improve performance by storing frequently accessed data in memory.

  • Used Redis for key-value storage and Memcached for object caching

  • Cache is needed to reduce database load and improve response time

  • Helps in storing frequently accessed data in memory for quick retrieval

Add your answer
Discover Bandhan Bank interview dos and don'ts from real experiences

Q5. What are profiles in spring boot?

Ans.

Profiles in Spring Boot allow you to define different configurations for different environments.

  • Profiles are used to customize application behavior based on the environment it is running in.

  • You can define profiles in application.properties or application.yml using 'spring.profiles.active' property.

  • Common profiles include 'dev', 'test', and 'prod' for development, testing, and production environments.

  • You can have different configuration values for each profile, such as databas...read more

Add your answer

Q6. LRU in cache? WAP to demonstrate LRU in Cache.

Ans.

LRU (Least Recently Used) is a cache eviction policy where the least recently accessed items are removed from the cache when it reaches its capacity.

  • LRU cache stores key-value pairs with a maximum capacity. When the cache is full, the least recently used item is evicted to make space for new items.

  • Each time a key is accessed in the cache, it is moved to the front of the cache to indicate it was the most recently used item.

  • If a new key needs to be added to a full cache, the le...read more

Add your answer

Q7. Implement Factory Pattern.

Ans.

Factory pattern is a creational design pattern that provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.

  • Create an interface or abstract class for the factory with a method to create objects

  • Create concrete classes that implement the factory interface and return specific types of objects

  • Client code uses the factory to create objects without knowing the specific class being instantiated

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Bandhan Bank

based on 1 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

3.6
 • 25 Interview Questions
3.5
 • 24 Interview Questions
3.8
 • 20 Interview Questions
3.3
 • 15 Interview Questions
3.5
 • 11 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
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

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