Technical Writing and Documentation Questions
Producing clear written artifacts such as design docs, runbooks, reports, specifications, and knowledge-base articles. Covers document structure and organization, writing for future readers, and keeping documentation accurate and maintainable. Distinct from live verbal communication in that it emphasizes durable, reference-quality written output.
Write a clear changelog entry and a short migration note for clients when deprecating the API endpoint 'GET /v1/users' in favor of 'GET /v2/users'. Include deprecation timeline (dates), migration steps, example request/response differences, and a troubleshooting tip for a common migration error.
Given the following git diff for a Python service, write a concise pull request description that explains the change, why it was made, QA testing steps, backward-compatibility considerations, and any migration notes. Diff:
diff --git a/orders.py b/orders.py
index 1234..5678 100644
--- a/orders.py
+++ b/orders.py
@@
def create_order(user_id, items):
- total = sum(item['price']*item['qty'] for item in items)
- # TODO: apply discounts
+ total = sum(item['price']*item['qty'] for item in items)
+ total = apply_discounts(total, user_id)
return {'order_id': generate_id(), 'total': total}
Focus on clarity for reviewers and QA engineers.
Your team maintains a shared architecture documentation repository. Describe what sections each service document should include (purpose, API, data model, runbook), how you keep it up-to-date with code changes, and tactics to ensure engineers actually read and use the docs during design and onboarding.
Design a 'README-driven development' process for your team to improve documentation quality. Include: the PR checklist that enforces README updates, ownership model (who owns docs), templates for README sections, CI checks you would implement (linting, example execution), and how the process is enforced during sprint planning and PR review.
Create an onboarding 'first-run' guide for a developer to clone, install, run, and make a small change to a Node.js microservice locally. Include the exact commands (git clone, npm/yarn install, environment setup, start commands), expected outputs, how to run unit tests and linters, and a simple change-and-test exercise with expected results.
Unlock Full Question Bank
Get access to all 10 Technical Writing and Documentation interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.