🔥 40% Off Crucial Exams Memberships — Deal ends today!

25 minutes, 32 seconds remaining!

GCP Associate Cloud Engineer Practice Question

Your team is containerizing a three-node ZooKeeper ensemble on a GKE Standard cluster. Each node must keep its own data directory on a PersistentVolumeClaim, start in sequence so the first node can become the initial leader, and advertise a stable DNS name (zookeeper-0, zookeeper-1, zookeeper-2) that clients can rely on even after rescheduling. Which Kubernetes workload resource should you create to meet these requirements with the least custom scripting?

  • Create a ReplicaSet and rely on an init container to assign ordinal pod names.

  • Create a Deployment of three replicas and mount a ReadWriteMany PersistentVolume.

  • Create a StatefulSet with three replicas and a PVC template for the data directory.

  • Create a DaemonSet so each node automatically runs one ZooKeeper pod with local storage.

GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot