nerdexam
Microsoft

AZ-104 · Question #746

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…

The correct answer is C. Remove the resource limit for both containers. To allow container2 to use CPU resources without negatively affecting container1, removing resource limits for both containers can help if container1 has a guaranteed CPU request.

Submitted by jakub_pl· Mar 4, 2026Implement and manage compute resources

Question

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?

Options

  • AIncrease the resource limit of container1 to three CPUs.
  • BIncrease the resource limit of container2 to six CPUs.
  • CRemove the resource limit for both containers.
  • DDecrease the resource limit of container2 to two CPUs.

How the community answered

(58 responses)
  • A
    5% (3)
  • B
    7% (4)
  • C
    69% (40)
  • D
    19% (11)

Why each option

To allow container2 to use CPU resources without negatively affecting container1, removing resource limits for both containers can help if container1 has a guaranteed CPU request.

AIncrease the resource limit of container1 to three CPUs.

Increasing container1's resource limit only allows container1 to consume more if it needs to, potentially reducing the pool of resources available for container2 without directly enabling container2 to burst.

BIncrease the resource limit of container2 to six CPUs.

Increasing container2's resource limit allows it to use more, but it doesn't prevent contention or guarantee container1's performance if container1's resources are not sufficiently protected by a request.

CRemove the resource limit for both containers.Correct

In Azure Container Instances, if a container has a CPU request defined, those resources are guaranteed. By removing the resource limit for both containers, container2 can then burst and utilize any available CPU resources in the container group that are not explicitly requested by container1, without causing throttling or impacting container1's guaranteed allocation.

DDecrease the resource limit of container2 to two CPUs.

Decreasing container2's resource limit would restrict its CPU usage, directly contradicting the goal of allowing container2 to use CPU resources.

Concept tested: Azure Container Instances CPU resource allocation and contention management

Source: https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-groups

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice