CS FundamentalsHardAccenture · Product placement
A blue-green deployment keeps two identical production environments and switches the router from blue (old) to green (new). Which statement is correct?
- A. It needs no extra infrastructure
- B. It cannot be rolled back once the router is switched
- C. Rollback is fast (switch the router back), but it doubles environment cost and still needs database changes that work for both versions
- D. It sends a small percentage of users to the new version first
Correct answer: C. Rollback is fast (switch the router back), but it doubles environment cost and still needs database changes that work for both versions
Blue-green gives near-instant cut-over and rollback by flipping traffic, at the cost of running two environments. A shared database must stay compatible with both; gradual percentages describe a canary release.
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 database server is upgraded from 8 to 32 vCPUs to handle more load, while a stateless web tier grows from 4 to 12 identical instances…
- A product page is served using cache-aside with a 10-minute TTL. An admin updates a price in the database, and for several minutes some…
- A service spreads 6 instances across 3 availability zones in one region (2 per zone) and needs at least 4 instances running to handle peak…
- A test in the CI suite passes and fails randomly on the same commit because it depends on timing. Developers have started re-running…
- A call hierarchy has 6 modules: M1 calls M2 and M3; M2 calls M4 and M5; M3 calls M6. Using the usual counts (top-down needs a stub for…
- A developer fixes a login bug. The tester first checks that the reported bug is really gone, then re-runs a set of existing login and…