exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 36 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 36
Topic #: 1
[All Professional Cloud Developer Questions]

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?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
emmet
Highly Voted 4 years, 5 months ago
The referenced article shows that the correct answer is B) "The migration is done feature by feature, avoiding a large-scale migration event and its associated risks"
upvoted 15 times
...
santoshchauhan
Most Recent 7 months, 3 weeks ago
Selected Answer: B
B. Replace the application's features with appropriate microservices in phases. When transitioning from a monolithic application to a microservices architecture, it is generally best to do it incrementally, rather than all at once. This allows you to break down the application into smaller, manageable pieces and make sure each piece is functioning correctly before moving on to the next. It minimizes risk, allows for easier troubleshooting, and reduces the impact on the business because you can gradually shift traffic to the new services as they are tested and deployed.
upvoted 1 times
santoshchauhan
7 months, 3 weeks ago
Here's why the other options are less suitable: A. Deploying the application to Compute Engine with autoscaling does not change the architecture from monolithic to microservices. It may help with some scaling issues but does not achieve the goal of re-architecting the application. C. Refactoring the entire monolithic application into microservices in a single effort can be very risky. It can introduce complex issues that are hard to troubleshoot, and if something goes wrong, it could impact the entire business. D. Building a new application separate from the monolith and replacing it once complete is another approach, but it can be less efficient than replacing in phases. It requires a big-bang cutover, which can be risky. Phased approaches allow for gradual cutover and testing in production with real users, which can lead to a more reliable outcome.
upvoted 2 times
...
...
sankyboy
8 months, 3 weeks ago
Selected Answer: B
Option B is most logical in this situation.
upvoted 1 times
...
__rajan__
1 year, 1 month ago
Selected Answer: B
Option B is most logical in this situation.
upvoted 1 times
...
maxdanny
1 year, 2 months ago
Selected Answer: B
https://cloud.google.com/architecture/microservices-architecture-refactoring-monoliths
upvoted 1 times
...
omermahgoub
1 year, 9 months ago
Option B is the best choice because it allows you to gradually replace the features of the monolithic application with microservices, minimizing the impact on the business. This approach also allows you to test and validate each microservice before fully integrating it into the application.
upvoted 1 times
omermahgoub
1 year, 9 months ago
Option A is not a good choice because it does not address the need to refactor the application into a microservices model. Autoscaling may help with resource management, but it does not address the underlying architecture of the application.
upvoted 1 times
...
omermahgoub
1 year, 9 months ago
Option C is not a good choice because refactoring the entire application into a microservices model in a single effort is likely to be a complex and risky process that could disrupt the business.
upvoted 1 times
...
omermahgoub
1 year, 9 months ago
Option D is not a good choice because building a new application from scratch and replacing the monolith is likely to be a time-consuming and costly process that could disrupt the business. It is generally more efficient to gradually refactor an existing application into a microservices model rather than starting from scratch.
upvoted 1 times
...
...
[Removed]
2 years, 1 month ago
Def B, how small is this monolith that it can be converted in 1 day! In addition to the fact that undoubtedly the app will break with this approach.
upvoted 1 times
...
tomato123
2 years, 2 months ago
Selected Answer: B
B is correct
upvoted 3 times
...
cloud_enth0325
2 years, 4 months ago
Selected Answer: B
I vote B. Migrating a monolithic service is best when done feature by feature.
upvoted 3 times
...
X627
2 years, 4 months ago
Selected Answer: B
B is the correct. You don't want to replace the monolithic application in one go as C suggests which kind of defeats the purpose.
upvoted 2 times
...
TesterMctester
2 years, 8 months ago
B strangler pattern
upvoted 4 times
...
herocc
2 years, 9 months ago
B is right one, refactor with multiple phases to minimize impact.
upvoted 1 times
...
syu31svc
3 years, 4 months ago
Best answer is B here A is completely wrong C and D can be done but the amount of risk involved can be too great
upvoted 2 times
...
navidlaji
3 years, 8 months ago
it should be B
upvoted 1 times
...
saurabh1805
3 years, 11 months ago
B is correct answer here.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago