You are responsible for deploying an application on Oracle Cloud Infrastructure (OCI). The application is memory intensive and performs poorly if enough memory is not available. You have created an instance pool of Linux compute instances in OCI to host the application and defined Autoscaling Configuration for the instance pool.
What should you do to ensure that the instance pool autoscales to prevent poor application performance?
A. Install OCI SDK on all compute instances and create a script that triggers the autoscaling event if there is high memory usage.
B. Configure the autoscaling policy to monitor CPU usage and scale up the number of instances when it meets the threshold.
C. Install the monitoring agent on all compute instances, which triggers the autoscaling group.
D. Configure the autoscaling policy to monitor memory usage and scale up the number of instances when it meets the threshold.