nerdexam
Docker

DCA · Question #123

An application image runs in multiple environments, with each environment using different certificates and ports. Is this a way to provision configuration to containers at runtime? Solution: Provision

The correct answer is A. Yes. Docker config objects are a suitable method for provisioning environment-specific configuration data like certificates and port settings to services at runtime.

Submitted by fernanda_arg· Apr 18, 2026Container Orchestration

Question

An application image runs in multiple environments, with each environment using different certificates and ports. Is this a way to provision configuration to containers at runtime? Solution: Provision a Docker config object for each environment.

Options

  • AYes
  • BNo

How the community answered

(34 responses)
  • A
    94% (32)
  • B
    6% (2)

Why each option

Docker config objects are a suitable method for provisioning environment-specific configuration data like certificates and port settings to services at runtime.

AYesCorrect

Docker config objects allow sensitive configuration data, such as certificates or other environment-specific settings, to be securely and efficiently provisioned to Docker services at runtime, addressing the need for different configurations per environment.

BNo

Docker configs are explicitly designed for this purpose, providing a robust way to manage varying configurations across environments without baking them into the image.

Concept tested: Docker config objects for runtime configuration

Source: https://docs.docker.com/engine/swarm/configs/

Topics

#Docker config#Runtime configuration#Configuration management#Service deployment

Community Discussion

No community discussion yet for this question.

Full DCA Practice