Learn about the limitations and requirements of the run command feature in Oracle Cloud Infrastructure (OCI) Compute service, including script size limits and supported platforms.
Table of Contents
Question
Which statement is true regarding the run command feature in the Oracle Cloud Infrastructure (OCI) Compute service?
A. You cannot run commands on an instance if the instance does not have SSH access or open inbound ports.
B. The maximum size for a script file that you upload directly to an instance in plain text is 4 KB.
C. The run command feature does not require any Oracle Cloud Agent plugins to be enabled and running.
D. The run command feature is not supported on compute instances that use the Windows Server platform images.
Answer
A. You cannot run commands on an instance if the instance does not have SSH access or open inbound ports.
Explanation
The correct answer is A. You cannot run commands on an instance if the instance does not have SSH access or open inbound ports.
The run command feature in OCI Compute service has the following characteristics:
- It requires the instance to have SSH access and open inbound ports to execute commands remotely.
- The maximum size for a script file that you can upload directly to an instance in plain text is 16 KB, not 4 KB as stated in option B.
- The run command feature requires the Oracle Cloud Agent plugin to be enabled and running on the target instance, contrary to option C.
- The run command feature is supported on both Linux and Windows Server platform images, making option D incorrect.
In summary, the run command feature in OCI Compute service allows you to execute commands on instances remotely, but it has specific requirements such as SSH access, open inbound ports, and the Oracle Cloud Agent plugin. Additionally, there is a 16 KB limit for plain text script files uploaded directly to an instance.
Oracle Cloud Infrastructure 2022 Architect Associate (1z0-1072-22) certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Oracle Cloud Infrastructure 2022 Architect Associate (1z0-1072-22) exam and earn Oracle Cloud Infrastructure 2022 Architect Associate (1z0-1072-22) certification.