Topic 1 Question 167
You want to enable your running Google Kubernetes Engine cluster to scale as demand for your application changes. What should you do?
Add additional nodes to your Kubernetes Engine cluster using the following command: gcloud container clusters resize CLUSTER_Name ג€" -size 10
Add a tag to the instances in the cluster with the following command: gcloud compute instances add-tags INSTANCE - -tags enable- autoscaling max-nodes-10
Update the existing Kubernetes Engine cluster with the following command: gcloud alpha container clusters update mycluster - -enable- autoscaling - -min-nodes=1 - -max-nodes=10
Create a new Kubernetes Engine cluster with the following command: gcloud alpha container clusters create mycluster - -enable- autoscaling - -min-nodes=1 - -max-nodes=10 and redeploy your application
ユーザの投票
コメント(17)
Agree C
👍 23AWS562020/01/11A is incorrect because there is supposed to be two hypens "--" not one before size (https://cloud.google.com/sdk/gcloud/reference/container/clusters/resize). B is incorrect because it just adds a string to the cluster (https://cloud.google.com/sdk/gcloud/reference/compute/instances/add-tags). "C" is just as wrong as "A" because the documentation says it should be "--max-nodes" followed by "--min-nodes" (https://cloud.google.com/sdk/gcloud/reference/alpha/container/clusters/update), also the alpha command no longer works but it used to and is still up on google docs. This goes for "D" as well but D talks about making another, which doesn't have to be done because one it already up. So the debate is between A and C, and C used to work so C was chosen, although C 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. When you see this question at a test center I'd select C.
👍 11Eroc2019/10/23C - cluster is already running so use update instead of create new cluster.
👍 5TheCloudBoy772021/11/20
シャッフルモード