Practice Test 2 | Google Cloud Certified Associate Cloud Engineer | Dumps | Mock Test
Your company has replaced your laptop OS from Windows to Ubuntu and you installed a stable release of Cloud SDK on your machine, however when you run kubectl, you receive an error stating “Command ‘kubectl’ not found”. Which command will you use to install kubectl on Ubuntu?
A. sudo apt install kubectl
B. gcloud install kubectl
C. sudo yum install kubectl
D. sudo apt-get install kubectl
Explanation:
Answer D
The correct command to install kubectl is sudo apt-get install kubectl. Hence, the correct answer is D.
Option A, B and C are incorrect: The following commands doesn’t support the desired result.
Link:
https://cloud.google.com/sdk/docs/downloads-apt-get
Comments are closed, but trackbacks and pingbacks are open.