A team is creating separate containers that communicate with each other. Each container may receive a new address when redeployed. Which strategy best supports automated endpoint discovery with the least extra work in this setup?
Set up a registry that dynamically tracks active instances
List each container address in the relevant configuration file
Maintain a set of environment variables for each container address
Schedule scripts to check for address changes and update configurations
A centralized directory service tracks active container endpoints and automatically updates them. This removes the need to revise configurations or rely on manual processes. Storing addresses in local files or environment variables can lead to outdated references, and scheduled scripts still require intervention or scheduling overhead. A registry service ensures containers dynamically locate each other, boosting efficiency.
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 registry and how does it work?
Open an interactive chat with Bash
Why are environment variables and configuration files less effective in dynamic container environments?
Open an interactive chat with Bash
How do automated scripts compare to a dynamic registry for address discovery?
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