Topic 1 Question 107
You recently migrated a monolithic application to Google Cloud by breaking it down into microservices. One of the microservices is deployed using Cloud Functions. As you modernize the application, you make a change to the API of the service that is backward-incompatible. You need to support both existing callers who use the original API and new callers who use the new API. What should you do?
Leave the original Cloud Function as-is and deploy a second Cloud Function with the new API. Use a load balancer to distribute calls between the versions.
Leave the original Cloud Function as-is and deploy a second Cloud Function that includes only the changed API. Calls are automatically routed to the correct function.
Leave the original Cloud Function as-is and deploy a second Cloud Function with the new API. Use Cloud Endpoints to provide an API gateway that exposes a versioned API.
Re-deploy the Cloud Function after making code changes to support the new API. Requests for both versions of the API are fulfilled based on a version identifier included in the call.
ユーザの投票
コメント(7)
- 正解だと思う選択肢: C
Based on the link … where it says for backward incompatible strategy use two separate deployments/instances v1 and v2 and only C option is inline with the link
👍 6GCPCloudArchitectUser2022/02/26 - 正解だと思う選択肢: C
C is correct
👍 3tomato1232022/08/19 - 👍 2scaenruy2022/01/09
シャッフルモード