Information
A DB2 Instance may come installed with default databases. It is recommended that the SAMPLE database be removed.
Removing unused, well-known databases will reduce the attack surface of the system.
Solution
To drop sample databases:
1. Connect to the DB2 database.
2. Run the following command from the DB2 command window:
db2 => drop database sample