You have a group of developers who launch multiple VM.Standard2.2 compute Instances every day into the compartment Dev. As a result your OCI tenancy quickly hit the service limit for this shape. Other groups can no longer create new instances using VM.Standard2.2 shape.
of this, your company has Issued a new mandate that the Dev compartment must include a quota to allow for use of only 20 VM.Standar2.2 shapes per Availability Domain. Your solution should not affect any other compartment In the tenancy.
Which quota statement should be used to implement this new requirement?
A)
B)
C)
D)
E)
Compartment quotas give tenant and compartment administrators better control over how resources are consumed in Oracle Cloud Infrastructure.
There are three types of quota policy statements:
- set - sets the maximum number of a cloud resource that can be used for a compartment
- unset - resets quotas back to the default service limits
- zero - removes access to a cloud resource for a compartment
The quota policy statements look like this:
To sets the quota for VM.Standard2.2 Compute instances to 20 on compartment Dev
set compute quota vm-standard2-2-count to 20 in compartment dev
No need to make a whitelist, by setting every quota in a family to zero
zero compute quotas in tenancy
Currently there are no comments in this discussion, be the first to comment!