Oracle Cloud Infrastructure 2020 Architect Associate — Question 24
You create an autoscaling configuration of Linux compute instances in Oracle Cloud Infrastructure (OCI). You noticed that your application is running slow.
After checking your compute instances, you noticed that autoscaling is not launching additional instances, even though the existing compute instances already have high memory usage.
How can you resolve this issue?
Answer options
- A. Modify the scaling policy to monitor memory usage and scale up the number of instances when it meets the threshold.
- B. Modify the scaling policy to monitor CPU usage and scale up the number of instances when it meets the threshold.
- C. Install the monitoring agent to all compute instances which will trigger the autoscaling group.
- D. Install OCI SDK in all compute instances and create a script that will trigger the autoscaling event if there is high memory usage.
Correct answer: B
Explanation
The correct answer is B because monitoring CPU usage is essential for scaling decisions, especially if high memory usage does not trigger autoscaling. Options A, C, and D are incorrect as they either focus on memory usage, which is not being monitored in this scenario, or involve unnecessary installations that do not directly address the scaling policy adjustment needed.