More DBA job interview questions and answers at
http://dba.fyicenter.com/Interview-Questions/
(Continued from previous question...)
How to create and a database?
You create a database by supplying a new database name in the connection URL and specifying create=true. Derby creates a new database inside a new subdirectory in the system directory. This system directory has the same name as the new database. If you specify a partial path, it is relative to the system directory. You can also specify an absolute path.
jdbc:derby:databaseName;create=true
(Continued on next question...)