A DevOps team runs a microservices platform with containers created and removed frequently during peak demand. They must keep existing components informed of newly started instances with minimal effort. Which technique meets that requirement effectively?
Store each container’s connection details in log files for inspection when needed
Use a system that assigns and shares connection information for every container as it comes online
Provide containers with addresses selected from a predetermined list during start
Create environment variables for each new container and edit them whenever one starts or stops
An automated system that circulates connection data for each container keeps everything synchronized without human updates. Environment variables maintained by hand are prone to mistakes. Logging does not inform other services how to connect. Using a small, predefined set of addresses can be insufficient when demand spikes.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a container in the context of microservices?
Open an interactive chat with Bash
What does 'connection information' mean in the context of containers?
Open an interactive chat with Bash
What is a service discovery system?
Open an interactive chat with Bash
CompTIA Cloud+ CV0-004
Cloud Architecture
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access