Core APIs interview questions

18 Core APIs questions from the Node.js bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

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

Answer + AI explanation with Pro

2. Which term means: "an abstraction for reading or writing data in chunks rather than all at once"?

Mid
  1. A.Backpressure
  2. B.fs.promises
  3. C.Stream
  4. D.EventEmitter

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

5. Which term means: "a fixed-length container for raw binary data allocated outside the V8 heap"?

Mid
  1. A.pipe()
  2. B.EventEmitter
  3. C.Backpressure
  4. D.Buffer

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

8. Which term means: "pausing a readable stream when the writable side can't keep up, preventing memory blowup"?

Senior
  1. A.fs.promises
  2. B.EventEmitter
  3. C.Backpressure
  4. D.Buffer

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

11. Which term means: "the promise-based version of the file-system API, for use with async/await"?

Mid
  1. A.pipe()
  2. B.Stream
  3. C.fs.promises
  4. D.EventEmitter

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

14. Which term means: "the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs"?

Mid
  1. A.pipe()
  2. B.fs.promises
  3. C.Buffer
  4. D.EventEmitter

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

17. Which term means: "connects a readable stream to a writable stream, handling backpressure automatically"?

Mid
  1. A.Backpressure
  2. B.Stream
  3. C.fs.promises
  4. D.pipe()

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Core APIs question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers