Kubernetes and Cloud Native Associate (KCNA) — Question 64

Which command provides information about the field replicas within the spec resource of a deployment object?

Answer options

Correct answer: B

Explanation

The correct answer is B because the 'kubectl explain' command is specifically designed to provide documentation about Kubernetes resources, including their fields. The other options, such as 'get' and 'describe', are used for retrieving or detailing resources but do not provide the same level of explanation about the field itself.