GoogleGoogle
PROFESSIONAL-CLOUD-DEVELOPER · Question #164
PROFESSIONAL-CLOUD-DEVELOPER Question #164: Real Exam Question with Answer & Explanation
The correct answer is A: Define your service endpoint information as metadata that is retrieved at runtime and used to. https://cloud.google.com/service-infrastructure/docs/service-metadata/reference/rest#service-
Designing and Implementing Microservices on GCP
Question
Your application is composed of a set of loosely coupled services orchestrated by code executed on Compute Engine. You want your application to easily bring up new Compute Engine instances that find and use a specific version of a service. How should this be configured?
Options
- ADefine your service endpoint information as metadata that is retrieved at runtime and used to
- BDefine your service endpoint information as label data that is retrieved at runtime and used to
- CDefine your service endpoint information to be retrieved from an environment variable at runtime
- DDefine your service to use a fixed hostname and port to connect to the desired service. Replace
Explanation
https://cloud.google.com/service-infrastructure/docs/service-metadata/reference/rest#service-
Topics
#Service Discovery#Compute Engine#Instance Metadata#Microservices
Community Discussion
No community discussion yet for this question.