Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 162 discussion

A company runs applications in an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. The EKS cluster uses an Application Load Balancer to route traffic to the applications that run in the cluster.

A new application that was migrated to the EKS cluster is performing poorly. All the other applications in the EKS cluster maintain appropriate operation. The new application scales out horizontally to the preconfigured maximum number of pods immediately upon deployment, before any user traffic routes to the web application.

Which solution will resolve the scaling behavior of the web application in the EKS cluster?

  • A. Implement the Horizontal Pod Autoscaler in the EKS cluster.
  • B. Implement the Vertical Pod Autoscaler in the EKS cluster.
  • C. Implement the Cluster Autoscaler.
  • D. Implement the AWS Load Balancer Controller in the EKS cluster.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
vmahilevskyi
Highly Voted 7 months, 4 weeks ago
Selected Answer: B
In my opinion A is incorrect because "The new application scales out horizontally to the preconfigured maximum number of pods immediately upon deployment" means that the Horizontal Pod Autoscaler is already implemented but doesn't resolve the issue with poor performance. This may indicate inappropriate resource allocation. But Vertical Pod Autoscaler will help us "right size" our application. So, for me it's B.
upvoted 9 times
...
a54b16f
Highly Voted 10 months ago
Selected Answer: B
scaled out to maximum when there is no user traffic: this means that the configured pod instance is wrong-sized, for example, need more memory or CPU.
upvoted 6 times
...
VerRi
Most Recent 1 week, 1 day ago
Selected Answer: B
The keywords here are "immediately upon deployment" If the pods scale to the max immediately, it indicates that the pods may not have enough resources to handle the workload
upvoted 1 times
...
[Removed]
2 months, 3 weeks ago
Selected Answer: B
i think b
upvoted 1 times
...
auxwww
3 months ago
Selected Answer: A
The app is currently deployed as Deployment with a set of replicas which explains that it scales to the maximum set without any traffic. It needs HPA to scale up in response to traffic not Vertical Pod Autoscaler which is in response to adding more cpu/mem resources to already running pods
upvoted 1 times
...
jamesf
3 months, 2 weeks ago
Selected Answer: B
Should be B keywords: "scaled out to maximum before user traffic route to web application" - this means that the configured pod instance is wrong-sized before user traffic, which need more cpu or memory. increase CPU/memory for resources - Vertical Pod Autoscaler increase pod for traffic - Horizontal Pod Autoscaler
upvoted 3 times
...
that1guy
6 months, 1 week ago
Selected Answer: A
It's A, in Kubernetes you can specific the number of pod replicas without the use of HPA. "The new application scales out horizontally to the preconfigured maximum number of pods This would imply that they are doing it statically currently.
upvoted 2 times
...
seetpt
6 months, 2 weeks ago
Selected Answer: B
B for me
upvoted 2 times
...
dkp
7 months ago
Selected Answer: A
Ans: A Horizontal Pod Autoscaler (Option A) is the most appropriate solution for adjusting the number of pods based on CPU and memory utilization. Vertical Pod Autoscaler (Option B) adjusts the CPU and memory reservations for pods, which might not directly address the scaling behavior issue in this scenario.
upvoted 1 times
...
WhyIronMan
7 months, 2 weeks ago
Selected Answer: A
A. Assuming that the first part of the question is related to replicas, which is the max number controlled by the deployment, the Replicaset will set it to the maximum Kind: deployment Replicas:4 which means this is NOT necessarily HPA, just replica set. So, there is a need to configure the HPA properly, BASED on CPU other them STATiC
upvoted 2 times
WhyIronMan
7 months, 2 weeks ago
but then, when it comes to resources, seems to be B, so changing my to B
upvoted 1 times
...
...
ogerber
8 months ago
Selected Answer: B
Given the nature of the problem — scaling out to the maximum number of pods prematurely, the issue appears to be related to resource allocation rather than the need to handle increased traffic/load. Option B (Implement the Vertical Pod Autoscaler in the EKS cluster) is more likely to address the underlying issue by optimizing the resource allocation for the pods, which could prevent the unnecessary immediate scale-out of the application. VPA adjusts pod resources to match their needs more accurately, potentially mitigating the need for immediate horizontal scaling.
upvoted 3 times
...
thanhnv142
9 months, 1 week ago
Selected Answer: A
A is correct: There are problem with horizontal scale so we need to implement it properly
upvoted 2 times
...
matanasov
10 months, 2 weeks ago
Selected Answer: A
The key here is "preconfigured maximum number of pods". The HPA should be configured to scale the number of pods up based on actual CPU utilization, not based on a preconfigured maximum number of pods.
upvoted 2 times
...
zolthar_z
10 months, 2 weeks ago
B: Can't be A because without traffic the horizontal scaling is full, you need to increase the CPU capacity, https://docs.aws.amazon.com/eks/latest/userguide/vertical-pod-autoscaler.html
upvoted 2 times
...
GokSK
10 months, 2 weeks ago
Selected Answer: A
We need to note this like - new application that was migrated to the EKS cluster is performing poorly Here, due to the new application, cluster is performing poorly. So, we need to only focus on this pod rather overall capacity. so, C will not be the right option as it will take care of entire pods. A is the right way. The Horizontal Pod AutoScaler (HPA) is typically more suitable for adjusting the number of replicas (pods) based on metrics like CPU utilization, ensuring that the application scales in or out based on demand
upvoted 1 times
...
hisdlodskfe
10 months, 2 weeks ago
It needs more node, so that the answer is C
upvoted 1 times
...
d262e67
10 months, 2 weeks ago
Selected Answer: B
If the new application in the Amazon EKS cluster is performing poorly despite scaling out to the maximum number of pods, it's possible that the issue might be related to the resources allocated to each individual pod, rather than the number of pods.
upvoted 5 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 ...