🔥 3-day streak
Cisco CCNP Automation AUTOCOR (350-901)33 / 136
Question 33 of 136

A network automation team runs a Docker Compose stack for their CI validation environment. The stack defines a 'postgres' service and a 'nautobot' service, where 'nautobot' has `depends_on: [postgres]`. Engineers report that 'nautobot' intermittently crashes on startup with database connection errors, even though 'postgres' is listed as a dependency. Reviewing the Compose file, they see 'postgres' has no `healthcheck` defined. Which change to the Compose file will most reliably prevent 'nautobot' from starting before the database is ready to accept connections?

Reviewed for accuracy · Report an issueNext question