Add office photos
Engaged Employer

Webskitters

4.2
based on 423 Reviews
Video summary
Filter interviews by

Ujjivan Small Finance Bank Interview Questions and Answers

Updated 26 Sep 2024
Popular Designations

Q1. How to fetch data from MongoDB

Ans.

To fetch data from MongoDB, use the find() method with optional query parameters.

  • Use the find() method to retrieve data from a MongoDB collection

  • You can pass query parameters to filter the results

  • Use the findOne() method to retrieve a single document

Add your answer

Q2. How to upload file in server

Ans.

To upload a file to a server, you can use a form with a file input field or use a server-side script to handle the file upload process.

  • Create a form with a file input field in HTML.

  • Use a server-side script (e.g. PHP, Node.js) to handle the file upload process.

  • Validate the file type and size before uploading.

  • Move the uploaded file to a designated folder on the server.

  • Provide feedback to the user after the file has been successfully uploaded.

Add your answer

Q3. Why use mongoose for mongoDB

Ans.

Mongoose provides a schema-based solution for modeling data in MongoDB, making it easier to work with complex data structures.

  • Mongoose simplifies interactions with MongoDB by providing a schema-based solution

  • It allows for defining data models with validation rules and relationships between data

  • Mongoose also provides middleware functions for pre and post processing of data operations

Add your answer

Q4. How to use soft delete

Ans.

Soft delete is a technique used to mark records as deleted without actually removing them from the database.

  • Add a 'deleted_at' column to the database table to store the timestamp of when the record was soft deleted

  • Update queries to set the 'deleted_at' timestamp when a record is soft deleted

  • Modify queries to exclude soft deleted records by checking for 'deleted_at' column being null

Add your answer
Discover Ujjivan Small Finance Bank interview dos and don'ts from real experiences

Q5. How node is works

Ans.

Node.js is a runtime environment that allows you to run JavaScript on the server side.

  • Node.js uses an event-driven, non-blocking I/O model, making it lightweight and efficient.

  • It is commonly used for building server-side applications, APIs, and real-time applications.

  • Node.js is built on the V8 JavaScript engine and uses an event loop to handle asynchronous operations.

Add your answer

Q6. What is middleware

Ans.

Middleware is software that acts as a bridge between different applications or components, allowing them to communicate and work together.

  • Middleware facilitates communication between different software components

  • It can handle tasks such as data transformation, security, and routing

  • Examples include message brokers like RabbitMQ, API gateways like Kong, and web servers like Apache Tomcat

Add your answer

Q7. What is req and res

Ans.

req and res are commonly used abbreviations for request and response objects in web development.

  • req stands for request object, which contains information about the incoming HTTP request from the client.

  • res stands for response object, which is used to send back a response to the client based on the request.

  • In Node.js, req and res are often used in Express.js framework for handling HTTP requests and responses.

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

Interview Process at Ujjivan Small Finance Bank

based on 1 interviews
Interview experience
5.0
Excellent
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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