CKA Logging and Monitoring Flashcards
6 cards from real CKA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 CKA Logging and Monitoring flashcards as text
Which component must be deployed in a cluster before `kubectl top nodes` works?
Answer: Metrics Server
The Metrics Server must be installed to aggregate resource usage data and enable `kubectl top` commands.
What command shows CPU and memory usage for all pods in the 'production' namespace?
Answer: kubectl top pods -n production
`kubectl top pods -n ` displays real-time CPU and memory usage for pods in that namespace.
Which flag with `kubectl top pods` breaks down usage per container instead of per pod?
Answer: --containers
The `--containers` flag shows per-container CPU and memory usage within each listed pod.
Which Kubernetes object sets default resource limits and requests for containers within a namespace?
Answer: LimitRange
A LimitRange object defines default, min, and max resource limits and requests for containers in a namespace.
What does a ResourceQuota object restrict in a Kubernetes namespace?
Answer: Total resource consumption and object count
ResourceQuota limits the total compute resources consumed and the number of Kubernetes objects that can exist in a namespace.
Which command displays resource usage (CPU/memory) broken down by each node in the cluster?
Answer: kubectl top nodes
`kubectl top nodes` shows current CPU and memory usage for every node in the cluster.
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
- training.linuxfoundation.org — Test delivery, eligibility, fees, time limit, exam information · verified Nov 2026
- docs.linuxfoundation.org — Passing score, renewal, score release, score validity, test dates · verified Oct 2026