Certified Kubernetes Administrator 练习

练习 60 道原创 Certified Kubernetes Administrator (CKA) 题,覆盖集群架构、安装、工作负载、调度、服务、网络、存储、安全与故障排查,每题附答案与解析。

等级: Certified Kubernetes Administrator 难度: intermediate 60 道题 60 分钟
选择练习模式,回答每道 CKA 题,然后查看解析。错题会保存在本机供复习。
连续学习: 0 天 仅保存在此设备
进度 0 / 60
题目 1

What is Kubernetes?

选择一个答案
题目 2

What is a node in Kubernetes?

选择一个答案
题目 3

Which set of components manages the cluster?

选择一个答案
题目 4

Which control plane component schedules pods onto nodes?

选择一个答案
题目 5

Which component stores cluster state and configuration?

选择一个答案
题目 6

Which component runs on every node and manages pods?

选择一个答案
题目 7

What is kube-proxy responsible for?

选择一个答案
题目 8

Which tool is commonly used to bootstrap a Kubernetes cluster for the CKA exam?

选择一个答案
题目 9

What is a kubeconfig file?

选择一个答案
题目 10

What does a context in a kubeconfig combine?

选择一个答案
题目 11

Which kubectl command shows cluster information?

选择一个答案
题目 12

What is a namespace?

选择一个答案
题目 13

What is the smallest deployable unit in Kubernetes?

选择一个答案
题目 14

Which workload controller runs a pod on every node?

选择一个答案
题目 15

Which workload controller is best for stateless applications that need rollouts and scaling?

选择一个答案
题目 16

Which workload runs a finite task to completion?

选择一个答案
题目 17

Which workload runs jobs on a schedule?

选择一个答案
题目 18

What does a ReplicaSet ensure?

选择一个答案
题目 19

Which pod field limits scheduling to nodes with matching labels?

选择一个答案
题目 20

What is a resource request?

选择一个答案
题目 21

What is a resource limit?

选择一个答案
题目 22

What does a node taint do?

选择一个答案
题目 23

What is a toleration?

选择一个答案
题目 24

What does a liveness probe check?

选择一个答案
题目 25

Which resource provides a stable IP and DNS name for a set of pods?

选择一个答案
题目 26

Which Service type exposes a port on every node?

选择一个答案
题目 27

Which Service type provisions a cloud load balancer?

选择一个答案
题目 28

Which resource routes HTTP and HTTPS traffic to Services?

选择一个答案
题目 29

What is a ClusterIP?

选择一个答案
题目 30

What is the DNS name for a Service in the cluster?

选择一个答案
题目 31

Which type of plugin provides pod networking?

选择一个答案
题目 32

What is a PersistentVolume?

选择一个答案
题目 33

What is a PersistentVolumeClaim?

选择一个答案
题目 34

Which resource enables dynamic provisioning of volumes?

选择一个答案
题目 35

What is a ConfigMap used for?

选择一个答案
题目 36

What is a Secret used for?

选择一个答案
题目 37

Which resource defines permissions for users and service accounts in a namespace?

选择一个答案
题目 38

Which resource binds a Role to a user or ServiceAccount?

选择一个答案
题目 39

What is a ServiceAccount?

选择一个答案
题目 40

Which feature can drop Linux capabilities for a container?

选择一个答案
题目 41

What is a NetworkPolicy?

选择一个答案
题目 42

Which command shows logs from a pod?

选择一个答案
题目 43

Which command shows detailed information about a resource?

选择一个答案
题目 44

Which command lists cluster events?

选择一个答案
题目 45

Which command runs a command inside a running container?

选择一个答案
题目 46

What does kubectl drain do?

选择一个答案
题目 47

What does kubectl cordon do?

选择一个答案
题目 48

Which command applies a manifest to the cluster?

选择一个答案
题目 49

Which command deletes a resource?

选择一个答案
题目 50

Which command shows pods in all namespaces?

选择一个答案
题目 51

Which controller manager runs controllers such as node and replication controllers?

选择一个答案
题目 52

What is a StatefulSet used for?

选择一个答案
题目 53

What is pod affinity used for?

选择一个答案
题目 54

What does a HorizontalPodAutoscaler do?

选择一个答案
题目 55

What is a headless Service?

选择一个答案
题目 56

What does kubectl top show?

选择一个答案
题目 57

Which of the following are control plane components? Select all that apply.

选择一个答案
题目 58

Which of the following are workload controllers? Select all that apply.

选择一个答案
题目 59

kubectl drain permanently removes a node from the cluster.

选择一个答案
题目 60

Match each kubectl command to its purpose.