Oracle WebLogic Server 12c: Administration I — Question 23
A new machine was given to your department. This machine has two WebLogic Server 12.1.2 installations, each with different inventories.
Which command or tool do you run to
determine the differences in products installed in each of the inventories?
Answer options
- A. None, inventories are used by Oracle databases only.
- B. *ORACLE_HOME/wlserver/bin/compareInventory.sh -oracle_home1 <oracle_home1 location> -oracle_home2 <oracle_home2 location>*.
- C. The Oracle Inventory Viewer utility.
- D. *ORACLE_HOME/oui/bin/compareInventory.sh -oracle_home1 <oracle_home1 location> -oracle_home2 <oracle_home2 location >*.
Correct answer: B
Explanation
The correct answer is B because the compareInventory.sh script located in the wlserver directory is specifically designed to compare the inventories of WebLogic Server installations. Options A and C are incorrect as they do not provide the necessary tools for comparing WebLogic inventories, while option D refers to a different script that is not meant for WebLogic Server comparison.