Oracle Cloud Infrastructure 2021 Multicloud Architect Associate — Question 27
You are asked to deploy a new application that has been designed to scale horizontally. The business stakeholders have asked that the application be deployed in us-phoenix-1.
Normal usage requires 2 OCPUs. You expect to have few spikes during the week, that will require up to 4 OCPUs, and a major usage uptick at the end of each month that will require 8 OCPUs.
What is the most cost-effective approach to implement a highly available and scalable solution? (Choose the best answer.)
Answer options
- A. Create an instance pool with a VM.Standard2.2 shape instance configuration. Setup the autoscaling configuration to use 2 availability domains and have a minimum of 2 instances, to handle the weekly spikes, and a maximum of 4 instances.
- B. Create an instance with 1 OCPU shape. Use the Resize Instance action to scale up to a larger shape when more resources are needed.
- C. Create an instance with 1 OCPU shape. Use a CLI script to clone it when more resources are needed.
- D. Create an instance pool with a VM.Standard2.1 shape instance configuration. Setup the autoscaling configuration to use 2 availability domains and have a minimum of 2 instances and a maximum of 8 instances.
Correct answer: D
Explanation
Option D is the most cost-effective choice as it allows the application to scale up to the required 8 OCPUs during peak times while maintaining a minimum of 2 instances for availability. Option A falls short as it only allows a maximum of 4 OCPUs, which is insufficient for the end-of-month demand. Option B does not provide a proactive scaling solution, and Option C lacks effective resource management by merely cloning an instance without addressing scaling needs.