exam questions

Exam AI-100 All Questions

View all questions & answers for the AI-100 exam

Exam AI-100 topic 1 question 9 discussion

Actual exam question from Microsoft's AI-100
Question #: 9
Topic #: 1
[All AI-100 Questions]

You have several AI applications that use an Azure Kubernetes Service (AKS) cluster. The cluster supports a maximum of 32 nodes.
You discover that occasionally and unpredictably, the application requires more than 32 nodes.
You need to recommend a solution to handle the unpredictable application load.
Which scaling method should you recommend?

  • A. horizontal pod autoscaler
  • B. cluster autoscaler
  • C. manual scaling
  • D. Azure Container Instances
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
B: To keep up with application demands in Azure Kubernetes Service (AKS), you may need to adjust the number of nodes that run your workloads. The cluster autoscaler component can watch for pods in your cluster that can't be scheduled because of resource constraints. When issues are detected, the number of nodes is increased to meet the application demand. Nodes are also regularly checked for a lack of running pods, with the number of nodes then decreased as needed. This ability to automatically scale up or down the number of nodes in your AKS cluster lets you run an efficient, cost-effective cluster.
Reference:
https://docs.microsoft.com/en-us/azure/aks/cluster-autoscaler

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
Piraat
Highly Voted 5 years, 3 months ago
Is this part of AI-100? I don't remember learning anything related to this...
upvoted 13 times
AndyH77
4 years ago
Simpler parts of data engineering, database, and SQL questions are included in AI-100. This type of question was also on the data engineering exam.
upvoted 1 times
...
...
nohaph
Highly Voted 4 years, 5 months ago
The question asks about nodes so the answer is Cluster Auto-scaler. If it asks about pods then the answer will be horizontal pod auto-scaler
upvoted 9 times
aitruthseeker
4 years, 5 months ago
Simple and elegant! Yes Cluster Auto-Scaler is the answer
upvoted 2 times
...
...
rveney
Most Recent 1 year, 12 months ago
To handle the unpredictable application load in an Azure Kubernetes Service (AKS) cluster that occasionally requires more than the maximum of 32 nodes, the recommended scaling method would be B. cluster autoscaler.
upvoted 1 times
...
dev2dev
2 years, 5 months ago
ACI: D is answer. https://learn.microsoft.com/en-us/azure/architecture/solution-ideas/articles/scale-using-aks-with-aci "Use the AKS virtual node to provision pods inside ACI that start in seconds. This enables AKS to run with just enough capacity for your average workload. As you run out of capacity in your AKS cluster, scale out additional pods in ACI, without any additional servers to manage"
upvoted 1 times
...
dev2dev
2 years, 5 months ago
autoscaler is to scale the cluster up/down. So as per the question it can't go beyond 32 nodes and the question is what you do when we need more than 32 nodes? surely autoscaler won't do this job.
upvoted 1 times
...
heirro39
4 years, 1 month ago
Correct answer is cluster autoscaler. Ref : https://docs.microsoft.com/en-us/azure/aks/cluster-autoscaler#:~:text=cluster%20autoscaler%20settings.-,Update%20an%20existing%20AKS%20cluster%20to%20enable%20the%20cluster%20autoscaler,count%20and%20%2D%2Dmax%2Dcount%20.
upvoted 1 times
...
deathknight666
4 years, 6 months ago
can the answer be A?
upvoted 1 times
...
Akashg
4 years, 6 months ago
The ans is (D)Azure container Instance: To rapidly scale your AKS cluster, you can integrate with Azure Container Instances (ACI). https://docs.microsoft.com/en-us/azure/aks/concepts-scale
upvoted 4 times
...
userfriendly
4 years, 6 months ago
My answer would be D. Azure Container Instances, since maximum of the cluster is 32 and "occasionally and unpredictably" we need resources above that value. Proof: https://azure.microsoft.com/en-us/services/container-instances/#overview Elastic bursting with AKS ACI provides fast, isolated compute to meet traffic that comes in spikes, without the need to manage servers. For example, Azure Kubernetes Service (AKS) can use the Virtual Kubelet to provision pods inside ACI that start in seconds. This enables AKS to run with just enough capacity for your average workload. As you run out of capacity in your AKS cluster, scale out additional pods in ACI without any additional servers to manage.
upvoted 3 times
...
tttyyy
4 years, 8 months ago
In the question: "The cluster supports a maximum of 32 nodes. You discover that occasionally and unpredictably, the application requires more than 32 nodes." To me, this is a clear indication an additional cluster is needed, therefore B.
upvoted 1 times
...
freedomeox
4 years, 9 months ago
“Cluster autoscaler is typically used alongside the horizontal pod autoscaler. When combined, the horizontal pod autoscaler increases or decreases the number of pods based on application demand, and the cluster autoscaler adjusts the number of nodes as needed to run those additional pods accordingly.”
upvoted 1 times
...
jorama
5 years ago
The correct answer is B. If you check https://docs.microsoft.com/en-us/azure/aks/concepts-scale, particularly the section "Cluster Auto-scaler", you'll find the following excerpt: "If the cluster autoscale determines that a change is required, the number of nodes in your AKS cluster is increased or decreased accordingly" On the reason why A. Horizontal pod auto-scaler, it becomes clear on the same web page that this scaler is limited by the number of nodes in the cluster, therefore, not acceptable
upvoted 2 times
...
Miles19
5 years, 2 months ago
I think the correct answers are "A" and "B". The horizontal pod auto-scaler increase/ decrease the number of replicas of an app that has been deployed, while the cluster auto-scaler increase/ decrease the number of nodes in the cluster. Any of these two options could fit well in the required scenario.
upvoted 2 times
...
T0p1cs
5 years, 8 months ago
Please ignore, this was for the previous question
upvoted 1 times
...
T0p1cs
5 years, 8 months ago
I think the answer is Visual Studio Code... https://code.visualstudio.com/docs
upvoted 1 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 ...