Back to Web Development
10 Questions Total

Web Performance & Optimization MCQs

Topic-wise practice questions for Web Development. Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q1easy
What is Tree Shaking in modern frontend frameworks (React/Vue)?
Q2medium
(Calculation/Comparison) A page uses 3 high-res images (5MB each). If we enable compression (e.g., Brotli/Gzip), which metric is improved?
Q3medium
A script tag is placed at the end of the <body>. How does this compare to using <script defer> in the <head>?
Q4medium
An e-commerce site hosts its static images on a server in Tokyo. Users in London experience high latency. What architectural solution solves this?
Q5easy
What does Lazy Loading mean?
Q6easy
What is the main benefit of Minifying your JavaScript and CSS files?
Q7medium
You notice that when your page loads, the text shifts downward suddenly because an image above it loaded 2 seconds later. Which Core Web Vital does this negatively impact?
Q8easy
What is the impact of CSS Bloat?
Q9medium
Which HTTP 1.1 limitation is solved by Domain Sharding (an older, hacky trick for performance)?
Q10medium
The browser is trying to execute a script. Why does the code below likely slow down the page render?