nerdexam
Oracle

1Z0-1067 · Question #9

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…

The correct answer is D. oci compute instance launch --generate-full-command-json-input. Use --generate-full-command-json-input. To generate the JSON for launching an instance, run the following command. oci compute instance launch --generate-full-command-json-input https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/cliusing.htm

Define Common Applications Configuration

Question

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?

Options

  • Aoci compute provision-Instance -- generate-full-command-Json-lnput
  • Boci compute instance create --generate-cll-skeleton
  • Coci compute instance launch --generate-cll-skeleton
  • Doci compute instance launch --generate-full-command-json-input

How the community answered

(26 responses)
  • A
    8% (2)
  • B
    4% (1)
  • C
    4% (1)
  • D
    85% (22)

Explanation

Use --generate-full-command-json-input. To generate the JSON for launching an instance, run the following command. oci compute instance launch --generate-full-command-json-input https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/cliusing.htm

Topics

#OCI CLI#JSON template#compute instance launch#CLI skeleton

Community Discussion

No community discussion yet for this question.

Full 1Z0-1067 Practice