Skip to content
Tech Interview Prep
Technical interview guide

Vendor & Technology Selection Tradeoffs

Evaluating build-vs-buy and vendor options against a customer's actual constraints, not feature checklists.

Minutes to read
3
Practice MCQs
25
Interview Q&A
25
Edition
v5
Editorial status
Reviewed

Scope: AWS, Azure, Google Cloud, and NIST technology-selection and supply-chain guidance current 2026-08-31.

Interview Q&A

Treat each question like a live interview question: answer out loud first (structure, assumptions, tradeoffs), then open the model answer to spot gaps and rehearse a tighter follow-up.

Curated: · Written: · Reviewed:

25 questions

Q&A-4

Create a weighted decision matrix without gaming it.

Answer

The 90-second answer

Clarify first: a weighted matrix is worth building only when the options are comparable, the criteria can be evidenced, and the decision is expensive to reverse. If it is a two-way door, pick an owner and move.

Then gates before scores. Anything mandatory (compliance, residency, a hard latency floor) is pass/fail and never enters the weighted total. Only after every candidate clears the gates do you score.

Then lock the matrix before you see results: criteria, weights, and the 1–5 anchor for each level, agreed with the people who own the outcome. That ordering is the whole anti-gaming mechanism: you cannot tune weights toward a favourite you have not scored yet.

Worked example (figures illustrative): payments team choosing a managed queue, peak 5k msg/s.

Gates: SOC 2 Type II, eu-west-1 residency, per-key ordering, p99 publish ≤ 20 ms at 5k msg/s. Both vendors pass.

criterionweightAB
throughput headroom at 2× peak2545
p99 latency under load2053
ops burden (pages/month, managed features)2034
cost at 5k msg/s steady2035
migration effort1542

A = 4·25 + 5·20 + 3·20 + 3·20 + 4·15 = 380/500 = 76%. B = 5·25 + 3·20 + 4·20 + 5·20 + 2·15 = 395/500 = 79%.

Sensitivity: move cost to 10 and latency to 30. A = 400, B = 375. The ranking flips. So the honest output is not "B wins", it is "the decision turns on whether p99 latency or steady-state cost dominates; that is the question to escalate."

How gaming actually happens, and what stops it

  • Weight laundering: a sponsor sees B lose on latency and raises cost's weight. Stop it by versioning the weight sheet with a timestamp before any scoring, and requiring a written rationale for every change.
  • Double-counting: "ecosystem" and "integrations" both at 20 puts 40% on one benefit. Detect it by ranking candidates on each criterion, if two criteria order them identically, merge them.
  • Scale drift: evaluators anchor 3 differently. Fix it with a calibration pass where everyone scores one reference candidate first.
  • Gate erosion: a candidate fails residency but scores 79%, so it gets "conditionally approved". The gate column must be un-overridable; a failed gate removes the row.

When not to use a matrix

If criteria cannot be evidenced, a matrix launders opinion into arithmetic: use an RFC and a named decider instead. If the decision is cheap to reverse, a single accountable owner is faster. Matrices earn their cost on expensive, comparable, evidence-backed choices.

Curated: · Written: · Reviewed:

Difficulty: Medium
Q&A-2

Evaluate a managed service against a self-hosted alternative.

Answer

Core answer, say this first. The decision isn't "managed vs self-hosted" in the abstract; it's which responsibilities your team can actually carry at the SLO you promised. Assumptions I'd state out loud: Postgres 16, one primary plus one read replica, 99.95% availability, 2k QPS steady and 8k peak, six backend engineers and no dedicated DBA. On those numbers I'd start managed (RDS or Aurora) and revisit when write volume grows roughly 10x, or when I need something the vendor won't let me have.

Why: the mechanism. Managed hosting doesn't delete failure modes, it relocates them. You trade "I fix it at 3 a.m." for "I wait for the vendor and can't see inside." RDS Multi-AZ failover is a DNS flip that typically takes 60-120 seconds; Aurora's is typically under 30. Neither is tunable. That one number drives your client design: the pool has to survive the flip, or every app instance reconnects at once and you get FATAL: sorry, too many clients already.

DimensionManaged (RDS/Aurora Postgres)Self-hosted (Postgres 16 on EC2/EKS)
FailoverDNS flip, typically 60-120 s (Aurora <30 s); not tunablePatroni + HAProxy; you set the timeout and own split-brain risk
ConnectionsDerived from instance memory: LEAST({DBInstanceClassMemory/9531392}, 5000); RDS Proxy for poolingmax_connections default 100; pgbouncer in transaction mode
Major upgradeYou schedule it; vendor supports the versionYou pick the date; pg_upgrade or logical replication
Blast radiusVendor-wide control-plane or AZ events you can't mitigateYour own change management, and only yours
SuperuserNo; rds_superuser only, plus an extension allowlistYes

Cost, illustrative numbers. Managed: db.r6g.xlarge Multi-AZ at ~$0.50/hr per instance is ~$730/mo, plus storage and backups ~$150, so ~$880/mo, plus ~0.1 FTE. Self-hosted: two c6g.2xlarge ~$365/mo, gp3 500 GB x2 ~$80, S3 backups ~$40, so ~$485/mo, plus ~0.5 FTE of platform work. At a fully-loaded $200k/yr engineer, that 0.4 FTE is ~$6.7k/mo. Self-hosting saves ~$400/mo of infrastructure and costs ~$6.3k/mo of people. That gap, not the sticker price, is the decision.

Failure modes and how you'd see them.

  • Storage exhaustion: autoscaling off, a 200 GB backfill fills the volume; alarm on FreeStorageSpace, instance goes read-only.
  • Connection storm after failover: DatabaseConnections spikes, pgbouncer cl_waiting climbs, app errors on connect.
  • Replication lag (self-hosted): a network blip stalls the replica; watch pg_stat_replication.replay_lag, reads go stale.
  • Roadmap lock: the extension you need isn't on the allowlist; you find out during design, not after.

Exit. Test it before you need it: pg_dump/pg_basebackup or logical replication out. Without superuser, large-database dumps are slow and some physical-replication shortcuts are unavailable.

Decision rule. Managed when the workload fits the vendor's parameter envelope and you have no platform capacity. Self-host when you need superuser, non-allowlisted extensions, or tuning the vendor won't expose, and only when the platform FTE is genuinely cheaper than the managed premium at your scale.

Curated: · Written: · Reviewed:

Difficulty: Medium
Q&A-12

Decide whether to standardize on one platform across teams.

Answer

Core answer

Assume 30–60 engineers across 6–10 teams, 3–5 workload classes (request/response services, batch/ETL, ML training, streaming), and a platform team of 4–8. Under those assumptions I'd standardize the commodity layer and leave the differentiated layer alone: one container runtime and scheduler, one identity and secrets model, one CI/CD pipeline, one observability stack, one managed relational database. I would not standardize the data-processing engine, the ML training framework, or the message bus if the workload classes genuinely differ: that's where a single choice forces the wrong shape onto a team.

The decision is per capability, not per platform. "Standardize on one platform" is the wrong unit of analysis; nobody standardizes on one platform, they standardize on a set of capabilities and let the rest float.

Why standardization pays

The mechanism is fixed-cost amortization plus reduced interface count. A platform team of 6, fully loaded at roughly $250k each, is about $1.5M/yr. Serving 40 teams, that's ~$37k per team per year: cheaper than each team running its own control plane, on-call rotation and upgrade path. The second mechanism is interface count: N teams × M platforms gives N×M integration surfaces; one platform gives N. Security review, IAM mapping and audit evidence get done once instead of per team.

Where it costs you

Correlated failure. One control plane means one blast radius. If the shared Kubernetes control plane or a shared managed database's regional endpoint degrades, every team's SLO burns at once: you've converted N independent failure domains into one. Detection: several services breaching error budget inside the same 5-minute window, correlated with a single provider status incident. Mitigation is cell-based isolation: separate clusters per blast-radius group, not per team.

Quota and noisy neighbours. A shared cluster's node pool or a shared database's connection limit is a shared resource; one team's batch job can starve another's p99. Detection: p99 latency rising while request rate is flat, and the rise lines up with another team's job schedule.

Paved road, not mandate

The exception process decides whether this works. Write it down: an exception request names the capability, the workload, why the paved road doesn't fit, an owner, and an expiry date. Default two quarters. At expiry it's renewed with a reason or closed. Track exception count per capability; if one capability accumulates exceptions, the paved road is wrong, not the teams.

Failure modes and detection

  • Mandate without exceptions → shadow platforms. Detect: cloud spend outside approved accounts, or services missing from the service catalog.
  • Standardizing the differentiated layer → teams fight the platform. Detect: rising exception count, long-lived exceptions, platform tickets dominated by "can you add X".
  • Supplier concentration → negotiating and exit risk. Detect: one vendor above ~60% of infra spend with no tested exit path.
CapabilityStandardize?Why
Container runtime / schedulerYescommodity, high interface count
Identity and secretsYessecurity review done once
CI/CDYespipeline is not a differentiator
Managed relational DBYes, with tieringops burden high, access shapes similar
Streaming busOnly if one fits allordering and throughput semantics differ
ML training frameworkNoworkload-specific, fast-moving

Revisit when workload classes change, or when the exception rate for a capability crosses the threshold you set at the start.

Curated: · Written: · Reviewed:

Difficulty: Medium
Q&A-6

Respond when the cheapest option has the weakest support model.

Answer

Assumption and core answer

Assume the cheapest option is a real candidate (the workload runs on it today, or could) and the question is whether the support gap is a reason to pay more, mitigate, or accept. My answer: price the gap, not the sticker. Convert the support difference into expected downtime cost, compare it against the tier delta, and decide from that. If the gap threatens a mandatory recovery objective, you either buy the tier or buy mitigation. You don't accept it silently.

Why the cheap tier is cheap

Support plans are priced on two axes: the response-time commitment, and whether you get a named human who knows your account. Cheap tiers cut both. AWS publishes the clearest comparison (verify current figures before quoting them):

DeveloperBusinessEnterprise
minimum$29/mo$100/mo$15,000/mo
production system downno commitment1 hour, 24x715 min, business-critical
channelemail, business hoursphone/chat/email, 24x7+ TAM, concierge

The mechanism: a cheap tier routes your ticket into a shared queue with a first-response SLA measured in business hours. Two consequences follow. The SLA is a response commitment, not a resolution one: the clock stops when a human replies, not when your service is back. And severity is assigned by the vendor, so a misclassified P1 restarts the clock.

The arithmetic

Hypothetical: a checkout service earning $40k/hour. Business to Enterprise is a delta of $178,800/yr ($15,000 − $100, ×12). The response difference is 45 minutes (1 hour to 15 minutes). At $40k/hour that is $30k per business-critical incident, so the faster response pays for itself at roughly six such incidents a year: before counting the TAM. Run the same sum one tier down: Developer to Business is $71/mo, and the difference is a 12-business-hour response versus 1 hour around the clock. A P1 raised Friday 22:00 on Developer gets its first human Monday morning, roughly 59 hours later.

Failure modes and how to detect them

  • P1 sitting in a general queue. Friday-night outage, Developer tier, no production-down commitment at all. Detect by filing a test ticket outside business hours, or by measuring time-to-first-human across your own ticket history.
  • Severity reclassification. The vendor downgrades your P1 to P3 and the response clock resets. Detect by tracking reclassification rate against your own incident severity.
  • Response mistaken for restore. Detect by measuring time-to-restore, not time-to-first-response.
  • Subcontracted first line, or a TAM shared across hundreds of accounts. Detect by asking for named contacts and the escalation matrix in writing before signing.

When the cheap tier is right

If the workload is non-critical, or you can architect around the gap (multi-vendor failover, self-healing, canaries, in-house expertise) the cheap tier is the correct buy. Buying the top tier is usually cheaper than building that expertise, but not always. If you accept the gap, record the owner, the contingency and the review date; don't leave it as an unstated assumption.

Curated: · Written: · Reviewed:

Difficulty: Medium
Q&A-14

Handle a preferred vendor that fails a mandatory requirement.

Answer

Core answer, first 90 seconds

A mandatory requirement is a gate, not a line item. When a preferred vendor fails one, you have three legitimate moves: disqualify them, re-scope the workload so the requirement no longer applies, or accept the risk in writing with a named owner, an expiry date and an exit plan. The fourth move, re-weighting the matrix until the failure stops mattering, is the one that produces a signed contract and a compliance finding six months later.

Two assumptions I'd state out loud before anything else. First, the requirement is mandatory because it traces to a regulation, a contract clause, or a security property, not because someone prefers it. If it's a preference, it belongs in the weighted score, where a strong vendor can legitimately outbid it. Second, the failure is verified, not reported: I've seen the evidence, not the vendor's summary of it.

Why the gate exists

Weighted scoring is a compensator: a strong feature score can pay for a weak one. A gate is a constraint: it says this property is not for sale. Let 87/100 offset a failed gate and you've converted the constraint into a price, and the price is set by whoever wants the vendor most. That's the mechanism, and it's why the decision has to move to a risk owner rather than stay in the evaluation spreadsheet.

Worked example (figures hypothetical)

Vendor A wins the weighted score 87 to 71. It fails one gate: it holds a SOC 2 Type I report (point-in-time) and no Type II (a period of time, typically 12 months). Contract is $480k/yr on a 3-year term. The workload is internal HR analytics carrying employee PII.

MoveCostRight when
DisqualifyRunner-up at $610k/yr, +6 weeks onboardingThe requirement is regulatory and the workload can't move
Re-scope~3 sprints to strip identifiers before ingestThe requirement attaches to data you can keep out of the vendor
Time-bounded exception$480k/yr plus controls and exit costThe vendor has a credible dated path to compliance and the risk owner signs

If I take the exception, it is a document, not a conversation. 90 days, expiring on a stated date. Compensating controls that measurably reduce likelihood or impact: tokenize identifiers at the edge so the vendor never holds raw PII, quarterly access review with evidence, and a contractual right to audit. Expiry tied to the vendor's Type II report, which they've committed to in writing for Q3. Exit plan: full export in Parquet, 30-day parallel run against the runner-up, tested once before the exception is granted.

Failure modes and how you catch them

An exception that never expires. A 90-day exception renewed four times is a waiver with extra paperwork. Detect it with an exception register that reports open items and their expiry dates to the risk owner monthly; anything past expiry escalates automatically.

A compensating control that doesn't compensate. "We'll monitor it" is not a control. Ask what it reduces and by how much, and if nobody can answer, it's decoration.

Re-scoping that's really relabeling. If the PII still flows through the vendor, you moved the label, not the data. Verify by tracing one record end to end.

Gate creep in the other direction. Adding a gate after results are in, because the preferred vendor now looks inconvenient, is the same failure mirrored. Gates are fixed before scoring opens.

What I'd say in the room

"The gate failed on evidence, so the vendor is out unless we either take the PII out of scope or the risk owner signs a 90-day exception with these controls and this exit. I'm not re-scoring it, and I'm not changing the requirement after the fact." Then name the owner and the date.

Curated: · Written: · Reviewed:

Difficulty: Medium
Q&A-15

Present a technology recommendation to executives and engineers.

Answer

First 90 seconds

Two things decide this: what the migration buys, and what would make me reverse it. Assume self-managed PostgreSQL 15 on EC2, 2 TB, ~4,000 queries/s at peak, one streaming replica, and two incidents last quarter where failover took 22 and 35 minutes because promotion was a manual runbook step. My recommendation is Aurora PostgreSQL, not because it's faster, it isn't meaningfully, but because it removes the manual promotion and the replica-lag read path we keep getting paged for. Confidence: high on failover, medium on cost, low on any claim we'll spend less.

The comparison that decides it

criterionself-managed PG on EC2Aurora PostgreSQLRDS PostgreSQL Multi-AZ
failovermanual promotion, 22–35 min observedAWS documents typically <30 sAWS documents typically 60–120 s
read scaling1 replica, lag is ours to manageup to 15 Aurora Replicas, shared storageasync replicas, lag is ours
connection ceilingwhatever we tuneLEAST(DBInstanceClassMemory/9531392, 5000)same formula
storage durabilityEBS volume, single AZ6 copies across 3 AZsEBS plus standby

The connection row is the one engineers will push on. On a db.r6g.4xlarge (128 GiB) that formula gives roughly 14,000 connections. Our app opens a connection per request thread and currently holds about 18,000, so without a pooler we hit FATAL: sorry, too many clients already on the first traffic spike. RDS Proxy or pgbouncer is part of the migration, not a follow-up.

Cost: illustrative, us-east-1 on-demand list, verify before the deck

Today: two m6i.4xlarge plus 2 TB gp3 ≈ $1,300/month. Aurora: db.r6g.4xlarge writer plus one reader ≈ $2,400/month, plus I/O at $0.20 per million requests. The honest headline is that we'd pay roughly $1,100/month more, and I/O could widen that. I'd measure it on a restored snapshot rather than model it.

Failure modes and how we'd see them

  • Failover drops in-flight connections. Detection: connection-error rate spike in the 30 s after a failover event. Mitigation: retry with jitter, and a forced-failover game day before cutover.
  • Replica lag. Shared storage makes it usually sub-millisecond, but a long write transaction still shows up. Detection: CloudWatch AuroraReplicaLag, alert above 1 s.
  • Cost drift from I/O. Detection: VolumeReadIOPs/VolumeWriteIOPs billing alarms, not just CPU.

Rejected, fairly

Staying on EC2 is cheapest and we know it cold, but it doesn't fix the thing that caused both incidents: we'd be building Patroni ourselves. RDS Multi-AZ is simpler and cheaper than Aurora and I'd take it if we didn't need read scaling; the 60–120 s failover is why I'm not.

The ask

Two-week spike on a restored 2 TB snapshot: measure I/O cost, run a forced failover, load-test through a pooler. Decision review at the end, with the ADR and evidence pack linked in the deck.

Curated: · Written: · Reviewed:

Difficulty: Medium
Q&A-1

Compare build versus buy for a differentiating capability.

Answer

Assumption that decides it: a capability is differentiating only if your roadmap, not the vendor's, determines whether you win. If a vendor's roadmap can carry it, it isn't differentiating: buy it.

My default: build the thin slice that encodes the differentiation; buy the commodity around it. If the capability is a ranking model that drives conversion, build the feature pipeline and the model; buy the vector store, the feature store, and the orchestration. The reason is not cost: build almost always loses on cost. It's control.

The arithmetic, so you don't build for the wrong reason. Assumptions: US senior engineer fully loaded at $220k/yr, 3-year horizon, vendor at $8k/mo.

LineBuildBuy
v13 eng × 12 mo = $660kintegration 0.5 FTE × 3 mo = $27.5k
Steady state1.5 FTE × 2 yr = $660k0.25 FTE × 3 yr = $165k
Infra / subscription~$3k/mo × 36 = $108k$8k/mo × 36 = $288k
Total~$1.43M~$480k

Build is roughly 3× buy. So the honest framing is: you are paying ~$950k over three years for control. Say that number out loud in the review; if nobody will fund it, buy.

Why build costs compound. The v1 number is the cheap part. Every year you own a model you own its drift, its retraining cadence, its on-call, and its dependency upgrades. That steady-state 1.5 FTE is not optional: it's the cost of the capability staying correct as your data distribution shifts.

Why lock-in arises. It is rarely the subscription. It's the artifact you can't take with you: embeddings in a proprietary vector store, a fine-tuned model with no weight export, a feature definition that only exists in the vendor's DSL. Before signing, read the export API. If there is no bulk export of the artifact you'd need to reproduce the capability, you are locked, whatever the contract says.

Failure modes and how you'd see them.

  • Build stalls after the champion leaves. Detection: one committer on the core module in the last 90 days, no v2 design doc. Mitigation: two owners from day one.
  • Vendor reprices at renewal. Detection: contract has no price cap and no multi-year lock. Model a 3× renewal before you commit.
  • Vendor ships your differentiator natively. Detection: their public changelog and roadmap. This is the one that reverses the decision, if they ship it, your build is now maintenance.

The hedge that matters: put your own thin interface over the vendor so a swap is a week, not a quarter. That converts a binary bet into a reversible one, and reversibility is worth more than either column of the table.

Recommendation: build the differentiating slice, buy the rest, cap the vendor contract, and set a review point for when the vendor ships the capability natively or your build slips a quarter.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-11

Review an open-source component against a commercial product.

Answer

Core answer (say this first). Assume a 3–5 year service life, a team of 5–15 engineers, and nobody whose job is maintaining this component. Then the review is not free-versus-paid: it is who owns the maintenance risk when it breaks at 03:00, and what it costs to leave. Work in that order: licence fit, governance and vulnerability response, the commercial contract, then the exit. Price is the last thing you compare, not the first.

1. Read the actual licence grant, not the label.

  • Apache-2.0 / MIT / BSD-3: permissive, with a patent grant in Apache-2.0 §3. Safe to embed.
  • AGPL-3.0 §13: if users interact with a modified version over a network, you must offer them the source. That rules it out for a closed SaaS unless you never modify it.
  • SSPL and BUSL 1.1 are not OSI-approved. BUSL typically converts to a permissive licence four years after release (HashiCorp's Terraform, Aug 2023, converts to MPL-2.0; OpenTofu forked under MPL-2.0). That four-year clock is a real constraint if you need to fork today.
  • Assume any single-vendor project can relicense. Redis left BSD-3 in March 2024 for RSALv2/SSPLv1 and added AGPLv3 back in Redis 8 (2025); Elasticsearch went Apache-2.0 → SSPL/ELv2 in 2021 and added an AGPLv3 option in 2024. Both times the fork (Valkey, OpenSearch) became the safe path for vendors who couldn't accept the new terms.

2. Governance and maintainer concentration. Run OpenSSF Scorecard and read Maintained, Code-Review, Branch-Protection, Pinned-Dependencies and Signed-Releases. A score under ~5 on a component in your auth path is a finding, not a curiosity. The xz-utils backdoor (CVE-2024-3094, versions 5.6.0/5.6.1, March 2024) is the case study: a "maintainer" spent two years building trust, then shipped a backdoor into liblzma, caught only because a Postgres developer noticed sshd burning CPU. Code review would not have found it. Reproducible builds, signed releases and a known bus factor would have.

3. Measure vulnerability response; don't assume it. Log4Shell (CVE-2021-44228, CVSS 10.0) was disclosed 2021-12-09; Apache shipped 2.15.0 the next day and 2.16.0/2.17.0 within two weeks. A commercial contract states a P1 response time (commonly 1 hour, 24×7) and a patch SLA. Ask both sides the same question: "a critical CVE lands in this component on a Friday, who patches, in how long, and how do I know?" For open source the honest answer is usually "you do", which is fine if you have budgeted the engineer.

4. Provenance. Require an SBOM (CycloneDX or SPDX), verify release signatures with Sigstore cosign, and check the project's SLSA build level (1–3). This is what turns "we think we're not affected" into a grep.

5. The commercial side. Contract terms that decide it: IP indemnification, support SLA, EOL notice period, telemetry and data-residency terms, and exit. Export format, escrow, renewal price. A vendor that won't name an EOL date is a risk.

Worked comparison (hypothetical figures, labelled):

Open source (Apache-2.0)Commercial
Licence$0$60k/yr, 3 nodes
Support0.25 FTE @ $220k loaded = $55k/yrincluded
Critical CVE patchyou, ~1–3 daysvendor SLA, 1h response
Exitfork or swap, weeksdata export + re-implementation, months

Roughly a wash on cash. The difference is who carries the pager.

Failure modes to name explicitly. Relicensing: detected by watching the LICENSE file and the vendor's blog; cost is a forced fork or migration. Abandoned maintainer: detected by Scorecard's Maintained score and commit cadence; cost is you becoming the maintainer. Silent EOL: detected on the vendor's lifecycle page; cost is running an unsupported version past its CVE window.

Decision rule. Pick the option whose worst case you can staff. If you cannot fund 0.25 FTE of ownership, buy the support contract: the licence price was never the number that mattered.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-8

Evaluate a startup vendor for a critical dependency.

Answer

What I'd say in the first two minutes

Assume the dependency sits in the request path or the data path, and that "critical" means a 30-minute outage costs revenue or burns an SLO. First classify it: synchronous request path, async data path, or build/deploy path. That decides how much process is justified. A logging SDK that drops events is tier 3; an auth provider or payments processor is tier 1.

Then answer with four gates, each with a number attached.

  1. Blast radius and reversibility. If the vendor disappears tomorrow, how long until users notice, and how long to swap? If time-to-replace exceeds time-to-detect plus time-to-mitigate, you need containment before you sign. Concretely: if your p99 checkout budget is 300 ms and the vendor adds 80 ms, a fallback that adds 200 ms is not a fallback.

  2. Security and vulnerability response. Ask for a SOC 2 Type II report, not a "we're compliant" slide. Ask for an SBOM in CycloneDX or SPDX, and their mean time to remediate a critical CVE. A vendor that cannot produce an SBOM today is a supply-chain risk you inherit. Threshold: critical CVE patched within 7 days, high within 30, or you need compensating controls you can name.

  3. Continuity. Runway in months versus your contract term. Nine months of runway against a 24-month deal means you are underwriting them. Key-person concentration: one engineer wrote the core? Ask what happens when they leave. Subcontractors: who actually holds the data, and under which jurisdiction?

  4. Commercial and roadmap governance. Who can change the API, and what is the deprecation policy? A vendor shipping breaking changes on 30 days' notice is a different risk from one giving 12 months.

Containment, in order of cost

  • Stable interface you own (adapter or facade): cheapest, always do it.
  • Data export in a documented format, tested quarterly: cheap, do it.
  • Fallback path (second vendor, degraded mode, cached responses): moderate.
  • Source escrow: expensive, only when the software is embedded and you cannot replace it. Escrow without a build environment and a tested compile is theatre.

Worked arithmetic (hypothetical)

Vendor charges $60k/yr. Checkout peaks at 400 req/s, 0.5% conversion, $80 AOV. A 30-minute full outage at peak: 400 × 1800 = 720,000 requests lost; at 0.5% conversion and $80, that is 3,600 × $80 = $288,000. One outage costs roughly 5x the annual contract. That number, not the customer-logo slide, sets how much containment you buy.

Failure modes and detection

FailureDetection signalCost
Vendor API latency creepsp99 on your adapter, alert at 2x baselineSLO burn, conversion drop
Silent data corruptionrow counts and checksums on exportreconciliation, support load
Acquisition kills the productchangelog silence, roadmap freezeforced migration in weeks
Key engineer leavesticket resolution time doublesslower incident response
Price hike at renewalrenewal quote vs. original2–3x budget or migration

When not to use escrow or multi-vendor: if the dependency is a commodity (email delivery, feature flags), multi-vendor is cheaper than escrow. If it is deeply embedded and you cannot build it, escrow plus a tested build is the only real option, and you should test that build annually, not at the moment you need it.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-5

Assess vendor lock-in for a proposed data platform.

Answer

Core answer

Lock-in isn't a checklist of proprietary features; it's a number: the cost to exit, discounted by the probability you'd actually exit, weighed against the value of the native capability you're buying. So state the horizon and the workload first. Assume a 3-year horizon and an analytical workload: ~40 pipelines feeding ~200 TB. The assessment is then: what does it cost to move that workload somewhere else, and is that cost worth paying to avoid?

The answer is almost never the egress bill. It's the semantic gap.

Why the semantic gap dominates

Egress is metered per GB and it's the only part of lock-in with a published price, so it's the part people quote. For a one-time bulk exit it's small (arithmetic below). It dominates only when the platform is read out continuously: a serving tier or cache that pulls from it on every request turns a per-GB fee into a per-request fee. That's the pattern to look for.

The recurring cost is re-implementing semantics. Proprietary SQL dialects, UDFs, and window/aggregate behavior differ in ways that don't raise errors: they return different rows. That's expensive precisely because it's silent.

Metadata is hard for a different reason: lineage, grants, and column-level security are stored as platform-internal object IDs, not a portable standard. You can dump DDL; you can't dump "who could see which column and why." Reconstructing that is manual, and it's what auditors ask for.

What's portable, and how to test it

DimensionUsually portableTest
Table dataYes, via Parquet/CSVRow count + checksum per table
SchemaMostlyDiff DDL; watch types (DECIMAL precision)
Query dialectNoRun the top 20 queries on both; compare result hashes
UDFs / stored procsNoCount them; that's your rewrite backlog
Lineage / metadataNoCan it export in a standard format?
Grants / column securityNoDiff effective permissions per role
OrchestrationNoGrep for vendor SDK imports
IdentityPartly (SAML/OIDC)Test SSO against a second IdP

Arithmetic (illustrative figures: substitute your contract)

200 TB ≈ 204,800 GB. At $0.09/GB egress ≈ $18,400. One-time.

Rewrite: 40 pipelines × 3 engineer-weeks = 120 engineer-weeks ≈ 2.3 engineer-years. At $220k loaded ≈ $500k.

The rewrite is ~27× the egress bill. Budget the rewrite, not the transfer.

Trace: a silent dialect difference

Source, PostgreSQL 16:

SQL
SELECT id FROM events ORDER BY created_at ASC LIMIT 10;

PostgreSQL sorts NULLs last for ASC. MySQL and SQLite sort NULLs first. Same query, same data, different 10 rows: no error. Detection: hash the result set on both engines and diff. This is why "test the export" means compare outputs, not confirm the job succeeded.

Failure modes

  • Silent semantic drift: detected by result-set hashing, not job status. Cost: re-validation of every downstream report.
  • Metadata loss: detected by diffing effective permissions per role. Cost: manual re-grant plus an audit finding.
  • Egress surprise: detected by measuring bytes read out in a dry run. Cost: one-time, but it lands in the month you migrate.

When portability isn't worth it

If exit cost is under ~10% of 3-year TCO, accept the lock-in and stop paying for abstraction. Above ~30%, either negotiate contractual exit assistance (export tooling, a migration window, an egress waiver) or don't adopt. Portability controls aren't free: an abstraction layer that hides the dialect also hides the native features you're buying, and it slows every change. The deciding question is whether the workload outlives the platform's advantage.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-21

Assess whether a proposed abstraction meaningfully reduces lock-in.

Answer

Core answer, first 90 seconds. Lock-in is not the presence of a vendor API in your code; it is the cost of leaving, measured in engineer-weeks and dollars. So the assessment is: name the exit scenario you actually care about (swap vendor, self-host, dual-run), enumerate what you would have to rebuild, and compare that rebuild cost against what the abstraction costs you every day. An abstraction meaningfully reduces lock-in only when it covers the whole surface you would otherwise reimplement (behavior, data, identity, operations, failure semantics) and when the layer's ongoing cost is smaller than the exit cost it removes. A thin interface over put/get/list rarely clears that bar, because the leak is in semantics, not signatures.

Why signature-level abstractions leak. Take an S3-shaped storage interface. The method signatures are trivial to match; the semantics are not. S3 gives strong read-after-write consistency for new objects and overwrites (since December 2020), a 5 GiB single-PUT limit, a 5 TiB max object, a 1000-key default list page, and multipart part minimums of 5 MiB except the last part. ETags are not MD5 for multipart uploads, so any conditional-write or dedupe logic keyed on ETag behaves differently across backends. Your code compiles against every S3-compatible store and then fails in production on pagination, retry idempotency, or conditional writes.

SurfaceSignature hidesLeak shows up asConformance test
Behaviorordering, consistency, idempotencyduplicate or reordered delivery corrupts stateinject duplicate + reorder
DataETag meaning, pagination, size capsconditional writes and dedupe divergeround-trip 1001 keys; multipart ETag
IdentityIAM vs ACL vs bucket policya principal that passes on one backend 403s on anotherrun the same principal matrix
Operationsquotas, throttling, metric namesautoscaling reads a metric that does not existassert metric names and throttle behavior
Failureerror taxonomy, retry semanticsretry storm on a non-retryable errorfault-inject 429/503/timeout

Failure-semantics mismatch, concretely. A queue abstraction over SQS and Kafka: SQS standard queues are at-least-once with no ordering guarantee and a visibility timeout; Kafka gives per-partition ordering and offset replay. Code that assumes redelivery is idempotent runs on both. Code that assumes ordering silently corrupts on SQS. You find this only by injecting duplicates, reorders and partial failures in a conformance suite: reading the interface will never show it.

Measure the exit cost; do not assert it. Worked example, hypothetical figures: a migration spike of 2 engineers for 3 weeks is about 240 engineer-hours to port 6 representative workflows and validate data. If the abstraction layer costs 4 engineer-hours a week in feature lag and ownership, it pays back in roughly 60 weeks, and only if the exit scenario is real. If a vendor's differentiated capability is worth more than that, keep it native and document the escape hatch.

Decision. Keep native capabilities outside the abstraction when their value exceeds plausible exit risk. Assign conformance tests and an owner, or portability decays silently.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-10

Model total cost for usage-based pricing.

Answer

The 90-second version. The invoice is the smallest part of the number. Total cost of usage-based pricing is the marginal cost of the unit you bill on, times the volume you'll actually run, plus the floor you pay whether you run or not, plus everything that scales with usage but never appears on the invoice: retries, egress, observability, support, exit. So I'd name the driver, get the rate, compute at three volumes, then find where the curve breaks. Assumptions I'd state up front: 24-month horizon, one product, volumes I can measure today, and rates treated as illustrative until I've pulled the current price sheet.

Driver → rate table. Illustrative rates, not vendor quotes.

DriverRateBase month-12 volumeMonthly cost
Inference input$0.50 / 1M tokens2,000M tokens$1,000.00
Inference output$1.50 / 1M tokens400M tokens$600.00
Storage$0.02 / GB-month5,120 GB$102.40
Egress$0.08 / GB3,072 GB$245.76
Logs$0.30 / GB ingested400 GB$120.00
Spans$0.05 / 1M200M$10.00
Support floor$2,000 / month—$2,000.00
Total$4,078.16

Cost per 1M tokens = $4,078.16 / 2,400M = $1.70.

Growth scenario, 3× inference and 2× storage/egress: inference $4,800, storage $204.80, egress $491.52, logs+spans $260, support $2,000 → $7,756.32 over 7,200M tokens = $1.08 per 1M token. Unit cost fell 36% with no rate change. That's the first thing to internalise: the floor amortises, so early units are the expensive ones, and a "cheaper per token" quote at low volume is often the worse deal.

Where the curve breaks. Sensitivity on the base total, ±50% on one driver at a time:

Driver moved +50%Δ totalΔ %
Support floor+$1,000+24.5%
Inference+$800+19.6%
Egress+$122.88+3.0%
Observability+$65+1.6%
Storage+$51.20+1.3%

So you negotiate the floor and the commitment, not the storage rate. That ranking is the whole point of the exercise.

Nonlinear thresholds, and why each one matters:

  • Commitment true-up. Commit $5,000/month, consume $4,000, you pay $5,000. Effective unit cost rises 25% with zero volume change. Detect by reconciling committed against consumed every month.
  • Retry amplification. A 10% timeout rate with 5 hedged retries per timeout turns 1 request into 1.5. Detect by comparing your own request counter to the provider's billed count; a persistent gap is retries or health checks.
  • Prompt bloat. A 2,000-token system prompt on 2M calls/month is 4,000M extra input tokens = $2,000/month. Track input tokens per call as a metric.
  • Tier cliffs. Crossing a boundary changes the marginal rate, so a 1% volume increase can move the bill by more than 1%. Plot cost against volume, not just at your current point.

Trade-offs, and when usage-based is wrong. Committed or reserved capacity beats usage-based when the floor is stable and you can forecast within ~20%: the discount (illustratively 20%) is worth more than the option value of flexibility. Flat per-seat wins when usage per user is stable and you want cost per headcount. Self-hosting wins above a utilisation crossover you should compute, not guess.

Usage-based is the wrong choice when the driver isn't under your control (a partner's traffic, a single tenant that can 100× your bill) or when the vendor offers no cap. Then you want a hard quota, a per-tenant budget, and a contractual ceiling before you want a better rate.

Failure modes and detection.

  • Bill shock from one tenant: per-tenant attribution, alert at 3× the trailing 7-day median.
  • Egress amplification: track egress GB per request; a rise means the payload changed.
  • Observability cardinality: a new label multiplies series; alert on series count >10× week-over-week.
  • Exit cost: 5 TB at $0.08/GB is $409.60. Trivial. 500 TB is $40,960, not. Compute it at the start.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-17

Assess migration cost from the incumbent to a candidate.

Answer

What a strong candidate says first

"Assess migration cost" wants a number with an error bar, not a taxonomy. I'd ask for the incumbent, the candidate, and the constraint that decides it: usually the cutover window, or how long you can run both systems. Then:

transition (one-time) + parallel-run (rate × months) + contingency − avoided incumbent run-rate.

Parallel-run is the bucket people get wrong. It scales with wall-clock, and wall-clock is set by data volume ÷ usable throughput, not team size.

Assumptions

Hypothetical, but the shape is what matters: self-managed PostgreSQL 14 on EC2, 40 TB, 200 GB/day of WAL, 1,400 tables, 300 services; candidate is Aurora PostgreSQL 15 in the same region. Same region kills the inter-region transfer line; cross-AZ is $0.01/GB each way.

Discovery: count, don't guess

Run this per database on the source. It classifies the objects that actually cost money: extensions Aurora doesn't ship, unlogged tables that become permanent, SECURITY DEFINER functions whose owner must exist on the target.

SQL
SELECT kind, count(*) AS objects
FROM (
  SELECT 'extension' AS kind
  FROM pg_extension
  WHERE extname NOT IN ('plpgsql', 'pg_stat_statements')
  UNION ALL
  SELECT 'unlogged_table'
  FROM pg_class c JOIN pg_namespace n ON n.oid = c.relnamespace
  WHERE c.relkind = 'r' AND c.relpersistence = 'u'
    AND n.nspname NOT IN ('pg_catalog', 'information_schema')
  UNION ALL
  SELECT 'security_definer_fn'
  FROM pg_proc p JOIN pg_namespace n ON n.oid = p.pronamespace
  WHERE p.prosecdef
    AND n.nspname NOT IN ('pg_catalog', 'information_schema')
) t
GROUP BY kind ORDER BY objects DESC;

Traced against the hypothetical source:

kindobjects
security_definer_fn47
extension6
unlogged_table3

56 objects, each priced at a measured fix rate: per incompatibility, not per table. A 1,400-table schema with 6 unsupported extensions is a different job from one with 60.

Data movement

40 TB at a sustained 700 Mbps (1 Gbps at 70%) is 87.5 MB/s:

Python
size_mb  = 40 * 1_000_000        # 40 TB, decimal
mb_per_s = 1000 * 0.70 / 8       # 87.5
print(round(size_mb / mb_per_s / 86_400, 1))   # 5.3

5.3 days is the floor: pure copy. DMS full load plus CDC adds the catch-up window on top.

Parallel run and the total

Python
transition  = 6 * 4 * 25_000      # 600_000  six engineers, four months
parallel    = 180_000 * 4         # 720_000  both stacks, four months
contingency = 0.30 * transition   # 180_000
total       = transition + parallel + contingency
saving      = 150_000 - 110_000
print(total, round(total / saving, 1))   # 1500000 37.5

$1.5M to move, $40k/month saved, 37.5 months to pay back. That last number ends the meeting, which is why migration cost and migration benefit get computed together. Contingency goes on transition, not on parallel-run: parallel-run overruns are the contingency.

Failure modes and how you detect them

  • Replication slot lag: one long transaction on the source holds the slot, pg_wal_lsn_diff climbs, WAL fills the disk. Alarm on slot lag from pg_replication_slots, not on replication status. Cost: cutover slips a week.
  • Dual-write divergence: a reconciliation query finds rows where updated_at disagrees between source and target. If you can't reconcile, you can't cut over.
  • Egress and cross-AZ: $0.09/GB to the internet, $0.01/GB cross-AZ each way. A 40 TB copy crossing AZs twice is $800 nobody budgeted.
  • Contract overlap: the incumbent's annual commit doesn't stop at cutover. Check the notice period before you pick the cutover date.

The decision rule

Migrate when transition + parallel-run + contingency is less than the NPV of avoided run-rate over a payback window you're willing to defend. Sunk incumbent cost is irrelevant; future migration work is not.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-18

Evaluate an AI service with rapidly changing models and prices.

Answer

Assume we're building a production feature that uses an LLM for a bounded task: say, summarizing support tickets. We need p95 latency under 2s, cost under $0.01 per summary, and US-only data handling. The core answer: evaluate the service by pinning model versions, running a task-specific eval set on every model or price change, and measuring cost per successful task. The decision that matters is whether to build a provider-abstraction layer or stay with one vendor.

Why pin? Because gpt-4o is a moving alias. OpenAI's gpt-4o points to the latest snapshot; if you don't pin to gpt-4o-2024-08-06, your quality can shift overnight. Anthropic does the same with claude-3-5-sonnet vs claude-3-5-sonnet-20240620. Pin in config, not code.

Build a versioned eval set of 200 representative prompts with expected outputs. Run it against each candidate. Measure task accuracy (e.g., ROUGE-L), cost per 1M tokens, and p95 latency. As of late 2024, GPT-4o costs $5/1M input and $15/1M output; GPT-4o-mini costs $0.15/$0.60. Claude 3.5 Sonnet is $3/$15. Gemini 1.5 Pro is $3.50/$10.50 for <128k context. These change quarterly, so date your numbers.

Rate limits: OpenAI tier 1 gives 500 RPM and 200k TPM for GPT-4o. Exceed that and you get 429s. Detect via error rate >1% and fallback to a cheaper model. But fallback degrades quality: in our eval, GPT-4o-mini scored 12% lower on summarization. So set a quality floor. Deprecation: providers retire versions. If you pinned gpt-4-0314, it's gone. Detect via 404 errors. Price change: a 2x increase breaks unit economics. Detect via billing alerts and re-run cost model.

Abstraction layer: worth it if you need multi-provider routing or fallback. It adds ~2 weeks of engineering and ongoing maintenance. If your task is simple and you can tolerate a single provider, use their SDK directly. Deciding criteria: how much does a 10% quality drop cost you? If it's customer-facing, build the abstraction. If it's internal, maybe not.

Check data handling: OpenAI's API does not train on your data by default; Anthropic does not either. But terms change, so read them. Exit terms: can you export your eval set and prompts? If not, you're locked in.

Here's a comparison table (hypothetical latency, real prices as of late 2024):

ModelInput $/1MOutput $/1Mp95 latencyEval score
gpt-4o-2024-08-065.0015.001.2s92%
gpt-4o-mini-2024-07-180.150.600.8s80%
claude-3-5-sonnet-202406203.0015.001.5s90%

And a minimal fallback pattern:

Python
PRIMARY = "gpt-4o-2024-08-06"
FALLBACK = "gpt-4o-mini-2024-07-18"

def call_llm(prompt):
    try:
        return openai.chat.completions.create(model=PRIMARY, messages=[...])
    except openai.RateLimitError:
        return openai.chat.completions.create(model=FALLBACK, messages=[...])

So the answer: pin versions, run a versioned eval on every change, set quality and cost thresholds, and only build abstraction if the cost of switching outweighs the maintenance.

Curated: · Written: · Reviewed:

Difficulty: Medium
Q&A-7

Design a fair benchmark for two candidate technologies.

Answer

Core answer (first 90 seconds)

"Fair" isn't a property of the harness, it's a property of the decision. So I write down the decision the benchmark is meant to make, which candidate we run in production for this workload, and what result flips the choice, then fix the workload, the cost envelope and the measurement boundary before running anything.

Assumptions I'd state up front: read-heavy API traffic, ~2,000 requests/s at peak, 95% point reads by primary key and 5% writes, and both candidates must fit the same monthly cost envelope (say $4,000/month) rather than the same instance type, because cost is the real constraint. If the decision is instead "which is faster at any cost", the envelope changes and I'd say so.

The harness

Open-loop, constant arrival rate, not a fixed number of concurrent clients. A closed-loop generator waits for each response before issuing the next, so during a stall it stops offering load and under-reports tail latency. That's coordinated omission, and it's the most common way a benchmark lies.

Concretely: k6 with the constant-arrival-rate executor, or wrk2, driving 2,000 rps for 30 minutes after a 5-minute warm-up that is discarded. Three runs per candidate, alternating A/B/A/B to spread noisy-neighbour and time-of-day effects. Report p50, p95, p99, p99.9 and max, plus error rate and achieved throughput.

Sample-size arithmetic: 2,000 rps × 1,800 s = 3.6M requests per run, giving ~36,000 samples above p99 and ~3,600 above p99.9, so both are estimable. A 60-second run at the same rate gives 120,000 requests and only ~1,200 above p99: enough for p99, not for p99.9. If the SLO is p99.9, the run has to be long enough to measure it.

Fairness controls

ControlHow I hold it equal
WorkloadSame generator, same key distribution (Zipf, s=1.0), same read/write mix, same payload sizes
Cost envelopeSame $/month cap, not same instance type
TuningFixed budget of 8 engineer-hours each, documented; vendor SE help allowed but disclosed
Measurement boundaryLatency measured at the client, generator overhead excluded, same network path
Warm-up5 min discarded; caches and JIT primed identically
VersionsPinned and recorded, both on their current GA release

Deciding rule

Pre-register the threshold before running: if the p99 difference is smaller than the run-to-run spread (I'd expect ±10% on p99 across runs), call it inconclusive and decide on operational grounds. Cost, failure modes, team familiarity. If one candidate wins p99 by more than the spread at equal cost, it wins. A benchmark that can't produce "inconclusive" isn't a benchmark, it's a justification.

Failure modes

  • Coordinated omission: detected by comparing achieved rps against target; if achieved throughput drops during a latency spike, the generator is closed-loop.
  • Tuning asymmetry: one side got a week of expert tuning, the other defaults. Detected by logging hours and changes per candidate.
  • Cache priming: a warm cache makes reads look free. Detected by running cold-cache and steady-state as separate scenarios.
  • Noisy neighbours: shared cloud tenancy. Detected by alternating runs and checking variance between them.

Retain raw data and failed runs; a run that errored out is evidence, not noise to delete.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-20

How do you conduct an architectural PoC to stress-test high-throughput limitations and latency claims of a third-party vendor?

Answer

A vendor's "10,000 TPS at p99 < 100 ms" is not a claim until you know the measurement point, payload, and configuration. So the first move is to make them write it down: instance size, region, payload size, TLS on/off, connection reuse, consistency level, and whether the number is client-side or server-side. The PoC then exists to falsify that exact sentence under your production shape.

Reproduce their benchmark first. Run their config, their payload, their region. If you can't hit their number in their own configuration, stop: that's the finding, and everything after it is wasted budget. If you can, you now have a control, and you vary one dimension at a time toward production: payload 1 KB → 40 KB, TLS on, keyspace randomized so you're not measuring their cache, read/write ratio taken from your own traffic.

Size the injector with Little's Law before you blame the vendor. Required in-flight requests = throughput × latency. To sustain 5,000 TPS at 80 ms you need 5,000 × 0.080 = 400 concurrent requests. If your load generator's connection pool caps at 200, you will measure your own client, not their service. This is the most common way a PoC produces a false negative.

Use an open-loop injector and correct for coordinated omission. Closed-loop tools (a fixed set of workers looping) hide stalls: when the server pauses, the client simply sends less, and the pause never appears in the latency histogram. Schedule each request at its intended start time and measure from there:

Python
intended = t0 + i / rate          # when request i should have started
send_at(intended)
resp = await send()
record(now() - intended)          # not now() - actual_send_time

Report p50/p99/p99.9 and max from an HdrHistogram, never the mean. Run each phase at least three times, discard warmup, keep the raw histogram.

Phases, in order: reproduce → ramp to the knee → hold at the knee → break it → recover.

PhaseWhat you driveWhat you're looking for
RampStep 25% → 150% of the claimed quotaThe knee: where p99 turns up sharply. That is your real ceiling, not the advertised one.
SoakHold at 80% of the knee for 4+ hoursSlow leaks and GC/thermal drift: p99 creeping from 60 ms to 300 ms after hour 2 is the signature.
BackpressurePush past the rate limit429 with a usable Retry-After and predictable token-bucket drain. TCP RSTs, 502/504, or silent stalls are the failure.
RecoveryKill a dependency, fail over the endpointTime to recover, and whether your production retry policy (with jitter) turns the blip into a retry storm.

(Figures above are illustrative; substitute your own measured knee.)

Attribute the gap. Measure at your client edge, that is what your users see, and pull the vendor's server-side metrics for the same window. The difference is queueing, network, or their internal scheduling, and it tells you whether buying more capacity helps or not.

Decide, then write it into the contract. Exit criteria: the sustained TPS at which p99 stays under your SLO, and $/million requests at that point. Then get a benchmark clause: the right to re-run this PoC against the production service, with SLA credits tied to the number you measured, not the one in the deck.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-22

Investigate a vendor claim of unlimited scale.

Answer

What I'd say first. "Unlimited scale" is a marketing claim, not a spec: it means the vendor hasn't published the limit, not that none exists. So I'd assume the workload is ours (the real read/write mix, not a benchmark) at the tier we'd actually buy, and my job is to find the binding constraint, measure it, and report the envelope I verified. The smallest limit on any axis is the answer, and it's rarely the one on the datasheet.

Turn "scale" into axes. One word hides at least eight independent limits. I'd ask the vendor for the documented number on each, then find the minimum.

axiswhat to ask fordocumented example
concurrencymax concurrent executions/connectionsAWS Lambda: 1,000 concurrent executions per region (soft)
throughputops/s per partition or prefixDynamoDB: 3,000 RCU / 1,000 WCU per partition; S3: 3,500 PUT/s and 5,500 GET/s per prefix
data sizemax item and max partitionDynamoDB: 400 KB per item, 10 GB per partition
connectionsmax client connectionsPostgreSQL max_connections default 100
bursthow fast you can rampLambda burst concurrency 500–3,000 by region
tenants, regions, recoveryper-tenant quota, replication lag, rebuild timeask for each

Where the claim breaks: arithmetic. Suppose the vendor says "unlimited throughput" and we need 50,000 writes/s of 2 KB each. DynamoDB bills 1 WCU per 1 KB write, so each write is 2 WCU: 100,000 WCU total, which needs 100 partitions at the 1,000 WCU cap. Fine in aggregate. Now say one hot key takes 30% of traffic: 30,000 WCU on a single partition, 30× its cap. The claim is true in aggregate and false for our access pattern. That gap is the whole investigation: aggregate quotas are generous, per-partition and per-key limits are not.

Trade-offs. Three credible responses, and the deciding criteria differ. (a) Shard in our own layer and stay on the vendor's tier: cheapest, but we own rebalancing and hot-key routing. (b) Buy a higher tier or request a quota increase: least code, but check the lead time: a soft limit like Lambda concurrency can take days and a support ticket, which is useless mid-incident. (c) Move the hot path to a different store: most work, best blast-radius isolation. I'd pick on cost per verified op, lead time to raise a quota, and how much of the system fails when one shard saturates.

Failure modes and how I'd detect them.

  • Quota exhaustion: 429s and throttling once a soft limit is hit. Watch throttle counts, not averages.
  • Hot partition: one shard saturates while aggregate utilization looks low. Detect with per-partition skew, not cluster-wide CPU.
  • Control-plane stall: you can't split a partition or add capacity during the incident. Measure control-plane API latency separately from data-plane latency.
  • Burst limit: ramping faster than the burst allowance throttles even below the steady cap. Watch concurrency ramp rate.

What I'd report. The measured envelope at a named tier and date, the telemetry behind it, and the extrapolation I did not verify, then design admission control, graceful degradation, and capacity monitoring around that envelope instead of repeating the vendor's word.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-16

How do you technically evaluate SLA and business continuity claims like RPO, RTO, and multi-region failover for a mission-critical SaaS dependency?

Answer

Contractual SLAs give financial remedies, not system availability. Evaluating a mission-critical SaaS dependency requires decomposing their theoretical uptime and recovery commitments into architectural mechanisms, observable boundaries, and failover blast radiuses.

First, audit their availability math against your own topology. A vendor advertising a 99.9% monthly SLA allows up to 43.8 minutes of downtime every 30 days. If your system requires 99.99% overall availability (under 4.38 minutes monthly downtime), placing this vendor synchronously on your critical write path mathematically violates your target, because overall availability in a serial dependency chain cannot exceed the product of individual availabilities:

$$\text{Availability}{\text{total}} = A{\text{caller}} \times A_{\text{SaaS}} = 0.9999 \times 0.999 = 0.9989 \text{ (48.5 min downtime)}$$

Second, audit the definition boundaries in their Service Level Agreement:

  • Downtime exclusions: Inspect the carve-outs. Most vendors exclude scheduled maintenance windows, third-party ISP/cloud provider outages (e.g., an underlying AWS us-east-1 disruption), and degraded performance under degraded HTTP error thresholds (e.g., error rates below 5% or p99 latencies exceeding 10 seconds rarely trigger breach penalties).
  • Measurement mechanism: Identify where health is probed. Global synthetic pings from edge networks mask regional control-plane partition failures or database lock-ups. Ask if uptime is measured at the tenant API gateway or an unauthenticated status endpoint.

Third, scrutinize disaster recovery assertions (RPO and RTO):

AttributeVendor ClaimArchitectural Verification CheckFailure Mode Revealed
RPO (Data Loss)0 seconds (zero loss)Verify underlying replication mode: synchronous multi-AZ writes vs. asynchronous cross-region streaming replication.Under network partition between regions, async queues drop inflight transactions; actual RPO is lag delta (often 30s-15m).
RTO (Recovery Time)< 15 minutesInspect DNS TTLs, database promotion mechanisms, and whether routing failover requires manual operator intervention.DNS caching across public resolvers violates TTL; manual failover runbooks under uncoordinated outages stretch RTO past several hours.
Failover IsolationMulti-region active-activeProbe state synchronization, global shared components (e.g., single global auth directory / IAM), and split-brain resolution.Shared identity or control planes cause cascading cross-region failures, nullifying physical regional isolation.

Fourth, design client-side containment patterns: Never accept vendor guarantees as a replacement for client resilience. Require asynchronous decoupling via message buses or dead-letter queues where possible. For synchronous calls, enforce aggressive timeouts (e.g., 200–500 ms depending on p95), circuit breakers with fast-fail fallbacks, and local read-through caches or degraded functional pathways so a total vendor outage degrades non-core features rather than taking down primary business transactions.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-13

Evaluate data residency and sovereignty claims.

Answer

Core answer (first 90 seconds)

Split the claim in two: where the bytes rest, and who can be compelled to reach them. A regional endpoint answers neither by itself. Assume a US-headquartered SaaS selling into the EU, GDPR Chapter V (Articles 44–49) transfers, and a vendor slide that says "EU data residency."

The mechanism that breaks most claims is the split between data plane and control plane. In AWS, S3 objects and RDS data sit in eu-central-1, but IAM, AWS Organizations, billing, and the global STS endpoint (sts.amazonaws.com) are not regional. CloudTrail can deliver management events to a trail in us-east-1. Support cases and their metadata go to AWS Support, whose staff are not bound to your region unless the contract says so. So "data in Frankfurt" and "no cross-border processing" are different claims.

What to verify, and how

claimwhat actually happenshow to check
"EU data residency"Data plane in eu-central-1; control plane globalCloudTrail event history, AWS Config, S3 replication config
"Keys never leave the EU"KMS keys are regional, but multi-Region keys replicate materialkms:DescribeKey → MultiRegion: true
"No cross-border replication"DynamoDB global tables, S3 CRR, RDS cross-region read replicasConfig rules, replication configs, VPC Flow Logs to non-EU CIDRs
"Support is in-region"Default AWS Support is not region-boundContract clause plus CloudTrail AssumeRole events
"US provider, EU data"CLOUD Act (18 U.S.C. § 2713) compels US providers regardless of locationProvider jurisdiction, not config

Trace one request

A user in Frankfurt hits your API. Route 53 resolves (global). The app calls STS, if it uses the global endpoint, auth metadata leaves the region; regional STS (sts.eu-central-1.amazonaws.com) keeps it in. The object lands in eu-central-1. CloudTrail writes the management event to whichever trail you configured: check that trail's S3 bucket region. The support ticket you open about it goes to AWS Support. Four hops, two of them outside the region.

Failure modes and detection

  1. Silent replication. A DR region in us-east-1 means every write crosses. Detect: S3 CRR config, DynamoDB global table replicas, RDS cross-region replicas, VPC Flow Logs.
  2. Key material export. Multi-Region KMS keys copy material to replicas. Detect: DescribeKey MultiRegion flag; forbid via SCP.
  3. Admin access from outside. Detect: CloudTrail AssumeRole and console-login events by principal region; AWS Support case records.
  4. Telemetry. CloudWatch cross-region dashboards, third-party APM agents. Detect: egress logs, agent config.
  5. Legal compulsion. CLOUD Act / FISA Section 702. No technical control fixes it; only provider jurisdiction changes.

Trade-offs

Three options: (a) standard EU region plus SCCs and a transfer impact assessment (post-Schrems II, CJEU C-311/18, and the 2023 EU-US Data Privacy Framework adequacy decision); (b) sovereign cloud. AWS European Sovereign Cloud (Brandenburg, Germany), Microsoft Cloud for Sovereignty, Google Sovereign Cloud. EU-operated, higher cost, fewer services; (c) self-hosted in your own EU datacenter, full control, full ops burden. Decide by data class: regulated PII/PHI → (b) or (c); telemetry and non-personal → (a) with contractual controls. Get the cost delta and service-parity gap in writing before you pick.

Close

Document residual interpretation with counsel. A gap on a mandatory control is disqualifying; anything else needs a named accountable owner and an expiry date, not a verbal exception.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-9

Handle a vendor roadmap feature required by the target design.

Answer

First two minutes. Assume the feature is unshipped and nobody has committed to a date. Then it isn't a dependency, it's a bet, and the design has to be priced as one. I'd answer three things before agreeing to anything: what the design actually needs from it (API shape, limits, latency, region, SLA), the latest date I can start without it, and what the fallback costs. If the fallback is cheap, build the fallback and treat the vendor feature as an optimisation. If the fallback is expensive and the date sits inside the roadmap window, I buy an exit or I change the requirement. I would not sign a design that only works if a slide turns out to be true.

Why roadmap dependencies fail. The failure is rarely "it never ships." It's one of four shapes:

  1. It ships as preview with no SLA and a documented right to break the API.
  2. It ships GA but not in the shape you need: one region, no VPC peering, no audit log, different limits.
  3. It ships on time but the quota you need is gated behind an enterprise tier or a waitlist.
  4. It ships, then gets deprecated in favour of a successor two quarters later.

Detection signals are public and cheap to read: does the vendor's own docs label it preview or GA; does it appear on the public pricing page or only in a sales deck; does the API reference carry a versioning and deprecation policy; how often does the changelog move. A feature that exists only in a deck has no detection signal at all, which is itself the answer.

What a contract actually buys. Most enterprise MSAs exclude roadmap items from any delivery commitment, so "get it in writing" usually returns a slide with a signature on it. What is enforceable: acceptance criteria tied to a written spec both sides sign, a service credit schedule, a termination-for-convenience right with a defined notice period, and occasionally source escrow. The useful question isn't "will they commit" but "what does my exit cost if they don't."

OptionWins whenCostExit
Build the fallback nowFallback ≤ ~6 engineer-weeks; date >1 quarter outBuild + run costNone, you own it
Adopt preview behind an interfaceFeature is genuinely load-bearing and the interface is thinAPI churn, no SLASwap the adapter
Wait, contract for exitFallback is expensive and the vendor will sign termination rightsDelayNotice period + migration
Drop the requirementDesign meets its SLO without itNoneNone

Arithmetic that decides it (hypothetical figures). Fallback build: 6 engineer-weeks at a fully-loaded $3,500/week ≈ $21k, plus $1,800/month to run. Vendor feature at GA: $6,000/month, no build. Break-even is about five months. If the roadmap date is two quarters out and slips half the time, expected wait is closer to nine months: the fallback pays for itself before the feature lands. That comparison, not the roadmap, is what I'd take to the design review.

Failure modes and how I'd catch them. Preview API churn: pin the version, run a nightly contract test against the vendor sandbox, alert on schema diff. Silent quota: load test at 2× expected peak in staging before committing; if the vendor won't raise the limit in writing, treat the limit as absent. Late slip: put a go/no-go checkpoint six weeks before the latest acceptable date, owned by a named person, with the fallback already scoped. Lock-in through a proprietary data format: keep an export path and exercise it quarterly.

When to drop it. If the feature is an optimisation, a managed index that saves ops, and the design still meets its SLO without it, drop it. If it's load-bearing for a launch commitment, don't bet the launch on it.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-19

Resolve conflicting scores from security and product teams.

Answer

Ask what each score measures before comparing them. Security's 8.1 is a CVSS v3.1 base score for a technical finding; product's P2 is a delivery priority for a feature. Different units, different owners. I don't average them. I re-score the finding against the real deployment, put both sides on a money footing, and separate mandatory controls from discretionary risk.

Worked example (illustrative figures). SSRF in an internal admin endpoint. Security's vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N → 8.1. Product calls it P2: internal users only, and the feature unblocks $200k ARR.

Base CVSS assumes the endpoint is reachable as scored. It isn't: it sits behind VPN and SSO. Environmental metrics:

MetricBaseEnvironmental (VPN + SSO)
AVNetwork (0.85)Adjacent (0.62)
PRLow (0.62)High (0.27)
Impact sub-score5.25.2
Exploitability2.80.9
Score8.16.1

Then FAIR, so both sides are in the same unit:

ScenarioLEF /yrLoss magnitudeALEvs $200k ARR
As-is0.2$500k$100kbelow
After mitigation0.02$500k$10kbelow
LEF stress0.5$500k$250kabove
Magnitude stress0.2$100k$20kbelow the $6k fix

The gate: if the SSRF can reach 169.254.169.254, this is mandatory regardless of the arithmetic. Block link-local, require IMDSv2, add an egress allowlist: roughly two engineer-days, ~$6k. Residual LEF 0.02/yr, ALE $10k. Now the tradeoff is explicit: $6k against $100k expected loss and $200k revenue.

Sensitivity tells you which number to test first. At LEF 0.5/yr the ALE ($250k) exceeds the revenue; at $100k loss magnitude the ALE ($20k) is below the fix cost. So the contested input is LEF, and the way to settle it is evidence about how often the endpoint is probed, not another meeting.

If the endpoint can't reach metadata and the only impact is admin-only data, it's discretionary. Product owns the acceptance: with a named owner, expiry and monitoring. Decision record: score used, assumptions, owner, expiry, reopen trigger. Monitoring: alert on outbound traffic to 169.254.169.254, admin endpoint 5xx, canary token in metadata. Review in 90 days or when the endpoint becomes internet-facing.

Failure modes: averaging 8.1 and 2 to get 5.05. Looks medium, skips the gate; detection is a risk register with no owner or expiry. Product accepting risk without authority; detection is a missing CISO signature. Security blocking without an alternative, so the team ships a shadow endpoint; detection is cloud asset inventory showing an unapproved load balancer. Each costs more than the mitigation.

The resolution isn't one number. It's a decision record saying which score was used for what, who owns the residual risk, and what reopens it.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-24

Explain why the highest matrix score might not win.

Answer

Assume the matrix is a weighted sum: each option scored 1–5 per criterion, weights summing to 1, scores coming from estimates rather than measurements. Under those assumptions the total answers "which option is best on average under my weights." It does not answer "which option should we pick," and the gap between those two questions is where the top score loses. Three things push a high total off the podium: a hard gate the averaging hid, a margin smaller than the noise in the inputs, and a criterion that is really the same criterion counted twice.

Worked example. Choosing a primary datastore for a payments ledger, 3 TB, 10k QPS peak.

criterionweightA: Postgres + replicasB: distributed SQLC: managed KV
p99 read latency0.25435
cost/month at 3 TB0.20423
team familiarity0.15523
managed failover / RTO0.20355
write headroom0.20255
weighted total3.553.454.30

A: 1.00 + 0.80 + 0.75 + 0.60 + 0.40. B: 0.75 + 0.40 + 0.30 + 1.00 + 1.00. C: 1.25 + 0.60 + 0.45 + 1.00 + 1.00.

C wins the arithmetic and is disqualified. The ledger needs multi-item ACID transactions across partitions: a pass/fail requirement, not a 1–5 score. Averaging it into "write headroom" let a 5 on throughput buy back a capability the workload cannot run without. That is failure mode one: mandatory requirements scored instead of gated. Detect it by listing every boolean requirement (data residency, license terms, transaction semantics, an RTO ceiling) and deleting any option that fails one before you compute totals.

Now A beats B by 0.10. Move 0.10 of weight from familiarity to failover and B wins 3.75 to 3.35. One weight shift inside the range two reasonable engineers would argue about flips the decision, so the matrix has not decided anything; it has ranked noise. Detect it by re-running with each weight ±0.05 and each score ±1 and checking whether the winner changes. If it does, the honest output is "A and B are tied, decide on something else."

Failure mode three: latency and write headroom both proxy provisioned capacity, so C's 5/5 counts capacity twice and inflates its lead. Detect it with a correlation matrix over the score columns; |r| > 0.8 means merge the pair or drop one. A fourth, quieter one: weights chosen after the scores are visible. That is a decision laundered through arithmetic, and the fix is to freeze weights before scoring.

Alternatives worth naming. A weighted product (geometric mean) punishes a single low score harder than a sum does: under it A scores 3.40, B 3.19, C 4.18, same order here but not always. Lexicographic ordering sorts on the criterion you care most about and breaks ties on the next, which is what you actually want when one criterion dominates. A Pareto frontier keeps every non-dominated option and forces the judgment into the open instead of hiding it in weights.

Trust the matrix when criteria are independent, scores come from measurement, weights were agreed before scoring, no hard gate exists, and the margin exceeds the noise. Otherwise treat the total as an input to the decision, not the decision. If judgment overrides it, record the reason, the decision owner and the dissent: the matrix makes reasoning inspectable; it does not transfer accountability to arithmetic.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-3

Design a vendor-selection process for a regulated workload.

Answer

First I'd clarify what "regulated" means here, because it decides the whole process. Assume a US healthcare claims service handling PHI under HIPAA, expanding to EU members, so GDPR applies too. That gives me named obligations: HIPAA Security Rule, GDPR Art. 33 breach notification, and if any cardholder data touches it, PCI DSS 4.0.

The process is a gated funnel, not a scorecard. Obligations become pass/fail gates; only vendors that clear every gate get scored on the things that are actually trade-offs.

Gates: a fail ends the conversation, not a line item to accept:

GateConcrete test
AttestationSOC 2 Type II covering the exact service, or ISO 27001 plus a bridge letter. No report, no shortlist.
Cardholder dataIf the vendor stores, processes or transmits PANs, it must be a PCI DSS Level 1 Service Provider with a current AOC.
ResidencyGDPR-scoped data at rest and in transit stays in eu-central-1 or eu-west-1; full sub-processor list disclosed.
TransferDPA signed with EU SCCs (2021/914) before any EEA data leaves.
BreachVendor notifies us within 72 hours, matching GDPR Art. 33.
ExitDocumented export format, data returned within 30 days of termination, no exit fee.

Then score what's left: p99 latency, cost per million requests, support SLA, roadmap fit. Here's the arithmetic that usually decides it. Vendor A quotes $0.0004/request, Vendor B $0.0009. At 50M requests/month that's $20k vs $45k: a $300k/year gap. If B's p99 is 40 ms and A's is 180 ms, and the SLA is 200 ms, A passes but with no headroom; that's a scoring input, not a gate. The accountable owner signs the ADR, and the monitoring triggers (sub-processor change, breach, SLA miss) go into the contract, not the wiki.

Build, buy, status quo: build only if the control is a differentiator and you can carry the audit. Standing up your own PCI DSS scope means an annual QSA assessment, roughly $50k–$150k/year plus engineering. Buy when the vendor already holds the attestation: you're renting their compliance. Status quo wins when the current system clears every gate and migration cost exceeds the risk reduction; say that out loud rather than defaulting to a new vendor.

Failure modes, with how you'd catch them:

  • Gate creep. A failed gate gets logged as "residual risk" and the vendor is onboarded anyway. Detection: count open exceptions older than 90 days. If it's ever above zero, the funnel is decorative.
  • Scorecard theater. Weights are filled in after the decision. Detection: compare the scoring sheet's timestamp to the decision date.
  • Residency drift. The vendor adds a sub-processor in another region. Detection: quarterly diff of the sub-processor list; alert on any new entry.
  • Exit trap. Export is documented but never tested. Detection: annual export drill; if it takes more than 30 days or needs vendor engineers, exit is not real.

When not to run this: if the workload isn't actually regulated (internal tooling, no PHI, no PANs) the gate funnel adds 6–10 weeks for nothing; use a lighter evaluation. And if there's a sole viable vendor, gates still apply but the scoring stage is theater, so go straight to contract terms and exit.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-23

Design ongoing vendor-risk monitoring after selection.

Answer

What I'd say first

Before designing anything I'd ask two things: how many vendors, and which ones can take the product down or touch regulated data. Monitoring effort should track that, not vendor count.

Assume a 40-vendor portfolio: 6 tier-1 (on the customer-facing path or processing personal data), 14 tier-2 (internal dependency, recoverable inside a day), 20 tier-3 (replaceable tooling). Tiering is the design decision; everything else follows from it.

Tiering drives cadence and depth

TierReview cadenceAssuranceTelemetry
1Monthly ops review, quarterly business reviewSOC 2 Type II annually, pen-test summary, DPA subprocessor listOwn synthetic probes plus vendor status feed
2QuarterlySOC 2 or ISO 27001 annuallyVendor status feed only
3Annual self-attestation questionnaireNothing beyond contractNone

Signals and thresholds. Each one has an owner and an escalation path, otherwise it's a dashboard nobody reads.

  • Availability: tier-1 SLO 99.9% monthly. Page when trailing-30-day availability drops below 99.5% or error-budget burn exceeds 2x over 6 hours.
  • Support: P1 first response within 1h per contract. Escalate to the account team after two P1 SLA breaches in a quarter.
  • Vulnerabilities: on the vendor-managed surface, a critical CVE unpatched past 7 days opens a security ticket; past 30 days triggers a contract review.
  • Assurance: calendar alert 90 days before SOC 2 expiry; a bridge letter is required if the gap exceeds 30 days.
  • Subprocessors: DPAs typically give 30 days' notice; review a new subprocessor within 5 business days.
  • Commercial: track unit price (per seat, per API call) quarterly; flag more than 7% year-over-year uplift before renewal.
  • Concentration: no single vendor on more than 30% of a critical dependency path without a qualified second source.

The part that actually catches problems: reconcile vendor reports against your own telemetry. A vendor's status page is a marketing surface. For tier-1 vendors, run synthetic probes from two regions against the vendor's endpoints and compare monthly. Example: a vendor reported 99.98% availability for March; your probes measured 99.71% because a 40-minute regional outage never appeared on the status page. That 0.27-point gap is the signal: either the vendor's monitoring is blind to your region or the incident wasn't disclosed. Both are escalation-worthy. Same method for support: compare the vendor's ticket timestamps against your own first-response logs.

Failure modes and how you'd see them

  • Status-page optimism or silent degradation: probe-versus-report divergence above 0.1% in a month.
  • Renewal ambush: unit price jumps at renewal with no notice. Caught by the quarterly price tracker, not the contract.
  • Assurance lapse: SOC 2 expires with no bridge letter. Caught by the 90-day calendar alert.
  • Concentration creep: your second source gets acquired by the first. Caught by the quarterly ownership-graph review.

Trade-offs. Full synthetic probing of 40 vendors costs more than the risk it covers. Tier-3 vendors get an annual questionnaire and nothing else, deliberately. Monitoring is real engineering time, roughly one engineer-day per tier-1 vendor per month, so the tiering has to earn its keep. If a vendor is genuinely replaceable in a week, lighter monitoring is the right call.

Exit readiness is part of monitoring, not a separate project: tier-1 vendors get an annual export-and-restore exercise, and a failed exercise is itself an escalation trigger.

Curated: · Written: · Reviewed:

Difficulty: Hard
Q&A-25

Close a selection process when evidence remains incomplete.

Answer

What I say in the first two minutes. In two weeks you will not close every gap, so stop trying. Sort the gaps by whether they can flip the decision, buy the cheapest evidence for the ones that can, and shape the commitment so whatever uncertainty remains is cheap to reverse. Gaps sitting on a hard gate (a security certification, data residency, a legal term) are not bought down with a pilot. They get resolved, or the decision gets delayed.

Classify the gaps first. Two finalists:

GapCan it flip the decision?Cheapest evidenceCostLead time
B's uptime unknownYes: below 99.9% kills it2-week pilot on shadow traffic$15k2 weeks
B's integration effort unknownYes: above 10 person-weeks erases the savings1-week spike porting one critical integration$8k1 week
B's SOC2 missingYes: hard gateAudit report or bridge letter from the vendor$0days
A's price firm?No: contracted rate———

Worked trace. A: $200k/yr, 99.95% measured over 12 months, SOC2 Type II, integration estimated at 6 person-weeks by a reference customer. B: $120k/yr, no uptime data, no SOC2, integration unknown. Loaded engineering cost $5k/person-week.

  • Annual license delta: $200k − $120k = $80k in B's favour.
  • One-time integration: A = 6 × $5k = $30k. B at the 10-week bound = $50k, so B's one-time premium is at most $20k.
  • Net first-year advantage for B: $80k − $20k = $60k at the bound, $80k if B integrates as fast as A.
  • Pilot costs $15k. Break-even success probability = $15k / $60k = 0.25.
  • At P(success) = 0.6: EV = 0.6 × $60k − $15k = $36k − $15k = $21k. Positive against the $0 of picking A today, so run the pilot.

The pilot rejects; it does not confirm. Two weeks is 336 hours. A 99.9% bar allows 20 minutes of downtime, so any pilot showing more than ~20 minutes fails B outright. But zero downtime across 336 hours only bounds downtime at roughly 3/336 ≈ 0.9% (one-sided 95%), i.e. you can claim ≥ ~99.1%, not 99.9%. The decision rule is therefore asymmetric: the pilot can eliminate B, and passing it only earns B the right to be judged on its own 12-month monitoring data or a contractual SLA with credits. Treating a clean pilot as proof of 99.9% is the most common way this goes wrong.

Hard gates. If B cannot produce SOC2 Type II before the deadline and security will not sign a compensating control, you delay or reject. Schedule pressure is not approval.

Failure modes and how to catch them. Relabelling unknown as low risk: catch it by asking what evidence would change your mind; if nothing would, you are guessing. Using the deadline as the approver: catch it by requiring a named authority to accept the risk in writing.

Record it. Confidence in B's uptime: 60% before the pilot, 90% after. Owner: me. Expiry: 2025-04-01. Review trigger: production uptime below 99.9% for two consecutive weeks.

Curated: · Written: · Reviewed:

Difficulty: Hard