0% found this document useful (0 votes)
3 views4 pages

Advanced Interview Questions NextJS NodeJS RESTAPI

The document provides a comprehensive overview of various web development concepts, particularly focusing on Next.js, Node.js, and related technologies. Key topics include server-side rendering (SSR), static site generation (SSG), API routes, and authentication methods. It also covers database management, caching, deployment, and testing practices.

Uploaded by

rr0948555
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

Advanced Interview Questions NextJS NodeJS RESTAPI

The document provides a comprehensive overview of various web development concepts, particularly focusing on Next.js, Node.js, and related technologies. Key topics include server-side rendering (SSR), static site generation (SSG), API routes, and authentication methods. It also covers database management, caching, deployment, and testing practices.

Uploaded by

rr0948555
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Q: What is [Link]?

A: A React framework that supports SSR, SSG, and API routes.

Q: What is SSR?
A: Rendering pages on the server for better SEO and performance.

Q: What is SSG?
A: Static Site Generation builds pages at build time.

Q: What is ISR?
A: Incremental Static Regeneration updates static pages after deployment.

Q: What is file-based routing?


A: Routing based on file structure inside pages/app directory.

Q: What are API routes?


A: Serverless backend functions inside [Link].

Q: What is middleware?
A: Code that runs before request is completed.

Q: What is [Link]?
A: A runtime to execute JavaScript on the server.

Q: What is event loop?


A: Handles asynchronous operations in [Link].

Q: What is REST API?


A: Architecture using HTTP methods.

Q: What are HTTP methods?


A: GET, POST, PUT, DELETE.

Q: Difference between PUT and PATCH?


A: PUT replaces resource, PATCH updates partially.

Q: What is [Link]?
A: Minimal [Link] framework.

Q: What is middleware in Express?


A: Functions that run between request and response.

Q: What is JWT?
A: Token-based authentication.

Q: What is CORS?
A: Allows cross-origin requests.

Q: What is async/await?
A: Handles asynchronous code in synchronous style.

Q: What is promise?
A: Represents future completion.

Q: What is callback?
A: Function passed to another function.

Q: What is error handling in Node?


A: Using try-catch or middleware.

Q: What is environment variable?


A: Config stored outside code.

Q: What is dotenv?
A: Library to load env variables.

Q: What is API security?


A: Authentication, validation, rate limiting.

Q: What is rate limiting?


A: Restrict number of requests.

Q: What is pagination?
A: Splitting data into pages.

Q: What is indexing?
A: Database optimization.

Q: What is MongoDB?
A: NoSQL database.

Q: What is SQL?
A: Structured query language.

Q: What is Prisma?
A: ORM for database.

Q: What is Mongoose?
A: ODM for MongoDB.

Q: What is MVC?
A: Model View Controller architecture.
Q: What is REST constraint?
A: Stateless, client-server, cacheable.

Q: What is stateless API?


A: No session stored on server.

Q: What is caching?
A: Storing responses to improve speed.

Q: What is CDN?
A: Content Delivery Network.

Q: What is load balancing?


A: Distribute traffic.

Q: What is Docker?
A: Containerization tool.

Q: What is deployment?
A: Making app live.

Q: What is Vercel?
A: Platform for [Link] deployment.

Q: What is Nginx?
A: Web server.

Q: What is GraphQL?
A: Alternative to REST.

Q: Difference REST vs GraphQL?


A: REST multiple endpoints, GraphQL single endpoint.

Q: What is authentication?
A: Verifying identity.

Q: What is authorization?
A: Access control.

Q: What is hashing?
A: Encrypting passwords.

Q: What is bcrypt?
A: Password hashing library.
Q: What is session?
A: Server-side storage.

Q: What is cookie?
A: Client-side storage.

Q: What is CSRF?
A: Cross-Site Request Forgery.

Q: What is XSS?
A: Cross-Site Scripting.

Q: What is WebSocket?
A: Real-time communication.

Q: What is [Link]?
A: Library for real-time apps.

Q: What is clustering?
A: Using multiple CPU cores.

Q: What is worker thread?


A: Thread for heavy tasks.

Q: What is logging?
A: Tracking application events.

Q: What is monitoring?
A: Tracking performance.

Q: What is unit testing?


A: Testing individual units.

Q: What is integration testing?


A: Testing combined modules.

Q: What is CI/CD?
A: Continuous integration and deployment.

You might also like