1Z0-1072-25 Question 22
Select 2Your e-commerce application experiences unpredictable traffic spikes throughout the day. You have created an Instance Pool in Oracle Cloud Infrastructure (OCI) behind a Load Balancer. The application team wants to automatically add or remove instances to maintain CPU utilization around 65%. Which two configurations would you implement to ensure the Instance Pool can scale automatically?
- A
Create an autoscaling configuration for the Instance Pool with a threshold-based policy that triggers at 65% CPU utilization for a specified duration.
- B
Specify minimum and maximum number of instances within the autoscaling policy to control the scaling range.
- C
Configure the Instance Pool to run a fixed number of instances at all times to handle peak traffic without scaling.
- D
Disable the Load Balancer and route traffic directly to each compute instance to simplify autoscaling policies.
Show answer and explanation
Correct answers: A, B
Explanation
To configure autoscaling in OCI, you define an autoscaling configuration on the Instance Pool. Within that configuration, you set one or more policies, such as a threshold-based policy that triggers scale-out when CPU utilization exceeds a specified threshold (e.g., 65%) for a set duration. You also specify minimum and maximum instance counts to control scaling boundaries. For more details, refer to the OCI documentation on Autoscaling an Instance Pool.
- A. Correct.
Correct. An autoscaling policy allows you to set the metric threshold (CPU utilization) and a duration (cool down period or measurement window). When CPU usage remains above 65% for that duration, the pool scales out.
- B. Correct.
Correct. Defining the minimum and maximum instance limits is crucial. It ensures the instance count scales within acceptable boundaries and prevents resource over-provisioning or under-provisioning.
- C. Incorrect.
Incorrect. Fixing the instance count means autoscaling is disabled, which contradicts the requirement for dynamic scaling based on CPU utilization.
- D. Incorrect.
Incorrect. Disabling the Load Balancer and sending traffic directly to instances does not simplify autoscaling. The Load Balancer helps distribute traffic and provides health checks, which are beneficial when scaling in or out.