Intermediate Kubernetes
Q68 / 100

What is the purpose of "kubectl apply --dry-run=client -o yaml"?

Correct! Well done.

Incorrect.

The correct answer is B) It shows what the resulting resource configuration would look like without actually sending the request to the cluster, useful for previewing or generating YAML

B

Correct Answer

It shows what the resulting resource configuration would look like without actually sending the request to the cluster, useful for previewing or generating YAML

Explanation

"--dry-run=client" processes the request locally without persisting it to the cluster, often combined with "-o yaml" to generate a manifest template that can be edited and applied later.

Progress
68/100