Premium Employer

Xebia

3.4
based on 715 Reviews
Filter interviews by

50+ Interview Questions and Answers

Updated 17 Nov 2024
Popular Designations

Q1. What are the classes needed to create a GET REST API?

Ans.

Classes needed to create a GET REST API

  • Controller class to handle the request

  • Service class to perform business logic

  • Repository class to interact with database

  • Model class to define data structure

  • RequestMapping annotation to map the URL

Add your answer

Q2. 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

Q3. 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

Q4. 1. What are the differences between Spring and spring boot framework.

Ans.

Spring Boot is a framework built on top of Spring, providing additional features and simplifying configuration.

  • Spring Boot provides auto-configuration, reducing the need for manual configuration

  • Spring Boot includes an embedded server, making it easy to deploy applications

  • Spring Boot provides a simpler project structure and reduces boilerplate code

  • Spring Boot includes Actuator, which provides production-ready features like health checks and metrics

  • Spring Boot is opinionated, p...read more

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

Q5. What is difference b/t types and interface and there use cases

Ans.

Types define the structure of data while interfaces define the behavior of classes. Types can be used for defining variables and parameters, while interfaces can be used for defining contracts for classes.

  • Types define the structure of data, such as primitive types (int, string) or custom types (class, struct)

  • Interfaces define the behavior that a class must implement, without specifying how it should be implemented

  • Types are used for defining variables, parameters, return types...read more

Add your answer

Q6. How many qualified B2B leads you can generate along with minimum budget required to achieve it?

Ans.

I can generate 100 qualified B2B leads with a minimum budget of $10,000.

  • Utilize targeted email campaigns to reach potential B2B leads

  • Leverage social media advertising to attract qualified leads

  • Collaborate with industry influencers to generate leads through partnerships

Add your answer
Are these interview questions helpful?

Q7. What is an Interface? What is default method in Interface?

Ans.

An interface is a blueprint of a class. Default method is a method in an interface with a default implementation.

  • An interface defines a set of methods that a class must implement

  • Default method provides a default implementation for a method in an interface

  • Default methods were introduced in Java 8

  • Default methods can be overridden by implementing classes

Add your answer

Q8. How will you improve google map?

Ans.

I would improve Google Maps by enhancing its real-time traffic updates and integrating more public transportation options.

  • Improve real-time traffic updates to provide more accurate and timely information to users

  • Integrate more public transportation options to provide users with more choices for getting around

  • Enhance the user interface to make it more intuitive and user-friendly

  • Add more detailed information about points of interest, such as reviews and ratings

  • Improve the accur...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. What is HashMap? Difference between List and HashMap?

Ans.

HashMap is a data structure that stores key-value pairs. List is a collection of ordered elements.

  • HashMap allows fast retrieval of values based on keys.

  • List maintains the order of elements and allows duplicates.

  • HashMap uses hashing to store and retrieve elements.

  • List uses indexing to access elements.

  • HashMap is not thread-safe while List is thread-safe.

  • Example: HashMap map = new HashMap<>(); map.put("apple", 1);

  • Example: List list = new ArrayList<>(); list.add("apple"); list.ad...read more

Add your answer

Q10. How you will correct their website and collaterals?

Ans.

I will conduct a thorough audit of the website and collaterals to identify areas for improvement and implement necessary changes.

  • Conduct a comprehensive audit of the website and collaterals to identify issues

  • Ensure branding consistency across all platforms

  • Optimize website for SEO and user experience

  • Update content to be more engaging and relevant to target audience

  • Implement A/B testing to optimize conversion rates

Add your answer

Q11. What class is used to connect with the Database?

Ans.

The class used to connect with the Database depends on the programming language and framework being used.

  • In Java, the class used is usually DriverManager or DataSource.

  • In Python, the class used is usually psycopg2 or mysql-connector.

  • In PHP, the class used is usually PDO or mysqli.

  • The specific class used may also depend on the type of database being used, such as MySQL, PostgreSQL, or MongoDB.

Add your answer

Q12. 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

Q13. 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

Q14. Create a new Thread and explain the ways to create Threads in Java

Ans.

Creating Threads in Java

  • Extending the Thread class and overriding the run() method

  • Implementing the Runnable interface and passing it to a Thread constructor

  • Using Executor framework to create and manage threads

  • Using Callable and Future interfaces to create threads that return values

Add your answer

Q15. Java 8 features and use case Coding program using stream Spring boot

Ans.

Java 8 features like streams are used in Spring Boot for efficient data processing.

  • Java 8 introduced streams for functional-style operations on collections.

  • Streams allow for parallel processing of data, improving performance.

  • Spring Boot applications can leverage streams for efficient data manipulation.

  • Example: Using streams to filter and map data in a Spring Boot REST API.

Add your answer

Q16. What projects I have worked on? What is Agile process?

Ans.

I have worked on various projects including software development, system implementation, and process improvement.

  • Implemented Agile methodology in software development projects to increase efficiency and collaboration

  • Led cross-functional teams in daily stand-up meetings, sprint planning, and retrospectives

  • Utilized tools such as Jira and Trello to track progress and manage tasks

  • Worked on projects in industries such as finance, healthcare, and technology

Add your answer

Q17. 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

Q18. 2. What is use case of concurrent hash map

Ans.

Concurrent hash map is used for thread-safe operations on a hash map.

  • Concurrent hash map allows multiple threads to access and modify the map concurrently without causing any data inconsistency or corruption.

  • It is useful in scenarios where multiple threads need to access a shared hash map, such as in a multi-threaded server application.

  • Java provides a built-in implementation of concurrent hash map in the java.util.concurrent package.

  • Example: A web server that maintains a cach...read more

Add your answer

Q19. 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

Q20. What are the tools used for calculating defect density?

Ans.

Tools for calculating defect density include defect tracking tools, spreadsheets, and specialized software.

  • Defect tracking tools like Jira or Bugzilla can automatically calculate defect density based on reported issues.

  • Spreadsheets can be used to manually calculate defect density by dividing the total number of defects by the size of the software.

  • Specialized software such as Quality Center or TestRail may have built-in features for calculating defect density.

  • Defect density fo...read more

Add your answer

Q21. How many methods to create a singleton services.

Ans.

There are multiple methods to create a singleton service in software development.

  • Using a static member variable

  • Using a static method to return a single instance

  • Using an enum

  • Using a synchronized block

Add your answer

Q22. Provide solutions for development of application

Ans.

The development of an application requires a thorough understanding of the requirements and the target audience. It also involves selecting the appropriate technology stack and following best practices.

  • Identify the requirements and target audience

  • Select the appropriate technology stack

  • Follow best practices such as modular design, code reviews, and testing

  • Ensure scalability and security

  • Consider user experience and design

  • Continuously update and maintain the application

Add your answer

Q23. How to expose APIs from frameworks?

Ans.

APIs can be exposed from frameworks using various methods such as annotations, configuration files, and code generation.

  • Use annotations to mark methods or classes as API endpoints

  • Configure the framework to generate API documentation and code

  • Use code generation tools to create API code from framework code

  • Ensure proper security measures are in place to protect the API

  • Examples include Spring Boot, Django, and Ruby on Rails

Add your answer

Q24. How is an interface used?

Ans.

An interface is used to define a contract between two components in a system.

  • An interface defines a set of methods that a class must implement.

  • Interfaces are used to achieve abstraction and loose coupling.

  • Interfaces are used to create reusable code.

  • Interfaces are used to enable polymorphism.

  • Interfaces are used in many programming languages, including Java, C#, and TypeScript.

Add your answer

Q25. how to optimized react native application

Ans.

Optimizing a React Native application involves improving performance and reducing resource usage.

  • Use PureComponent and shouldComponentUpdate to prevent unnecessary re-renders

  • Implement virtualized lists for long lists to improve performance

  • Minimize the use of third-party libraries and optimize the ones you do use

  • Use native modules for performance-critical tasks

  • Optimize images and assets for smaller file sizes

Add your answer

Q26. What is higher order functions

Ans.

Higher order functions are functions that can take other functions as arguments or return functions as results.

  • Higher order functions can accept functions as parameters.

  • Higher order functions can return functions as output.

  • Examples include map, filter, and reduce functions in JavaScript.

Add your answer

Q27. Explain MVC Lifecycle.

Ans.

MVC Lifecycle is the sequence of events that occur in the Model-View-Controller architectural pattern.

  • MVC stands for Model-View-Controller.

  • The lifecycle starts with a user request.

  • The controller receives the request and processes it.

  • The controller updates the model with the necessary data.

  • The view is then updated with the updated model data.

  • The updated view is sent back to the user as a response.

View 1 answer

Q28. Rest Api Best Practices

Ans.

REST API best practices include using meaningful resource URIs, proper use of HTTP methods, versioning, security measures, and documentation.

  • Use meaningful resource URIs to represent entities and relationships

  • Properly use HTTP methods (GET, POST, PUT, DELETE) for CRUD operations

  • Implement versioning to manage changes in API

  • Implement security measures such as authentication and authorization

  • Document API endpoints, parameters, and responses for developers

Add your answer

Q29. Difference between HashMap and HashTree

Ans.

HashMap is a non-synchronized implementation of Map interface while HashTree is a synchronized implementation of Map interface.

  • HashMap is faster than HashTree as it is non-synchronized.

  • HashTree is thread-safe while HashMap is not.

  • HashMap allows one null key and multiple null values while HashTree does not allow null keys or values.

  • HashTree maintains the order of elements while HashMap does not.

  • HashMap is generally used in single-threaded applications while HashTree is used in...read more

Add your answer

Q30. What kind of clients, domain and verticals

Ans.

Our clients come from various domains and verticals, including healthcare, finance, retail, and technology.

  • We work with clients in healthcare, finance, retail, and technology industries

  • Our clients range from small businesses to large corporations

  • We focus on building long-term relationships with our clients

  • We provide customized solutions to meet the unique needs of each client

Add your answer

Q31. 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

Q32. How react native works under the hood?

Ans.

React Native works by running JavaScript code on a separate thread and communicating with native modules through a bridge.

  • React Native runs JavaScript code on a separate thread called the JavaScript thread.

  • It communicates with native modules through a bridge, which allows JavaScript to interact with platform-specific APIs.

  • The bridge passes messages between the JavaScript thread and the native modules, enabling seamless communication.

  • React Native uses a virtual DOM to efficien...read more

Add your answer

Q33. How angular run it's project.

Ans.

Angular runs its project using the Angular CLI, which provides a command-line interface for various project tasks.

  • Angular projects are run using the 'ng serve' command to start a development server.

  • The Angular CLI handles tasks such as building, testing, and deploying the project.

  • Configuration for the project can be done using the 'angular.json' file.

  • Dependencies are managed using npm or yarn.

  • Angular applications are typically structured using components, services, modules, a...read more

Add your answer

Q34. Explain polymorphism in Java

Ans.

Polymorphism is the ability of an object to take on many forms.

  • Polymorphism allows objects of different classes to be treated as if they are objects of the same class.

  • It can be achieved through method overloading and method overriding.

  • Example: A parent class Animal can have multiple child classes like Dog, Cat, and Cow. All these child classes can have their own implementation of the method 'makeSound', which can be called using the parent class reference variable.

  • Polymorphis...read more

Add your answer

Q35. What is hdfs? explain in brief.

Ans.

HDFS stands for Hadoop Distributed File System, a distributed file system designed to store and manage large amounts of data across multiple machines.

  • HDFS is a key component of the Hadoop ecosystem, providing high-throughput access to application data.

  • It is designed to be fault-tolerant, scalable, and reliable.

  • HDFS divides files into blocks and stores multiple copies of each block across different nodes in a cluster.

  • It allows for parallel processing of data across the cluster...read more

Add your answer

Q36. What is Async in NodeJs.

Ans.

Async in NodeJs allows non-blocking execution of code, improving performance by handling multiple operations simultaneously.

  • Async functions in NodeJs use callbacks, promises, or async/await to handle asynchronous operations.

  • By using async functions, NodeJs can continue executing other code while waiting for I/O operations to complete.

  • Async functions help prevent blocking the event loop, allowing for better scalability and performance.

  • Example: Using fs.readFile to asynchronous...read more

Add your answer

Q37. What are the components of SSIS.

Ans.

Components of SSIS include Control Flow, Data Flow, Connection Managers, Event Handlers, Variables, Parameters, and Logging.

  • Control Flow: Defines the workflow of tasks to be executed

  • Data Flow: Moves data between sources and destinations

  • Connection Managers: Define connections to data sources

  • Event Handlers: Respond to events during package execution

  • Variables: Store values that can be used throughout the package

  • Parameters: Allow for dynamic values to be passed to packages

  • Logging...read more

Add your answer

Q38. What are agile metrics?

Ans.

Agile metrics are key performance indicators used to measure the progress and success of agile projects.

  • Agile metrics help teams track productivity, quality, and delivery time.

  • Examples of agile metrics include sprint burndown charts, velocity, lead time, and cycle time.

  • These metrics provide insights into team performance and help identify areas for improvement.

Add your answer

Q39. Onboarding process of banking application

Ans.

The onboarding process of a banking application involves gathering necessary information from customers to create accounts and provide access to services.

  • Collecting personal information such as name, address, contact details, and identification documents.

  • Verifying the information provided through identity verification processes.

  • Setting up login credentials for customers to access their accounts online.

  • Explaining the features and services available on the banking application.

  • E...read more

Add your answer

Q40. What is ASAP methodology?

Ans.

ASAP methodology is a framework used for SAP implementation projects.

  • ASAP stands for Accelerated SAP.

  • It is a step-by-step approach to implement SAP solutions.

  • It includes five phases: Project Preparation, Business Blueprint, Realization, Final Preparation, and Go-Live and Support.

  • Each phase has its own set of deliverables and tasks.

  • ASAP methodology helps to ensure that the implementation project is completed on time, within budget, and meets the business requirements.

Add your answer

Q41. what is let var const

Ans.

let, var, and const are keywords used for variable declaration in JavaScript.

  • let is block-scoped and can be reassigned.

  • var is function-scoped and can be reassigned.

  • const is block-scoped and cannot be reassigned, but its value can be mutated.

Add your answer

Q42. What is a deadlock

Ans.

A deadlock is a situation in which two or more competing actions are each waiting for the other to finish, preventing any of them from progressing.

  • Occurs in concurrent programming when two or more threads are blocked forever, waiting for each other to release a resource

  • Can happen in database systems when two transactions are each waiting for the other to release a lock

  • Can be resolved by careful resource allocation and avoiding circular dependencies

Add your answer

Q43. Collections in java

Ans.

Collections in Java are used to store and manipulate groups of objects.

  • Java provides several collection classes like ArrayList, LinkedList, HashSet, etc.

  • Collections can store objects of any type, including user-defined classes.

  • Collections provide methods for adding, removing, and accessing elements.

  • They also offer functionalities like sorting, searching, and iterating over elements.

  • Example: ArrayList names = new ArrayList<>(); names.add("John"); names.add("Jane");

Add your answer

Q44. INVEST criteria for user stories

Ans.

INVEST criteria are used to evaluate user stories for their quality and effectiveness.

  • Independent - the user story should be self-contained and not dependent on other stories

  • Negotiable - the details of the story can be negotiated and changed as needed

  • Valuable - the story should provide value to the user or customer

  • Estimable - the story should be able to be estimated for time and effort

  • Small - the story should be small enough to be completed in a single sprint

  • Testable - the st...read more

Add your answer

Q45. Devops screening in various tools

Ans.

DevOps screening involves testing various tools for their effectiveness.

  • DevOps tools should be tested for their ability to automate processes and improve collaboration.

  • Tools like Jenkins, Ansible, Docker, and Kubernetes are commonly used in DevOps.

  • Screening should also consider the tool's compatibility with the existing infrastructure.

  • Performance, security, and scalability are other important factors to consider during screening.

Add your answer
Ans.

React is a JavaScript library for building user interfaces. Redux is a predictable state container for JavaScript apps.

  • React is used for building reusable UI components

  • It uses a virtual DOM for efficient rendering

  • Redux is used for managing application state

  • It follows a unidirectional data flow pattern

  • Redux provides a single source of truth for the application state

Add your answer

Q47. What is event loop in node js

Ans.

Event loop in Node.js is a mechanism that allows Node.js to perform non-blocking I/O operations.

  • Event loop is responsible for handling asynchronous operations in Node.js.

  • It allows Node.js to perform multiple operations concurrently without blocking the execution.

  • Event loop continuously checks the event queue for any pending tasks and executes them in a non-blocking manner.

  • Example: setTimeout() function in Node.js uses event loop to schedule the callback function after a speci...read more

Add your answer

Q48. How to handle difficult client

Ans.

Handling difficult clients requires patience, communication skills, and problem-solving abilities.

  • Listen actively to understand their concerns

  • Stay calm and professional, even if they are being difficult

  • Set clear boundaries and expectations

  • Offer solutions and compromises to address their issues

  • Seek feedback and address any misunderstandings promptly

Add your answer

Q49. Give Count of each character in String

Ans.

The task is to count the occurrences of each character in a given string.

  • Iterate through the string and use a HashMap to store the count of each character.

  • Convert the string to char array for easier manipulation.

  • Handle both uppercase and lowercase characters separately if needed.

Add your answer

Q50. what is BDD framework

Ans.

BDD framework stands for Behavior Driven Development framework, which focuses on the behavior of the system from the end user's perspective.

  • BDD framework uses natural language to describe the behavior of the system

  • It helps in collaboration between developers, testers, and business stakeholders

  • Popular BDD frameworks include Cucumber, SpecFlow, and JBehave

Add your answer

Q51. Details of scrum n methodology

Ans.

Scrum is an agile methodology used for project management, emphasizing teamwork, accountability, and iterative progress.

  • Scrum involves breaking down projects into small, manageable tasks called user stories.

  • It includes daily stand-up meetings to discuss progress and obstacles.

  • Scrum uses time-boxed iterations called sprints to deliver incremental value.

  • Roles in Scrum include Product Owner, Scrum Master, and Development Team.

  • Key artifacts in Scrum include the Product Backlog, S...read more

Add your answer

Q52. Risk mitigation techniques

Ans.

Risk mitigation techniques are strategies used to minimize or prevent potential negative impacts on a project.

  • Identify and assess potential risks

  • Develop a risk management plan

  • Implement risk response strategies

  • Monitor and control risks throughout the project

  • Examples include contingency planning, risk transfer, and risk avoidance

Add your answer

Q53. Governer limit of salesforce

Ans.

Governor limits in Salesforce are predefined limits that prevent abuse and ensure fair resource allocation.

  • Governor limits apply to various aspects of Salesforce, such as Apex code, SOQL queries, DML operations, and email invocations.

  • These limits are in place to maintain system performance, prevent infinite loops, and protect against resource hogging.

  • Examples of governor limits include maximum CPU time, maximum number of SOQL queries, maximum heap size, and maximum number of ...read more

Add your answer

Q54. what is API testing

Ans.

API testing is testing the functionality, reliability, performance, and security of APIs.

  • API testing involves testing the communication between different software systems using APIs.

  • It focuses on verifying the functionality, performance, reliability, and security of APIs.

  • API testing can be done at different levels such as unit testing, integration testing, and end-to-end testing.

  • Tools like Postman, SoapUI, and JMeter are commonly used for API testing.

  • Examples of API testing i...read more

Add your answer

Q55. What is hadoop.

Ans.

Hadoop is an open-source software framework for storing and processing large datasets in a distributed computing environment.

  • Hadoop consists of the Hadoop Distributed File System (HDFS) for storage and MapReduce for processing.

  • It allows for the distributed processing of large data sets across clusters of computers.

  • Hadoop is designed to scale from a single server to thousands of machines, each offering local computation and storage.

  • Popular tools in the Hadoop ecosystem include...read more

Add your answer

Q56. Key Projects in bfsi

Ans.

Key projects in BFSI include digital transformation, regulatory compliance, risk management, and customer experience enhancement.

  • Digital transformation projects aim to modernize legacy systems and processes, improve efficiency, and enhance customer experience.

  • Regulatory compliance projects focus on ensuring adherence to various regulations and standards, such as GDPR, PCI DSS, and KYC.

  • Risk management projects involve identifying, assessing, and mitigating risks associated wit...read more

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

Interview Process at null

based on 35 interviews in the last 1 year
Interview experience
3.8
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.2
 • 310 Interview Questions
4.0
 • 236 Interview Questions
3.8
 • 208 Interview Questions
3.6
 • 195 Interview Questions
4.3
 • 131 Interview Questions
View all
Top Xebia Interview Questions And Answers
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