Kubernetes and Cloud Native Associate (KCNA) — Question 103

Which of the following sentences is true about namespaces in Kubernetes?

Answer options

Correct answer: C

Explanation

The correct answer is C because a default namespace is indeed created automatically when a new Kubernetes cluster is set up. Option A is incorrect as Kubernetes does not support nesting namespaces. Option B is wrong because resource names must be unique within a namespace, and option D is misleading since not all objects are namespaced; some are in the default namespace.