13 questions from the SEO for Developers: Technical SEO and Core Web Vitals course, each with the correct answer and an explanation. Try to answer before you open the answer.
Module 10: Review & Interview Prep
2. What is the difference between 301 and 302 redirects?
- They are the same; the number doesn't matter.
- 301 is permanent; 302 is temporary. Use 301 for moved pages.
- 301 is faster than 302 on the server.
Show answer
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.
Lesson: SEO Interview Questions
3. Why should you use semantic HTML for SEO?
- It makes CSS easier to write
- It tells search engines what content means, not just how it looks
- Because search engines only read div tags
Show answer
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.
Lesson: SEO Interview Questions
4. What are Core Web Vitals and why do they matter?
- They are only for mobile optimization
- They don't affect ranking
- LCP, INP, CLS — Google's metrics for UX and ranking signals
Show answer
Answer: LCP, INP, 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.
Lesson: SEO Interview Questions
5. How do you handle JavaScript for SEO?
- Use server-side rendering or prerendering; ensure initial HTML has content
- Avoid JavaScript completely on SEO pages
- Block crawlers from all JavaScript files
Show answer
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.
Lesson: SEO Interview Questions
6. Which tag helps prevent duplicate content by naming the preferred URL?
- rel=nofollow
- meta viewport
- rel=canonical
Show answer
Answer: rel=canonical
The canonical link consolidates signals to one URL.
Lesson: SEO Interview Questions
7. Which Core Web Vital measures responsiveness to user input?
- LCP
- CLS
- INP
Show answer
Answer: INP
INP replaced FID in 2024.
Lesson: SEO Interview Questions
8. What is the correct status code for a permanently moved page?
- 301
- 302
- 404
Show answer
Answer: 301
A 301 passes signals to the new URL.
Lesson: SEO Interview Questions
9. How do you keep a crawlable page out of search results?
- Add Disallow to robots.txt only
- Serve a noindex directive
- Delete the sitemap
Show answer
Answer: Serve a noindex directive
noindex works only if crawlers can fetch the page.
Lesson: SEO Interview Questions
10. Which structured-data format does Google recommend?
- Plain text
- CSV
- JSON-LD
Show answer
Answer: JSON-LD
JSON-LD is easy to maintain and keeps markup out of the visible HTML.
Lesson: SEO Interview Questions
11. Why prefer SSR or prerendering for JavaScript-heavy sites?
- It removes the need for sitemaps
- It disables caching
- Initial HTML contains the content crawlers need
Show answer
Answer: Initial HTML contains the content crawlers need
Content in the initial HTML is indexed faster and more reliably.
Lesson: SEO Interview Questions
12. What does hreflang tell search engines?
- The relationship between language or region versions
- The page load time
- The author's name
Show answer
Answer: The relationship between language or region versions
hreflang links equivalent pages for different languages and regions.
Lesson: SEO Interview Questions
13. Where should you track queries, clicks and impressions?
- The robots.txt file
- Google Search Console
- A CSS file
Show answer
Answer: Google Search Console
Search Console reports real search performance data.
Lesson: SEO Interview Questions