GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice question 3 of 35
You have been tasked with planning the migration of your company’s application from on-premises to Google Cloud. Your company’s monolithic…
Full set: 265 questionsTo minimize risk when migrating a monolith to microservices, the best practice is to start with a functionality that has the fewest dependencies and is less transactionally complex. This approach, often part of the "strangler fig" pattern, allows the development team to learn and validate the migration process on a lower-risk component. The Product catalog, with its limited integrations (frontend and product database), is the most loosely coupled option. It is primarily a read-heavy service, and a potential failure would be less catastrophic to immediate revenue generation than a failure in payments or the shopping cart.
B. Payment processing is a high-risk, core transactional component with external dependencies; migrating it first is extremely risky and directly impacts revenue.
C. Order fulfillment is a complex backend process with multiple integrations, including third-party systems, making it a poor choice for an initial, low-risk migration.
D. The Shopping cart is a stateful component with numerous critical dependencies (inventory, payments), making it one of the most complex and risky services to extract first.
1. Google Cloud Architecture Center, "Best practices for migrating a monolithic app to microservices on Google Kubernetes Engine." In the "Migration strategy" section, under the "Extract services" subsection, the documentation advises: "A good candidate for a first service is one that is small and doesn't have many dependencies." This directly supports selecting the Product catalog (Option A) as it has the fewest dependencies listed.
2. Google Cloud Architecture Center, "Decomposing a monolith into microservices." The document discusses identifying service boundaries by finding "seams" to create "loosely coupled services." The Product catalog represents the clearest "seam" among the choices, as it is less entangled with the core transactional logic of payments, orders, and the shopping cart, thus embodying the principle of loose coupling for an initial migration step.
Keep practicing
Take the free GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice questions
- Question 1You have an application controlled by a managed instance group. When you deploy a new ver…
- Question 2Your service adds text to images that it reads from Cloud Storage. During busy times of t…
- Question 4You plan to make a simple HTML application available on the internet. This site keeps inf…
- Question 5HipLocal's APIs are showing occasional failures, but they cannot find a pattern. They wan…
- Question 6Your company has created an application that uploads a report to a Cloud Storage bucket. …
- Question 7Your data is stored in Cloud Storage buckets. Fellow developers have reported that data d…
