2V0-71-21 practice question 14 of 15

What is the command to recognize a cluster in a disconnected state to Tanzu Mission Control?

Full set: 55 questions
Answer options
A: tmc cluster configure -n -k
B: tmc configure cluster -n -k
C: tmc join cluster -n -k
D: tmc cluster reattach -n -k Correct answer
Correct Answer:
D. tmc cluster reattach -n < cluster_name> -k
Explanation

The tmc cluster reattach command is used to re-establish the connection between a registered Kubernetes cluster and Tanzu Mission Control (TMC). This is necessary when the agents running on the cluster are in an unhealthy or disconnected state. The command effectively reinstalls the TMC agent components on the cluster, allowing it to reconnect and synchronize its state with TMC without needing to be de-registered and attached again. The -n flag specifies the cluster name as it is known in TMC.

Why Incorrect

A. tmc cluster configure -n -k This command is syntactically incorrect. The configure verb is not a valid subcommand for tmc cluster. The top-level tmc configure command is used to set up the CLI profile, not manage individual clusters.
B. tmc configure cluster -n -k This command is syntactically incorrect. The tmc CLI follows a tmc structure. tmc configure cluster does not conform to this and is not a valid command.
C. tmc join cluster -n -k The verb join is not a valid subcommand for tmc cluster. The correct command to initially register a cluster is tmc cluster attach, not join.

References

1. VMware Tanzu Mission Control Documentation, "Using the tmc CLI". This official guide details the available commands for the Tanzu Mission Control CLI. The tmc cluster reattach command is explicitly documented for re-installing agent components on a cluster that is already registered but may be in a bad state. The documentation confirms that configure and join are not valid verbs for the tmc cluster command group. (Refer to the CLI command reference section for tmc cluster).

Scroll to Top