1Z0-1067-25 Question 43
Select 2Your e-commerce platform experiences unpredictable daily traffic spikes, with some days seeing very high loads and others remaining relatively quiet. You currently use a static pool of Compute instances in Oracle Cloud Infrastructure (OCI), which often results in underutilized resources and unnecessary spending. However, management insists that the platform must handle sudden demand surges without performance degradation. Which two approaches should you implement to optimize costs and maintain performance in OCI 2025?
- A
Configure an auto-scaling policy for your instance pool to increase or decrease the number of instances based on metrics such as CPU usage.
- B
Use flexible VM shapes to dynamically adjust the number of OCPUs and memory allocations based on real-time workload demands.
- C
Purchase and maintain a large, fixed number of instances to ensure ample capacity for unexpected traffic peaks at all times.
- D
Disable auto-scaling and rely on higher-tier shapes for each instance to handle traffic surges without adding more instances.
Show answer and explanation
Correct answers: A, B
Explanation
By combining auto-scaling for instance pools with flexible VM shapes, you can dynamically meet workload requirements without overprovisioning. Auto-scaling responds to real-time metrics (for example, CPU utilization) to control instance pool size, while flexible shapes let you precisely adjust OCPUs and memory allocations as demand shifts. These strategies are recommended in OCI documentation for cost optimization and performance management. Refer to the OCI documentation on Autoscaling (https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm) and Flexible Shapes (https://docs.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm) for more details.
- A. Correct.
Correct. Setting an auto-scaling policy on your instance pool matches capacity to actual demand. When traffic is low, the pool scales in to save costs; during spikes, it scales out to maintain performance. This aligns closely with best practices for handling unpredictable workloads.
- B. Correct.
Correct. Flexible VM shapes in OCI allow you to adjust OCPU and memory resources on-demand, so you can reduce resource allocation when traffic is low and scale up when demand increases. This helps avoid overprovisioning and unnecessary cost.
- C. Incorrect.
Incorrect. While maintaining a large, fixed pool guarantees capacity, it also leads to underutilization and unnecessarily high costs during low-traffic periods. This approach does not optimize costs effectively.
- D. Incorrect.
Incorrect. Disabling auto-scaling and only using higher-tier shapes forces you to pay for more resources at all times. It provides performance but lacks the flexibility to reduce costs in off-peak hours or optimize utilization.