Oracle Cloud Infrastructure 2021 Architect Associate — Question 36
You are responsible for deploying an application on Oracle Cloud Infrastructure (OCI).
The application is memory intensive, and will perform badly if not enough memory is available.
You have created an instance pool of Linux compute instances in OCI to host the application, and defined an Autoscaling Configuration for the instance pool.
What should you do to ensure that the instance pool autoscales to prevent poor application performance?
Answer options
- A. Install OCI SDK in all compute instances and create a script that will trigger the autoscaling event if there is high memory usage.
- B. Install the monitoring agent to all compute instances which will trigger the autoscaling group.
- C. Configure the autoscaling policy to monitor CPU usage and scale up the number of instances when it meets the threshold
- D. Configure the autoscaling policy to monitor memory usage and scale up the number of instances when it meets the threshold.
Correct answer: D
Explanation
The correct answer is D because the application is memory-intensive, and monitoring memory usage directly addresses its performance needs. Options A and B involve additional setups that do not directly utilize the built-in autoscaling capabilities based on memory metrics. Option C monitors CPU usage, which may not be sufficient for a memory-intensive application and could lead to poor performance.