GoogleGoogle
PROFESSIONAL-CLOUD-DEVELOPER · Question #268
PROFESSIONAL-CLOUD-DEVELOPER Question #268: Real Exam Question with Answer & Explanation
The correct answer is B: Create a Service Directory namespace. Use API calls to register the services during deployment,. https://cloud.google.com/service-directory/docs/overview
Designing highly scalable, available, and reliable cloud-native applications
Question
You are working on a new application that is deployed on Cloud Run and uses Cloud Functions. Each time new features are added, new Cloud Functions and Cloud Run services are deployed. You use ENV variables to keep track of the services and enable interservice communication, but the maintenance of the ENV variables has become difficult. You want to implement dynamic discovery in a scalable way. What should you do?
Options
- AConfigure your microservices to use the Cloud Run Admin and Cloud Functions APIs to query for
- BCreate a Service Directory namespace. Use API calls to register the services during deployment,
- CRename the Cloud Functions and Cloud Run services endpoint is using a well-documented
- DDeploy Hashicorp Consul on a single Compute Engine instance. Register the services with
Explanation
Topics
#Service Discovery#Cloud Run#Cloud Functions#Service Directory
Community Discussion
No community discussion yet for this question.