exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 4 question 110 discussion

Actual exam question from Microsoft's AZ-104
Question #: 110
Topic #: 4
[All AZ-104 Questions]

You have an Azure subscription that contains a container group named Group1. Group1 contains two Azure container instances as shown in the following table.



You need to ensure that container2 can use CPU resources without negatively affecting container1.

What should you do?

  • A. Increase the resource limit of container1 to three CPUs.
  • B. Increase the resource limit of container2 to six CPUs.
  • C. Remove the resource limit for both containers.
  • D. Decrease the resource limit of container2 to two CPUs.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
wind123
Highly Voted 5 months, 3 weeks ago
Selected Answer: C
Surprisingly C because 'If you don't specify a resource limit, the container instance's maximum resource usage is the same as its resource request.' https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-groups Hence none will go above their initial resource request. Actually makes sense that not specifying it wouldn't let it just be unlimited or something as was my initial thought.
upvoted 8 times
...
Josh219
Most Recent 3 months, 1 week ago
Selected Answer: C
Correct is C
upvoted 2 times
...
RVivek
3 months, 1 week ago
Selected Answer: C
If you don't specify a resource limit, the container instance's maximum resource usage is the same as its resource request https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-groups
upvoted 2 times
...
Josh219
3 months, 2 weeks ago
Its D not C. Why ? see below Unpredictable Performance: Without defined limits, the performance of each container becomes unpredictable. Under heavy load, one container might starve the other of resources, leading to instability and degraded performance for both. This is not what we want to achieve in the question. Fair Resource Allocation: Setting resource limits ensures that each container gets a fair share of resources. This is particularly important in environments where resource usage needs to be predictable and stable.
upvoted 1 times
Josh219
3 months, 1 week ago
Correct is C, ignore my previous comment
upvoted 3 times
...
...
[Removed]
5 months, 1 week ago
Selected Answer: C
it´s C
upvoted 1 times
...
117b84e
5 months, 3 weeks ago
chatGPT D. Decrease the resource limit of container2 to two CPUs. Here’s why: In this scenario, container2 has a resource request of 3 CPUs and a resource limit of 4 CPUs, while container1 has both a request and a limit of 2 CPUs. Since container2 has a higher resource request (3 CPUs) than container1 (2 CPUs), it could potentially starve container1 of the CPU resources it needs, especially if the CPU load increases. By decreasing the resource limit of container2 to 2 CPUs, you ensure that both containers have equal access to CPU resources (i.e., 2 CPUs each), preventing container2 from consuming more resources than necessary and negatively impacting container1.
upvoted 2 times
...
Milad
6 months, 1 week ago
Selected Answer: C
C should be the right answer
upvoted 2 times
...
FatFatSam
6 months, 2 weeks ago
Selected Answer: C
I think the Answer is C. The resources allocated to Group1 is 5 CPUs Option D must be wrong. It is because the resource limit of a container instance must be greater than or equal to the mandatory resource request property. The resource limit of container 2 must be 3 or greater. Option B is wrong as well. The maximum resource limit you can set for a container instance is the total resources allocated to the group. Thus, maximum request limit of container2 is 5. Also, Resource limit of container2 is 4. Container2 could use up to 4 CPUs that will negatively impact container1. Increase it 6 CPUs will make the situation even worse. Option A can not stop container2 use up to 4 CPUs.
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