Project Scope and Change Control Questions
Defining and governing project scope: scoping and phasing work, writing clear scope boundaries, managing scope creep, and running formal change control. Covers negotiating scope trade-offs against timeline and resources when requirements shift mid-flight.
Design a lightweight governance and change control process that enables rapid delivery while protecting security and compliance requirements across engineering, security, and legal teams. Include approval gates, automated policy checks, and an exceptions process for urgent work.
Sample Answer
Requirements & constraints:
- Rapid delivery (CI/CD-driven) with low friction
- Enforce security & legal/compliance rules across code, infra, and configs
- Clear, auditable approvals and an exceptions path for urgent fixes
- Scalable and automatable; minimal manual gating for low-risk changes
High-level architecture:
- Dev repo & CI pipeline → Policy Engine + Automated Tests → Approval Gates → Deployment
- Central governance service (API + dashboard) stores policies, approvals, exceptions, audit logs
Core components and responsibilities:
- CI/CD pipeline (GitOps): run builds, tests, and deploys; enforce branch protection and signed commits.
- Policy Engine (e.g., Open Policy Agent): evaluate infra-as-code, container images, runtime configs against policy rules.
- Static & Dynamic Scanners: SAST, SCA, IaC scanning (checkov/terrascan), container CVE scanning.
- Automated Approval Service: enforces gates (codeowners, automated risk scoring) and issues approvals via PR checks or REST hooks.
- Governance UI & Audit DB: show policy violations, approvals, exceptions, metrics for compliance and auditors.
- Emergency Exceptions Workflow: timeboxed approvals, automated compensating controls, post-mortem requirement.
Data flow / gates:
- Dev POSTs PR → CI runs unit tests + linters
- Pre-merge gate: policy engine checks IaC, secrets scanning, license checks. Low-risk changes (score below threshold) auto-merge when CI passes and codeowner approves.
- High-risk changes (policy violations or high risk score): block merge and require one or more approvers from security/legal/architects via the Approval Service.
- Pre-deploy gate: runtime policy checks, deployment environment guardrails (network, IAM), canary rollout enabled.
- Post-deploy monitoring & automated rollback if runtime breach detected.
Automated policy checks:
- Codified policies for:
- IAM least-privilege templates
- Network segmentation rules
- Data classification and encrypted-at-rest rules
- Allowed 3rd-party libraries / licenses
- Vulnerability thresholds per environment
- Policy engine integrates as a CI check and admission controller in clusters
Exceptions / urgent work:
- Emergency flag in PR or deployment request triggers "Urgent Path":
- Automated pre-checks still run; if critical check fails, require automated compensating control (e.g., additional runtime monitoring, temporary network isolation).
- Fast-path approval: auto-notify on-call Security + Engineering lead with a 1-hour SLA to approve via one-click in Approval Service. If no response, allow provisional deploy with automatic mitigation and strict timebox (e.g., 72 hours) requiring retrospective review and formal approval within 24 hours post-deploy.
- Mandatory post-incident audit, attestation, and remediation timelines tracked in Governance UI.
Scalability & reliability:
- Policies as code to allow versioning and safe rollouts
- Metrics: mean lead time, approval latency, exception rate, policy violation trends
- Use rate-limited webhooks and caching for policy evaluations to keep CI fast
Trade-offs and rationale:
- Automated risk scoring reduces manual burden but may need tuning to avoid false positives/negatives.
- Emergency path increases risk slightly but balanced with compensating controls and mandatory post-approval reviews.
- Centralized governance gives consistent enforcement; local overrides allowed only via auditable exceptions.
Operational considerations:
- Regular policy reviews with cross-functional reps (engineering, security, legal)
- Training and clear runbooks for on-call approvers
- Integrate with ticketing (Jira), identity provider for approvals, and SIEM for audit trails
This design balances speed with security by shifting enforcement left (policy-as-code + CI checks), using risk-based automated gates, and providing a fast, controlled exceptions process that preserves auditability and remediation accountability.
Describe three practical techniques to estimate timelines and resource needs per phase: bottom-up estimation, t-shirt sizing (relative sizing), and expert-judgment/analogous estimation. For each technique provide when you'd use it, required inputs, and the main pros and cons for a solutions architecture engagement.
Sample Answer
Bottom-up estimation
- When to use: Late discovery phase or design phase when you have detailed requirements and work breakdown (ideal before commitment).
- Required inputs: Work Breakdown Structure (WBS) by phase/component, task-level durations, resource skill rates, dependencies, historical productivity metrics.
- Pros: High accuracy, traceable to tasks, good for budgeting and risk identification, supports confident client commitments.
- Cons: Time-consuming, needs detailed scope (not possible early), can underestimate integration/testing effort if WBS is incomplete.
T-shirt sizing (relative sizing)
- When to use: Early-stage planning, backlog sizing, or rapid commercial proposals when scope is uncertain but you must compare options quickly.
- Required inputs: Feature/user-story descriptions, reference examples (what “M” or “L” has historically meant), cross-functional team calibration.
- Pros: Fast, fosters alignment across stakeholders, scales well for many items, useful for prioritization and high-level roadmaps.
- Cons: Low precision for calendar dates or costs; requires conversion rules to translate sizes into effort; subjectivity without calibration.
Expert-judgment / analogous estimation
- When to use: When prior similar projects exist or in pre-sales to provide fast, plausibility-checked estimates; also useful to sanity-check bottoms-up and t-shirt outputs.
- Required inputs: Historical project data, expert availability, context differences (complexity, tech stack, team maturity), assumptions log.
- Pros: Quick, leverages domain experience, good for early budget ranges and risk spotting.
- Cons: Biased by experts’ experience, less transparent, accuracy depends on closeness of analogies—must document assumptions and confidence.
Practical note: combine techniques—use t-shirt sizing to scope, expert judgment to set initial ranges, then bottom-up for firm proposals; always capture assumptions and contingency per phase.
You completed a 2-hour discovery call and have raw notes with ambiguous items and open questions. Describe step-by-step how you would convert those notes into a Statement of Work: what sections you would create (deliverables, milestones, assumptions, exclusions), how to represent acceptance tests, and how to structure change control and pricing for unknowns.
Sample Answer
Step 1 — Triage & clarify
- Read notes end-to-end, mark ambiguous items, open questions, and constraints.
- Categorize by topic: functional, non-functional, integrations, data, security, timeline, stakeholders.
- Draft an “open-questions” list to drive a short follow-up (15–30 min) with the client.
Step 2 — Create SOW skeleton (sections)
- Executive Summary: brief scope and objectives.
- Scope & Deliverables: concrete features, artifacts (architecture diagrams, test plan, deployment scripts).
- Milestones & Schedule: milestone name, scope for each, deliverable, owner, target date.
- Acceptance Criteria / Tests: for each deliverable list pass/failable tests (given/when/then style) and acceptance sign-off process.
- Assumptions & Dependencies: explicitly list assumptions (e.g., client provides API docs, access to environments).
- Exclusions: what’s out of scope to prevent scope creep.
- Roles & Responsibilities: client vs vendor tasks.
- Pricing & Payment Terms: fixed-price elements, time-and-materials (T&M) for unknowns, payment milestones.
- Change Control: process, change request form, evaluation SLA, impact assessment (time/cost), approval authority.
- Risk & Mitigation: known risks and contingency.
- Appendix: raw notes, Q&A log, technical diagrams.
Step 3 — Represent acceptance tests
- Define one acceptance test per deliverable using measurable criteria: inputs, expected behavior, performance thresholds, test environment, success metrics, test owner, and acceptance window.
- Example: “API Integration v1: Given X test account, when calling /orders, then response 200 within 300ms and schema matches provided spec.” Sign-off: Product Owner signature or written approval after testing period.
Step 4 — Structure change control & pricing for unknowns
- Partition scope into: (A) well-defined fixed-price milestones, (B) investigatory discovery spikes (timeboxed T&M), and (C) backlog for later work billed T&M or new fixed-price CR.
- Change control process: submit CR → impact analysis (est. effort, schedule, cost) within 3 business days → client decision → change order execution and amendment to SOW.
- Contingency: include a small contingency % or buffer hours for known unknowns; cap for discretionary changes requiring approvals above threshold.
- Pricing examples: Fixed-price for delivery of architecture & deployment scripts; 2-week discovery spike billed at T&M to firm up integrations; subsequent implementation split into fixed releases or T&M sprints.
Step 5 — Review & align
- Send draft SOW with highlighted assumptions and open questions; run a short alignment session to resolve major ambiguities, capture approvals, and lock the baseline for change-control to apply.
Why this works: it converts ambiguous notes into testable commitments, limits risk via discovery spikes, makes acceptance objective, and provides a clear, auditable change process so client and engineering share the same expectations.
Architect a zero-downtime phased migration for a 10TB transactional database to a cloud-managed database with sharding and multi-region constraints. Explain replication strategy, dual-write or change-data-capture approach, cutover plan, reconciliation and data validation steps, rollback/backout options, and monitoring needed to declare success.
Sample Answer
Requirements & constraints:
- 10TB transactional DB, zero-downtime, preserve transactional integrity, support sharded target, multi-region reads/writes, minimal cutover window, ability to roll back.
High-level approach:
- Provision cloud-managed target cluster with same logical schema split into shards (e.g., consistent-hash shards or customer-id ranges). Deploy multi-region replicas per shard for locality + failover.
- Set up continuous CDC from source to target (Debezium/GoldenGate/DMS) to stream committed transactions in order into the appropriate target shard. Use transactional guarantees (exactly-once where possible) and ordering by PK + LSN.
Replication & ordering:
- Initial full data copy per shard in parallel (snapshot per shard) using parallel bulk export/import with transactional quiesce point (consistent snapshot).
- Start CDC immediately after snapshot start position; CDC applies in order to target to reach live parity.
- Use idempotent apply with conflict detection (upsert with last-applied LSN/txn-id) to avoid duplicates.
Dual-write vs CDC:
- Prefer CDC + single-write at source to avoid split-brain. Dual-write only for a short testing cohort behind feature-flag with write-back reconciliation if used.
- If dual-write used, implement write fan-out library with transactional atomicity and circuit-breaker to source-only on failure.
Phased cutover plan:
- Pilot shard(s): choose low-risk tenant shard, run full sync + CDC, verify read parity and tail-latency.
- Read-routing switch: route reads for pilot to cloud target; keep writes to source (read-after-write verified) for a period.
- Read-write switch for pilot: enable dual-write for pilot and monitor; then switch writes to cloud target for pilot and enable async replicate back to source if needed.
- Gradually expand shard-by-shard following same steps until all shards served by cloud.
Reconciliation & validation:
- Row-count, checksum (per-table, per-shard), and hash of key ranges at snapshot and at intervals.
- Apply binlog/LSN gap checks: ensure CDC applied up to latest LSN.
- Sample-based end-to-end transactional tests, business-key invariants, and full-consistency diff for critical tables during low-traffic windows.
- Maintain shadow queries: run identical read queries against source and target and compare results.
Rollback/backout options:
- Before write cutover: abort and continue serving from source; stop routing reads to target.
- After write cutover but within grace period: enable dual-write (if prepared) and replicate deltas back to source; use reverse CDC to backfill source.
- If catastrophic: redirect application traffic to previous environment snapshots; clear partially applied transactions using LSN-based reconciliation. Have tested runbook and automation for each step.
Monitoring & success criteria:
- Metrics: CDC lag (ms), LSN gap, error rate of apply operations, per-shard throughput and latency, replica health.
- Business KPIs: zero lost transactions (confirmed via LSN counts), 100% checksum parity for critical ranges, application error rate ≤ baseline, user-visible latency within SLA.
- Alerts: CDC lag > threshold, apply errors, schema drift, replication throttling.
- Declare success after: sustained 24–72h of parity with all checks green, monitored transactional tests passing, and stakeholder sign-off.
Trade-offs:
- CDC avoids dual-write complexity but requires robust idempotency and ordering.
- Shard mapping must be stable; if re-sharding required, perform online resharding with split/merge steps and CDC streams per new shard.
Operational prep:
- Runbook, rollback automation, capacity testing, dry-run rehearsals, and data-retention plan. Conduct stakeholder sign-offs at each phase.
Explain the essential components of a rollback plan for a phased API change release. Include rollback triggers, technical rollback steps (code/config/data), communication steps, validation after rollback, and post-rollback analysis. Provide a short example of a rollback trigger for an API latency increase.
Sample Answer
Essential components of a rollback plan for a phased API-change release
- Rollback triggers (clear, measurable)
- Production SLA breaches (e.g., 99th-percentile latency > X ms for Y minutes)
- Error-rate spike (5xx > baseline + Z% for N minutes)
- Consumer-side failures (integration test failures or customer-reported breaks)
- Data integrity issues (failed writes, schema mismatch)
- Security or compliance violations
- Technical rollback steps (code / config / data)
- Pre-steps: ensure checkpoints (DB backups, feature-flag toggles, migration reversibility)
- Code: revert to previous service version via immutable artifacts (container image/tag rollback) and redeploy to affected nodes
- Config: restore previous config/feature-flag state in a centralized store (e.g., Toggle service, ConfigMap)
- Data: if migrations ran, run compensating migration or use logical/time-windowed data gating; avoid destructive forward-only migrations without fallback
- Orchestration: perform canary rollback first, then progressively roll through blue/green or k8s rolling update
- Communication steps
- Notify stakeholders (on-call, engineering, product, sales, affected customers) with status and ETA
- Open incident channel with runbook and assigned owners
- Communicate publicly to customers if SLA impact expected, with mitigation steps and timeline
- Update internal release dashboard and pause further deployments
- Validation after rollback
- Verify healthchecks, p99/p95 latency, error rates return to baseline
- Run automated smoke/integration tests and sample customer calls
- Confirm data consistency checks (row counts, checksums) and no half-applied migrations
- Sign-off by owner before closing incident
- Post-rollback analysis
- Timeline of events, root cause, why rollback was needed
- Identify gaps in monitoring, testing, or release process
- Action items: better canary size, stricter thresholds, reversible migrations, improved telemetry
- Schedule follow-up for a safe re-release plan
Example trigger (latency):
- Trigger: If API endpoint /v2/orders p95 latency increases > 300ms AND p99 > 800ms sustained for 5 minutes AND error rate > baseline + 1%, automatically pause rollout and notify on-call to initiate canary rollback.
Unlock Full Question Bank
Get access to all Project Scope and Change Control interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.