1Z0-1072-25 Question 13
Single answerYour company has created a custom image for a mission-critical application and needs to deploy multiple Compute instances across different Availability Domains. You want each instance to have the same shape, image, and network configuration, while still being able to easily accommodate updates to the custom image. Which deployment strategy offers the most efficient solution with minimal manual effort?
- A
Create a single Compute instance with the custom image in each Availability Domain and configure the network settings manually for each.
- B
Set up an Instance Configuration referencing the custom image and shape, then create an Instance Pool to launch instances across Availability Domains based on that configuration.
- C
Write user data scripts that pull the updated custom image from Object Storage during each instance� first boot and build them on-demand.
- D
Use a single large instance to host containers representing each Availability Domain, replicating the image for each container.
Show answer and explanation
Correct answer: B
Explanation
The most efficient way to deploy identical Compute instances across multiple Availability Domains in Oracle Cloud Infrastructure (OCI) is to use an Instance Configuration in conjunction with an Instance Pool. The Instance Configuration defines shape, image, and networking details, while the Instance Pool automatically launches and manages instances based on that configuration, greatly simplifying updates to the custom image. For more details, refer to the 'Managing Compute Instances' and 'Creating and Managing Instance Pools' sections of the OCI documentation.
- A. Incorrect.
Option 1 is incorrect because deploying and configuring each instance manually is time-consuming and does not simplify future updates to the custom image. You would need to make changes in every instance individually.
- B. Correct.
Option 2 is correct. Creating an Instance Configuration with the custom image and shape ensures consistent settings. Then, using an Instance Pool allows you to automatically launch and manage multiple instances across Availability Domains. This approach also makes it easier to update the underlying image by simply changing the configuration.
- C. Incorrect.
Option 3 is incorrect because while user data scripts can automate some tasks, pulling the entire custom image from Object Storage at each launch is not an efficient approach for large-scale or frequent deployments. It also complicates version control for your image updates.
- D. Incorrect.
Option 4 is incorrect because using a single large instance with containers does not meet the requirement for distributing separate instances across multiple Availability Domains. It also introduces additional container management overhead that is unnecessary for this scenario.