CDP Containerization & Orchestration Flashcards
6 cards from real CDP practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 CDP Containerization & Orchestration flashcards as text
Which command is used to scale a Kubernetes Deployment to 5 replicas using kubectl?
Answer: kubectl scale deployment --replicas=5
The `kubectl scale` command adjusts the number of replicas for a deployment, replicaset, or statefulset.
In Docker Compose, what does the `depends_on` directive control?
Answer: The startup order of services
The `depends_on` directive specifies that one service should start only after the listed services have started.
What is a Kubernetes DaemonSet used for?
Answer: Ensuring one pod runs on every (or selected) node in the cluster
A DaemonSet ensures that a copy of a pod runs on all (or some) nodes, commonly used for log collectors or monitoring agents.
Which Kubernetes object should you use to manage stateful applications requiring stable storage and network identity?
Answer: StatefulSet
StatefulSets maintain a sticky identity for each pod and are designed for stateful applications that require stable, persistent storage.
What does a Kubernetes Horizontal Pod Autoscaler (HPA) use by default to determine when to scale pods?
Answer: CPU utilization
By default, HPA scales the number of pod replicas based on observed CPU utilization relative to a target threshold.
In a DevOps container pipeline, what is the recommended practice for tagging Docker images pushed to production?
Answer: Use immutable version tags such as git commit SHA or semantic version
Immutable tags like commit SHA or semantic versions ensure reproducibility and prevent silent overwrites that occur with mutable tags like `latest`.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- gsdcouncil.org — Eligibility, fees, exam format, passing score, renewal, retake policy, time limit, score validity, test delivery, score release · verified Oct 2026