Prepare for the ITGSS Certified DevOps Engineer Test. Review with flashcards and multiple-choice questions, each featuring hints and explanations. Achieve exam success with our tools!

Practice this question and more.


Which database provides significant visibility into the state of a Kubernetes cluster?

  1. etcd

  2. MySQL

  3. Redis

  4. PostgreSQL

The correct answer is: etcd

The database that provides significant visibility into the state of a Kubernetes cluster is etcd. etcd is a distributed key-value store that is integral to the operation of Kubernetes, serving as its primary data store for all cluster data. This includes configurations, the state of various resources, and metadata about the cluster itself. Because etcd holds the desired state of the Kubernetes cluster and its applications, it enables Kubernetes to maintain this state through its reconciliation loops. When changes occur within the cluster, etcd is updated, allowing cluster operators and components to query and observe the current state, manage configurations, and understand the overall health of the system. In contrast, the other options—MySQL, Redis, and PostgreSQL—are general-purpose databases that do not inherently provide the same level of insight into a Kubernetes cluster's state. While they can be used for various application data needs, they are not designed to capture or represent the internal workings of a Kubernetes environment. Thus, etcd is uniquely suited for this purpose within the context of Kubernetes operations.