Lesson 31 / 32
SEO Interview Questions
Common SEO questions asked in technical interviews.
Quick check: What is the difference between 301 and 302 redirects?
- 301 is permanent; 302 is temporary. Use 301 for moved pages.
- They are the same; the number doesn't matter.
- 301 is faster than 302 on the server.
Answer
301 is permanent; 302 is temporary. Use 301 for moved pages. — 301 transfers ranking authority to the new URL; 302 keeps authority on the old URL. Always use 301 for permanent moves.
Quick check: Why should you use semantic HTML for SEO?
- It tells search engines what content means, not just how it looks
- It makes CSS easier to write
- It has no impact on SEO
Answer
It tells search engines what content means, not just how it looks — Semantic tags like <article>, <section>, <nav> tell Google the structure and meaning of your content.
Quick check: What are Core Web Vitals and why do they matter?
- LCP, FID, CLS — Google's metrics for UX and ranking signals
- They are only for mobile optimization
- They don't affect ranking
Answer
LCP, FID, CLS — Google's metrics for UX and ranking signals — Core Web Vitals are essential UX metrics that Google uses to rank pages. Developers must optimize them.
Quick check: How do you handle JavaScript for SEO?
- Use server-side rendering or prerendering; ensure initial HTML has content
- Avoid JavaScript completely on SEO pages
- JavaScript doesn't affect SEO at all
Answer
Use server-side rendering or prerendering; ensure initial HTML has content — Google can render JS, but it's delayed. Use SSR/prerendering or put content in initial HTML.