1Z0-1067 · Question #17
You are using the Oracle Cloud Infrastructure Command Line Interface to launch a Linux virtual machine. You enter the following command (with correct values for all parameters): The command fails…
The correct answer is B. -t <tenancy_id>. There's no tenancy_id as a option in oci compute instance launch command. oci compute instance launch [OPTIONS] --availability-domain [text] The availability domain of the instance. --compartment-id, -c [text] The OCID of the compartment. The shape of an instance. The shape…
Question
You are using the Oracle Cloud Infrastructure Command Line Interface to launch a Linux virtual machine. You enter the following command (with correct values for all parameters):
The command fails. Which is NOT a valid parameter in this command?
Options
- A--shape "<shape_name>"
- B-t <tenancy_id>
- C-c <compartment_id>
- D--image-id <image_id>
- E--subnet-id <subnet_id>
How the community answered
(54 responses)- A17% (9)
- B70% (38)
- C7% (4)
- D2% (1)
- E4% (2)
Explanation
There's no tenancy_id as a option in oci compute instance launch command. oci compute instance launch [OPTIONS] --availability-domain [text] The availability domain of the instance. --compartment-id, -c [text] The OCID of the compartment. The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. --display-name [text] A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential --image-id [text] The OCID of the image used to boot the instance. This is a shortcut for specifying an image source via the --source-details complex JSON parameter. If this parameter is provided, you cannot provide the -- source-details or --source-boot-volume-id parameters. --ssh-authorized-keys-file [filename] A file containing one or more public SSH keys to be included in the ~/.ssh/authorized_keys file for the default user on the instance. --subnet-id [text] The OCID of the subnet where the VNIC attached to this instance will be created. and more options, https://docs.cloud.oracle.com/en-us/iaas/tools/oci- cli/2.10.1/oci_cli_docs/cmdref/compute/instance/launch.html
Topics
Community Discussion
No community discussion yet for this question.