CS FundamentalsHardProduct-company placement
A bank must replace a large legacy system without a risky big-bang cut-over. It puts a routing façade in front of it, moves one capability at a time to new services and sends those requests to them, until the old system can be switched off. What is this approach called?
- A. Blue-green deployment
- B. Branch by abstraction inside a single codebase
- C. Strangler fig pattern
- D. Big-bang rewrite with parallel running
Correct answer: C. Strangler fig pattern
The strangler fig grows new functionality around the old system, routing traffic piece by piece, so the legacy part shrinks until it can be removed. Blue-green switches whole environments at once, and branch by abstraction works within one codebase.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A service calls three downstream APIs using one shared pool of 200 threads. When one API becomes very slow, all 200 threads end up waiting…
- In STRIDE threat modelling, a user denies having approved a large transfer, and the system cannot prove otherwise. Which threat is this…
- A forum shows user comments, and an attacker posts a comment containing a script tag that runs in other users' browsers. Which is the…
- A popular product page is cached with a fixed 60-second TTL. Every minute, as the entry expires, thousands of requests miss at once and…
- According to the cone of uncertainty (Boehm, McConnell), at the initial-concept stage a project's eventual effort can differ from a…
- A team uses feature toggles. Which kind should normally be deleted soon after the feature is fully launched?