ArchitectMind
  1. Home
  2. Java Ecosystem
  3. Book 10 · Security, System Design & Solution Architecture
  4. Volume V
  5. Alternatives
Book 10 · Volume V — Architecture Decisions, Trade-offs & Risk · Topic 1.3

Alternatives

Generating real options, evaluating them fairly, and knowing when the evidence is strong enough

11 min readStage 4 · Production & architecture10 interview questions
Chapter
Chapter 1 — Architecture Decisions
Prerequisites
Topics 1.1–1.2
You will be able to
Generate a genuine set of options including status quo and simplest, filter with must-haves, score options against weighted drivers, gather proportional evidence, run sensitivity analysis, present results clearly, handle dissent, and record why alternatives were rejected
Covers
Alternatives
On this page
  1. 1. Concept / Definition
  2. 2. Why It Exists
  3. 3. Core Concepts — Generating Options
  4. 4. How It Works Internally — Evaluation Methods
  5. 4A. Deep Dive — Evidence Proportional to Significance
  6. 4B. Deep Dive — Sensitivity and Robustness
  7. 4C. Deep Dive — Qualitative Judgement
  8. 4D. Deep Dive — Presenting Alternatives
  9. 4E. Deep Dive — Anti-Patterns
  10. 4F. Deep Dive — Option Archetypes by Decision Type
  11. 5. APIs / Features / Syntax
  12. 6. Practical Examples
  13. 7. Common Problems & Mistakes
  14. 8. Performance & Production Considerations
  15. 9. Architecture & Design Considerations
  16. 10. Interview Questions & Answers

1Concept / Definition

Alternatives are the credible options available for an architectural decision. Considering them explicitly prevents false choices ("we must use X"), exposes trade-offs, and makes the chosen option's advantages visible. A good set of alternatives includes the status quo, the simplest thing that could work, and genuinely different approaches — not strawmen designed to lose — each evaluated against the same weighted drivers with evidence proportional to the decision's significance.

From many ideas to one decision
Figure 1 — From many ideas to one decision
Alternatives scored against weighted drivers
Figure 2 — Alternatives scored against weighted drivers
VocabularyMeaning
Must-have filterEliminates options failing non-negotiable criteria
Weighted scoringScore × weight summed across criteria
Sensitivity analysisTesting if the winner changes with weights
StrawmanOption included only to look bad
Table 1 — Terms

2Why It Exists

Without real alternativesConsequence
"There was no choice"Missed cheaper/simpler solution
Trade-offs invisibleSurprised by consequences
Stakeholders feel railroadedResistance, late vetoes
Rejected options re-proposedRepeated debates
Table 2 — Why

3Core Concepts — Generating Options

SourceExample (fraud scoring integration)
Status quoKeep synchronous scoring in FNOL
SimplestNightly batch scoring
Opposite approachAsynchronous event-driven scoring
Buy vs buildVendor real-time API vs in-house model
HybridRules at FNOL + ML asynchronously
DeferPilot manual referral for 3 months
Table 3 — Divergent generation

4How It Works Internally — Evaluation Methods

MethodUse when
Weighted scoringSeveral criteria, clear drivers
Pugh matrix (+/−/0 vs baseline)Early, qualitative comparison
Pairwise comparison (AHP)Many criteria, contested weights
Cost-benefit / NPVFinancially dominated decisions
Scenario analysis (ATAM-style)Quality attributes dominate
Experiment / A/BBehaviour uncertain, reversible
Table 4 — Choose method by decision type

4ADeep Dive — Evidence Proportional to Significance

SignificanceEvidence
LowTeam knowledge, docs
MediumSpike (days), benchmarks
HighPoC (weeks) with success criteria, reference calls
StrategicMultiple PoCs, pilot in production, external review
Table 5 — Don't over- or under-invest

4BDeep Dive — Sensitivity and Robustness

Sensitivity: does the winner change?
Figure 3 — Sensitivity: does the winner change?
CheckQuestion
Weight perturbationDoes ±10–20% on any weight flip the winner?
Score uncertaintyIf a score is ±1, does ranking change?
Assumption stressIf load is 2× assumed, is the winner still viable?
ScenarioUnder worst credible scenario, which option degrades least?
Table 6 — Robust decisions survive reasonable changes

4CDeep Dive — Qualitative Judgement

FactorWhy numbers miss it
Team enthusiasm/skillsAdoption risk
Strategic directionLong-term fit
Vendor relationshipNegotiation leverage
ReversibilityOption value
PracticeState judgement explicitly alongside scores
Table 7 — Scores inform, people decide

4DDeep Dive — Presenting Alternatives

ElementPractice
Decision matrixOptions × criteria with weights
Trade-off summaryOne line per option: gains, gives up
RecommendationClear, with conditions
DissentMinority view recorded
Rejected optionsWhy, and what would change the verdict
Table 8 — Communicating the choice

4EDeep Dive — Anti-Patterns

Anti-patternCorrection
One real option + strawmenSeek genuine alternatives (ask peers)
False precision (3.47 vs 3.45)Treat close scores as ties; use judgement
Analysis paralysisTimebox; last responsible moment
Criteria added after scoringFix criteria and weights first
Hidden favouriteIndependent scorers
Table 9 — Keeping evaluation honest

4FDeep Dive — Option Archetypes by Decision Type

Decision typeTypical option set
Architecture styleMonolith, modular monolith, microservices, event-driven, hybrid
Data storeRelational, document, key-value, search, managed vs self-run
IntegrationSynchronous API, events, CDC, batch, workflow
SourcingBuild, buy, buy + extend, open source + support, partner
HostingManaged service, Kubernetes operator, self-managed VMs, SaaS
ResilienceMulti-AZ only, warm standby, active-passive, active-active
TimingNow, defer with experiment, phase over releases
Table 10 — Starting points so no family of options is forgotten
Evidence typeStrengthCost
Documentation and vendor claimsWeakLow
Reference architectures and case studiesMediumLow
Reference calls with similar organisationsMediumLow
Spike (days)Medium–strong for narrow questionsLow
Proof of concept with success criteriaStrongMedium
Production pilotStrongestHigh
Table 11 — Evidence ladder

5APIs / Features / Syntax

CODEMARKDOWN
## Considered options (ADR-027)
| Criterion (weight)          | A: sync in FNOL | B: async event | C: nightly batch |
|-----------------------------|-----------------|----------------|------------------|
| FNOL latency (30)           | 2               | 5              | 5                |
| Scored before approval (25) | 5               | 5              | 2                |
| Availability coupling (20)  | 1               | 5              | 4                |
| Complexity (15)             | 4               | 3              | 4                |
| Cost (10)                   | 4               | 4              | 5                |
| **Weighted total**          | **3.1**         | **4.7**        | **3.8**          |
Sensitivity: B wins under all ±20% weight changes tested.
Rejected: A — couples intake to vendor; C — approvals before scoring (CRO veto).
Dissent: Team Fraud lead preferred A for instant approvals; recorded; revisit trigger set.
PYTHON
# Sensitivity check: perturb each weight ±20% and check the winner
import itertools
weights = {"latency": 30, "pre_approval": 25, "coupling": 20,
           "complexity": 15, "cost": 10}
scores = {"A": [2, 5, 1, 4, 4], "B": [5, 5, 5, 3, 4], "C": [5, 2, 4, 4, 5]}
def winner(w):
    tot = {o: sum(s * wv for s, wv in zip(sc, w.values())) / sum(w.values())
           for o, sc in scores.items()}
    return max(tot, key=tot.get)
for k, f in itertools.product(weights, (0.8, 1.2)):
    w = dict(weights); w[k] *= f
    print(k, f, winner(w))          # B in every case → robust
TEXT
Pugh matrix (baseline = status quo A)
                     B    C
latency              +    +
pre-approval score   0    −
coupling             +    +
complexity           −    0
Σ+ / Σ−            2/1  2/1  → both better; weighted scoring breaks the tie → B

6Practical Examples

6.1 Kavach fraud integration

Three options were scored; asynchronous scoring won robustly. The Team Fraud lead's dissent (instant approvals) was recorded with a revisit trigger — if the vendor offers sub-50 ms in-region latency.

6.2 NovaBank UPI switch

Options: vendor switch (status quo), buy new vendor switch, build certified switch, hybrid (build with vendor fallback). The hybrid won once a parallel-run period was added, reducing certification risk.

6.3 PayGrid tenancy

Pool, silo, bridge and cells were evaluated; a pilot cell in production provided evidence before committing the tenancy model — proportional to its strategic significance.

6.4 Worked example — status quo value

OptionWhy include
Keep currentBaseline and sometimes the winner
Table 12 — Honesty

6.5 Worked example — close scores

ScoresInterpretation
4.1 vs 4.0Tie — decide on judgement/risk
Table 13 — Precision

6.6 Worked example — must-have

Must-haveIndia hosting
EffectRemoves 3 SaaS options
Table 14 — Filter

6.7 Worked example — interview whiteboard

PromptAnswer outline
"How do you evaluate alternatives?""Generate genuinely different options including status quo, simplest, buy/build/hybrid, defer. Filter with must-haves. Fix criteria and weights from drivers before scoring; independent scorers; evidence proportional to significance (spike, PoC, pilot). Sensitivity analysis; treat close scores as ties; add explicit judgement. Present matrix + trade-off lines + recommendation; record dissent and why rejected options lost and what would change the verdict."
Table 15 — Structured answer

6.8 Worked example — defer option

OptionPilot manual referral 3 months
ValueData before commitment
Table 16 — Option value

6.9 Worked example — anti-patterns

Anti-patternEffect
StrawmenNo real comparison
Criteria after scoringRigged
ParalysisMissed window
Table 17 — Common mistakes

6.10 Worked example — reference calls

QuestionEvidence
Upgrade painOperational risk
Table 18 — External evidence

6.11 Worked example — hybrid option

HybridRules at FNOL + ML async
Table 19 — Creativity

6.12 Worked example — AHP use

WhenWeights contested among sponsors
Table 20 — Method

6.13 Worked example — scenario test

ScenarioVendor outage 4 h
Best optionB (async) degrades least
Table 21 — Robustness

6.14 Worked example — cost-benefit

Option5-year NPV
Buy + extend+₹42 Cr
Table 22 — Financial view

6.15 Worked example — independent scoring

ScorersArchitect, lead, SRE
Table 23 — Bias control

6.16 Worked example — interview follow-ups

Follow-upAnswer
"How many options?"Usually 3–5 real ones
"Scores tie?"Judgement, risk, reversibility
Table 24 — Common probes

6.17 Worked example — checklist

Item✔
Status quo + simplest✔
Must-haves✔
Weights fixed first✔
Evidence✔
Sensitivity✔
Rejections recorded✔
Table 25 — Alternatives baseline

6.18 Worked example — spike

Duration3 days
AnswerIs Kafka Streams enough for features?
Table 26 — Evidence

6.19 Worked example — pilot

ScopeOne cell, 200 tenants
Table 27 — Strategic evidence

6.20 Worked example — dissent value

Recorded dissentBecame trigger later
Table 28 — Learning

6.21 Worked example — interview scenario

QuestionAnswer
"Only one vendor meets needs"Consider build/hybrid/defer; revisit must-haves
Table 29 — Apply

6.22 Worked example — Pugh early

UseBefore detailed data
Table 30 — Method

6.23 Worked example — score evidence

Each scoreLinks to evidence
Table 31 — Credibility

6.24 Worked example — timebox

Evaluation2–6 weeks
Table 32 — Discipline

6.25 Worked example — presentation

AudienceBoard sees 1-slide matrix
Table 33 — Communication

6.26 Worked example — deliverables

DeliverableOwner
Option list, matrix, sensitivity, evidence, rejection notesArchitect
Table 34 — Outputs

7Common Problems & Mistakes

MistakeFix
One optionDivergent generation
Rigged scoringFix weights first
False precisionTies + judgement
No evidenceProportional PoCs
Table 35 — Mistakes and fixes

Most failures in evaluating alternatives are failures of honesty rather than method. The architect already has a favourite, so the other options are strawmen written to lose, or criteria and weights are adjusted after the scores are known until the favourite wins. False precision is the next trap: a weighted total of 4.1 against 4.0 is treated as a clear verdict when the scoring error is at least half a point. Evidence is often mismatched to significance, either a three-month proof of concept for a reversible library choice or a vendor brochure for a strategic platform decision. Finally, rejected options are not written down, so the same debate returns six months later with nobody able to recall why it was settled.

8Performance & Production Considerations

ConsiderationPractice
PoC realismProduction-like data
Pilot metricsCarry into SLOs
Revisit rejected optionsOn triggers
Table 36 — Alternatives after decision

An alternatives analysis does not end when the ADR is accepted. A proof of concept is only predictive if it used production-like data volumes, traffic shapes and failure conditions, so state those conditions and the measured results in the ADR. Carry the PoC and pilot measurements forward as SLOs and dashboards for the chosen option, so that if real latency or cost diverges from the evidence, the decision is revisited early rather than defended. Each rejected option should carry a revisit trigger, such as the vendor offering sub-50 ms in-region latency or monthly volume passing a threshold, and those triggers belong in monitoring or the quarterly architecture review. Treat the recorded dissent the same way, because it often predicts the first problem in production.

9Architecture & Design Considerations

GuidelineDetail
Real optionsCredibility
Robust winnerSensitivity
Record rejectionsMemory
Table 37 — Design guidance

10Interview Questions & Answers

Q1L1 · BasicConcept

Why consider alternatives?

Because a decision without alternatives is not really a decision; it is an assertion. Generating and comparing real options avoids false choices of the "we must use X" kind, often finds a simpler or cheaper solution, and makes the trade-offs of the chosen option visible before they become production surprises. It also changes how stakeholders react: when they can see the options that were weighed and why one won, they are far less likely to feel railroaded or raise late vetoes. And recording why other options lost prevents the same debate recurring every few months. As a rule of thumb, if you can only think of one option, you have not yet understood the problem.

Q2L1 · BasicConcept

Which options should always be included?

Always include the status quo and the simplest thing that could work. The status quo is the baseline every other option must beat on cost, risk and benefit, and sometimes it wins, which is a valid and cheap result. The simplest option, such as nightly batch scoring rather than a real-time integration, tests whether the extra complexity of the others is justified. Beyond those two, include genuinely different approaches rather than variations of one idea: build versus buy, a hybrid, an opposite architectural style such as asynchronous instead of synchronous, and the option to defer with an experiment. Three to five credible options is usually the right number.

Q3L2 · IntermediateConcept

What is a must-have filter?

A must-have filter is a set of non-negotiable criteria, derived from hard constraints and critical requirements, that any option must pass before it is scored at all. Options that fail are eliminated outright, however well they would score elsewhere. Typical must-haves are data hosted in India, PCI DSS compliance, integration with the existing system of record, or meeting a regulatory deadline. At Kavach, the India-hosting requirement removed three SaaS options in one step. Filtering first keeps the scoring matrix small and honest, because a high weighted total must never compensate for a legal or contractual failure. Keep the list short; too many must-haves quietly pre-select the answer.

Q4L2 · IntermediateInternals

What is weighted scoring?

Weighted scoring compares options against several criteria in one matrix. You first agree the criteria and their weights from the decision drivers, for example FNOL latency 30, scored before approval 25, availability coupling 20, complexity 15 and cost 10. Each option is then scored per criterion, typically from one to five with evidence linked to each score, and the weighted total is the sum of score times weight divided by the total weight. In Kavach's fraud-scoring ADR, asynchronous scoring totalled 4.7 against 3.8 and 3.1. The discipline that matters is fixing criteria and weights before scoring begins and using independent scorers, otherwise the matrix simply rationalises a preference.

Q5L3 · Senior EngineerInternals

What is sensitivity analysis?

Sensitivity analysis tests whether the winning option still wins when the inputs change within their uncertainty. You perturb each weight, typically by ten to twenty percent up and down, and see whether the ranking flips; you vary individual scores by one point; you stress key assumptions, such as load being twice the estimate; and you check which option degrades least under the worst credible scenario, such as a four-hour vendor outage. A short script can do the weight perturbation automatically, as in the Python example in this note. If the winner survives every test, the decision is robust; if a small change flips it, treat the options as tied and decide on judgement.

Q6L3 · Senior EngineerTricky

What is a strawman alternative?

A strawman alternative is an option included in an analysis only so that it can lose, making the favoured option look like the result of a fair comparison. It is usually obviously unsuitable, deliberately described at its worst, or scored against criteria it was never meant to meet. The danger is that the analysis looks rigorous while hiding a decision that was made in advance, and reviewers who notice lose trust in everything else the architect presents. The test is simple: if all options but one are clearly terrible, look for better ones. Asking peers for an alternative you have not considered, or inviting an advocate for each option, usually exposes strawmen quickly.

Q7L4 · Technical ArchitectTrade-off

How much evidence is enough?

Enough evidence is evidence proportional to the significance of the decision and how hard it is to reverse. For low-significance choices, team knowledge and documentation suffice. Medium decisions justify a spike of a few days or targeted benchmarks, for example testing whether Kafka Streams can compute the fraud features. High-significance decisions need a proof of concept over weeks with success criteria agreed in advance, plus reference calls with organisations of similar scale. Strategic decisions, like PayGrid's tenancy model, warrant a production pilot, such as one cell with 200 tenants, and possibly an external review. Vendor claims are the weakest evidence. Timebox the evaluation, typically two to six weeks, and stop at the last responsible moment.

Q8L4 · Technical ArchitectTricky

How handle close scores?

Treat close scores as a tie, not a win. A weighted total of 4.1 against 4.0 is well inside the error of one-point scores and debatable weights, so presenting it as decisive is false precision. Run sensitivity analysis to confirm that small changes flip the ranking, then decide explicitly on factors the matrix handles poorly: risk, reversibility, team skills and enthusiasm, strategic direction and vendor relationships. Prefer the option that is easier to reverse or keeps more future options open, or run a short experiment if the decision can wait. State the judgement in the ADR alongside the scores, so readers see that the tie was broken deliberately rather than by rounding.

Q9L5 · Solution ArchitectConcept

Why record rejected options?

Recording rejected options keeps the organisation's memory of why a decision was made. Without it, someone proposes the rejected option again six months later, and the team repeats the whole debate because nobody can remember the evidence. The ADR should list each rejected option with the reason it lost, the criteria where it was strongest, and what would change the verdict, for example the vendor offering sub-50 ms in-region latency, or volumes crossing a threshold. That last part turns a rejection into a revisit trigger, so a changed context reopens the decision deliberately instead of by argument. It also shows reviewers and auditors that the choice was genuinely compared, not assumed.

Q10L5 · Solution ArchitectBehavioural

How treat dissent?

Treat dissent as useful information, not resistance. When a credible stakeholder disagrees with the recommendation, record the minority view in the ADR with the person's role, their reasoning and the conditions under which they would be proved right. Discuss it openly before the decision, check whether it reveals a missing criterion or a weight that should change, and then decide; disagreement should not mean endless delay. Kavach's Team Fraud lead preferred synchronous scoring for instant approvals; the dissent was recorded and became a revisit trigger if the vendor could offer sub-50 ms in-region latency. People commit more readily to a decision when they see their concerns taken seriously and written down.

Test your knowledge on this topic →Flashcards from this topic's 10 questions, filtered by level and type.

Free question pack

Get 100 free Core Java interview questions

Subscribe for the Book 1 question pack (PDF, every answer explained) and new tutorials once a week. No spam, unsubscribe anytime. What is in the pack?

Almost done! Check your inbox and click the confirmation link. Your download link arrives as soon as you confirm.