exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 145 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 145
Topic #: 1
[All Associate Cloud Engineer Questions]

Your existing application running in Google Kubernetes Engine (GKE) consists of multiple pods running on four GKE n1`"standard`"2 nodes. You need to deploy additional pods requiring n2`"highmem`"16 nodes without any downtime. What should you do?

  • A. Use gcloud container clusters upgrade. Deploy the new services.
  • B. Create a new Node Pool and specify machine type n2ג€"highmemג€"16. Deploy the new pods.
  • C. Create a new cluster with n2ג€"highmemג€"16 nodes. Redeploy the pods and delete the old cluster.
  • D. Create a new cluster with both n1ג€"standardג€"2 and n2ג€"highmemג€"16 nodes. Redeploy the pods and delete the old cluster.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
GCP_Student1
Highly Voted 2 years, 11 months ago
B is correct answer, read below form google docs; This tutorial demonstrates how to migrate workloads running on a Google Kubernetes Engine (GKE) cluster to a new set of nodes within the same cluster without incurring downtime for your application. Such a migration can be useful if you want to migrate your workloads to nodes with a different machine type. Background A node pool is a subset of machines that all have the same configuration, including machine type (CPU and memory) authorization scopes. Node pools represent a subset of nodes within a cluster; a container cluster can contain one or more node pools. When you need to change the machine profile of your Compute Engine cluster, you can create a new node pool and then migrate your workloads over to the new node pool. To migrate your workloads without incurring downtime, you need to: Mark the existing node pool as unschedulable. Drain the workloads running on the existing node pool. Delete the existing node pool. https://cloud.google.com/kubernetes-engine/docs/tutorials/migrating-node-pool#creating_a_node_pool_with_large_machine_type
upvoted 33 times
...
Captain1212
Most Recent 6 months ago
Selected Answer: B
B is the right answer , if you need the new, and if you want to old one also then its D
upvoted 1 times
...
ashtonez
11 months, 3 weeks ago
Selected Answer: B
B is correct, creating another cluster just doesnt make any sense, node pools are intended for this situations
upvoted 1 times
...
Chiunara
12 months ago
Selected Answer: B
Answer is obviously B (read @GCP_Student1 and @Bobbybash replies)
upvoted 1 times
...
Bobbybash
1 year ago
Selected Answer: B
B. Create a new Node Pool and specify machine type n2"highmem"16. Deploy the new pods. Creating a new Node Pool with the required machine type is the correct approach to deploy additional pods without any downtime. This approach allows you to scale the cluster horizontally by adding more nodes to the existing cluster. By creating a new Node Pool, you can add n2"highmem"16 nodes to the existing cluster, and deploy new pods on these nodes without affecting the existing services running on the n1"standard"2 nodes. This way, you can ensure high availability and zero downtime during the deployment. Option A (gcloud container clusters upgrade) upgrades the entire cluster, and Option C and D (creating a new cluster) involve deleting the existing cluster, which may cause downtime.
upvoted 3 times
...
BlueJay20
1 year ago
Selected Answer: D
The keyword is "additional". Answer B is good if you want to replace with the new VMs. In this case you want the existing ones as well as the new ones. Therefore D.
upvoted 2 times
swa99
1 year ago
The keyword is "additional", in option D you are deleting the old cluster. SO the answer is B
upvoted 4 times
...
...
AzureDP900
1 year, 8 months ago
B makes perfect sense.
upvoted 1 times
...
Tirthankar17
1 year, 8 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
arsh1916
2 years, 9 months ago
B is correct
upvoted 4 times
...
Jacky_YO
2 years, 11 months ago
ANS : B 1. The title did not say to delete four GKE n1.
upvoted 4 times
...
pondai
2 years, 11 months ago
B,You need to create new node pool for cluster
upvoted 3 times
...
dunhill
2 years, 11 months ago
I guess it's B. I couldn't find resize parameter under cluster upgrade. C and D are incorrect because it's no need to create new cluster.
upvoted 2 times
...
GCP_Student1
2 years, 11 months ago
A. Use gcloud container clusters upgrade. Deploy the new services.
upvoted 1 times
GCP_Student1
2 years, 11 months ago
I take it back, the correct answer is "B" B. Create a new Node Pool and specify machine type n2ג€"highmemג€"16. Deploy the new pods.
upvoted 2 times
...
...
Jamaal_a
2 years, 11 months ago
Answer is B - When you need to change the machine profile of your Compute Engine cluster, you can create a new node pool and then migrate your workloads over to the new node pool.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago