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.
Engineers at your company rarely write documentation unless someone forces them to. Design an incentive program that encourages meaningful contributions. How would you judge quality, stop people from gaming it, and pilot it before a wide rollout?
Sample Answer
Direct answer
Pay for outcomes that readers experience (docs that get used, kept current and that reduce questions), not for volume. I would build a small program with three parts: visible recognition and career credit rather than cash, a quality signal that comes from readers and from freshness, and guardrails against gaming. Then pilot it with two or three teams for a quarter before scaling.
Terms
- Gaming: producing what the metric rewards without the value it was meant to stand for (for example, splitting one page into ten).
- Docs-as-code: writing docs as files in the code repository, reviewed like code.
- Stale doc: one whose owner has not confirmed it is correct within an agreed period.
- Pilot: a limited trial with a comparison baseline.
- README: the front-page file of a code repository that says what it is and how to run it.
- Swag: small branded goodies such as t-shirts or stickers.
- Freshness: whether the doc has been confirmed correct recently (for example within 90 days).
- Extrinsic rewards crowd out pride: paying or prizing people for something they would otherwise do because they care can make them care less, so the reward replaces the pride instead of adding to it.
Why people do not write docs today (diagnose first)
Usually it is not laziness: writing is invisible in reviews, there is no time budgeted, docs rot so writing feels wasted, and the payoff goes to someone else. An incentive on top of a broken environment fails, so the program pairs incentives with removing friction (templates, docs in the repo, docs time in sprint planning).
Incentives (ranked by what I would try first)
- Career credit: documentation impact counts in promotion and performance write-ups, with managers trained to ask about it.
- Recognition: a monthly "most useful doc" chosen by readers, plus named owners on high-traffic pages.
- Protected time: a small documentation allowance per sprint.
- Small rewards (swag, conference budget) as a garnish. Avoid cash per page.
Judging quality without counting words
| Signal | What it tells you | How it is gamed |
|---|---|---|
| Reader "was this helpful" votes and comments | Usefulness | Friends vote for friends; cap votes per reader per author and weight by distinct teams |
| Usage (views, links from code or tickets) | Whether people find it | Self-viewing; exclude the author's team |
| Freshness (owner confirmed within 90 days, code changed with the doc) | Whether it is current | Rubber-stamp "reviewed" clicks; audit a random sample by asking a peer to follow the doc |
| Reduction in repeat questions on that topic | Real impact | Slow to measure; use as a trend, not a score |
| A monthly sample of ten docs is scored by a peer using a short rubric (accurate, complete for the task, clear next step; 0 to 2 points each, so 0 to 6) and this sample outranks the automated numbers. |
Worked check on one page: last confirmed 2026-07-01, so on 2026-09-28 it is 89 days old and passes the 90-day rule. A page confirmed 2026-06-20 is 100 days old and is flagged stale. The first page has 14 helpful votes from 5 different teams and a peer score of 5 of 6, so it is a strong result. A page with 14 votes all from the author's own team and a peer score of 2 of 6 is not, however popular it looks.
Anti-gaming guardrails
- Never reward raw count or length.
- Credit revisions and deletions of duplicates as much as new pages.
- Rate limits on credited edits per person and per page, and a minimum age before the same page earns credit again.
- Publish the rules so gaming is visible, and review outliers by hand.
Pilot design
Pick two teams that volunteer plus one comparison team without the program. Baselines before start: share of services with a current README, and median time for a new hire to make a first change (measure, don't guess). Run for one quarter, then interview participants and read the sampled docs. Success means participants' freshness and reader ratings rise versus the comparison team without a jump in trivial pages. Illustrative numbers: at baseline 6 of 20 services (30 percent) have a current README and a new hire's median time to a first change is 12 days. After a quarter, the pilot teams are at 14 of 20 (70 percent) and 7 days while the comparison team went from 30 to 35 percent. The gap, not the raw rise, is the signal. Adjust rules, then extend in waves.
Worked example (illustrative)
A team splits one 3-page setup guide into nine tiny pages to raise its count. Under the program the credit came from reader-rated usefulness and freshness, so nine thin pages earn less, the peer sample flags fragmentation, and the reviewer merges them, crediting the merge.
Trade-offs and pitfalls
- Extrinsic rewards can crowd out pride in the work, so keep rewards modest and tied to helping others.
- Heavy scoring becomes a job of its own. Keep to three or four signals.
- What would change my call: in a very small team, direct manager expectations beat a formal program.
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.
Several product teams each own documentation for their own services, and compliance reviewers now need to see who is accountable for what. Design an ownership model: roles, edit rights, approvals, how quickly docs must follow code changes, and what audit evidence you keep.
Sample Answer
Direct answer
Give every doc one accountable owning team, encode that in the repository (not in someone's memory), use pull-request review as the approval and audit mechanism, set update deadlines by how risky the doc is, and keep the evidence automatically (version history, review records, and an ownership report). Compliance reviewers then answer "who is accountable for what" by pulling a report, not by asking around.
Roles and edit rights
| Role | Responsibility | Rights |
|---|---|---|
| Owner (a named team plus a named lead) | Accountable for accuracy and review dates | Approves changes; can archive |
| Contributor | Any engineer | Proposes edits by pull request |
| Reviewer | Owner team member, plus a domain expert for sensitive docs | Approves merge |
| Compliance reviewer | Reads, does not edit | Read access to all, plus the audit report |
| Docs platform admin | Tooling and permissions | No content authority |
Ownership lives in a doc header field and a CODEOWNERS file (a repository file naming who must review changes in a path), so branch protection (a repository setting that refuses to merge a change until the required approvals, including the owner's, are in) can require owner approval automatically. A tier is just a risk label your policy defines; three tiers is a common, workable number.
A concrete header and CODEOWNERS line:
# top of docs/payments/refund-runbook.md
owner: payments-team lead: J. Doe tier: 1
last_reviewed: 2026-07-15 next_review: 2027-01-15
# CODEOWNERS
/docs/payments/ @acme/payments-team
Approvals and update deadlines
- Tier 1 (security procedures, incident runbooks, data-handling): owner approval plus one independent reviewer; docs must be updated in the same pull request as the code change when it touches described behavior, and reviewed at least every six months.
- Tier 2 (service docs): owner approval; update within, say, five business days of a behavior change.
- Tier 3 (notes, drafts): no approval; auto-archived after inactivity.
The exact numbers are policy choices your compliance team sets; the structure is what matters: shorter deadlines for higher risk.
Audit evidence you keep
- Version history with author, reviewer and time (Git provides this).
- A generated ownership register (a table built automatically from the doc headers, never typed by hand): doc, owner team, tier, last reviewed date, next review date.
- Review records: pull-request approvals, and a signed attestation for periodic tier-1 reviews (a dated statement by the owner, "I re-read this and it is accurate", kept as a record).
- Exceptions: a log of overdue docs and who accepted the risk, with an expiry. One entry looks like:
ledger-reconciliation-guide | overdue since 2026-08-01 | risk accepted by: Director of Engineering | reason: rewrite tied to the payments migration | expires: 2026-10-31. When the expiry passes, the doc is either fixed or the acceptance is renewed on the record.
Worked example
A compliance reviewer asks: "Who is accountable for the payment-refund runbook, and when was it last verified?" The register shows: owner payments team (lead named), tier 1, last reviewed 2026-07-15 by two people, next review due 2027-01-15, and the linked pull request shows the approvals. No meeting was needed.
Lifecycle (creation to archive)
Draft, then in review, then published, then due for review (a timer), then either re-verified, updated, or archived. Archived docs stay in version control and carry a banner pointing to the replacement; nothing is deleted while retention rules (how long the company or a regulator requires records to be kept) apply.
ML organization variant: governance versus agility
For models, add a model owner and require a model card (a short standard document describing purpose, training data, evaluation and limits) before release. To protect agility, apply strict controls only to models in production or that affect customers; research notebooks and experiments stay lightweight (tier 3). Update deadlines follow releases: a model card must be current at each promotion (moving a model from testing into real production use). The trade-off: strict governance slows experimentation, so scope it by risk rather than applying it everywhere.
Pitfalls
Approvals that become rubber stamps, ownership assigned to a person who leaves (assign to teams and review quarterly), and evidence collected by hand only at audit time (automate it).
What documentation standards would you set for an engineering team, and how would you get people to follow them without turning it into bureaucracy? Cover how the standards are kept up to date as the work changes.
Sample Answer
Direct answer
Set a small, tiered minimum standard (a few artifacts every service, pipeline or model must have), keep the docs in the same repository as the code and change them in the same pull request (PR), and enforce the standard with automation and defaults rather than meetings and sign-offs. Freshness comes from ownership plus a review date on every doc, not from goodwill. The test of "not bureaucracy" is that following the standard is the easiest path and the checks are run by tooling.
Structured elaboration
1. The standard itself: small and tiered
- Tier 1 (anything on-call, customer-facing or shared): a README (the front-page file of a repo: what it is, who owns it, how to run it, where to ask), a runbook (step-by-step instructions for responding to an alert or failure), and a decision record (a short note recording what was chosen, the options rejected and why) for hard-to-reverse choices.
- Tier 2 (internal tools, experiments): README only.
- ML and data assets: a model card (short document stating what a model is for, its training data, known limits and owner) or a dataset datasheet, plus a data dictionary (what each column means, its unit and source). For analytics projects add required metadata: owner, refresh schedule, source tables and last-reviewed date.
- One template per artifact, pre-filled, with the required fields marked. Templates are what stop inconsistent deliverables and the rework that follows.
- The ML and data items are optional add-ons for teams that ship models or datasets, not part of the core README, runbook and decision record set.
A minimal template skeleton, so the required fields are concrete (the CI check simply fails if a heading is missing):
README.md RUNBOOK.md decision record
# <service> # Alert: <alert name> # Decision: <statement>
Owner: <team> Severity: <P1-P3> Status: proposed | accepted | superseded
Last reviewed: <d> Symptoms: <what you see> Context / Options / Consequences
## What it does Diagnosis: <steps> Owner and review date
## Run locally Fix or rollback: <steps>
## Ask for help Escalate to: <who>
2. Governance as one framework (owners, templates, review cadence, tooling, incentives)
- Templates: the pre-filled skeleton above is the only format accepted for each artifact, stored in one template repository, so the CI check has a fixed set of required headings to test.
- Owners: every doc names a team owner (a CODEOWNERS file, which routes PR review to the named owners, plus a service catalog entry, meaning a central list of every service with its owner, docs link and on-call contact). An unowned doc is treated as deletable.
- Review cadence: each doc carries a
last_revieweddate. Tier 1 is reviewed at least every 6 months, and also whenever the system changes shape. - Tooling: docs-as-code (markdown in the repo, reviewed like code), a CI (continuous integration) job that checks required headings, broken links and stale dates, and one searchable site built from all repos.
- Incentives: doc work counts in performance and promotion criteria, authors are credited by name, and "a new hire followed the README and it worked" is celebrated. Punishment alone breeds checkbox docs.
3. Keeping standards current as work changes
- A PR template asks "docs updated or not needed, and why". Changes to alerts, APIs or schemas require touching the linked doc (a CI rule can map code paths to doc paths).
- A bot opens a ticket on the owner when
last_reviewedpasses its limit. Two missed cycles moves the doc toarchivedrather than leaving a confident but wrong page. - The standard itself is versioned and reviewed twice a year by a small docs working group (a few volunteers from different teams who own the standard), and any rule that nobody can justify with an incident or onboarding pain is removed.
4. Measuring compliance and handling non-compliance
- Coverage = Tier 1 assets with all required docs / all Tier 1 assets. Freshness = docs reviewed inside their window / docs required.
- Escalation ladder: bot nudge, ticket on the owner, visible on the team's monthly ops review, and only for Tier 1 a launch-readiness blocker, meaning the service cannot go live until its Tier 1 docs exist. Nothing else is gated.
Worked example
One team owns 15 Tier 1 services. The dashboard shows 12 have a README and runbook, and 9 of those are inside the 180-day review window.
coverage = 12 / 15 = 80%
freshness = 9 / 15 = 60% (9 of the 15 required sets are fresh)
The team lead sees two numbers and six named services to fix (three with no docs, three with docs past their review window), not a lecture. The runbook and decision record carry the same Last reviewed field as the README, so the CI stale-date check and the 6-month cadence apply to every Tier 1 artifact, not only the README. Note freshness is computed against the required 15, so a missing doc cannot hide behind a fresh one.
Rollout at scale (500 engineers, ten teams, two regions), phased over 12 months
- Months 1-2: pilot with two willing teams, build templates and the CI check, fix what the pilot hates.
- Months 3-5: add four teams, stand up the single search site and the service catalog, run a 2-hour training per engineer (500 x 2 hours = 1,000 engineer-hours, which is 25 engineer-weeks at 40 hours, a small fraction of the organization's yearly capacity).
- Months 6-9: remaining four teams; migrate only Tier 1 legacy docs (archive the rest, do not migrate everything).
- Months 10-12: switch on the launch-readiness gate for Tier 1, publish the first compliance report, review the standard.
- Rough cost, in people rather than invented dollars: a docs platform owner and a tooling engineer (about 2 full-time), plus one steward per team (the team's named docs champion who helps peers and chases reviews) at about 10% time (ten teams is about 1 full-time equivalent). Two regions: one site, async PR review so no time zone waits on another, and one regional steward each.
Trade-offs and pitfalls
- Too many required docs produces empty template filling. Cut the list until each item has a story of an incident or onboarding delay it prevents.
- Central mandate without team stewards makes the standard feel imposed. Stewards give teams a peer to ask.
- Gating everything on compliance encourages gaming (docs written to satisfy a linter). Gate only Tier 1 and spot-check quality by having a new joiner try the README.
- What would change my approach: for a 15-person team I would skip the catalog and the phases and adopt README, runbook and a PR checkbox in one week.
Should a mid-sized engineering organization keep a dedicated documentation team or have each engineering team own its own docs? Weigh accuracy, findability, speed of updates, consistency and onboarding, and recommend a model with the conditions under which you would change it.
Sample Answer
Direct answer
For a mid-sized engineering organization (roughly 50 to 300 engineers), I recommend that each engineering team owns the content of its own docs, supported by a small enablement function (one to three technical writers or a docs-minded engineer) that owns templates, tooling, and editing of the highest-visibility material. A fully dedicated documentation team writing everything is too slow and too far from the code at this size; a pure "everyone for themselves" model produces inconsistency and poor findability.
Weighing the criteria
| Criterion | Dedicated team writes it | Teams own their docs |
|---|---|---|
| Accuracy | Lags: writers depend on engineers for facts | Best: the author made the change |
| Findability | Strong: one structure | Weak without shared structure and search |
| Speed of updates | Slow: request and queue | Fast: same pull request as the code |
| Consistency | Strong | Weak without templates and checks |
| Onboarding | Polished getting-started paths | Uneven, depends on the team |
The criteria split: the dedicated model wins consistency, findability and onboarding polish; team ownership wins accuracy and speed. The hybrid captures most of both by having the enablement function fix the weak columns (templates, shared search, onboarding curriculum) while teams keep speed and accuracy.
Terms
- Findability: how quickly a person can locate the doc they need.
- Enablement function: a small group that helps other teams do something well (here, writing docs) instead of doing it for them.
- Definition of done: the checklist a piece of work must satisfy before it counts as finished.
Worked example
An organization with 120 engineers in 15 teams. Suppose docs requests to a central team average a two-week wait, and a doc is stale within a release. Under the hybrid, teams update docs in the same pull request as the change (so the wait is zero), and two enablement staff spend their time on: the template and style guide, an onboarding path, editing the 10 documents new customers and new hires read first, and a quarterly audit of stale docs. That is 2 people supporting 120, instead of 2 people trying to write for 120.
To know the model is working, measure before and after (the numbers below are illustrative targets, not results):
Measure Baseline Target after 2 quarters
Doc update wait 14 days 0 (same pull request)
New hire to first merged change 20 days 12 days
Docs past their review date 40% 15%
If a target is missed, that is the signal for the "conditions to change" below.
Conditions under which I would change the model
- Toward a dedicated team: the docs are a product itself (public developer docs, regulated documentation with legal review), quality is judged externally, or engineers repeatedly write poorly despite templates.
- Toward pure team ownership: the organization shrinks or docs are internal only and the enablement function has become a bottleneck.
- Toward more central support: onboarding time keeps rising, or the share of docs with no owner or past review date exceeds an agreed limit.
Pitfalls
- Team ownership without time budgeted for writing means docs never get written. Include documentation in the definition of done (a doc update is required before a change counts as finished).
- A dedicated team without a link to code teams writes accurate-looking but wrong docs.
- Measuring only output volume rewards padding; measure onboarding time and repeat questions.
Unlock Full Question Bank
Get access to all 20 Documentation and Knowledge Management interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.