nerdexam
DockerDocker

DCA · Question #91

DCA Question #91: Real Exam Question with Answer & Explanation

The correct answer is B: No. This method of mounting a configuration file directly using a .spec.containers.configMounts key is incorrect in Kubernetes.

Submitted by satoshi_tk· Apr 18, 2026Storage and Volumes

Question

You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this? Solution: Mount the configuration file directly into the appropriate pod and container using the .spec.containers.configMounts key.

Options

  • AYes
  • BNo

Explanation

This method of mounting a configuration file directly using a .spec.containers.configMounts key is incorrect in Kubernetes.

Common mistakes.

  • A. The .spec.containers.configMounts key does not exist in the Kubernetes API for mounting configuration files directly into containers.

Concept tested. Kubernetes ConfigMap usage

Reference. https://kubernetes.io/docs/concepts/configuration/configmap/

Topics

#Kubernetes#Configuration#ConfigMaps#Volume Mounts

Community Discussion

No community discussion yet for this question.

Full DCA PracticeBrowse All DCA Questions