Documentation and Knowledge Management Questions
Governing how teams capture and keep knowledge usable: documentation standards, ownership models (centralized, federated or dedicated team) and review cadences, incentives and culture change that get engineers to document, decision records and assumption logs, post-project reviews that preserve lessons, and knowledge-base strategy so organizational knowledge stays findable and attributed. Includes building or buying a knowledge platform, migration and consolidation plans, taxonomy, tagging and search quality, linking docs to code, capturing tacit expertise into the knowledge base, detecting and remediating stale docs across a documentation estate, and versioning and change policies for shared reports and metric definitions. Covers the governance and lifecycle of a body of documentation, not the craft of writing any single document.
An internal wiki and search platform saw heavy use for a month after launch and then usage fell sharply. How would you diagnose why, and what prioritized plan would you set to bring adoption back, including quick fixes, governance and how you would measure success?
Sample Answer
Direct answer
A month of heavy use followed by a sharp fall is usually a novelty spike hitting a product that does not fit people's daily work: the content was thin or stale, search did not find things, or nothing sent people back. So diagnose from data first (search behaviour, who left, what they wanted), then interview a handful of lapsed users, and only then choose fixes. Plan in four steps: quick fixes within two weeks, habit hooks within six weeks, governance within a quarter, and a review of the platform choice last, with metrics defined before you start so success is not just "more page views".
Terms
- Novelty spike: a burst of use because something is new, not because it is useful.
- Launch cohort retention: of the people who used it in the launch month, the share still using it now.
- Zero-result search: a search that returned nothing.
- Habit hook: a place in people's normal daily tools that sends them to the wiki without them having to remember it.
- Chat link previews: when a wiki link pasted in chat expands to show the page title and first lines.
- Bounce: a visit where the person leaves after one page without doing anything else.
- Synonyms (in search): telling the search engine that different words mean the same thing.
Step 1: Diagnose (week 1)
| Question | Evidence |
|---|---|
| Who left: everyone, or one team? | Weekly active readers by team, launch cohort retention |
| Did people find what they searched for? | Zero-result searches, searches with no click |
| Was content missing or wrong? | Top queries versus existing pages, page last-verified dates |
| Is there a habit hook? | Are there links to the wiki from the tools people use all day (chat, alerts, code repos)? |
| Do people trust it? | Five to eight short interviews with people who stopped: "the last time you needed X, where did you go?" |
Metric definitions (numerator, denominator, window)
- Weekly active readers = distinct engineers who opened a page or searched in a 7-day window, divided by engineers eligible to use it.
- Search success rate = searches followed by a click on a result within the same session, divided by all searches.
- Zero-result rate = searches returning nothing, divided by all searches.
- Freshness = pages viewed in the window that were verified within their review interval, divided by pages viewed.
Illustrative worked example. Suppose 200 engineers. Launch month: 150 weekly active (75 percent). Now: 60 (30 percent). Of 1,000 searches last week, 320 returned nothing (32 percent) and 400 led to a click (40 percent). Sort the 1,000 searches into three groups: 320 returned nothing (32 percent), 280 returned results but nobody clicked (28 percent), and 400 led to a click (40 percent). So 600 searches, six in ten, ended without a click, and only 40 percent succeeded. Roughly half of the failures (320 of 600) mean missing content or a vocabulary mismatch, and the other 280 mean results were shown but looked irrelevant or stale. Both are search problems, so search is the main leak and search fixes come before governance.
Step 2: Prioritized plan
- Quick fixes (weeks 1-2): create or redirect pages for the top zero-result queries, add synonyms (for example "on-call" and "pager"), fix or archive the 20 most-viewed stale pages, and add chat link previews so wiki links are useful where people already talk.
- Habit hooks (weeks 2-6): link runbooks from alerts, link onboarding checklists, and make "put it in the wiki" the default answer in team channels.
- Governance (weeks 4-12): each space has an owner, each page a review-by date, stale pages get a visible "unverified" banner then archive, and there is a simple contribution guide with a page template.
- Review the platform choice last. Replacing the tool is expensive and rarely the root cause; only reopen it if search relevance cannot be fixed.
Measuring success
Target weekly active readers recovering to a stated level (say back toward 60 percent: that is a judgment call, not a law. Launch was 75 percent, and part of that was curiosity, so recovering about half of the gap between today's 30 percent and the launch peak of 75 percent (a 45-point gap, so about 22 points back), roughly 52 percent, is the floor and 60 percent is a stretch. Agree the number with the sponsor up front) sustained for eight weeks, search success rising, zero-result rate falling, and the freshness ratio rising. Also track contribution (pages edited by non-authors).
Pitfalls
- Raw page views are easy to game and inflated by bots or bounces, so pair them with search success and freshness.
- A mandate ("everyone must use the wiki") gets compliance, not trust.
- What would change my call: if interviews show the content lives in a different tool people already prefer, integrate with that instead of competing.
You are moving scattered documentation into one centralized knowledge base. Lay out your migration plan from first inventory to cutover: how you decide what to keep, merge or retire, how content gets owners and stays findable, what happens to old material, and which measures tell you the migration worked.
Sample Answer
Direct answer
Treat the migration as content curation first, tooling second: inventory everything, decide keep, merge or retire using a simple scoring rule, put owners and metadata on every kept page BEFORE moving it, migrate in waves ordered by operational criticality, leave redirects behind, and judge success by whether people find answers faster, not by how many pages moved.
Terms
- Inventory: a spreadsheet listing every doc, where it lives, who wrote it and when it last changed.
- Redirect: an old link that automatically forwards to the new location.
- Cutover: the moment the new system becomes the official source.
- Runbook: step-by-step instructions for operating or fixing a system.
Phase 1: Inventory and triage (weeks 1-2)
Crawl the wikis, shared drives and repos, and add the informal sources: chat channels and personal notes. Record for each item: location, owner, last edit, views if known, and which system it describes.
Decide keep, merge or retire with a short rule:
| Decision | Rule |
|---|---|
| Keep | Still accurate, describes a live system, and is used or operationally needed |
| Merge | Overlaps another page on the same topic; combine into one canonical page |
| Retire | Describes decommissioned systems, unedited for a long time, and nobody uses it |
| Ask a domain owner to confirm every retire in bulk, so nothing critical vanishes silently. |
Worked example (illustrative arithmetic)
Inventory finds 400 items. Triage results: 120 keep, 90 merge (they collapse into 30 pages), 190 retire. The new knowledge base receives 120 + 30 = 150 pages, 37.5 percent of the original. Every item still has a recorded fate in the inventory, so the numbers reconcile: 120 + 90 + 190 = 400.
Phase 2: Structure, ownership, findability
- Target structure: a few top-level areas (for example Services, Runbooks, Processes, Onboarding), not a mirror of the org chart.
- Tags: a small controlled list (team, system, lifecycle, audience); no free-form tags at launch.
- Every page has an owner team and a last-reviewed date; pages without an owner are not migrated.
- Search: index titles, headings and tags, boost pages by verified freshness, and test with a list of the 20 most common real questions.
Phase 3: Migrate in waves, by operational criticality
For knowledge that lives only in chat channels and personal notes, rank by "what hurts if it is missing at 3am": on-call runbooks and recovery steps first, then setup and onboarding, then background context. Capture chat knowledge by turning a decision or fix into a proper page (with the thread linked), not by dumping the export. Set a measurable onboarding-speed goal, for example that a new engineer completes the first supervised on-call shift using only the knowledge base, and measure the median days before and after.
Phase 4: Old material and cutover
Freeze the old wikis to read-only with a banner pointing to the new location, keep redirects for a defined period, archive (do not delete) retired items for legal or historical reasons, then switch off after traffic to old links falls.
Success measures
- Search: share of searches with a click and no immediate re-search, and zero-result queries falling.
- Coverage: percent of critical systems with an owned, current runbook.
- Freshness: percent of pages reviewed within their window.
- Onboarding speed (above) and fewer "where is the doc for X" questions in chat.
Trade-offs and pitfalls
- Migrating everything "just in case" copies the rot into the new home.
- No owners means the new system decays as the old one did.
- A big-bang cutover is riskier than waves, but waves prolong two sources of truth, so set a firm end date.
- What would change my call: a small team with 50 pages should skip scoring and simply re-read them.
Your knowledge base is stale and teams are repeating incidents because playbooks are obsolete. Propose a remediation program: what you clean up first, how stale content is detected automatically, how humans review, what stops recurrence, and a realistic timeline and staffing.
Sample Answer
Direct answer
Run a time-boxed remediation program aimed at the runbooks that pages and incidents actually touch. Clean up tier-1 procedures first, detect staleness automatically with checks against real infrastructure and incident history, require a human to walk each procedure before it is marked verified, and stop recurrence by making a working runbook a condition for shipping an alert and for closing a postmortem. Archive everything nobody claims instead of reviewing it.
Terms. A playbook or runbook is a step-by-step procedure for handling an operational event. A postmortem is a written review of an incident; blameless means it looks for system causes, not someone to blame. A tier-1 service is one whose failure pages people or hurts revenue; tier 2 is important but a failure degrades it rather than stopping it (for example an internal reporting tool). A paging alert is an alert that wakes someone up. A staging environment is a safe copy of production for testing. The inventory is the current list of live hosts and services, taken from your configuration database. A decommissioned host is one that has been shut down and removed.
1. What to clean up first
Rank runbooks by consequence, not by age:
- Runbooks linked from paging alerts on tier-1 services.
- Runbooks named in the last 12 months of postmortems as missing, wrong or ignored (those are the ones that already repeated an incident).
- Runbooks for tier-2 services.
- Everything else: put an archive notice on it and delete or archive after 30 days if no owner claims it.
2. Automatic staleness detection
- Nightly job: links, hostnames, service names and commands referenced in the runbook checked against the current inventory. A reference to a decommissioned host is a hard flag.
- Alert-to-runbook check: every paging alert's runbook URL must resolve and must have a verified date inside its interval.
- Incident hook: responders press "runbook was wrong or missing" during or after an incident, which creates a ticket automatically.
- What the nightly check produces, for one runbook:
db-failover step 4 references host db-eu-2 (decommissioned 2026-06-30): HARD FLAG. Ticket opened for payments-team, due in 5 business days. - Age since last verified, used as a weak signal only (age alone is a poor predictor; broken references and incident flags are stronger).
3. Human review
The owner walks the runbook step by step in a staging environment, or as a tabletop drill (a talked-through rehearsal), with a second person who did not write it. They fix wrong steps, record the date and both names, and only then is the page marked verified. Reading it and clicking "still accurate" does not count.
4. Preventing recurrence
- CI (continuous integration) lint: an automated check that runs on every proposed change and rejects it when a rule is broken, here: an alert definition cannot merge without a runbook link. Illustrative output of a small custom lint script (no standard tool prints exactly this; you define the wording) when it fails:
FAIL alerts/checkout.yaml: "CheckoutLatencyHigh" has severity=page but no runbook_url
FAIL alerts/search.yaml: runbook_url https://wiki.example.com/runbooks/search-old returns 404
- Postmortem action items include "update the runbook" and the postmortem cannot close until the change is merged.
- Runbook lives next to the service code and its owner appears in the repo's CODEOWNERS file (a file that maps paths to owning teams), so changes get reviewed.
- Quarterly drill of the tier-1 runbooks (a game day, a rehearsal where you deliberately trigger a failure).
5. Realistic timeline and staffing
Illustrative sizing: 400 runbooks, of which 40 are tier 1 and 100 are tier 2.
| Phase | Weeks | Work | Effort |
|---|---|---|---|
| 0. Inventory and triage | 1-2 | Export all runbooks, tag tier and owner | Program lead, part-time |
| 1. Tier 1 | 3-8 | Walk and fix 40 runbooks, 1.5 hours each: 60 hours | Owners of each service: 60 hours over 6 weeks is about 10 hours per week in total, so with roughly 10 owning teams that is 1 to 2 hours per week each |
| 2. Detection and CI guard | 4-10 | Build nightly reference check, alert lint | One engineer, about two weeks |
| 3. Tier 2 | 9-16 | 100 runbooks at 1 hour: 100 hours | Owners |
| 4. Long tail | 12-16 | Archive unclaimed after 30-day notice | Program lead |
Staffing: one part-time program lead, one engineer for tooling, and a small time budget from each owning team. The human review effort totals about 160 hours (60 for tier 1 plus 100 for tier 2), which is roughly 4 person-weeks spread across teams, not one team's burden.
Success measures. No paging alert without a verified runbook; postmortems citing "runbook wrong" decline quarter over quarter; nightly reference-check failures trend to zero.
Pitfalls
- Reviewing all 400 equally wastes the program's budget on the long tail.
- A one-time cleanup decays; without the CI and postmortem gates you are back here in a year.
- What would change my call: if the team is tiny, skip the tooling and run a monthly tier-1 drill instead.
In a large engineering organization, compare a centralized documentation model with a federated one. How do ownership, findability, governance overhead, update speed and standards enforcement differ, when is each appropriate, and what hybrid would you propose?
Sample Answer
Direct answer
A centralized model puts one team in charge of writing, structure and tooling. A federated model lets each engineering team own its docs under shared standards. In a large organization neither extreme works alone, so I would recommend a hybrid: central ownership of the platform, standards and navigation; federated ownership of content, with each doc having an accountable owning team.
Comparison
| Dimension | Centralized | Federated |
|---|---|---|
| Ownership | Clear (doc team), but far from the code | Clear per team, but uneven across teams |
| Findability | High: one structure, one search | Low unless indexed: many styles, locations |
| Governance overhead | High: intake queue, review | Lower per team, but coordination cost across teams |
| Update speed | Slow: writers wait on engineers | Fast: authors are the people making the change |
| Standards enforcement | Easy: one gatekeeper | Hard: needs automation and peer pressure |
| Accuracy | Prone to lag and errors | Better where teams care; poor where they do not |
When each fits
- Centralized: a small organization, highly regulated or customer-facing docs where consistency and legal review matter, or a young platform where standards do not exist yet.
- Federated: many teams with different stacks, fast-moving internal engineering docs, and a culture where teams already own services end to end.
The hybrid I would propose (worked example)
Imagine 40 teams:
- A small platform team (2 to 4 people) owns the publishing tool, the templates, the style guide, the global search and the navigation. It does not write team content.
- Each team owns its docs in its own repository, marked with an owner in the doc header; a CODEOWNERS file (a repository file naming who must review changes in a path) makes this enforceable.
- Automated checks in CI (automated checks that run on each change) enforce standards: required sections, broken links, owner present, review date. This replaces a human gatekeeper.
- Tier-1 material (the small set of docs where an error is costly, such as public API, incident runbooks, security policies) gets extra editorial review from a small docs guild (one representative per team).
- All content is indexed into one search, and the platform team publishes a scorecard per team (share of docs with owner, share past review date), which makes uneven quality visible without policing. An illustrative scorecard:
Team Docs with owner Past review date
Payments 38 of 40 (95%) 3 of 40 (8%)
Search 20 of 25 (80%) 9 of 25 (36%)
Mobile 9 of 30 (30%) 18 of 30 (60%)
Mobile is the team to help first, not to shame.
Pitfalls
- Federated with no platform team ends in 40 different structures and no findability.
- Centralized with too few writers turns into a backlog; engineers route around it.
- A scorecard that punishes low scores encourages gaming; pair it with support for teams that are behind.
What would change my recommendation
If most docs are customer-facing and legally reviewed, lean central. If the organization is under roughly ten teams, a shared repo with light standards may be enough and the platform team can be part-time.
Design a knowledge management system for a global engineering organization of about two thousand people. It has to support versioned, code-linked documentation, fast search, access controls, doc checks in CI, and usage, gap and staleness analytics. Describe the components, the governance, and where you would deliberately keep it simple.
Sample Answer
Direct answer
For about 2,000 engineers I would build a small set of well-understood components around docs-as-code (docs in the repos), a central index for search, identity-driven access, CI checks, and an analytics layer, with lightweight governance built on owners and review dates. Keep simple: one authoring format, one search engine, no bespoke editor, and no machine-learning features until search logs prove a need.
Terms
- Docs-as-code: docs stored as Markdown in repos and reviewed like code.
- CI (continuous integration): automated checks on each change.
- ACL / RBAC: access control lists / role-based access control (permissions granted by role or group).
- SSO: single sign-on, one login for all tools.
- Staleness: a doc likely out of date because time passed or its code changed.
- Content gap: a question people search for that has no good page.
- Front matter: a small metadata header at the top of a Markdown file (owner, type, sensitivity, last_reviewed).
- Documentation guild: a small volunteer group with one representative per major area that maintains shared standards. It advises and sets templates, unlike a central team that writes or approves everything.
- Federating ownership: each team owns its own docs instead of one central team owning all of them.
- Directory-to-group mapping: the company's employee directory (who reports to which team) is used to create the user groups that permissions follow, so a reorg updates access automatically.
- Boost: nudging certain results higher in search ranking. Drift: a doc slowly becoming wrong as the code changes.
Sizing (illustrative assumptions, not measurements)
Suppose 2,000 engineers in about 250 teams, each team owning roughly 20 pages: about 5,000 pages. With a review every 6 months on average, that is about 830 reviews a month, or 3 to 4 per team per month, which is why review dates must be automated rather than chased by hand. If each engineer searches about 3 times a week, that is roughly 6,000 searches a week, a small load that one managed search engine handles comfortably. This is the reasoning behind keeping the platform simple.
Components
| Component | Choice and reason |
|---|---|
| Authoring | Markdown in each repo with front matter (owner, type, sensitivity, last_reviewed). Versioned by git, so docs branch and tag with code |
| Code linking | Front matter or a mapping file links a page to code paths and services, so CI can spot drift |
| Build and CI checks | Link check, required fields, formatting, and "code changed, doc not touched" warning; blocking only for a short list of critical rules: (1) an owner field is present, (2) no broken internal links, (3) no credential-like strings (keys, passwords). Everything else, including "code changed, doc not touched", starts as a warning |
| Publishing | One static site build per merge, plus a portal page and redirects |
| Search | One managed search engine indexing all sources with synonyms and boosted freshness, filtering by user groups at query time |
| Access control | SSO groups from the identity system; sensitivity classes map to groups; page-level ACL for the small sensitive set, defaults open |
| Analytics | Search logs, page views, zero-result queries, and stale-page counts, in a dashboard |
Governance
- Ownership: every page has an owner team; reorganizations transfer ownership via a directory-to-group mapping.
- Review cadence: reviewed within its window (for example quarterly for runbooks, longer for concepts).
- Standards: a short style guide and templates, maintained by a small documentation guild with representatives from major areas rather than a central gatekeeping team.
- Escalation: unowned or repeatedly stale critical pages go to the engineering director for that area.
Analytics that drive action
- Usage: the top viewed and searched pages get quality investment first.
- Gaps: queries with zero results or immediate re-search become a backlog for owners.
- Staleness: pages past review date, grouped by team, in a monthly leadership report.
- Onboarding: time for a new hire to complete first tasks, and which pages they visit.
Global scale extras
- Multi-language: keep English as the source of truth, translate the top pages (by usage) rather than everything, and label translations that lag the source.
- Personalized ranking: boost by team, region and role from directory data. Simple boosts beat learned models here.
- Page-level access across business units: group-based ACLs with an audit log; keep the restricted set small so defaults stay open.
- Optional machine learning summarization: defer until search analytics show people struggle with long pages, run it as a pilot on non-sensitive content, and require it to cite its sources. The justification test is a measurable improvement in time to answer against the baseline, and a cost within budget.
Where I deliberately keep it simple
- One authoring format instead of supporting many.
- Off-the-shelf search and hosting instead of building.
- Permissions by group, not per-person exceptions.
- Automated freshness signals instead of manual audits.
- No custom ranking algorithm at launch.
Worked example (illustrative)
A payments engineer changes a service's timeout config. CI notes that the linked runbook was not touched, and the owner adds a one-line update in the same pull request. Meanwhile analytics shows "how to rotate keys" returns no results, and the security guild writes the missing page. Both are cheap loops driven by data.
Trade-offs and pitfalls
- Strict CI gates breed workarounds; use warnings first, and block only for the critical rules.
- Analytics can mislead: high views may mean confusion, so pair with feedback.
- Federating ownership scales better than a central team but needs the guild for consistency.
- What would change my call: heavy regulation would raise access and audit requirements, and a smaller organization could skip the guild and analytics dashboards.
Unlock Full Question Bank
Get access to all 12 Documentation and Knowledge Management interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.