Q. How can you set a specific Docker Compose service to always restart on failure?
β
Correct Answer: (A)
restart: on-failure
Explanation: The 'restart: on-failure' option sets a service to always restart on failure in Docker Compose.