YAML Configuration 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 YAML Configuration flashcards as text
What format are Kubernetes manifest files typically written in?
Answer: YAML
Kubernetes uses YAML (YAML Ain't Markup Language) for manifest files that define resources like Pods, Services, and Deployments.
What are the four required fields in a Kubernetes manifest?
Answer: apiVersion, kind, metadata, spec
Every Kubernetes manifest requires apiVersion (API group), kind (resource type), metadata (name and labels), and spec (desired state).
What does 'kubectl apply -f' do?
Answer: Creates or updates resources defined in a file
kubectl apply -f applies the configuration from a YAML file, creating the resource if it doesn't exist or updating it if it does.
What is a Kubernetes label?
Answer: A key-value pair attached to resources for identification and selection
Labels are key-value pairs attached to Kubernetes objects that can be used to organize, select, and filter resources.
What is a Kubernetes namespace?
Answer: A virtual cluster partition for organizing resources
Namespaces provide virtual cluster partitioning, allowing teams or projects to share a cluster while isolating their resources.
What is the purpose of resource limits in a Pod spec?
Answer: To cap the maximum CPU and memory a container can use
Resource limits define the maximum amount of CPU and memory a container can consume, preventing any single container from monopolizing cluster resources.
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
- docs.linuxfoundation.org — Exam format, test delivery, passing score, renewal, retake policy, score release, score validity, exam information · verified Oct 2026
- training.linuxfoundation.org — Eligibility, fees, test dates, time limit · verified Oct 2026