Oracle Cloud Infrastructure (OCI) Command Line Interface (CLI) - Exam 1Z0-1067-21 | Oracle

Oracle Cloud Infrastructure (OCI) Command Line Interface (CLI)

Question

Which two statements about the Oracle Cloud Infrastructure (OCI) Command Line Interface (CLI) are TRUE? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

BE.

Sure, I'd be happy to explain each of the statements about the Oracle Cloud Infrastructure (OCI) Command Line Interface (CLI) and which ones are true.

A. You can run CLI commands from inside OCI Regions only. This statement is not true. The OCI CLI can be installed and run from any machine that has access to the internet and the OCI APIs. You can use the OCI CLI to manage resources in any OCI region or availability domain.

B. You can filter CLI output using the JMESPath query option for JSON. This statement is true. The OCI CLI provides the JMESPath query language as an option to filter and transform JSON output from commands. JMESPath is a powerful query language that allows you to extract specific data from JSON output.

C. The CLI provides an automatic way to connect with instances provisioned on OCI. This statement is not entirely true. While the OCI CLI can be used to interact with instances provisioned on OCI, it does not provide an automatic way to connect to those instances. You would still need to use SSH or other remote access methods to connect to the instance.

D. The CLI allows you to use the Python language to interact with OCI APIs. This statement is true. The OCI CLI is built using Python and provides a Python SDK that you can use to interact with OCI APIs. You can also use Python scripts with the OCI CLI to automate tasks and manage resources.

E. The CLI provides the same core functionality as the Console, plus additional commands. This statement is generally true. The OCI CLI provides access to all of the same core functionality as the Console, but it also includes additional commands and features that are not available in the Console. The CLI is particularly useful for automation and scripting, while the Console is designed for interactive use.