All fields

“Microservices Architecture with Node.js” in Information Technology

17 questions across 1 technology.

Information Technology

17 questions in 1 technology

#QuestionTechnologyTopicLevel
1How do you implement service-to-service authentication in a Node.js microservices architecture, so internal services can trust requests from each other? Node.js › Microservices Architecture with Node.jsNode.jsMicroservices Architecture with Node.jsIntermediate
2How would you handle service discovery in a Node.js microservices architecture, so services can find each other's network locations dynamically? Node.js › Microservices Architecture with Node.jsNode.jsMicroservices Architecture with Node.jsAdvanced
3What are the key benefits and tradeoffs of splitting a Node.js monolith into microservices? Node.js › Microservices Architecture with Node.jsNode.jsMicroservices Architecture with Node.jsIntermediate
4What is an API Gateway, and what role does it play in front of a collection of Node.js microservices? Node.js › Microservices Architecture with Node.jsNode.jsMicroservices Architecture with Node.jsIntermediate
5How does distributed data ownership work in microservices -- specifically, why shouldn't multiple services share direct access to the same database? Node.js › Microservices Architecture with Node.jsNode.jsMicroservices Architecture with Node.jsAdvanced
6What is the Saga pattern, and how does it manage distributed transactions across multiple Node.js microservices? Node.js › Architecture & Design PatternsNode.jsArchitecture & Design PatternsAdvanced
7When would you choose a message queue/broker (RabbitMQ or Kafka) over simply making direct HTTP calls between Node.js microservices? Node.js › Message Queues (RabbitMQ & Kafka)Node.jsMessage Queues (RabbitMQ & Kafka)Intermediate
8How would you implement distributed tracing across multiple Node.js microservices using OpenTelemetry? Node.js › Logging & MonitoringNode.jsLogging & MonitoringAdvanced
9How would you publish and consume messages using RabbitMQ in a Node.js application via the amqplib package? Node.js › Message Queues (RabbitMQ & Kafka)Node.jsMessage Queues (RabbitMQ & Kafka)Intermediate
10How would you implement GraphQL schema stitching or federation to compose a single unified GraphQL API from multiple underlying microservices? Node.js › GraphQLNode.jsGraphQLAdvanced
11How would you implement HTTP/2 or HTTP/1.1 connection pooling on the client side in Node.js when making many outgoing requests to the same downstream API? Node.js › HTTP & Web ServersNode.jsHTTP & Web ServersAdvanced
12How does Kafka's architecture (topics, partitions, consumer groups) differ fundamentally from RabbitMQ's queue-based model? Node.js › Message Queues (RabbitMQ & Kafka)Node.jsMessage Queues (RabbitMQ & Kafka)Advanced
13How do you validate a JWT's claims (issuer, audience, expiration) beyond just verifying its cryptographic signature? Node.js › Authentication & Authorization (JWT, OAuth, Passport)Node.jsAuthentication & Authorization (JWT, OAuth, Passport)Intermediate
14What is HTTP keep-alive, and how does Node's http.Agent manage connection reuse for outgoing requests? Node.js › HTTP & HTTPS ModulesNode.jsHTTP & HTTPS ModulesIntermediate
15How would you implement request correlation IDs to trace a single request's logs across multiple log lines and services? Node.js › Logging & MonitoringNode.jsLogging & MonitoringIntermediate
16What is the difference between a message queue (like RabbitMQ) and a job queue (like BullMQ), and when would you choose one over the other? Node.js › Background Jobs & QueuesNode.jsBackground Jobs & QueuesAdvanced
17How would you implement a middleware that adds a correlation/request ID to every incoming request for tracing purposes across a distributed system? Node.js › Express & MiddlewareNode.jsExpress & MiddlewareAdvanced