
Ultimate access to all questions.
You recently migrated a monolithic application to Google Cloud by decomposing it into microservices. One microservice is deployed using Cloud Functions. During modernization, you introduce a backward-incompatible API change. How should you support both existing callers using the original API and new callers using the updated API?
A
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.
B
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.
C
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.
D
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.