Question-37: The process of upgrading a Kubernetes cluster by either adding nodes to it or deleting nodes from it is known as scaling the cluster. When you scale up a Kubernetes cluster by adding nodes, this is referred to as scaling the cluster up, and when you scale down a Kubernetes cluster by removing nodes, this is referred to as scaling the cluster down. You want to make it possible for the operating Google Kubernetes Engine cluster to scale up or down depending on the demand for the application. It gives you an environment in which you may interact with your container cluster in an effortless manner. You will be able to conduct automatic deployment and administration of your apps with the help of Kubernetes' flexible resources and commands. Additionally, you will be able to define rules, carry out administrative duties, and carefully monitor your deployed workload. What action should you take?
A. Make use of the following command in order to include extra nodes in your Kubernetes Engine cluster: gcloud container clusters should be resized to the size 10 using the CLUSTER Name parameter.
B. Use the following command to assign a tag to each of the instances that are part of the cluster: gcloud compute instances add-tags INSTANCE - -tags enable- autoscaling max-nodes-10
C. Using the following command, you may bring your current Kubernetes Engine cluster up to date: gcloud alpha container clusters update mycluster - -enable- autoscaling - -min-nodes=1 - -max-nodes=10
D. The following command will establish a brand-new Kubernetes Engine cluster for you: clusters of containers running on GCP Alpha build mycluster - -enable- autoscaling - -min-nodes=1 - -max-nodes=10 relaunch your application, and redeploy it.
Correct Answer
Get All 340 Questions and Answer for Google Professional Cloud Architect
: 3 Explanation: Option-1 is incorrect because there is supposed to be two hypens -- not one before size. Option-2 is incorrect because it just adds a string to the cluster. Option-3 is just as wrong as Option-1 because the documentation says it should be --max-nodes followed by --min-nodes, also the alpha command no longer works but it used to and is still up on google docs. This goes for Option-4 as well but Option-4 talks about making another, which doesn't have to be done because one is already up. So the debate is between Option-1 and Option-3, and Option-3 used to work so Option-3 was chosen, although Option-3 also has spaces which never worked. So this question is an absolute thug tactic by a Google team to steal from the Google kingdom preventing the establishment of their library by failing people that actually know the science behind the technology.