Volume 12 · Chapter 7 — Principal Software Architect Interview Mastery & Enterprise System Design Handbook

Cloud Architecture Interview Scenarios

Goutham Mayaluri 8 min read .NETC#

7.1 Introduction

Cloud architecture interviews test the ability to design secure, scalable, reliable, cost-effective solutions and to reason about migration and disaster recovery. The recurring theme is that cloud decisions are requirements-driven trade-offs, and that the architect leans on managed services, designs for failure, and treats cost and security as first-class. This chapter covers the common scenarios and how to reason through them.

7.2 Migration: The 6 Rs

Migrating a legacy estate is a portfolio decision applied per application: Rehost (lift-and-shift, fast, little cloud benefit), Replatform (minor optimizations like a managed database), Refactor/ Rearchitect (redesign for cloud-native scale), Rebuild, Repurchase (move to SaaS), and Retire. The architect matches each application to the strategy that balances business value, cost, and risk - not everything deserves a rewrite, and a good answer sequences the portfolio by value and risk.

flowchart TB
  App["Legacy application"] --> Assess{"Assess value,\ncomplexity, risk"}
  Assess --> Rehost["Rehost (fast exit)"]
  Assess --> Replatform["Replatform (managed DB)"]
  Assess --> Refactor["Refactor / Rearchitect (strategic)"]
  Assess --> Repurchase["Repurchase (SaaS)"]
  Assess --> Retire["Retire (redundant)"]

7.3 Disaster Recovery: RTO and RPO

DR design is defined by two numbers. RTO (Recovery Time Objective) is how fast you must restore service; RPO (Recovery Point Objective) is how much data loss (in time) is acceptable. These drive the strategy and its cost: backup-and-restore is cheap but slow, active-passive is faster, active-active multi-region gives near-zero RTO/RPO at the highest cost. Match strategy to business tolerance, and test failover - an untested DR plan is a hope.

7.4 Cloud Security and Cost Scenarios

Security scenarios center on identity-first Zero Trust: strong authentication, least privilege, encryption, private networking, and monitoring - security designed in, not bolted on. Cost scenarios center on right-sizing from metrics, autoscaling and scale-to-zero to avoid idle spend, reservations for steady baselines, and managed services to reduce operational cost. Cost is an architecture axis, and over-provisioning is as much a failure as under-provisioning.

7.5 Platform-Agnostic Reasoning

“AWS vs Azure” questions are traps if you answer by listing services. The strong answer reasons about requirements and capabilities - the providers are broadly equivalent, so the decision usually turns on existing investment, team skills, specific service fit, compliance, and total cost of ownership, not on one service being marginally better. Architecture principles transcend the provider.

Principal Architect Interview Question

How do you design a cloud solution for an enterprise?

I drive it from requirements and treat it as a series of trade-offs, leaning on managed services and designing for failure, cost, and security from the start. First I understand the business and non-functional requirements - scale, availability, consistency, compliance, budget, and recovery objectives - because those prioritize everything. I build on a governed foundation (a landing zone with identity, networking, policy, and monitoring) so the solution is secure and consistent by default. I select managed services matched to each workload’s characteristics, defaulting to platform-managed and serverless options to reduce operational burden, and I size reliability - zones versus multi-region - to each workload’s actual criticality rather than gold-plating everything. Security is identity-first Zero Trust throughout: strong authentication, least-privilege access, encryption in transit and at rest, private networking, and continuous monitoring, designed in rather than added later. I design for failure with redundancy, resilience patterns, and a DR plan with explicit RTO/RPO that I actually test. I treat cost as an architecture concern - right-sizing from metrics, autoscaling and scale-to-zero to avoid idle spend, reservations for steady baselines - because over-provisioning is a real failure. I automate infrastructure and delivery with IaC and CI/CD so environments are reproducible and governed, and I make the system observable. Throughout I name my trade-offs and record the expensive-to-reverse decisions as ADRs. The through-line I’d emphasize in an interview is that a good cloud solution is requirements-driven and fit-for-purpose - the simplest managed architecture that meets the reliability, security, cost, and performance needs - with trade-offs made explicitly rather than reaching for sophistication or the newest service by default.

Principal Architect Interview Question

How do you choose a cloud migration strategy for a large legacy portfolio?

I treat it as a portfolio of per-application decisions using the 6 Rs, sequenced by business value and risk, rather than applying one blanket approach. For each application I assess its business value, technical complexity and fit, risk, and remaining lifespan, then choose: Rehost (lift-and-shift with minimal change) for stable applications where I need a fast datacenter exit and little cloud benefit is required - low risk, quick, but limited upside; Replatform for applications that gain a lot from small optimizations like moving to a managed database while staying largely intact; Refactor or Rearchitect for strategic, high-value applications worth redesigning to exploit cloud-native scale and resilience - highest value and highest effort, so reserved for where it pays; Repurchase for commodity capabilities better served by a SaaS product; and Retire for redundant applications that should simply be decommissioned (often the highest-ROI move). I sequence the portfolio deliberately - starting with some low-risk wins to build momentum and capability, tackling strategic refactors when the team and platform are ready, and retiring the dead weight early - and I factor in dependencies, so tightly coupled applications migrate together or in a considered order. I also weigh the migration against a realistic assessment of team skills and operational readiness, and I plan security and operational cutover for each. In an interview the strong points are: migration is a portfolio of right-sized decisions not a single strategy, most applications do not deserve an expensive rewrite, retiring redundant systems is underrated, and the sequencing should balance quick wins, strategic value, and risk - showing I think about the business and the program, not just the technology of moving one app.

Principal Architect Interview Question

How do you design disaster recovery, and how do RTO and RPO drive the design?

I start by getting the business to define RTO and RPO for each workload, because those two numbers determine the strategy and its cost, and they differ by workload. RTO, the Recovery Time Objective, is how quickly service must be restored after a disaster; RPO, the Recovery Point Objective, is how much data loss is acceptable, expressed as the maximum age of the data I recover to. A workload with a near-zero RPO (lose no transactions) and low RTO - a payment ledger - forces an expensive design: synchronous or near-synchronous replication and often active-active multi-region so there is minimal data loss and near-instant failover. A workload that tolerates hours of both - an internal reporting system - can use cheap nightly backup-and-restore. Between those, active-passive (warm standby) with asynchronous replication gives minutes-scale RTO/RPO at moderate cost. So the design ladder is: backup-and-restore (cheap, slow, larger RTO/RPO), active-passive replication (faster, moderate cost), active-active multi-region (near-zero RTO/RPO, highest cost and complexity), and I match each workload to the cheapest option that meets its stated objectives - not gold-plating everything to active-active, which is a common over-engineering mistake. Crucially, I insist that DR is tested regularly with real failover drills, because an untested DR plan is a hope, not a plan, and teams routinely discover that their failover does not actually work when they finally try it. I also consider the dependencies - a service’s DR is only as good as its data stores’ and dependencies’ DR - and I ensure runbooks and automation so recovery is fast and repeatable under pressure. In an interview, the strong signal is letting the business RTO/RPO drive the strategy per workload, knowing the cost/complexity ladder, and insisting on tested failover.

7.6 Banking Enterprise Scenario

A bank migrating to the cloud applies the 6 Rs across its estate: rehosting stable legacy systems to meet a datacenter-exit deadline, refactoring the strategic customer platform to cloud-native, and retiring redundant tools. Its transaction core is designed for a near-zero RTO/RPO with active-active multi-region and tested failover, while internal systems use cheaper backup-and-restore. Security is identity-first Zero Trust throughout, cost is controlled with right-sizing and reservations, and every significant decision is a documented trade-off - demonstrating requirements-driven, portfolio-level cloud reasoning rather than a one-size-fits-all approach.

Chapter Revision Notes

  • Cloud decisions are requirements-driven trade-offs; lean on managed services and design for failure.
  • Migration is a per-app portfolio decision (6 Rs), sequenced by value and risk - not everything is a rewrite.
  • DR is defined by RTO/RPO; match strategy to business tolerance and test failover.
  • Security is identity-first Zero Trust designed in; cost is a first-class architecture axis.
  • Answer “AWS vs Azure” by requirements, skills, and TCO - not by listing services.