Google Cloud Professional Cloud Developer — Question 8
You want to re-architect a monolithic application so that it follows a microservices model. You want to accomplish this efficiently while minimizing the impact of this change to the business.
Which approach should you take?
Answer options
- A. Deploy the application to Compute Engine and turn on autoscaling.
- B. Replace the application's features with appropriate microservices in phases.
- C. Refactor the monolithic application with appropriate microservices in a single effort and deploy it.
- D. Build a new application with the appropriate microservices separate from the monolith and replace it when it is complete.
Correct answer: B
Explanation
Option B is the best choice as it allows for a phased approach, reducing risk and minimizing disruption to the business during the transition. Option A focuses on deployment without addressing the architectural change, while Option C requires a complete overhaul at once, which could lead to significant downtime. Option D, while a valid strategy, involves building a new system from scratch, which can be more resource-intensive and risky.