Premium Employer

i

This company page is being actively managed by Infosys Team. If you also belong to the team, you can get access from here

Infosys Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Infosys Node JS Developer Interview Questions and Answers

Updated 27 Nov 2024

18 Interview questions

🔥 Asked by recruiter 3 times
A Node JS Developer was asked 9mo ago
Q. What is the event loop?
Ans. 

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

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

  • It allows Node.js to perform I/O operations without blocking the execution of other code

  • Event loop continuously checks the event queue for new events to process

  • Callbacks are used to handle the completion of asynchronous operations

A Node JS Developer was asked 9mo ago
Q. What is API Gateway in AWS?
Ans. 

API Gateway in AWS is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.

  • API Gateway allows you to create RESTful APIs that can be integrated with other AWS services like Lambda, DynamoDB, and S3.

  • It provides features like authentication, authorization, rate limiting, and caching to improve API performance and security.

  • API Gateway can also b...

Node JS Developer Interview Questions Asked at Other Companies

Q1. What are the main modules of Node.js? Explain in detail.
Q2. What are joins in mysql ? what is middleware ? what is JWT ? Diff ... read more
Q3. 1. What is Node.js? Describe the inner workings of Node.js
asked in Infosys
Q4. How do you deploy your Node.js application?
Q5. What are closures??promises??callback??asynchrnous programming??a ... read more
A Node JS Developer was asked
Q. What are Redux and Redux Toolkit?
Ans. 

Redux is a predictable state container for JavaScript apps. Redux Toolkit is the official, recommended way to write Redux logic.

  • Redux is a state management library for JavaScript applications, commonly used with React.

  • It helps in managing the state of an application in a predictable way.

  • Redux Toolkit is the official, recommended way to write Redux logic, providing utilities to simplify common Redux use cases.

  • It in...

A Node JS Developer was asked
Q. What is the difference between functional components and class components?
Ans. 

Functional components are stateless and use functional syntax, while class components have state and lifecycle methods.

  • Functional components are simpler and easier to read/write.

  • Class components have access to lifecycle methods like componentDidMount.

  • Functional components do not have access to state or lifecycle methods.

  • Functional components can use hooks like useState and useEffect to manage state and side effect...

A Node JS Developer was asked
Q. Write a SQL command to get the TOP 3 list in a data set?
Ans. 

SQL command to get the TOP 3 list in a data set

  • Use the SELECT statement to retrieve data from the table

  • Use the ORDER BY clause to sort the data in descending order

  • Use the LIMIT clause to limit the result set to 3 rows

A Node JS Developer was asked
Q. How do you use Terraform?
Ans. 

Terraform is used to automate infrastructure provisioning and management.

  • Terraform is a tool for defining and provisioning infrastructure as code.

  • It allows you to create, modify, and destroy infrastructure resources using declarative configuration files.

  • Terraform supports various cloud providers like AWS, Azure, and GCP.

  • You can define infrastructure resources such as virtual machines, networks, and storage using T...

A Node JS Developer was asked
Q. How have you implemented Docker and Kubernetes?
Ans. 

I implemented Docker and Kubernetes to containerize and orchestrate my NodeJS applications.

  • I used Docker to create containers for my NodeJS applications, ensuring consistency and portability.

  • I wrote Dockerfiles to define the environment and dependencies for each application.

  • I used Docker Compose to define and manage multi-container applications.

  • I used Kubernetes to orchestrate and manage the deployment, scaling, a...

Are these interview questions helpful?
A Node JS Developer was asked
Q. What is the MongoDB code to connect from a NodeJS backend?
Ans. 

To connect to MongoDB from NodeJS backend, use the 'mongodb' package and the 'MongoClient' class.

  • Install the 'mongodb' package using npm: npm install mongodb

  • Require the 'mongodb' package in your NodeJS file: const MongoClient = require('mongodb').MongoClient

  • Create a connection URL with the appropriate MongoDB server details: const url = 'mongodb://localhost:27017/mydatabase'

  • Use the 'MongoClient' class to connect t...

A Node JS Developer was asked
Q. What would be the output of the setTimeout JavaScript functions?
Ans. 

The setTimeout function in JavaScript is used to schedule a task to be executed after a specified delay.

  • The setTimeout function takes two parameters: a callback function and a delay time in milliseconds.

  • The callback function is executed after the specified delay.

  • The setTimeout function returns a unique identifier (timer ID) that can be used to cancel the execution of the callback function using the clearTimeout fu...

A Node JS Developer was asked
Q. What is AWS Mesh?
Ans. 

AWS Mesh is a service mesh that provides secure communication between microservices in a containerized application.

  • AWS Mesh is built on top of AWS App Mesh, which is a managed service for service mesh architecture.

  • It allows developers to easily monitor and control the communication between microservices.

  • AWS Mesh provides features like traffic routing, load balancing, service discovery, and observability.

  • It support...

Infosys Node JS Developer Interview Experiences

6 interviews found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.

Round 1 - Technical 

(4 Questions)

  • Q1. Basics of JS and Node JS
  • Q2. Questions Related to my current project.
  • Q3. Object deep cloning, HTTP methods, Array questions, db indexing, load balancing
  • Q4. The interviewer asked me to write some code syntaxes
Round 2 - One-on-one 

(2 Questions)

  • Q1. Related to my project, day-to-day activities, team handling questions, difficulties faced, achievements
  • Q2. Some technical related to node js, single or multi-thread, why single thread, how single thread.
Round 3 - HR 

(2 Questions)

  • Q1. Salary discussion, DOJ
  • Q2. All the rounds mentioned above started with self-intro.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared with basics, Use the opportunity, and Give your best.
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. What is event loop
  • Ans. 

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

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

    • It allows Node.js to perform I/O operations without blocking the execution of other code

    • Event loop continuously checks the event queue for new events to process

    • Callbacks are used to handle the completion of asynchronous operations

  • Answered by AI
  • Q2. What is api gateway in aws
  • Ans. 

    API Gateway in AWS is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.

    • API Gateway allows you to create RESTful APIs that can be integrated with other AWS services like Lambda, DynamoDB, and S3.

    • It provides features like authentication, authorization, rate limiting, and caching to improve API performance and security.

    • API Gateway can also be use...

  • Answered by AI
  • Q3. What's swagger and how to add authentication in swagger
  • Ans. 

    Swagger is a tool for designing, building, and documenting APIs. Adding authentication in Swagger involves using security definitions and security requirements.

    • Swagger is a tool used for designing, building, and documenting APIs

    • To add authentication in Swagger, you can use security definitions to define authentication methods like API keys, OAuth, etc.

    • You can then specify security requirements in your Swagger documenta...

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Jan 2024. There were 2 interview rounds.

Round 1 - HR 

(3 Questions)

  • Q1. Tell me about yourself?
  • Q2. What is your work visa status?
  • Q3. How early can you interview?
Round 2 - Technical 

(8 Questions)

  • Q1. What is callback function in NodeJS?
  • Ans. 

    A callback function in NodeJS is a function that is passed as an argument to another function and is executed later.

    • Callback functions are commonly used in asynchronous programming in NodeJS.

    • They allow us to handle the result of an asynchronous operation once it is completed.

    • Callback functions can be defined inline or as separate named functions.

    • They are often used with functions like setTimeout, readFile, and database...

  • Answered by AI
  • Q2. What would be the output of the setTimeOut JS functions?
  • Ans. 

    The setTimeout function in JavaScript is used to schedule a task to be executed after a specified delay.

    • The setTimeout function takes two parameters: a callback function and a delay time in milliseconds.

    • The callback function is executed after the specified delay.

    • The setTimeout function returns a unique identifier (timer ID) that can be used to cancel the execution of the callback function using the clearTimeout functio...

  • Answered by AI
  • Q3. What is OAuth and how you implement it?
  • Ans. 

    OAuth is an open standard for authorization that allows users to grant access to their data without sharing their credentials.

    • OAuth is used to authenticate and authorize users in applications.

    • It allows users to grant limited access to their data to third-party applications.

    • OAuth uses tokens to grant access instead of sharing credentials.

    • The OAuth flow involves the client, server, and the authorization server.

    • Popular OA...

  • Answered by AI
  • Q4. What are the MongoDB code to connect from NodeJS backend?
  • Ans. 

    To connect to MongoDB from NodeJS backend, use the 'mongodb' package and the 'MongoClient' class.

    • Install the 'mongodb' package using npm: npm install mongodb

    • Require the 'mongodb' package in your NodeJS file: const MongoClient = require('mongodb').MongoClient

    • Create a connection URL with the appropriate MongoDB server details: const url = 'mongodb://localhost:27017/mydatabase'

    • Use the 'MongoClient' class to connect to the...

  • Answered by AI
  • Q5. Write a SQL command to get the TOP 3 list in a data set?
  • Ans. 

    SQL command to get the TOP 3 list in a data set

    • Use the SELECT statement to retrieve data from the table

    • Use the ORDER BY clause to sort the data in descending order

    • Use the LIMIT clause to limit the result set to 3 rows

  • Answered by AI
  • Q6. How you use Terraform?
  • Ans. 

    Terraform is used to automate infrastructure provisioning and management.

    • Terraform is a tool for defining and provisioning infrastructure as code.

    • It allows you to create, modify, and destroy infrastructure resources using declarative configuration files.

    • Terraform supports various cloud providers like AWS, Azure, and GCP.

    • You can define infrastructure resources such as virtual machines, networks, and storage using Terraf...

  • Answered by AI
  • Q7. How you implemented Docker and Kubernetes?
  • Ans. 

    I implemented Docker and Kubernetes to containerize and orchestrate my NodeJS applications.

    • I used Docker to create containers for my NodeJS applications, ensuring consistency and portability.

    • I wrote Dockerfiles to define the environment and dependencies for each application.

    • I used Docker Compose to define and manage multi-container applications.

    • I used Kubernetes to orchestrate and manage the deployment, scaling, and mo...

  • Answered by AI
  • Q8. What is AWS Mesh?
  • Ans. 

    AWS Mesh is a service mesh that provides secure communication between microservices in a containerized application.

    • AWS Mesh is built on top of AWS App Mesh, which is a managed service for service mesh architecture.

    • It allows developers to easily monitor and control the communication between microservices.

    • AWS Mesh provides features like traffic routing, load balancing, service discovery, and observability.

    • It supports var...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - - have to prepare for broad spectrum of interview

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Referral and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Node js event loop
  • Q2. What is api and schema
  • Ans. 

    API is a set of rules and protocols for building and interacting with software applications. Schema defines the structure of data in a database.

    • API stands for Application Programming Interface, it defines how software components should interact.

    • APIs can be used to access data or functionality from external sources, such as a web server or database.

    • Schema defines the structure of data in a database, including tables, fi...

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Behavioural questions
  • Q2. Why do you want to join infosys

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. What is the difference between functional component and class components
  • Ans. 

    Functional components are stateless and use functional syntax, while class components have state and lifecycle methods.

    • Functional components are simpler and easier to read/write.

    • Class components have access to lifecycle methods like componentDidMount.

    • Functional components do not have access to state or lifecycle methods.

    • Functional components can use hooks like useState and useEffect to manage state and side effects.

    • Exa...

  • Answered by AI
  • Q2. What is redux and redux toolkit
  • Ans. 

    Redux is a predictable state container for JavaScript apps. Redux Toolkit is the official, recommended way to write Redux logic.

    • Redux is a state management library for JavaScript applications, commonly used with React.

    • It helps in managing the state of an application in a predictable way.

    • Redux Toolkit is the official, recommended way to write Redux logic, providing utilities to simplify common Redux use cases.

    • It include...

  • Answered by AI

Skills evaluated in this interview

I applied via Company Website and was interviewed in Jul 2021. There was 1 interview round.

Interview Questionnaire 

8 Questions

  • Q1. Explain the projects you have worked and describe your role.
  • Ans. 

    I have worked on various Node.js projects, focusing on backend development, API integration, and real-time applications.

    • Developed a RESTful API for an e-commerce platform using Express.js and MongoDB, enabling seamless product management.

    • Implemented real-time chat functionality in a social media application using Socket.io, enhancing user engagement.

    • Worked on a microservices architecture for a healthcare application, e...

  • Answered by AI
  • Q2. How do you deploy your Nodejs application?
  • Ans. 

    Nodejs application can be deployed using various tools like Heroku, AWS, DigitalOcean, etc.

    • Use a cloud platform like Heroku, AWS, DigitalOcean, etc.

    • Create a production build of the application

    • Configure environment variables

    • Use a process manager like PM2 to manage the application

    • Use a reverse proxy like Nginx to handle incoming requests

    • Set up SSL/TLS certificates for secure communication

  • Answered by AI
  • Q3. Describe the work flow of Nodejs.
  • Ans. 

    Nodejs is a JavaScript runtime built on Chrome's V8 JavaScript engine.

    • Nodejs uses an event-driven, non-blocking I/O model.

    • It is designed to build scalable network applications.

    • Nodejs uses modules to organize code.

    • It has a built-in package manager called npm.

    • Nodejs can be used for both server-side and client-side programming.

  • Answered by AI
  • Q4. Difference between Nodejs and Javascript.
  • Ans. 

    Node.js is a runtime environment for executing JavaScript code outside of a web browser.

    • Node.js is built on the V8 JavaScript engine, while JavaScript is a programming language.

    • Node.js allows JavaScript to be run on the server-side, while JavaScript is primarily used for client-side scripting.

    • Node.js provides additional features and APIs for server-side development, such as file system access and networking capabilitie...

  • Answered by AI
  • Q5. Difference between Nodejs and Angularjs.
  • Ans. 

    Nodejs is a server-side runtime environment while Angularjs is a client-side JavaScript framework.

    • Nodejs is used for building server-side applications while Angularjs is used for building client-side applications.

    • Nodejs is based on JavaScript and uses an event-driven, non-blocking I/O model.

    • Angularjs is a framework for building dynamic web applications using HTML, CSS, and JavaScript.

    • Nodejs is used for creating APIs, h...

  • Answered by AI
  • Q6. What is error first callback function?
  • Ans. 

    Error first callback function is a convention in Node.js where the first parameter of a callback function is reserved for an error object.

    • The error object is passed as the first argument to the callback function

    • If there is no error, the error object will be null or undefined

    • If there is an error, the error object will contain information about the error

    • This convention allows for consistent error handling in asynchronous...

  • Answered by AI
  • Q7. Did you involve in project proposals?
  • Q8. Do you follow agile or any other SDLC model?
  • Ans. 

    Yes, I follow agile methodology for software development.

    • I believe in iterative development and continuous feedback.

    • I prioritize customer satisfaction and collaboration with the team.

    • I use tools like Jira and Trello to manage tasks and sprints.

    • I also follow the Scrum framework for daily stand-ups, sprint planning, and retrospectives.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Simple basic technical questions in Nodejs and javascript were asked.

Skills evaluated in this interview

What people are saying about Infosys

View All
schedule2
Verified Icon
3d
works at
Cognizant
Salary expectation
I have 5+ years of experience in springboot microservices, currently working in CTS and having 10L CTC , wanted to switch in Infosys or Accenture like companies, how much should I ask for 15L-18L ? Just worried if I ask more they can reject my application, please help me with some numbers
Got a question about Infosys?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.

Round 2 - Technical 

(1 Question)

  • Q1. 2nd round included tr and mr round went quite enegritic

Interview Preparation Tips

Interview preparation tips for other job seekers - Resume skills matters a lot don't fill resume the technologies you don't even aware of
Are these interview questions helpful?

I applied via Campus Placement and was interviewed in Apr 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. Are you willing to relocate?
  • Ans. 

    Yes, I am open to relocating for the right opportunity that aligns with my career goals and personal growth.

    • Relocation can provide exposure to new technologies and methodologies.

    • I am excited about the prospect of working in diverse teams and cultures.

    • For example, moving to a tech hub like San Francisco could enhance my career.

    • I understand the challenges of relocating, but I see them as opportunities for growth.

  • Answered by AI
  • Q2. Why should I hire you?
  • Ans. 

    I bring a unique blend of skills, experience, and passion for software development that aligns perfectly with your team's goals.

    • Proven experience in developing scalable applications, such as a recent project where I improved performance by 30%.

    • Strong problem-solving skills demonstrated through my contributions to open-source projects, enhancing functionality and fixing bugs.

    • Excellent teamwork and communication abilitie...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - My technical and Hr interview done at same place. It lasted about 40minutes. The interviewer test both my technical knowledge and communication skills. I tell most of the answer. They check patience level.He stressed on my final year project . Asking about range and specification of compotents which I heve used in my project. Finally ask some HR questions.

I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Basic Programming questions.
  • Q2. Fibonacci program
  • Ans. 

    A Fibonacci program generates a sequence where each number is the sum of the two preceding ones, starting from 0 and 1.

    • The Fibonacci sequence starts with 0 and 1.

    • Each subsequent number is the sum of the previous two: 0, 1, 1, 2, 3, 5, 8, 13, ...

    • Common implementations include recursive, iterative, and using dynamic programming.

    • Example of an iterative approach in Python: ```python def fibonacci(n): a, b = 0, 1 ...

  • Answered by AI
  • Q3. OOPS concepts.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare basic OOPS concepts and basic programs.

I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Easy logical questions
basic quant

Round 2 - Coding Test 

Easy level coding questions
Counting frequency of alphabets

Interview Preparation Tips

Interview preparation tips for other job seekers - Just go through the basics of javascript
Hoisting

Infosys Interview FAQs

How many rounds are there in Infosys Node JS Developer interview?
Infosys interview process usually has 1-2 rounds. The most common rounds in the Infosys interview process are Technical, HR and One-on-one Round.
How to prepare for Infosys Node JS Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Infosys. The most common topics and skills that interviewers at Infosys expect are Node.Js, Javascript, SDLC, TypeScript and AWS.
What are the top questions asked in Infosys Node JS Developer interview?

Some of the top questions asked at the Infosys Node JS Developer interview -

  1. How do you deploy your Nodejs applicati...read more
  2. Do you follow agile or any other SDLC mod...read more
  3. What is error first callback functi...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.2/5

based on 5 interview experiences

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 67%
2-4 weeks 33%
View more
Join Infosys Creating the next opportunity for people, businesses & communities
Infosys Node JS Developer Salary
based on 37 salaries
₹2.8 L/yr - ₹10 L/yr
15% less than the average Node JS Developer Salary in India
View more details

Infosys Node JS Developer Reviews and Ratings

based on 1 review

4.0/5

Rating in categories

4.0

Skill development

4.0

Work-life balance

5.0

Salary

4.0

Job security

4.0

Company culture

4.0

Promotions

4.0

Work satisfaction

Explore 1 Review and Rating
React and Node JS Developer

Pune

8-11 Yrs

Not Disclosed

Reactjs and Nodejs Developer

Chandigarh

7-9 Yrs

Not Disclosed

Angular + NodeJS Developer

Bangalore / Bengaluru

3-5 Yrs

Not Disclosed

Explore more jobs
Technology Analyst
54.7k salaries
unlock blur

₹4.8 L/yr - ₹10 L/yr

Senior Systems Engineer
53.7k salaries
unlock blur

₹2.5 L/yr - ₹6.3 L/yr

Technical Lead
35k salaries
unlock blur

₹7.3 L/yr - ₹20 L/yr

System Engineer
32.5k salaries
unlock blur

₹2.4 L/yr - ₹5.3 L/yr

Senior Associate Consultant
31k salaries
unlock blur

₹8.1 L/yr - ₹14 L/yr

Explore more salaries
Compare Infosys with

TCS

3.6
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.8
Compare
write
Share an Interview