Risk, Issue, and Dependency Management Questions
Proactively managing what can go wrong: identifying and assessing risks, mitigation and contingency planning, the RAID framework, and resolving cross-team dependencies and critical-path threats. Covers diagnosing emerging issues in scenarios and recovering a project that has hit a blocker.
Design capacity planning assumptions for an API expected to handle 100,000 requests/second peak with p95 latency < 200ms. Include how you'd estimate per-request resource usage, define headroom, plan load tests, set autoscaling policies (thresholds, cooldowns), and describe cost-aware trade-offs.
Sample Answer
Summary: Design assumptions translate 100k RPS peak and p95 <200ms into resource targets, safety margins, testing plan, and autoscaling policies while balancing cost.
- Estimate per-request resource usage
- Benchmark representative API handlers (auth, DB-read, write) with realistic payloads and concurrency. Measure median/p95 CPU-ms, memory delta, network bytes, and I/O ops per request.
- If microbenchmarks show e.g. 2ms CPU (~0.002 CPU-sec) and 1KB network per request, per-second CPU = 100k * 0.002 = 200 CPU-seconds → need 200 vCPU capacity to serve 100k RPS with no overhead.
- Include variance: measure p95/p99 resource usage; use p95 for latency budget planning and p99 for safety checks.
- Define headroom
- Target operating point at 60–70% of provisioned capacity for steady peak; reserve extra for bursty traffic and GC spikess. For 200 vCPU baseline, provision 285–333 vCPUs (200/0.7 ≈ 286).
- Memory headroom: provision per-instance memory = baseline per-concurrency × 1.5–2x.
- Load-test plan
- Staged tests: single-instance microbench → small-cluster scale → full-scale distributed at target 100k RPS.
- Test types: steady-state at 60%, 80%, 100% of target; spikes (2x for 30s); ramp-up (linear 0→100k over 5–15 min); soak (1–4 hours).
- Measure p50/p95/p99 latency, error rates, CPU, memory, GC, network, DB and downstream saturation. Inject failures (DB latency, degraded caches) to observe graceful degradation.
- Autoscaling policies
- Horizontal autoscaling based on CPU and request-latency SLA:
- Primary metric: p95 latency or request queue length (if available). Secondary: CPU utilization.
- Scale-out: if p95 latency >120ms for 30s OR average CPU >65% for 60s → +25–50% instances.
- Scale-in: if p95 latency <70ms AND average CPU <40% for 180s → -25% instances.
- Cooldowns: scale-out cooldown 60–120s, scale-in cooldown 300s to avoid oscillation.
- Min instances sized to handle baseline steady 60–70% load; max capped by cost+burst SLA (e.g., 3–4x baseline).
- For stateful components use capacity-aware sharding; for async/backpressure use queues with backpressure and circuit breakers.
- Cost-aware trade-offs
- Reserve vs on-demand: reserve baseline minimum (70% of steady) with savings plans; use autoscale for bursts.
- Vertical vs horizontal: prefer horizontal for fault tolerance; vertical for low-instance-count optimized cases if startup time too large.
- Caching and CDN reduce backend compute significantly—invest in cache (edge + Redis) to reduce p95 load footprint.
- Degrade features under high load (rate-limits, cheaper read-only mode) to avoid expensive scale.
- Monitoring & alerting: cost of over-provisioning vs risk of SLA breach—present expected monthly cost under baseline and worst-case burst and offer trade-off options to stakeholders.
Key deliverable: a capacity spreadsheet mapping RPS → per-request resource → instance count for different headroom targets, plus a load-test playbook and autoscale policy YAML for ops to implement.
Describe a security hardening checklist to reduce technical risk before a production launch of a multi-service platform. Include automated tools (SAST, DAST), secrets management, least-privilege IAM, runtime protections (WAF, RASP), dependency scanning, and verification steps for compliance-sensitive systems.
Sample Answer
As a Solutions Architect, I’d use a layered pre‑production hardening checklist that’s automated where possible, auditable, and aligned to compliance requirements.
- CI/CD & Code Security
- Integrate SAST (e.g., SonarQube, Semgrep) in PR pipelines to block high/critical findings.
- Dependency scanning (Snyk, Dependabot, OWASP Dependency‑Check) with policy gates.
- Supply chain checks: sign artifacts, verify provenance (in-toto, Sigstore).
- Secrets & Config
- Enforce centralized secrets manager (HashiCorp Vault, AWS Secrets Manager) — no secrets in repo; require short TTL, audit logging, rotation automation.
- Use templated config and least-privilege feature flags.
- Identity & Access
- Apply least‑privilege IAM: role-based access, time‑bound privileges, separation of duties.
- Enforce MFA, conditional access, and automated access reviews; log all IAM changes.
- Runtime Protections
- Deploy WAF (Cloudflare/AWS WAF) with managed rulesets and custom tuning.
- Use RASP/host‑based protections (Datadog, Elastic, GuardDuty) to detect abnormal behavior and block attacks.
- Network segmentation, egress controls, and service mesh mTLS for inter-service auth.
- Dynamic Testing & Observability
- DAST (OWASP ZAP, Burp) against staging with authenticated scans; integrate automated regression scans.
- Runtime vulnerability monitoring and alerting; centralized SIEM and alert playbooks.
- Compliance & Verification
- Create automated compliance checks (CIS Benchmarks, Terraform Sentinel, OPA/Gatekeeper policies).
- Run pre‑launch compliance runbook: evidence collection (logs, scans, IAM reports), threat model review, penetration test sign‑off, and executive approval.
- Post‑launch: scheduled re‑scans, automated patching windows, and quarterly red team or third‑party audit.
Key tradeoffs: balance gating strictness vs. release velocity; prioritize critical controls (secrets, IAM, runtime detection) for minimum viable hardening.
A third-party payment provider announces deprecation of an authentication API in 6 months. As the Solutions Architect, outline a migration plan that minimizes business disruption. Include risk-register entries (title, likelihood, impact, owner), estimated effort and timeline, rollback plan, testing strategy, and communication timeline to stakeholders and customers.
Sample Answer
High-level objective: Replace deprecated auth API with provider’s new API (or alternate provider) within 6 months with zero/low payment disruption, preserving security & compliance.
Migration phases & timeline (6 months)
- Week 0–2: Discovery & impact analysis — identify clients, integrations, SDKs, scopes, compliance gaps. Effort: 2 architects, 1 PM, 1 engineer (80 hrs).
- Week 3–6: Design & vendor validation — choose approach: in-place new API vs. gateway adapter vs. alternate provider. Produce design doc, security review. Effort: 2 architects, 1 security (160 hrs).
- Week 7–12: Implementation (adapter + feature flags) — build adapter layer supporting both auth flows, config-driven. Effort: 3 engineers (480 hrs).
- Week 13–18: Internal + sandbox testing — unit, integration, contract tests with provider sandbox. Effort: 2 QA, 2 engineers (240 hrs).
- Week 19–22: Pilot with low-risk customers — enable feature-flagged route for 5–10% traffic. Monitor. Effort: 1 SRE, 1 PM (120 hrs).
- Week 23–24: Full rollout & deprecate old flow. Effort: ops on-call (40 hrs).
- Ongoing: Post-mortem & cleanup (remove old code at safe date).
Estimated total effort: ~1,100–1,200 engineering hours across teams.
Risk register (title | likelihood | impact | owner)
- Auth failure during cutover | Medium | High | Payments Lead
- Provider sandbox mismatch | High | Medium | Integration Engineer
- Performance regression (latency) | Medium | Medium | SRE
- Regulatory/compliance gap | Low | High | Security/Compliance Lead
- Customer integration incompatibility | Medium | High | Customer Success/PM
Rollback plan
- Implement adapter with dual-path support; keep old auth endpoint live.
- Use traffic feature flags and canary for progressive rollout; if errors > threshold (e.g., 1% failed payments or >50% latency increase), flip traffic back to old path instantly.
- Run automated rollback playbook: disable new route, alert stakeholders, open incident bridge, revert config, run smoke tests, inform impacted customers.
Testing strategy
- Unit tests for auth flows, mocks for token exchange.
- Contract tests against provider’s spec and sandbox.
- Integration tests: end-to-end payment flows in staging with token refresh, error injection, replay tests for idempotency.
- Load/latency tests to validate SLA under peak.
- Chaos/failure tests: provider timeouts, token expiry, malformed responses.
- Security testing: static analysis, penetration test on adapter, review of token storage & rotation.
- Acceptance criteria defined: <0.1% payment failure, latency delta <100ms, successful token renewal 99.99% of time.
Communication timeline
- Week 0: Internal briefing to exec, payments, SRE, security, CS, legal.
- Week 2: Customer notification (affected integrators) — high-level plan, timeline, migration windows, support contacts.
- Week 6: Technical migration guide & SDK updates to customers; release staging endpoints and sample code.
- Week 12: Reminder + pilot sign-up invites to early adopters; training webinar for integrators & support.
- Week 18: Pilot results and planned production cutover window; support escalation contacts and rollback assurances.
- Week 22: Post-cutover status update; RACI for follow-ups and date for removal of old API (e.g., +3 months).
- Throughout: Real-time incident channel during rollouts, weekly stakeholder reports.
Why this minimizes disruption
- Dual-path adapter + feature flags enable safe canarying and instant rollback.
- Comprehensive tests surface issues early.
- Clear ownership and communication reduce customer surprise and support load.
- Regulatory and security checks ensure compliance before cutover.
Key metrics to monitor during rollout
- Payment success rate, auth error rate, token refresh success, end-to-end latency, rate of support tickets.
Your SRE org has only two engineers supporting 25 services. Present a prioritized automation and support roadmap that optimizes SRE time for the most reliability-critical services given headcount constraints. Identify which services to automate first, which to deprioritize, and what tooling investments you would propose for a 12-month plan.
Sample Answer
Framework: triage services by risk & ROI, then apply a 4-quarter automation roadmap with measurable goals (toil reduction, MTTR, alert noise). With only two SREs, prioritize work that returns the largest reliability benefit per hour.
Service prioritization (Tiering)
- Tier 1 (Automate first): customer-facing, revenue-impacting, high-traffic, high-change services (payment, auth, API gateways). These justify automation investment because incidents cause direct revenue loss or large SEV cascades.
- Tier 2 (Automate next): developer-facing platforms and stateful services with moderate user impact (data pipelines, internal APIs).
- Tier 3 (Deprioritize / lightweight): low-traffic batch jobs, deprecated/soon-to-be-archived services, non-critical analytics — monitor passively and postpone heavy automation.
12-month roadmap (two engineers, parallel lightweight workstreams)
Q1 — Foundations (weeks 1–12)
- Define SLOs/SLIs for all Tier 1 & 2 services (top 8–10 services).
- Implement central paging rules and ownership in PagerDuty; reduce alert recipients.
- Quick wins: suppress noisy alerts, create minimal runbooks for top incidents.
Metrics: baseline MTTR, alert per service.
Q2 — Observability + IaC (weeks 13–24)
- Deploy unified observability (Prometheus + Grafana + traces via Jaeger/Tempo or vendor) for Tier 1 services.
- Convert infra to IaC (Terraform) for Tier 1 to enable reproducible changes and automated rollbacks.
- Automate health checks and synthetic canaries.
Metric: synthetic coverage of Tier1, % infra in IaC.
Q3 — Runbook Automation & Safer Deploys (weeks 25–36)
- Implement runbook automation (ChatOps + Rundeck/Backstage workflows or orchestration in PagerDuty) for common remediation (restart, scale, failover).
- Introduce progressive delivery (ArgoCD/Flagger) for Tier1 to reduce deployment-induced incidents.
- Add automated post-incident report template generation.
Metric: % incidents resolved by automated playbooks; deployment-related incident rate.
Q4 — Scale & Hardening (weeks 37–52)
- Expand IaC, observability, runbooks to Tier2; optimize cost and retention policies.
- Implement capacity autoscaling policies and chaos-lite tests for Tier1 (simulated failures).
- Build a lightweight self-service SRE portal (runbook library + deploy templates) for engineering teams to reduce SRE interrupts.
Metric: toil-hours/month, MTTR, SLI/SLO attainment.
Tooling investments (minimal headcount-friendly)
- PagerDuty (on-call orchestration) + structured escalation policies
- Prometheus + Grafana + OpenTelemetry (observability, traces, metrics)
- Terraform (IaC) and a GitOps tool (ArgoCD) for safe deploys
- Runbook automation: Rundeck or PagerDuty Orchestration / Bot platform for ChatOps
- CI/CD pipelines with progressive delivery support (e.g., Argo Rollouts or Flagger)
- Optional: Incident management + RCA tooling (Blameless or lightweight templates)
Trade-offs & governance
- Focus on Tier1 first — delaying Tier3 automation increases manual toil there but yields better ROI.
- Start with lightweight, high-impact automations (alert tuning, runbooks, synthetic checks) before heavy platform projects.
- Enforce “automation as part of change” policy: any new service must supply SLO, runbook, IaC.
- Track KPIs monthly: MTTR, alerts per on-call hour, % automated remediations, SLO compliance.
Outcome (12 months)
- Expect 40–60% reduction in repetitive on-call tasks, 30–50% MTTR improvement for Tier1, and scalable repeatable processes that let two SREs safely support 25 services with clear handoffs and growing engineering self-service.
As a Solutions Architect, lead a remediation plan for a product team with major skill gaps in cloud-native ops (Kubernetes, observability, CI/CD). Outline a phased program with training, mentoring, paired work, targeted hiring, and intermediate risk-reduction milestones that justify production rollouts.
Sample Answer
Situation: The product team owns a customer-facing service scheduled for a phased cloud-native rollout, but has major gaps in Kubernetes, observability, and CI/CD—raising risk of outages, slow releases, and poor incident response.
Program goal: Move the team from risky manual ops to safe, automated, observable cloud-native delivery so each staged production rollout has measurable risk reduction.
Phase 0 — Assess & Prioritize (2 weeks)
- Run a rapid skills inventory, runbook review, and architecture gap analysis.
- Deliver a risk map (top-10 failure modes) and target milestones tied to rollback time, MTTR, deployment success rate.
Phase 1 — Foundations & Training (4–6 weeks)
- Mandatory bootcamps: hands-on Kubernetes core (pods, deployments, RBAC), Helm/manifest management, and CI/CD basics (pipelines, feature flags).
- Observability primer: metrics (Prometheus), logs (ELK/Fluentd), tracing (Jaeger/OpenTelemetry).
- Deliverable milestone: reproducible staging cluster plus a canonical pipeline template. Risk metric: deployment rollback time target <= 15m in staging.
Phase 2 — Mentoring & Paired Work (6–8 weeks)
- Assign 1:3 mentors (senior SRE/Platform engineers) embedded for paired programming on real tasks: migrate one noncritical service to K8s using the pipeline and observability stack.
- Weekly “war-room” office hours and asynchronous code reviews.
- Deliverable milestone: end-to-end deployment of the service to canary with automated metrics-based promotion. Risk metric: canary failure detection and automatic rollback validated.
Phase 3 — Targeted Hiring & Knowledge Capture (ongoing, start week 4)
- Open 2 senior hires: a Kubernetes/SRE lead and an observability engineer; use hiring rubric focused on mentorship ability.
- Create internal runbooks, onboarding docs, and recorded training.
- Deliverable milestone: new hires onboarded and leading fortnightly guild sessions.
Phase 4 — Controlled Production Rollouts (4–6 weeks per service)
- Use progressive rollout strategy: feature flags → canary (1%) → 10% → 100% with predefined SLOs and rollback triggers.
- Require gating checklist (pipeline green, dashboards configured, alert playbooks, runbook dry-run).
- Risk milestones: each promotion requires meeting SLOs and MTTR targets; no promotion without a successful simulated incident drill.
Phase 5 — Operate & Improve (ongoing)
- Shift-left incident postmortems, continuous learning, and quarterly review of metrics (deployment frequency, lead time, MTTR, error budget burn).
- Platformize proven patterns into templates to reduce future toil.
Why this works:
- Combines immediate mitigation (templates, canaries) with long-term capability building (training, hiring).
- Mentored paired work accelerates skill transfer and produces working artifacts rather than theoretical learning.
- Measurable risk metrics tied to each milestone justify incremental production rollout decisions.
Example measurable gates for production promotion:
- Pipeline success rate > 98% for 7 days
- Canary error rate within baseline for 24 hours
- Runbook validated in a simulated incident within 48 hours
- On-call rotation has at least two team members signed off by mentor
This phased program balances speed and safety: it reduces immediate operational risk while building sustainable team capability to own cloud-native production reliably.
Unlock Full Question Bank
Get access to all Risk, Issue, and Dependency Management interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.