Oracle Cloud Infrastructure 2021 Multicloud Architect Associate — Question 48
One of your development teams has asked for your help to standardize the creation of several compute instances that must be provisioned each day of the week.
You initially write several Command Line Interface (CLI) commands with all appropriate configuration parameters to achieve this task later determining this method lacks flexibility.
Which command generates a JSON-based template that Oracle Cloud Infrastructure (OCI) CLI can use to provision these instances on a regular basis? (Choose the best answer.)
Answer options
- A. oci compute instance create ג€" ג€"generateג€"cliג€"skeleton
- B. oci compute instance launch ג€" ג€"generateג€"cliג€"skeleton
- C. oci compute provisionג€"instance ג€" ג€"generateג€"fullג€"commandג€"jsonג€"input
- D. oci compute instance launch ג€" ג€"generateג€"fullג€"commandג€"jsonג€"input
Correct answer: D
Explanation
The correct answer, option D, generates a complete JSON input template for the OCI CLI, allowing for flexible provisioning of instances. Options A and B use the `--generate-cli-skeleton` flag, which produces a basic structure rather than a full command JSON input. Option C incorrectly uses `oci compute provision-instance`, which is not a valid command for this context.