Concepts
The foundations of CMS architecture.
Q1.What is a headless CMS?
A CMS that manages and stores content but has no built-in frontend. It delivers content through APIs, usually REST or GraphQL, to any channel: websites, apps, kiosks or smart devices.
Q2.What is the difference between traditional, headless and hybrid CMS?
A traditional or coupled CMS like classic WordPress manages content and renders pages in one system. A headless CMS only provides content through APIs. A hybrid or decoupled CMS offers both, with APIs plus optional templating or visual editing.
Q3.What are the main benefits of going headless?
Freedom to use any frontend framework, reusing content across channels, better performance and security with static or edge-rendered sites, and independent scaling of content and presentation.
Q4.What are the drawbacks of headless?
More development work up front, no theme or plugin marketplace for frontend features, harder previews and visual editing, and more systems to host and monitor. Small marketing sites may not benefit.
Q5.What is content modelling?
Designing content types, their fields, validations and relationships based on what the content is, not how one page looks. A good model makes content reusable, consistent and easy for editors.
Q6.What is structured content?
Content broken into meaningful fields, such as title, summary, author reference and body blocks, rather than one big HTML blob. It can be reused, filtered, translated and presented differently across channels.
Q7.What are references and why do they matter?
Fields that link one entry to another, such as an article to an author or a product to categories. They avoid duplication and let you update shared content in one place.
Q8.What is the difference between a page-based and a component-based model?
Page-based models mirror site pages, which is quick but ties content to layout. Component-based models let editors assemble pages from reusable blocks such as hero, feature grid and FAQ, which gives flexibility while keeping structure.
Q9.What is a composable or MACH architecture?
Building digital products from best-of-breed services connected by APIs: Microservices, API-first, Cloud-native and Headless. A headless CMS, commerce engine, search and personalisation service are combined instead of one monolithic platform.
Q10.What is a DXP?
A digital experience platform bundles CMS with personalisation, analytics, marketing tools and commerce, such as Adobe Experience Manager or Sitecore. Composable stacks are the alternative of assembling these parts yourself.
Q11.What is the difference between a Content Delivery API and a Content Management API?
The delivery API is read-only, fast and CDN-cached for showing published content. The management API reads and writes content, models and assets, needs secret tokens and is used for imports, migrations and integrations.
Q12.What is omnichannel content delivery?
Publishing the same structured content to many channels, such as a website, mobile apps, email and in-store screens, from one source, with each channel rendering it in its own way.
Platforms
Questions on popular CMS products.
Q13.What is Contentful known for?
A SaaS API-first CMS with strong content modelling, environments for safe changes, a CDN-backed Content Delivery API, a Preview API, GraphQL and an app framework for custom editor extensions. It is popular with enterprises.
Q14.What is Strapi?
An open-source Node.js headless CMS you can self-host or run on Strapi Cloud. You define content types in an admin builder, it generates REST and GraphQL APIs, and you can extend it with custom controllers, services and plugins.
Q15.What is Sanity?
A headless platform where content lives in the Content Lake and the editing interface, Sanity Studio, is a React app you configure in code. It uses the GROQ query language and supports real-time collaboration and Portable Text for rich content.
Q16.What is Payload CMS?
An open-source TypeScript headless CMS configured in code that can be installed directly inside a Next.js app, using MongoDB or PostgreSQL. Developers like it for full control and type safety.
Q17.What are Storyblok and Builder.io known for?
Visual editing. Storyblok combines a component-based headless CMS with a live visual editor. Builder.io offers drag-and-drop visual editing with your own React components. They appeal to marketing teams who want to see pages while editing.
Q18.How is WordPress used as a headless CMS?
Editors keep the familiar admin, and the frontend fetches content through the REST API or WPGraphQL, usually with Next.js or Astro. Previews, menus, SEO plugin data and forms need extra work.
Q19.How do you choose a headless CMS?
Look at content model flexibility, editor experience and previews, localisation, roles and workflows, API performance and limits, SDKs, hosting model, pricing as content and users grow, vendor lock-in and how easy it is to export content.
Q20.What is Portable Text or rich text as JSON?
A way to store rich text as structured JSON blocks rather than HTML, so it can be rendered as React components, native mobile views or plain text, and can include custom inline objects like product references.
Q21.What are Contentful environments?
Isolated copies of a space's content model and content, such as master and staging. Developers test model changes and migrations in a separate environment, then promote them with aliases.
Q22.What is Hygraph?
A GraphQL-native headless CMS, formerly GraphCMS, known for content federation, which can pull data from other APIs into the same GraphQL schema.
Q23.What is Directus?
An open-source data platform that wraps any SQL database with REST and GraphQL APIs and an admin app. It suits teams that want a CMS over an existing database.
Development and delivery
Connecting the CMS to the frontend.
Q24.REST or GraphQL for a headless CMS?
GraphQL lets the frontend request exactly the fields and nested references it needs in one query, which suits complex pages. REST is simpler to cache at the CDN and widely supported. Many CMSs offer both.
Q25.How do previews work in a headless setup?
The CMS sends editors to a preview URL in the frontend, which enables draft mode, fetches unpublished content with a preview token and renders it. Visual editing tools add click-to-edit overlays.
Q26.How do you keep a static site updated when content changes?
The CMS sends a webhook on publish. The frontend either rebuilds the site or, better, revalidates only the affected pages with on-demand revalidation by path or cache tag in frameworks like Next.js.
Q27.How do you handle images from a headless CMS?
Use the CMS's image API or a separate image CDN to resize, crop and convert to WebP or AVIF on the fly, store alt text as a required field and use responsive srcset in the frontend.
Q28.How do you handle localisation?
Choose field-level localisation, where each field has values per locale, or entry-level, where each locale has its own entry. Define fallbacks, translate references carefully, integrate a translation service and output hreflang tags.
Q29.How do you generate TypeScript types from a CMS?
Most platforms offer codegen: Contentful and Hygraph through GraphQL codegen, Sanity TypeGen, Payload and Strapi from their schema. Generated types catch breaking model changes at build time.
Q30.How do you do SEO in a headless site?
Add SEO fields to the model (meta title, description, canonical, social image, noindex), render them server-side, generate sitemaps and redirects from CMS data, add structured data and make sure pages are server-rendered or static.
Q31.How do you manage redirects when content moves?
Store redirects as a content type in the CMS or in the hosting platform's config, generate them at build or read them at the edge, and create them automatically when an editor changes a slug.
Q32.How do you migrate content between models?
Use migration scripts with the CMS's management API, such as the Contentful migration tool or Sanity's migration tooling. Version scripts in Git, run them on a test environment first and make changes in backwards-compatible steps.
Q33.How do you secure a headless CMS setup?
Use read-only delivery tokens on the frontend, keep preview and management tokens server-side, restrict roles in the CMS, verify webhook signatures and keep the CMS admin behind SSO and two-factor authentication.
Q34.How do you handle draft and published states in the frontend?
Use the published delivery API for production and the preview API or draft perspective only in draft mode, so unpublished content never leaks to public pages or caches.
Q35.How do you handle forms and user-generated content in a headless setup?
Headless CMSs are for editorial content, so forms usually go to a form service, a serverless function or your own API that stores data and sends emails, rather than writing into the CMS.
CMS expert and governance
Questions for CMS lead and specialist roles.
Q36.How do you design roles and workflows for a large content team?
Map who creates, reviews, approves and publishes each content type, then set up roles with least privilege, workflow states such as draft, in review and approved, scheduled publishing and audit logs.
Q37.How do you keep content quality consistent?
Required fields and validations in the model, character limits that match the design, help text for editors, reusable components instead of free-form HTML, style guides and regular content audits.
Q38.How do you train editors on a new CMS?
Short role-based sessions, a written playbook with screenshots, a sandbox environment, office hours during launch and feedback loops to adjust the model or UI where editors struggle.
Q39.How do you plan a migration from a traditional CMS to headless?
Inventory and audit content, decide what to keep, design the new model, map old fields to new ones, script the migration, rebuild templates as components, set up URL redirects, run both in parallel for testing and freeze content briefly for the final cut-over.
Q40.How do you measure the success of a CMS project?
Time to publish, number of developer requests from editors, page performance, content reuse across channels, organic traffic after migration and editor satisfaction.
Q41.What is content governance?
The policies, roles and processes that decide who owns content, how it is reviewed and when it is updated or archived, so the CMS does not fill up with outdated or duplicate content.
Q42.How do you handle personalisation with a headless CMS?
Model variants of content per audience, use a personalisation or experimentation tool to pick a variant at the edge or server, keep a default variant and respect consent rules for tracking.
Q43.How do you manage content model changes without breaking production?
Treat the model as code where possible, review changes in pull requests, test in a separate environment, make additive changes first, migrate content, deploy frontend support, then remove old fields.
Q44.How do you handle a CMS vendor lock-in risk?
Keep content structured and portable, avoid storing layout logic only in proprietary features, wrap the CMS SDK in your own data layer and test exports regularly.
Scenario questions
Judgement calls interviewers like to test.
Q45.A marketing team says the headless CMS is too hard to use. What do you do?
Watch them work, find the pain points, then add visual previews, page-building components with sensible defaults, clearer field names and help text, and remove fields nobody uses. Sometimes the fix is a visual editing tool on top.
Q46.A small business asks for a headless CMS for a five-page site. What do you advise?
Probably not. A traditional CMS or site builder will be cheaper and easier to maintain unless they need multiple channels, a custom app or a specific frontend.
Q47.Content API costs are growing fast. How do you reduce them?
Cache responses at the CDN or in the framework, use static generation with on-demand revalidation instead of fetching per request, request only needed fields and avoid client-side calls that bypass caching.
Q48.Editors accidentally break page layouts with rich text. How do you prevent it?
Limit rich text formatting to what the design supports, replace free-form HTML with structured components, add validations and show previews before publishing.
Q49.How would you support a website, an iOS app and an Android app from one CMS?
Model content without layout assumptions, use structured fields and references, expose a stable API with versioning for apps that cannot update instantly, and render rich text as structured JSON for each platform.
Q50.A page shows old content after publishing. What do you check?
Whether the webhook fired and reached the frontend, whether revalidation targets the right path or tag, CDN cache headers, framework data caching and whether the page fetched the published API or a stale build.
Q51.How would you organise content for a global brand with 20 country sites?
Shared global content types and assets, locale-based fields with fallbacks, regional roles that can edit only their markets, approval workflows for brand content and reusable components so local teams cannot break the design.
How to prepare for the interview
- Bring a content model you designed, drawn as types, fields and references, and explain why you made each choice.
- Know at least one SaaS headless CMS and one self-hosted option well.
- Be ready to explain how previews and on-demand revalidation work with Next.js or a similar framework.
- Think about editors: interviews for CMS roles often ask how you trained or supported content teams.