Front-endMedium#121What is lazy loading in web development?Lazy loading is a design pattern that delays loading of non-critical resources at page load time, reducing initial load time and page weight.
DevOpsMedium#122Discuss the role of a load balancer in a distributed system.A load balancer distributes network or application traffic across multiple servers to enhance responsiveness and availability of applications.
Back-endMedium#123How does indexing improve database query performance?Indexing speeds up data retrieval operations by effectively creating a smaller, faster version of the database table.
Front-endMedium#124Explain event delegation in JavaScript.Event delegation refers to the practice of using a single event listener to manage all events of a specific type for child elements.
Front-endHard#125Explain the concept of 'closure' in JavaScript.A closure is a function that remembers its outer variables and can access them.
DevOpsMedium#126Describe the use of Docker in a DevOps environment.Docker allows for packaging applications in containers, facilitating consistent deployment across different environments.
Back-endHard#127What is a 'race condition' in software development?A race condition occurs when the system's behavior depends on the sequence or timing of other uncontrollable events.
Front-endMedium#128How would you optimize a website's load time?Optimizations can include minimizing HTTP requests, using CDNs, compressing files, caching, etc.
Back-endMedium#129What is the difference between SQL and NoSQL databases?SQL databases are structured, use SQL, and are better for complex queries. NoSQL databases are flexible, scale well, and are good for hierarchical data storage.
Front-endMedium#130Can you explain the concept of 'state' in React?State in React is an object that holds some information that may change over the lifecycle of the component.