701-100 Exam QuestionsBrowse all questions from this exam

701-100 Exam - Question 21


Which of the following mechanisms are used for service discovery in a container environment? (Choose two correct answers.)

Show Answer
Correct Answer: BE

In container environments, service discovery is often facilitated through the setting of environment variables within containers and the maintenance of DNS records that point to containers offering specific services. Environment variables can provide crucial information directly inside the container, making it easier for services to discover various dependencies. Similarly, maintaining DNS records ensures that service names can be resolved to the correct container addresses dynamically, enabling seamless communication between services within the container platform.

Discussion

1 comment
Sign in to comment
Blob21Options: BE
Jun 23, 2021

BE seem correct: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-configure-servicediscovery.html https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/ https://www.oreilly.com/library/view/docker-networking-and/9781492042488/ch04.html https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/ https://docs.openshift.com/container-platform/3.11/dev_guide/environment_variables.html