1Z0-1067-25 Question 62
Single answerYou are an OCI Cloud Ops Professional at a software development firm. The finance team requires that no new Compute instances can be launched in the 'DevCompartment' once the monthly spend reaches $2,000. You set up a budget with a $2,000 threshold at the compartment level and now need to ensure enforcement so that additional Compute resources cannot be created. Which approach meets this requirement?
- A
Create a budget in the DevCompartment that automatically enforces usage limits once the threshold is exceeded.
- B
Configure the budget to trigger a notification, then use an event rule to update the DevCompartment's quota definition and block new Compute resources after $2,000.
- C
Set a usage cost alert and rely on auto-scaling to reduce the number of Compute instances when the cost surpasses $2,000.
- D
Apply cost tracking tags to each Compute instance in the DevCompartment, then define a resource-level quota that prevents adding new instances.
Show answer and explanation
Correct answer: B
Explanation
Budgets alone provide notifications of cost thresholds but do not block resource usage. To enforce usage limits, you must combine budget alerts with compartment quotas. You can configure a budget to trigger an event when the threshold is reached and update the compartment quota policy to block new resources. Refer to the Oracle Cloud Infrastructure documentation on Budgets (https://docs.oracle.com/en-us/iaas/Content/Billing/Concepts/budgets.htm) and Compartment Quotas (https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcompartmentquotas.htm) for best practices on enforcing spending limits.
- A. Incorrect.
Incorrect. Budgets do not automatically prevent resource creation. They can alert you to spending thresholds but cannot enforce usage limits on their own.
- B. Correct.
Correct. Budget alerts can trigger OCI events, and quota policies can then be updated to block new instances. This combination enforces spending limits and usage constraints together.
- C. Incorrect.
Incorrect. Auto-scaling is not designed to block new resource creation based on cost. It adjusts resources based on performance metrics, not budget thresholds.
- D. Incorrect.
Incorrect. Cost tracking tags help categorize expenses but do not offer a direct mechanism to prevent the creation of additional resources. OCI quota policies and event rules are required for enforcement.