Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 182 discussion

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

Your company has developed a new application that consists of multiple microservices. You want to deploy the application to Google Kubernetes Engine (GKE), and you want to ensure that the cluster can scale as more applications are deployed in the future. You want to avoid manual intervention when each new application is deployed. What should you do?

  • A. Deploy the application on GKE, and add a HorizontalPodAutoscaler to the deployment.
  • B. Deploy the application on GKE, and add a VerticalPodAutoscaler to the deployment.
  • C. Create a GKE cluster with autoscaling enabled on the node pool. Set a minimum and maximum for the size of the node pool.
  • D. Create a separate node pool for each application, and deploy each application to its dedicated node pool.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
efar_cloud
Highly Voted 1 year, 5 months ago
Answer is C The key point is "ensure that the CLUSTER can scale" A- HorizontalPodAutoscaler - ensures to scale the number of pods while C- Create a GKE cluster with autoscaling enabled on the node pool. Set a minimum and maximum for the size of the node pool. ensures to scale the number of nodes in the cluster. So the answer is C.
upvoted 9 times
...
WendyLC
Highly Voted 1 year, 5 months ago
Selected Answer: C
C is the right choice... See this for reference https://cloud.google.com/architecture/best-practices-for-running-cost-effective-kubernetes-applications-on-gke#fine-tune_gke_autoscaling A- HorizontalPodAutoscaler - it is best suited for stateless workers that can spin up quickly to react to usage spikes, and shut down gracefully to avoid workload instability.
upvoted 5 times
...
denno22
Most Recent 1 month, 3 weeks ago
Selected Answer: C
c
upvoted 1 times
...
RKS_2021
2 months ago
Selected Answer: A
A is right ans
upvoted 1 times
...
yehia2221
4 months ago
Answer is C: the HPA is used in for scaling a deployment (an application), but here, the question is asking to scale the cluster when new applications are being added which have different and independent deployments, we have scaling at cluster level, then at deployment level either horizontally or vertically.
upvoted 1 times
...
Cynthia2023
10 months, 4 weeks ago
Selected Answer: A
In the context of deploying a new application and ensuring future scalability with minimal manual intervention, focusing on pod scalability is indeed fundamental. This is accurately addressed by option A (Deploy the application on GKE, and add a HorizontalPodAutoscaler to the deployment). However, it's also important to have node autoscaling enabled (as mentioned in option C) to ensure that the cluster can accommodate the scaling pods. Both pod and node scaling are important for a fully scalable solution, but the immediate focus when deploying a new application is typically on pod configuration and scaling.
upvoted 2 times
PiperMe
8 months, 4 weeks ago
This is incorrect. Horizontal Pod Autoscalers scale based on pod-level metrics such as CPU. While useful, HPAs don't directly address the need to add more nodes if the underlying infrastructure is at capacity. The answer is C which provides the most effective and streamlined way to achieve automatic cluster-level scaling in a GKE environment hosting multiple microservices.
upvoted 1 times
...
...
MrJkr
1 year, 5 months ago
Selected Answer: A
Its A, When you first deploy your workload to a Kubernetes cluster, you may not be sure about its resource requirements and how those requirements might change depending on usage patterns, external dependencies, or other factors. Horizontal Pod autoscaling helps to ensure that your workload functions consistently in different situations, and allows you to control costs by only paying for extra capacity when you need it.
upvoted 2 times
...
sabrinakloud
1 year, 7 months ago
Selected Answer: A
i think it is A "you want to ensure that the cluster can scale as more applications are deployed in the future."
upvoted 2 times
...
sabrinakloud
1 year, 7 months ago
Selected Answer: C
option C
upvoted 2 times
sabrinakloud
1 year, 7 months ago
option A*
upvoted 2 times
...
...
dobberzoon
1 year, 7 months ago
Selected Answer: A
Not knowing how many pods, and like nooneknows said, chatgpt... A is correct.
upvoted 1 times
...
nooneknows
1 year, 7 months ago
Chat GPT said A is the Answer!
upvoted 2 times
...
lummy
1 year, 8 months ago
i believe A is the answer, you cant figure out how many nodes you will need in the future...how you gotta set a maximum
upvoted 4 times
...
abdelsha
1 year, 9 months ago
How do you set the maximum number of nodes and you do not know how you app will scale in the future? I think A is more accurate here.
upvoted 2 times
...
xmh5025
1 year, 11 months ago
Selected Answer: A
less manual intervention
upvoted 4 times
...
diasporabro
2 years, 1 month ago
Selected Answer: C
C is the right choice... See this for reference https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler
upvoted 1 times
...
Charumathi
2 years, 1 month ago
Selected Answer: C
C is the correct answer, you can enable the cluster autoscaling in node pool by specifying min and max node size. https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-autoscaler#adding_a_node_pool_with_autoscaling
upvoted 1 times
...
ale_brd_111
2 years, 1 month ago
Selected Answer: C
it's mentioning "the cluster can scale" the answer is C
upvoted 2 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 ...