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.
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.
Senior engineers hold a lot of know-how in their heads and in recorded sessions that new hires cannot easily reuse. How would you capture that tacit knowledge into something people can self-serve from, organize it so it is findable, and keep it current?
Sample Answer
Direct answer
Capture tacit knowledge (the know-how people cannot easily write down) by interviewing for it rather than asking seniors to "document everything". Turn each recording into a short written artifact that is searchable, put it into a small set of typed formats, organize it by service and task with owner and verified-date metadata, and keep it current by attaching maintenance to events that already happen: code changes, incidents and onboarding.
Terms
- Runbook: step-by-step instructions for an operational task.
- Postmortem: a written review after an incident covering what happened, why, and what will change.
- README: the front-page file of a code repository that explains what it is and how to use it.
- Shard by tenant: split one large database into separate pieces using the customer (tenant) as the partitioning key, so each customer's data lives together on one piece (a piece may hold one large tenant or many small ones).
- Shadow and pair: watch an expert do real work (shadow), or work alongside them and take turns at the keyboard (pair).
- Distillation step: boiling a long recording down into a short written summary.
- Scribe: the person who writes things down while others talk.
- Timestamped link: a link to an exact moment in a recording, such as minute 12:40.
- Tagging with a service: labelling a page with the service it concerns (here,
ingest, the service that loads data) so search can filter by it.
Why recordings alone fail. A one-hour recording has no search, no summary and no owner, and the interesting three minutes are buried. It is raw material, not the product.
1. Capture: pull the knowledge out
- Scenario interviews. Instead of "explain the system", ask "walk me through the last time this broke. What did you check first? What did you rule out and how?" This surfaces judgment, the part that lives in heads.
- Shadow and pair on real work (an incident, a deploy) with a junior writing notes as they go.
- Recorded sessions get a distillation step: auto-transcribe, then a person writes a one-page summary with timestamped links into the video. The summary is what search indexes.
- New-hire read-back: a new hire tries to follow the note; every question they ask becomes an edit. This is the test of whether the knowledge really transferred.
2. Formats: one format per kind of knowledge
| Knowledge | Format | Example |
|---|---|---|
| Why we chose X | Architecture decision record (ADR, a short dated record of a decision and its reasons) | Why we shard by tenant |
| How to do task Y | Runbook or how-to | Rebuilding the search index |
| How the system thinks | Concept explainer with one diagram | Life of a request (follows one user request from the browser through each component to the database and back) |
| Recurring questions | FAQ built from actual questions | "Why is this job slow on Mondays?" |
3. Organize for findability
- Structure by service and task, not by who wrote it or when.
- Required metadata on every page: owner, backup owner, service, audience, type, last-verified date.
- Linked from where work happens: the service README, the alert, the deploy tool.
- Search tuned with synonyms for the team's own vocabulary.
4. Keep it current
- Event triggers: a pull request that touches a service's configuration prompts "does a doc need updating?"; a postmortem's action list must include the doc fix before it can be closed; every new hire reports what was wrong.
- Calendar trigger: a quarterly verify pass, limited to high-use pages (found from view counts), so the effort follows value.
- Retirement: unowned pages with no views for a year get archived.
Worked example. A senior knows why the nightly data load must never be re-run after 06:00. Step one: a 20-minute interview using "the last time someone re-ran it". Step two: a runbook page "Re-running the nightly load" with the rule, the reason (it would double count that day's orders), the safe alternative and a link to the timestamp in the session recording. Step three: tagged with service ingest, owner, backup, last-verified date. Step four: a new hire follows it in week two and corrects an outdated table name; the date is refreshed.
The finished page looks like this:
Title: Re-running the nightly load
Type: runbook Service: ingest
Owner: data-platform team Backup: analytics-eng Last verified: 2026-09-28
Rule: Never re-run the load after 06:00 UTC.
Why: A second run adds that day's orders on top of the first, so they are counted twice.
Safe alternative: use the replace-day option, which deletes the day's rows before loading.
Recording: 12:40 "why the double count happens" (link)
Trade-offs and pitfalls
- Time is the seniors' scarce resource: budget 20 to 30 minutes per topic and let a scribe or a junior write it up.
- Auto-generated summaries need a human check, or they confidently record wrong steps.
- Incentives matter: recognize documentation in performance reviews, otherwise the work is invisible.
- What would change my call: if a topic changes weekly, prefer tests and automation over prose that will rot.
What is an assumption log, and what makes an entry in one actually useful? How is it different from a risk log or a decision log, and when do you update it?
Sample Answer
Direct answer
An assumption log is a living list of the things a project is treating as true without having proved them. A useful entry is specific, falsifiable (written so a test could prove it wrong), owned, backed by stated evidence, and has a date by which it must be validated or dropped. It differs from a risk log (possible future events) and a decision log (choices already made). You update it continuously, in the routines the team already runs, and at every milestone.
Structured elaboration
What makes an entry useful
- Statement: concrete and testable. Bad: "users want reports". Good: "at least half of active admins export a report weekly".
- Owner: the one person who will chase the answer.
- Evidence and confidence: what we know now (source, sample size) and how sure we are (high / medium / low).
- Impact if wrong: what breaks, so we test the expensive ones first. For a data analyst: "if exports are not CSV, the ingestion script must be rewritten, about two weeks of rework". For a business analyst: "if the sponsor has not approved the budget, the scope in the requirements document is void".
- Validation method and date (expiry): how we will test it and when it must be settled. An untested assumption without a date is just an opinion.
- Status: open, validated, invalidated, retired. Plus a link to the decisions that depend on it.
How it differs from a risk log and a decision log
| Log | What it holds | Shape of an entry | Question it answers |
|---|---|---|---|
| Assumption log | Beliefs treated as true | Statement, evidence, validate-by date | "What are we relying on?" |
| Risk log | Possible bad future events | Event, probability, impact, mitigation | "What could go wrong?" |
| Decision log | Choices made and why | Decision, options, rationale | "What did we choose?" |
They connect: an assumption is an input to a decision, and an invalidated assumption usually becomes a risk or an issue.
When to update
- In daily scrum (the short daily team check-in), ask one question: did anything block or change an assumption?
- In sprint planning (the meeting where the team picks the work for the next one to two weeks), scan open assumptions and pull validation work in as tickets.
- When new evidence arrives, and at milestones (agreed checkpoints such as "design approved") or phase gates (formal go/no-go reviews between project stages). Surfacing it through the project lifecycle reduces ambiguity, because people stop building on unstated beliefs.
- On the expiry date, when the owner must validate, extend with a reason, or invalidate.
After a discovery call (an early meeting with a customer or stakeholder to learn their needs)
Capture assumptions and open questions the same day. For each, assign an owner (the person best placed to find the answer, not the note taker) and a date. Flag any item that touches contracts, data privacy or regulation for legal review, and any item that would change scope for escalation to the sponsor (the executive who funds the project and must approve scope changes). Example: "the customer assumes we will migrate 10 years of history" is escalated because it could double the effort.
Worked example
| ID | Statement | Owner | Evidence, confidence | Validate by | Status |
|---|---|---|---|---|---|
| A1 | Customer exports arrive as CSV, under 100 MB | Priya | One sample file, low | 10 Oct | open |
| A2 | Legal permits storing EU data in the US region | Legal contact | None yet, low. Flag: legal review | 8 Oct | open |
| A3 | Payments API supports refunds by order ID | Sam | Read API docs, high | 3 Oct | validated |
If A1 is invalidated (a customer sends 2 GB files), it becomes a risk entry ("upload pipeline may fail on large files") and triggers a decision record about chunked uploads.
Trade-offs and pitfalls
- Vague entries ("system will be fast") cannot be tested. Rewrite until a test exists.
- Logs die when nobody owns them: name one owner for the log itself and review it in planning.
- Do not merge it into the risk log. Mixing them loses the "how do we validate this?" discipline.
Your organization is growing fast and new hires take too long to become productive, while senior engineers are constantly interrupted with questions. How would you scale documentation and knowledge capture so ramp-up speeds up without adding load on seniors?
Sample Answer
Direct answer
Treat the interruptions as data. Log what new hires ask seniors for two weeks, write the docs for the questions that repeat, route every future question through "answer in the doc, then link it", and build a structured first-30-days path. Bound the remaining interruptions with office hours and a buddy rotation so seniors are asked on a schedule instead of continuously. Write only what gets asked twice, otherwise the docs become a second job nobody has time for.
Terms
- Runbook: step-by-step instructions for an operational task, such as deploying or restarting a service.
- README: the front-page file of a code repository that explains what it is and how to run it.
- Stub: a short placeholder page with a title and a link, to be filled in later.
- Shelfware: documentation written once, never used, and left to rot.
- Buddy rotation: a schedule assigning a different teammate each week as the person a new hire asks first.
- Office hours: fixed times when seniors are available for questions, so they are not interrupted at other times.
- Single-point-of-knowledge risk: only one person understands something, so their absence stops the team.
- Time to first merged change: days from a new hire's start until their first change is accepted into the shared code or content.
Step 1: Measure the question stream (weeks 1-2)
Ask new hires to drop every question they take to a senior into one tracker (a channel or form) with a topic tag. Suppose 40 questions arrive in two weeks and they cluster like this:
| Topic | Count |
|---|---|
| Local environment setup | 9 |
| Deploy and release process | 6 |
| Which service owns what | 5 |
| Getting access and permissions | 3 |
| How to read our alerts | 3 |
| Everything else (one-offs) | 14 |
The top five topics account for 26 of 40 questions, which is 65 percent. Five good pages remove most of the repeat load. That is where to start, and it also tells you which pages to leave unwritten.
Step 2: Capture as a by-product of work
- Answer once, in the doc. When a senior answers a repeat question, they paste the answer into the page (or the new hire does) and reply with the link. The cost is two minutes and it is paid once.
- New hires write the setup guide. They have fresh eyes and find the gaps; a senior only reviews. The page is marked "last verified by (name), (date)".
- Definition of done includes docs. The pull request (PR) template asks "does this change how someone runs, deploys or debugs this service? Update the README or runbook."
- Short recorded walk-throughs for architecture, always with a written summary above the video, because video alone is not searchable.
Step 3: Structure the ramp-up
A checklist for day 1, week 1 and day 30 with links to the pages above and a first small task (a safe first pull request in week one). A filled-in version:
Day 1: accounts requested; join team channel; meet your buddy
Week 1: run the service locally (setup page); read "Which service owns what";
make one small safe change (fix a wrong line in a doc) and get it merged
Day 30: shadow one deploy; shadow one on-call shift; write or fix one page you found unclear
The measure of success is a new hire's time to first merged change, plus questions per new hire trending down.
Step 4: Protect seniors without going silent
- Two weekly office-hour slots and a rotating "ask first" buddy (not always the same senior).
- Rule for the team channel: search the docs, then ask; the answerer links the page, and if none exists, creates a stub.
Variant: a business intelligence (BI) team with single-point-of-knowledge risk
A BI team often has one analyst who alone understands a dashboard's logic. The same idea applies with a specific structure:
- Content structure: a metric dictionary page per metric (definition, source tables, refresh schedule, known caveats) and a page per dashboard (purpose, audience, inputs).
- Example metric dictionary entry (weekly active users):
Metric: Weekly active users (WAU)
Definition: distinct user IDs with at least one login or project action in the last 7 days (UTC)
Source: events.user_activity, excluding internal test accounts
Refresh: daily at 06:00 UTC
Owner/backup: A. Analyst / B. Analyst
Caveats: API-only usage not counted; definition changed 2026-03-01, earlier values not comparable
- Ownership: every page has a named owner and a named backup owner, so no page has one person only.
- Metadata: owner, backup, last-verified date, data source, refresh cadence, audience. This makes stale or orphaned pages queryable.
- Maintenance cadence: a quarterly review where each owner re-verifies their pages, plus a trigger whenever a source table changes.
Trade-offs and pitfalls
- Writing "complete" documentation up front produces shelfware. Demand-driven docs are smaller and used.
- If seniors are also the reviewers of every doc, you moved the load, not removed it. Let the second-most-experienced person review.
- Pages with no owner and no verified date go stale in a few months. Ownership is the design, not a nice-to-have.
- What would change my call: for a very small team (under about five people), pairing and a short README beat any portal.
Your team holds too many recurring sync meetings just to keep stakeholders informed about model development. Propose an asynchronous documentation approach that replaces most of them while keeping people accountable: what documents exist, who owns them, how often they are updated, and how people find them.
Sample Answer
Direct answer
Replace status meetings with a small set of living documents, each with one named owner, a fixed update rhythm, and one index page that everyone bookmarks. Meetings that remain are for decisions, not for reading out updates. Accountability comes from ownership and from visible staleness ("last updated" dates and an automatic nudge), not from having people talk.
The documents (worked example for a model-development team)
| Document | Owner | Update cadence | Audience and purpose |
|---|---|---|---|
| Project brief | Product manager (PM) | Once, revised on scope change | Goal, success metric, non-goals (things deliberately out of scope), stakeholders |
| Weekly status note | Tech lead | Every Friday, 5 bullets max | Done, next, blocked, risks, decisions needed |
| Experiment log | Each ML engineer or data scientist | After each experiment | Hypothesis, data version, result vs baseline, next step |
| Model card | Model owner | On each release candidate | A short standard document: what the model is for, training data, evaluation results, known limits |
| Decision log | Tech lead | When a decision is made | What was decided, options, who, date |
| Risks and dependencies board | PM | Weekly review | A simple list of what could go wrong and which other teams' work we are waiting on, with an owner for each |
An example experiment log entry (so the fields are concrete):
Experiment #41 | Owner: S. Patel | 2026-09-16
Hypothesis: adding last-30-day support tickets as a feature will improve churn prediction
Data version: customers_2026_08 (the frozen snapshot used for training)
Result vs baseline: score 0.82 vs 0.80 for the current production model
Next step: test on live traffic
An example weekly note:
Week of 2026-09-21: churn model v3
Done: retrained on Aug data; offline metric vs baseline: +0.02 (see experiment #41)
Next: shadow test against live traffic
Blocked: feature table refresh owned by Data Eng (needs answer by Wed)
Decision needed: ship threshold 0.4 or 0.5? (PM, by Fri, options in decision log #12)
Plain-language reading for a non-ML stakeholder: the offline metric is the model's score on saved historical data, and +0.02 means it beats the current model by two points (for example 0.80 to 0.82). A shadow test runs the new model quietly next to the live one on real traffic, without affecting customers, to check it behaves. The ship threshold is the score cutoff above which a customer is flagged as likely to churn: 0.4 flags more customers (more catches, more false alarms), 0.5 flags fewer.
Who owns what, and how people find it
- One index page per project links every document above, and each doc header carries owner, last-updated date and status. The index is linked from the team channel topic.
- Stakeholders subscribe to page changes or a weekly digest, so information reaches them without a meeting.
- Naming and location are fixed by a template, so nobody hunts.
Keeping people accountable without meetings
- Comments and questions are answered in the doc thread within an agreed window (for example one business day), and unanswered questions surface in the weekly note.
- A stale doc (not updated within twice its cadence) is flagged automatically to its owner and their manager.
- A 25-minute fortnightly decision review replaces several syncs: only items in the "decision needed" section are discussed.
Trade-offs and pitfalls
- Async docs fail when nobody reads them; ask stakeholders which fields they need, and cut the rest.
- Sensitive or ambiguous topics (a missed target, a conflict) still deserve a live conversation; write-ups can hide disagreement.
- Cutting meetings all at once breaks trust. Pilot for a month, drop the sync that has the lowest attendance value first, and compare stakeholder questions asked in ad hoc messages before and after.
- What would flip it: if stakeholders keep asking the same questions in chat, the docs are not answering what they need, so revise the docs rather than restoring the meeting.
Unlock Full Question Bank
Get access to all 13 Documentation and Knowledge Management interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.