1Z0-1072-25 Question 18
Select 2Your company is deploying a mission-critical web application on Oracle Cloud Infrastructure (OCI) that requires consistent public accessibility even during restarts, and you anticipate occasional surges in CPU utilization. You want to maintain a single public IP address for the instance and rapidly increase CPU resources with minimal downtime when traffic spikes occur. Which two configuration steps would best meet these requirements?
- A
Assign a reserved public IP address to your compute instance.
- B
Use a flexible VM shape to dynamically adjust the number of OCPUs.
- C
Attach an ephemeral public IP address so it is automatically released when the instance is stopped.
- D
Configure a standard VM shape that can be resized without stopping or restarting the instance.
Show answer and explanation
Correct answers: A, B
Explanation
By using a reserved public IP, you maintain a consistent address that persists through restarts, which is crucial for a public-facing application. Flexible shapes let you increase or decrease CPU resources quickly, enabling you to handle traffic spikes more efficiently. Refer to the Oracle Cloud Infrastructure documentation on 'Managing Public IP Addresses' and 'Flexible Shapes' for more details on these configurations.
- A. Correct.
Correct. A reserved public IP address remains associated with the instance through restarts, providing a stable endpoint for your application. This avoids having to update DNS records or other external configurations after every stop or restart of the instance.
- B. Correct.
Correct. Flexible shapes in OCI allow you to adjust CPU (OCPU) resources without fully reprovisioning the instance. This often minimizes downtime and is ideal for workloads with variable CPU demands.
- C. Incorrect.
Incorrect. An ephemeral public IP is released whenever an instance is stopped, so you would lose the address after stopping or restarting the instance. This creates additional work in reconfiguring DNS or client settings each time.
- D. Incorrect.
Incorrect. Standard VM shapes in OCI do not allow resizing OCPU or memory resources in the same manner as flexible shapes. You typically must stop the instance and switch shapes, which can result in extended downtime and reconfiguration.