Oracle Cloud Platform Data Integration 2020 Specialist — Question 42
You need to execute a script on a remote instance through Oracle Cloud Infrastructure Resource Manager.
Which option can you use? (Choose the best answer.)
Answer options
- A. Use /bin/sh with the full path to the location of the script to execute the script.
- B. It cannot be done.
- C. Download the script to a local desktop and execute the script.
- D. Use remote-exec
Correct answer: D
Explanation
The correct answer is D, as remote-exec is specifically designed for executing scripts on remote instances in Oracle Cloud Infrastructure Resource Manager. Option A is incorrect because while you can use /bin/sh, it does not specify the Resource Manager context, and options B and C are not viable methods for executing scripts on remote instances.