VMware vRealize Automation 8.x (VCP-CMA 2021) — Question 8

Which command is used to upgrade a Tanzu Kubernetes Grid Cluster (TKG) to a different kubernetes version?

Answer options

Correct answer: B

Explanation

The correct command is B, as it specifically uses the syntax required to upgrade the cluster with the correct flag '--kubernetes-version'. Option A is incorrect because it uses the wrong flag '--k8s-version', while C has the right command structure but also uses the incorrect flag '--kubernetes-version'. Option D is also incorrect due to the use of '--version', which is not the standard flag for specifying the Kubernetes version.