Core APIs interview questions

18 real Core APIs questions from the Node.js bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Stream?

Mid
  1. A.the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
  2. B.an abstraction for reading or writing data in chunks rather than all at once
  3. C.the promise-based version of the file-system API, for use with async/await
  4. D.a fixed-length container for raw binary data allocated outside the V8 heap
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Mid
  1. A.Stream — a fixed-length container for raw binary data allocated outside the V8 heap
  2. B.Stream — an abstraction for reading or writing data in chunks rather than all at once
  3. C.Stream — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
  4. D.Stream — connects a readable stream to a writable stream, handling backpressure automatically
Reveal the answer + AI explanation — free account

4. What is Buffer?

Mid
  1. A.an abstraction for reading or writing data in chunks rather than all at once
  2. B.a fixed-length container for raw binary data allocated outside the V8 heap
  3. C.pausing a readable stream when the writable side can't keep up, preventing memory blowup
  4. D.the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.Buffer — pausing a readable stream when the writable side can't keep up, preventing memory blowup
  2. B.Buffer — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
  3. C.Buffer — the promise-based version of the file-system API, for use with async/await
  4. D.Buffer — a fixed-length container for raw binary data allocated outside the V8 heap
Reveal the answer + AI explanation — free account

7. What is Backpressure?

Senior
  1. A.connects a readable stream to a writable stream, handling backpressure automatically
  2. B.pausing a readable stream when the writable side can't keep up, preventing memory blowup
  3. C.the promise-based version of the file-system API, for use with async/await
  4. D.an abstraction for reading or writing data in chunks rather than all at once
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Senior
  1. A.Backpressure — pausing a readable stream when the writable side can't keep up, preventing memory blowup
  2. B.Backpressure — the promise-based version of the file-system API, for use with async/await
  3. C.Backpressure — connects a readable stream to a writable stream, handling backpressure automatically
  4. D.Backpressure — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
Reveal the answer + AI explanation — free account

10. What is fs.promises?

Mid
  1. A.pausing a readable stream when the writable side can't keep up, preventing memory blowup
  2. B.an abstraction for reading or writing data in chunks rather than all at once
  3. C.the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
  4. D.the promise-based version of the file-system API, for use with async/await
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.fs.promises — pausing a readable stream when the writable side can't keep up, preventing memory blowup
  2. B.fs.promises — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
  3. C.fs.promises — connects a readable stream to a writable stream, handling backpressure automatically
  4. D.fs.promises — the promise-based version of the file-system API, for use with async/await
Reveal the answer + AI explanation — free account

13. What is EventEmitter?

Mid
  1. A.pausing a readable stream when the writable side can't keep up, preventing memory blowup
  2. B.an abstraction for reading or writing data in chunks rather than all at once
  3. C.the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
  4. D.connects a readable stream to a writable stream, handling backpressure automatically
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.EventEmitter — connects a readable stream to a writable stream, handling backpressure automatically
  2. B.EventEmitter — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
  3. C.EventEmitter — the promise-based version of the file-system API, for use with async/await
  4. D.EventEmitter — an abstraction for reading or writing data in chunks rather than all at once
Reveal the answer + AI explanation — free account

16. What is pipe()?

Mid
  1. A.the promise-based version of the file-system API, for use with async/await
  2. B.the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
  3. C.an abstraction for reading or writing data in chunks rather than all at once
  4. D.connects a readable stream to a writable stream, handling backpressure automatically
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Mid
  1. A.pipe() — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs
  2. B.pipe() — connects a readable stream to a writable stream, handling backpressure automatically
  3. C.pipe() — an abstraction for reading or writing data in chunks rather than all at once
  4. D.pipe() — the promise-based version of the file-system API, for use with async/await
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Core APIs free