All quizzes
Free quiz · 39 questions in the bank

Gatsby quiz

Test your Gatsby knowledge with a free interactive quiz — 39 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What file is used to programmatically create pages at build time, such as one page per blog post?

Questions in this quiz
  1. What file is used to programmatically create pages at build time, such as one page per blog post?
  2. What is the purpose of `gatsby-plugin-image`?
  3. What GraphQL API is used inside a page component to query build-time data for that specific page?
  4. What kind of routes does dynamic segment syntax like `src/pages/posts/{MarkdownRemark.fields__slug}.js` (or the older gatsby-node approach) create?
  5. Where is a Gatsby GraphQL query typically explored and tested during development?
  6. What is `gatsby-config.js` used for?
  7. What does the `createPages` API in gatsby-node.js require you to call for each generated page?
  8. What does `npm install gatsby-source-filesystem` allow Gatsby to do?
  9. What is Gatsby?
  10. Where do pages placed under `src/pages/` get their routes from?
  11. What hook is used to query data inside a non-page component, like a shared Header?
  12. What does a Gatsby "source plugin" do?
Gaps to close?
Read the curated Gatsby notes — core concepts, patterns, interview prep.
Gatsby notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web