DevOps Flashcards
7 cards from real DevOps practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 DevOps flashcards as text
What is the purpose of 'horizontal pod autoscaling' in Kubernetes?
Answer: Adding or removing pod replicas based on observed load
Horizontal pod autoscaling adjusts the number of pod replicas to match demand.
In trunk-based development, how are changes typically integrated?
Answer: Frequently merged into a single main branch in small increments
Trunk-based development emphasizes small, frequent merges into one main branch to reduce integration pain.
What is the main goal of a 'post-incident review' (postmortem)?
Answer: Learning from failures without blaming individuals to prevent recurrence
A blameless postmortem focuses on systemic learning to prevent the same incident from recurring.
Which tool is commonly used for collecting and querying time-series metrics?
Answer: Prometheus
Prometheus is a widely used open-source system for collecting and querying time-series metrics.
What does a 'rolling update' deployment do?
Answer: Gradually replaces old instances with new ones to avoid downtime
A rolling update incrementally replaces old pods with new ones to keep the service available.
In CI/CD, why is 'pipeline as code' preferred over manually configured jobs?
Answer: It is version controlled, reviewable, and reproducible
Defining pipelines as code makes them versioned, peer-reviewable, and reproducible across projects.
What is the function of a 'reverse proxy' in a typical deployment?
Answer: Routing client requests to backend services and load balancing
A reverse proxy forwards client requests to backend servers and often handles load balancing and TLS.