Install etcd utility

In the CKA mock exam, there is a question related to install etcd utility

For this question, please set the context to cluster2 by running:

kubectl config use-context cluster2

Install etcd utility on cluster2-controlplane node so that we can take/restore etcd backups.

My question is, is the installation has to be only from archive ? cant we install using the “apt install etcd-client” ? As far as installation is concerned I was able to install and was able to take backup of the etcd. so if multiple options are there, why the answer is bounded only with archive installation steps?

The grader for the question is looking for you to have installed etcd and etcdctl in a specific directory (/usr/local/bin I think).

If installing with apt places them there, then the question will pass. If it places them elsewhere, the question will fail.

Before you ask, you will not have to install etcd/etcdctl in the real exam. They will already be present if you get an etcd backup/restore question.