Q. How do you assign a secret to a service in Docker Compose?
β
Correct Answer: (C)
Under the `secrets` key inside the service
Explanation: You assign secrets under the `secrets` key inside a service definition.