SEO for Developers interview questions

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 1: Getting Started

1. Which SEO pillar do developers primarily control?

  1. Technical SEO — site speed, crawlability, structured data
  2. Off-Page SEO — backlinks and social signals
  3. Content writing and keyword research
Show answer

Answer: Technical SEO — site speed, crawlability, structured data

Developers build the technical foundation; content and marketing teams handle on-page and off-page optimization.

Lesson: What is SEO?

Module 10: Review & Interview Prep

2. What is the difference between 301 and 302 redirects?

  1. They are the same; the number doesn't matter.
  2. 301 is permanent; 302 is temporary. Use 301 for moved pages.
  3. 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?

  1. It makes CSS easier to write
  2. It tells search engines what content means, not just how it looks
  3. 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?

  1. They are only for mobile optimization
  2. They don't affect ranking
  3. 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?

  1. Use server-side rendering or prerendering; ensure initial HTML has content
  2. Avoid JavaScript completely on SEO pages
  3. 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?

  1. rel=nofollow
  2. meta viewport
  3. 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?

  1. LCP
  2. CLS
  3. 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?

  1. 301
  2. 302
  3. 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?

  1. Add Disallow to robots.txt only
  2. Serve a noindex directive
  3. 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?

  1. Plain text
  2. CSV
  3. 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?

  1. It removes the need for sitemaps
  2. It disables caching
  3. 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?

  1. The relationship between language or region versions
  2. The page load time
  3. 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?

  1. The robots.txt file
  2. Google Search Console
  3. A CSS file
Show answer

Answer: Google Search Console

Search Console reports real search performance data.

Lesson: SEO Interview Questions

← Back to the course