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.
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.
Design a knowledge-base strategy for an infrastructure organization so that runbooks, architecture docs and postmortems stay findable, current and credited to their authors. What governance, ownership and incentives would you put in place?
Sample Answer
Direct answer
Treat the knowledge base as a product with owners, a lifecycle and a search experience, not a wiki people dump into. Give every runbook, architecture doc and postmortem one accountable owner (a team, not a person), a lifecycle status and a review-by date, put them behind one search entry point with a small controlled taxonomy, and give authors visible credit and career recognition. Then measure findability, freshness and use, and fix what the numbers show.
Structured elaboration
1. Content types and what "current" means for each
| Type | What it is | Owner | Freshness rule |
|---|---|---|---|
| Runbook | Step-by-step instructions for an alert or operation | Team that gets paged for the service | Verified by actually running it (a game day, meaning a planned exercise where an engineer follows the runbook against a safe, simulated failure, or a real incident) at least every 6 months |
| Architecture doc | How a system is built and why | Service or platform team | Reviewed at every major change and yearly |
| Postmortem | Blameless written review of an incident (blameless: it examines causes and process, not who to punish) | Incident lead, action items owned by named teams | Not edited after the fact except to add outcomes. Its action items are tracked to closure |
2. Findability
- One search box across all types, with filters on service, team, type and status. Titles follow a convention ("Runbook: payments-api: high 5xx alert", where 5xx means the service is returning server-error HTTP responses) so a person paged at 3 a.m. finds it by the alert name.
- Every alert links straight to its runbook, and every runbook links to the architecture doc and past postmortems for that service. Links beat search when you are in a hurry.
- A small controlled taxonomy (a fixed, curated list of tags that only the platform group changes; service names come from the service catalog, the authoritative list of services and owners). Free tagging sprawls ("db", "database" and "DB-prod" all end up meaning the same thing).
- Track searches with no results and searches followed by a second search. Those are the gaps.
3. Governance
- Ownership comes from the service catalog. When a team is reorganized, transferring catalog entries transfers the docs, so nothing becomes an orphan.
- Lifecycle: draft, current, needs-review (auto-set when the review-by date passes), archived (hidden from default search, kept for history, with a banner pointing to the replacement).
- Edit model: anyone can propose, owners approve, and history is kept (docs-as-code, meaning docs written as Markdown files in Git and reviewed like code, or wiki page history) so every version is recoverable.
- Access control: read-open by default for engineers. Restricted spaces for security-sensitive procedures. Never store credentials in docs at all: link to the secrets manager (the dedicated tool that stores passwords and API keys with access control) instead.
- Versioning: architecture docs mention the system version or date they describe. Superseded docs point forward to their replacement rather than being deleted.
4. Incentives and credit
- Bylines and a "maintained by" field on every page, for example this header at the top of a runbook:
Maintained by: payments-platform team (contact: #payments-oncall)
Authors: A. Rivera, J. Chen
Status: current | Last verified: 2026-08-14 | Review by: 2027-02-14
Replaced by: (none)
Archived pages instead show a banner such as "Archived: superseded by <link>".
- Authors appear in the monthly ops review when their runbook resolved an incident.
- Documentation contributions count in performance and promotion packets, and one recognition slot per quarter.
- Guard against gaming: do not reward raw page counts. Reward pages that other people used (link clicks from alerts, incident references) and pages verified as still correct.
5. Extending the same rules to a global data engineering organization
Combine the data catalog (the searchable inventory of datasets with owners and definitions), onboarding docs, runbooks and design patterns under the same rules. Each dataset entry names an owner and links its runbook. Access control follows the data's sensitivity classification (a label such as public, internal or restricted that decides who may see it), so a catalog entry for a restricted dataset is visible but its sample data is not. Design patterns are versioned like code so teams can say "we use pattern v2".
Worked example
An infrastructure organization has 120 runbooks. After adding review-by dates, the dashboard reports 84 verified within the last 180 days.
verified share = 84 / 120 = 70%
The target for services with an on-call rotation is 90%, so 24 more runbooks need verification. The team owning the most unverified ones gets a slot in the next game day (a planned exercise where an engineer follows the runbook on a safe failure). This gives a concrete quarterly goal and a name against each gap, instead of "docs are stale".
Trade-offs and pitfalls
- Central docs team versus owner teams: a central team gets consistency but becomes a bottleneck. Recommend owner teams writing, with a small central group owning templates, search and the metrics.
- A single wiki versus docs-in-repo: keep runbooks and architecture docs in repos next to the code where drift is visible in review, and index them into the one search site.
- Postmortems are worthless if their action items rot. Track them as tickets and report the open count monthly.
- Credit metrics get gamed. Pair usage metrics with periodic spot verification.
- What would change my call: a small organization should skip the catalog integration and start with owners, a review date field and the alert-to-runbook links.
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.
Solutions architects at your company each produce diagrams, proposals and proofs of concept in their own style, and quality varies widely. How would you introduce governance over these artifacts that keeps them consistent and auditable without slowing the team down?
Sample Answer
Direct answer
Govern the few things that must be consistent and auditable (how artifacts are classified, where they live, who reviews them, and how they are retained) and leave the rest to architect judgment. I would run it as a lightweight, tiered system introduced through a pilot, with templates that make the right thing the easy thing, and review effort scaled to the risk of the artifact.
Terms
- Proof of concept (PoC): a small build proving a design works for one customer's need.
- Artifact: any produced deliverable (diagram, proposal, PoC repo, design decision).
- Audit trail: a record showing who approved what and when.
- C4 model: a diagram convention with four zoom levels (context, container, component, code).
- Data-residency design: an architecture that keeps a customer's data inside a specific country or region because of law or contract.
- Pull request (PR) approval: in a Git repository, a reviewer's recorded "approve" on a proposed change. It is timestamped and tied to a name automatically.
- Retained per policy: kept for the length of time the company's records policy requires, for example seven years, then deleted.
- Short rubric: a checklist of a few yes/no questions reviewers use instead of personal taste.
Step 1: Diagnose before prescribing (first two weeks)
Sample about 15 recent artifacts across the team and score them against three questions: could a stranger find it, could they understand it, could we prove who reviewed it? This shows whether the problem is style, storage or review, and gives the pilot a baseline. Illustrative result: of 15 artifacts, 6 were findable (40 percent), 9 understandable (60 percent) and 3 had provable review (20 percent). Review is the weakest link, so the pilot invests there first.
Step 2: Tier artifacts by risk
| Tier | Examples | Governance |
|---|---|---|
| 1: customer-committing or security-relevant | Proposals with pricing or architecture commitments, security-sensitive designs | Second architect reviews, recorded approval, retained per policy |
| 2: shareable technical | Reference diagrams, PoC write-ups | Template plus self-check, sampled peer review |
| 3: personal working material | Sketches, scratch notes | No governance |
Step 3: Make consistency cheap
- One shared, versioned repository or workspace with a fixed folder and naming convention by customer and date.
- Starter templates: a diagram convention (C4 levels, one legend), a proposal outline, a PoC README stating scope, assumptions, results and what was NOT proven. Templates do most of the work, so reviewers do not have to.
- Every artifact carries a small header, for example:
Owner: Ana R. Customer: Northbank Status: in review
Tier: 1 Reviewer: J. Osei Date: 2026-09-14
Step 4: Keep it fast
- A review service-level target: Tier 1 reviewed within two business days, or it proceeds with a logged note that marks it "unreviewed, escalated". Review must then complete within a further two business days, and the unreviewed period stays visible in the audit trail, so speed is protected without leaving a Tier 1 artifact permanently without an approval on record.
- Reviewers check a short rubric, not taste. Example rubric: (1) states scope and assumptions, (2) diagram uses the legend, (3) risks and unknowns listed, (4) residency and security claims cite a source. Four yes/no answers, and any "no" comes back with a comment.
- Sampling for Tier 2 keeps cost flat as volume grows.
Step 5: Audit without paperwork
Approval is a pull request approval or a status field, so the trail is a side effect of normal work. Quarterly, a lead samples Tier 1 artifacts and reports the compliance rate.
Worked example (illustrative)
Ana's PoC for a bank customer used her own diagram style and lived on a personal drive. Under the new scheme she starts from the PoC template in the shared repo, marks it Tier 1 because it commits to a data-residency design, and requests review. A Security Architect approves within the two-day target and the record shows in the repo history. Six months later an auditor asks "who approved the residency claim?" and the answer is one link.
Measuring success: share of new artifacts in the shared home, review turnaround, and architect satisfaction. Do NOT measure by count of documents produced.
Trade-offs and pitfalls
- Over-governing pushes work into private drives, which is worse than variance. If usage falls, the process is too heavy.
- Mandating a tool before agreeing the problem breeds resentment. Involve two or three respected architects in drafting the templates.
- Consistency versus speed: I would relax Tier 2 rules before I would relax the Tier 1 audit trail.
- What would change my call: a regulated customer base pushes more artifacts into Tier 1, and a small team may need only the templates.
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).
Unlock Full Question Bank
Get access to all 16 Documentation and Knowledge Management interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.