1Z0-1072-25 Question 5
Select 2Your organization needs to migrate a stateless, microservices-based web application to Oracle Cloud Infrastructure (OCI). The application experiences unpredictable traffic spikes and must be highly available across multiple availability domains while optimizing costs by running only the necessary compute resources. Which two actions should you implement to meet these requirements?
- A
Create an instance pool in a regional subnet spanning multiple availability domains, configure auto-scaling rules based on CPU utilization thresholds, and distribute instances across the ADs.
- B
Deploy a single compute instance with a large shape in one availability domain to manage demand for high availability.
- C
Use ephemeral local NVMe storage to persist critical database data for improved performance and reliability.
- D
Configure an OCI Load Balancer to direct traffic to the instance pool and enable health checks to ensure traffic is sent only to healthy instances.
Show answer and explanation
Correct answers: A, D
Explanation
Implementing an instance pool in a regional subnet with auto-scaling rules meets the requirement to handle unpredictable traffic while optimizing costs by scaling out and in only as needed. Distributing instances across multiple availability domains fulfills the high availability requirement. An OCI Load Balancer in front of the instance pool ensures health checks and efficient distribution of incoming traffic. Refer to the Oracle Cloud Infrastructure documentation on Instance Pools and Load Balancing for best practices on scaling, monitoring, and high availability.
- A. Correct.
Option 1 is correct. By creating an instance pool in a regional subnet and defining auto-scaling rules based on CPU utilization, you can dynamically scale out or in. Distributing instances across multiple availability domains ensures high availability.
- B. Incorrect.
Option 2 is incorrect. Relying on a single large instance in one domain introduces a single point of failure, which is not recommended for high availability or cost optimization.
- C. Incorrect.
Option 3 is incorrect. Ephemeral local NVMe storage is not suitable for persisting critical database data because it does not survive instance termination, thus compromising data reliability.
- D. Correct.
Option 4 is correct. Using an OCI Load Balancer with health checks and directing traffic to the instance pool ensures that requests only go to healthy instances and that traffic is automatically distributed across multiple availability domains.