Infrastructure Strategy and Technology Selection Questions
Setting technical direction for infrastructure and deciding what to build on. Covers infrastructure vision and long-term roadmap, modernization and technical-debt strategy, platform decisions, and organizational and governance considerations, alongside the decision framework for adopting or retiring technology: build-versus-buy-versus-cloud-versus-on-premises trade-offs, vendor and platform evaluation, technology-portfolio rationalization, requirements-driven service selection, and weighing total cost of ownership and risk. It also covers managing an existing vendor relationship: quantifying and mitigating lock-in, negotiating contract terms, and planning an exit from a service the organization depends on. The leadership-altitude discipline of directing an infrastructure estate over time, building consensus among stakeholders with conflicting priorities, and persuading leadership or a team to accept a major technology change.
You inherit a legacy monolith running on aging infrastructure with manual, high-risk deploys. Leadership asks for a safe modernization plan with minimal business risk. Describe how you'd sequence and phase the modernization, including discovery, telemetry, and risk controls.
Sample Answer
Direct answer
Sequence this as an incremental, strangler-fig style replacement (extracting one piece of the monolith at a time behind a routing layer, rather than rewriting it wholesale), and put discovery and telemetry before any code change, because a big-bang rewrite of a revenue-critical monolith is the single most common way this kind of project fails.
Structured elaboration
flowchart LR
A[Discovery: map real call graph and data dependencies] --> B[Telemetry baseline: instrument before touching code]
B --> C[Extract one low-risk module behind a facade]
C --> D[Dual-run and diff against the baseline]
D --> E{Matches baseline?}
E -- yes --> F[Cut over, then repeat on next module]
E -- no --> C
F --> G[Decommission old path after a bake period]
Phases
- Discovery (2 to 4 weeks): map the monolith's actual call graph and data dependencies, not the outdated architecture diagram, and interview the on-call team for the tribal knowledge of which parts are actually scary in practice.
- Telemetry first, before any code changes: instrument distributed tracing, error rates, and latency percentiles (p95 and p99, the 95th and 99th percentile) so a "before" baseline exists; there is no way to prove a change did not make things worse without one.
- Strangler-fig extraction: carve out one well-bounded, low-risk module first, deliberately not the scariest one, route to it through a facade, and run it in shadow (dual-run) alongside the old path, diffing outputs before cutting traffic over.
- Iterate, prioritized by a risk-versus-effort score, always keeping the monolith itself deployable and the previous extraction's rollback path intact.
- Decommission the old code path only after the new path has run at 100 percent traffic for a defined bake period with no regression against the phase-one baseline.
Risk controls throughout
Feature flags for instant rollback, percentage-based canary traffic shifting, an explicit rollback trigger (for example, if p99 latency exceeds baseline plus 20 percent for 15 minutes, roll back automatically), and a change freeze calendar around peak business periods.
Worked example
An e-commerce monolith's checkout module processes roughly $2,000,000 a day in revenue. The telemetry baseline shows checkout at 800 milliseconds p99 latency and a 0.3 percent error rate. Rather than starting the strangler-fig pattern on checkout itself, the first extraction targets the lower-risk, read-only order-history module, validating the whole pattern (facade, dual-run, cutover, rollback) with a near-zero blast radius (blast radius: how much of the system would be affected if this extraction goes wrong). Only after two successful low-risk extractions does checkout get extracted, behind a 1 percent traffic canary for the first week before ramping up, so the riskiest module benefits from a pattern that has already been proven twice elsewhere.
Trade-offs and pitfalls
There is a real political pull to start with the scariest, highest-visibility module first, since that is what leadership actually asked about; the safer sequence, proving the pattern on a low-risk module first, trades slower initial visible progress for a dramatically smaller blast radius if something goes wrong, and that trade is worth naming out loud to stakeholders rather than making silently. Skipping the telemetry baseline is the second-most common failure, since a regression cannot be detected against a baseline that was never measured. And an open-ended decommission plan ("we will delete the old code eventually") almost never actually happens without a scheduled forcing function tied to a specific bake-period end date.
Given a customer's requirement profile (custom workflows, strict data sovereignty, moderate budget, need for a rapid launch), build a decision scorecard template (weights and scoring rubric) that could be reused to recommend build vs. buy and cloud vs. on-premises.
Sample Answer
A reusable scorecard needs two layers kept separate: a fixed list of weighted criteria that apply to any customer with this shape of requirement, and a 1-5 scoring rubric applied fresh to each candidate option. For a customer with custom workflows, strict data sovereignty, a moderate budget, and pressure to launch fast, sovereignty and time-to-launch carry the most weight, and one criterion (sovereignty) is treated as a gate rather than a trade-off: no amount of cost or feature advantage should buy back a compliance violation.
The template: criteria, weights, and rubric anchors
| Criterion | Weight | 5 (best) | 3 (workable) | 1 (worst) |
|---|---|---|---|---|
| Data sovereignty / compliance fit | 25 | Data never leaves the required jurisdiction; contractual and technical controls both confirm it | Data stays in-region but relies on vendor attestation with no technical enforcement | Data can leave the jurisdiction or vendor cannot confirm where it is stored |
| Time to launch | 25 | Live in under 6 weeks with the team already available | Live in 3 to 6 months | Over 6 months or dependent on headcount not yet hired |
| Fit to custom workflow requirements | 20 | Meets the workflow natively, no workaround | Meets it via configuration or a documented workaround | Requires a structural compromise to the workflow |
| 3-year total cost of ownership (TCO, all licensing, hosting, and staffing costs summed over three years) against budget | 15 | Comfortably inside budget with headroom for growth | At budget ceiling | Exceeds budget or has open-ended cost exposure (for example uncapped usage pricing) |
| Operational burden vs. team capability | 10 | The existing team can run it with no new hires or skills | Needs one new skill the team can pick up in weeks | Needs a specialist role the org does not have and cannot hire fast enough |
| Exit and portability risk | 5 | Data and workflow logic export in an open, documented format | Export is possible but requires vendor cooperation or a paid service | No supported export path exists |
To score an option: rate it 1-5 against each row, multiply by the weight, and sum. Before summing, check the sovereignty row: if it scores below 3, the option is disqualified regardless of total score, because for this customer sovereignty is a hard requirement, not one input among several to be traded off against a good price.
Worked example
Three candidate paths for this customer: (a) build the workflow engine in-house, (b) buy a commercial SaaS (software as a service) product hosted only in the vendor's US region, (c) buy the same SaaS product's regional-residency tier, which runs a dedicated instance in the customer's home region at a 20% price premium.
| Criterion (weight) | (a) Build | (b) Buy, US-only | (c) Buy, regional tier |
|---|---|---|---|
| Sovereignty (25) | 5 | 1 (gate fails) | 5 |
| Time to launch (25) | 1 (design and build a custom workflow engine takes quarters) | 5 | 4 (contracting and regional provisioning adds weeks) |
| Workflow fit (20) | 5 | 3 | 4 |
| 3-yr TCO vs budget (15) | 2 (engineering headcount cost dominates) | 4 | 3 |
| Operational burden (10) | 1 (new platform to run and patch) | 5 | 5 |
| Exit risk (5) | 5 | 2 | 3 |
Option (b) is disqualified on the gate before any arithmetic. Comparing (a) and (c): (a) scores 5(25)+1(25)+5(20)+2(15)+1(10)+5(5) = 125+25+100+30+10+25 = 315 out of a possible 500. (c) scores 5(25)+4(25)+4(20)+3(15)+5(10)+3(5) = 125+100+80+45+50+15 = 415. Buying the regional tier wins on the numbers, and it also matches the plain-language read of the requirements: it satisfies sovereignty without the multi-quarter build time this customer said it cannot afford.
Trade-offs and pitfalls
The weights are a forcing function for an explicit conversation with the stakeholder, not a claim of scientific precision, so do not present the final score to a decision-maker as more rigorous than it is; show the raw per-criterion scores alongside the total so a reviewer can see which single row is driving the outcome. The most common misuse of a template like this is reusing the same numeric weights unchanged across engagements: the criteria list is reusable, the weights are not, and they should be renegotiated with the stakeholder for each customer before scoring starts. A second pitfall is scoring total cost of ownership in list price only; staffing and integration time belong in that row, or a cheap-looking option quietly wins on a number that ignores its real cost. Finally, resist collapsing the gate criterion into the weighted sum: a hard compliance requirement that merely lowers a score can still be outvoted by a large weighted total elsewhere, which is exactly the failure mode a gate exists to prevent.
Tell me about a time you persuaded stakeholders to change a tool, vendor, or infrastructure component they were attached to. Walk through the situation, how you built consensus, the objections you encountered, and the measurable outcome.
Sample Answer
The strongest version of this story names the specific stakeholder's underlying interest (not just their stated position), describes how a low-risk proof was used to make the case with evidence instead of argument, and states a measurable outcome the stakeholder themselves would recognize as the win. The same underlying competency shows up in several shapes: recommending a managed service over building something in-house, leading a platform evaluation and adoption effort, or persuading a team that was skeptical of a specific new tool. Pick whichever one actually happened and tell it with that specificity.
Building the story
- Situation: name the incumbent tool, vendor, or component, and be honest about why it was sticky, usually a mix of sunk cost (years of runbooks and tribal knowledge built around it), legitimate risk aversion (the current thing, however dated, is known to work), and sometimes a personal stake (the person being asked to change owns that system's reputation).
- Task: state the concrete reason a change was worth pursuing (a cost, reliability, or velocity problem the incumbent was causing).
- Action: the persuasion mechanism matters more than the argument. A credible version usually includes: scoping a low-risk pilot on something that wasn't business-critical, defining success criteria with the skeptical stakeholder before running it (so the result can't be disputed as biased afterward), and bringing that stakeholder in as a co-owner of the transition rather than someone being overruled.
- Result: state the outcome in terms the objecting stakeholder's own scorecard would recognize, and be ready to say what would have happened if the pilot had failed, since a strong answer names the walk-away criteria, not just the win.
A related but distinct version of this story is not about overcoming resistance at all: it is a neutral, end-to-end evaluation process, defining selection criteria up front, running a proof of concept or benchmark against real workload data, quantifying the relevant non-functional requirements (NFRs: qualities like latency, availability, or security posture, as opposed to a specific feature), and presenting a recommendation to stakeholders who did not have a strong prior attachment either way. Both are legitimate answers to this question; the difference is whether the hard part of the story was building evidence or building consensus against attachment, and a candidate should tell whichever one is actually true rather than manufacturing conflict that wasn't there.
Worked example (skeleton)
A team owned an aging configuration-management tool that had years of custom runbooks built around it, and the person who had built most of those runbooks was, understandably, the most skeptical voice in the room about replacing it. Rather than opening with a comparison deck, the candidate proposed running the new tool on a single non-critical internal service for one release cycle, with the skeptical engineer helping define what "working" meant before the pilot started: deployment lead time, number of manual interventions needed, and rollback count, measured the same way on both old and new tooling over a comparable number of deployments. When the pilot's numbers held up, the skeptical engineer, now a co-author of the migration runbook rather than someone being overruled, became one of the people advocating for the wider rollout. The measurable outcome cited in an interview should be the metric that was agreed on up front (fewer manual interventions per deployment, say), not a number invented after the fact to sound impressive.
Trade-offs and pitfalls
- Presenting the story as "I convinced them with a better argument" and skipping the relationship work (co-ownership, agreeing on success criteria in advance) makes the story sound like it worked through logic alone, which interviewers are right to be skeptical of.
- Quoting an improvement number without describing how it was measured invites the obvious follow-up: measured against what baseline, over what sample size. Have that answer ready.
- Not naming what would have counted as failure suggests the "evaluation" was really a foregone conclusion looking for validation, which undercuts the credibility of the whole story.
Design a governance model for ongoing cloud vendor evaluation after adoption. Cover the review cadence, the KPIs you'd track (cost, SLO compliance, security incidents), escalation paths, how you'd keep the vendor's roadmap aligned with your needs, and what would trigger a re-evaluation or exit.
Sample Answer
Governance for an already-adopted cloud vendor is not a one-time review, it is a standing cadence that catches drift on cost, reliability, and security before any one of them becomes a crisis, paired with a clear, pre-agreed definition of what would trigger re-evaluating or exiting the vendor so that decision is not being made for the first time under pressure.
Review cadence
Run a lightweight monthly check on the operational metrics below, owned by the team actually using the vendor day to day, and a deeper quarterly business review involving procurement, security, and engineering leadership that looks at trend, not just the latest snapshot. Reserve an annual strategic review, timed ahead of any contract renewal decision point, that explicitly revisits whether this vendor is still the right choice given how both the vendor's roadmap and your own needs have moved over the year, rather than treating renewal as a formality.
Key performance indicators (KPIs) to track
Cost. Track actual spend against the committed or forecasted budget, and separately track unit cost (cost per transaction, per gigabyte stored, or whatever normalizes for growth) so a rising total spend from healthy growth is not confused with a genuine cost-efficiency problem.
Service-level objective (SLO) compliance. Track the vendor's actual measured performance against your own contractual service-level agreement (SLA) terms, using your own independent monitoring rather than solely the vendor's self-reported dashboard, since the vendor grading its own homework is a known blind spot, not a hypothetical one.
Security incidents. Track any security incident or vulnerability disclosure involving the vendor, including near-misses reported publicly about the vendor even if your own account was not directly affected, since a pattern of incidents at the vendor is itself a leading indicator worth escalating on, not just a lagging count of incidents that hit you directly.
Escalation paths
Define, in advance, which metric threshold triggers which level of escalation: a single missed SLO in a given month triggers a standard account-management conversation logged for the quarterly review; a pattern of two or more consecutive months missing SLO, or any security incident directly affecting your data, triggers an executive-level escalation to the vendor and a documented internal risk assessment; and a sustained pattern across multiple quarters, or the trigger conditions defined below, initiates a formal re-evaluation process rather than another round of account-management conversations.
Keeping the vendor's roadmap aligned with your needs
Maintain a standing, direct channel with the vendor's product or account team (not just support), and use the quarterly business review to present your own upcoming needs explicitly, so the vendor has visibility into where you are headed and you have visibility into whether their roadmap is moving toward or away from that. Where the relationship's scale justifies it, negotiate input into the vendor's roadmap prioritization (a customer advisory board seat, or a documented feature-request process with committed response timelines) as a contractual term, not an informal courtesy that depends on which account manager you happen to have.
What would trigger a re-evaluation or exit
Define these triggers before you need them: a sustained cost increase beyond an agreed threshold (for example unit cost rising more than 15% year over year with no corresponding increase in your usage or the vendor's service tier), two or more consecutive quarters of SLO non-compliance, a security incident that directly compromised your data, a material and unfavorable change in the vendor's ownership or roadmap direction (an acquisition that deprioritizes the product you depend on), or the emergence of a genuinely better alternative validated through the same evaluation framework used for the original vendor selection, not just a competitor's marketing claim.
Trade-offs and pitfalls
Running a governance program has a real ongoing cost in engineering and procurement time, so calibrate its intensity to the vendor's actual criticality: a vendor underpinning a core production dependency justifies the full monthly-quarterly-annual cadence above, while a low-criticality vendor can run on a lighter, quarterly-only version of the same structure. The most common pitfall is defining the KPIs and triggers only in the abstract and never actually building the independent monitoring needed to measure SLO compliance without relying on the vendor's own dashboard, which quietly turns a governance program into a paperwork exercise that would not have caught a real problem. A second pitfall is treating the annual strategic review as a rubber stamp on renewal because switching costs feel high in the moment; the cost of switching should already be a known, monitored number (via the exit-cost tracking from the original vendor evaluation) rather than a fresh, panicked estimate made during the renewal conversation itself.
Design a vendor exit strategy for a mission-critical managed service you depend on. Cover the contractual, technical, and operational steps: data-export formats, API-compatibility fallback, contract freeze periods, dual-run testing, and the readiness to bring the service in-house if the vendor sunsets it or the relationship breaks down.
Sample Answer
Direct answer
A vendor exit strategy is only real if it has been rehearsed; a document describing what you would do if the vendor sunsets the service is not the same thing as knowing the export actually works. Cover it in three layers, contractual, technical, and operational, and underneath the technical layer, be specific about how a real data migration would actually execute under time pressure.
Structured elaboration
Contractual
- Explicit data-export rights: which format, at what frequency, at no additional cost.
- A reasonable termination clause with adequate notice, and a defined contract freeze period: a transition window during which the vendor guarantees no breaking API or pricing changes.
- Source or configuration escrow if meaningful business logic lives inside vendor-hosted workflow configuration, not just data.
Technical
- An API-compatibility fallback layer: an internal adapter your application already calls, so a replacement backend can be pointed to without touching every call site.
- Canonical data kept in an open, standard format alongside whatever the vendor's own optimized copy is.
- Dual-run testing: running the incumbent and a candidate replacement side by side and diffing outputs before ever committing to a cutover.
Operational
- A named owning team and a written runbook for bringing the capability in-house or switching vendors.
- Explicit trigger conditions that start the exit clock: a sunset notice, a price increase beyond an agreed threshold, or a defined number of SLA (service-level agreement) breaches in a rolling window.
The migration mechanics underneath the plan
When the trigger fires, the actual database migration has five concrete steps:
- Extraction: take an export at a defined checkpoint, choosing between a logical dump (slower, portable, verifiable row by row) and a block-level snapshot (faster, but tied to the source engine's format).
- Transformation: map schema and types explicitly, and flag every vendor-specific extension (a proprietary column type, a non-standard index) that has no direct equivalent, rather than silently dropping it.
- Online versus offline transfer: offline means pausing writes and bulk-copying, which is simple and fast but causes downtime; online means streaming ongoing changes via change-data-capture (CDC, a technique for capturing row-level changes as they happen) into the new system, followed by a short final cutover window, which is more complex but avoids extended downtime.
- Encryption and key handling: re-encrypt with your own key management system immediately on arrival; never let data sit unencrypted, even briefly, at the destination, and if the source vendor held the encryption keys, plan the key release or rotation as an explicit extraction step, not an afterthought.
- Integrity validation: row counts, checksums on a sorted export compared against the source, and a reconciliation query, all run before the old system is decommissioned, not after.
Worked example
A company depends on a proprietary managed workflow-orchestration vendor that issues a 12-month end-of-life notice. At month 12-before-deadline (T-minus-12), the notice is the trigger that starts the runbook. By T-minus-9, a dual-run environment is stood up against the chosen replacement. By T-minus-6, the first full dual-run diff test runs on a non-critical workflow, surfacing that the vendor's proprietary retry-backoff configuration has no direct equivalent and must be reimplemented explicitly, which is exactly the kind of gap the transformation step is meant to catch early rather than at cutover. By T-minus-3, the highest-volume workflow completes its own dual-run validation. At T-0, traffic cuts over behind a canary, with the old system kept running in a read-only, rollback-ready state for a defined 30-day bake period before decommissioning.
Trade-offs and pitfalls
Running a dual-run environment is real, ongoing, budgeted cost, not a free insurance policy; treating exit-readiness as costless is how it never actually gets built. The more common failure, though, is writing the contractual export right and never having engineering validate that the export is complete and actually loadable, so the plan looks solid on paper and fails the first time it is exercised for real. An untested runbook fails exactly when you need it most.
Unlock Full Question Bank
Get access to all Infrastructure Strategy and Technology Selection interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.