Yarrowfield Market runs an online grocery business in the United States on Google Cloud. Over the next three years the company expects to open a business-to-business wholesale channel and to enter two European countries with data residency rules, but the timing and order are not decided. The CTO wants the architecture to absorb these changes without a redesign.
Which two design decisions best prepare the architecture for these changes? Each correct answer presents part of the solution.
- AExpose core capabilities such as catalog, pricing, and ordering as versioned APIs so that a new wholesale channel can reuse themWell-defined, versioned APIs let new channels reuse existing business capabilities instead of duplicating them, which keeps the platform adaptable.
- BWrite infrastructure as parameterized Terraform modules and organize projects in folders per jurisdiction, so that a new country gets its own region and location policy by configurationRegion-parameterized modules and per-jurisdiction folders with organization policies let the company add a compliant European deployment quickly when the decision is made.
- CHardcode us-central1 in all deployment templates to keep them simpleHardcoded regions make expansion into Europe a rewrite of every template, which is the redesign the CTO wants to avoid.
- DBuy three-year committed use discounts now for the capacity the expansion might needCommitting to capacity for plans whose timing is unknown risks paying for unused resources, possibly in the wrong regions.
- EPut retail, wholesale, and all countries in one shared database schema in one regionOne schema in one region cannot meet European data residency rules and couples the channels tightly, making each change riskier.