Computer Knowledge
Database Management Systems
5,543 Questions
Database Management Systems (DBMS) form the core framework for data storage, retrieval, and security in modern software applications. Concepts such as the E-R model, backup planning, SQL integration, and big data architecture are essential for computer knowledge sections. This hub offers a comprehensive set of practice questions to master DBMS fundamentals and advanced database operations.
E-R Model ConceptsBackup and RecoverySQL Server UpgradesJDBC and ODBCBig Data CharacteristicsData VirtualizationOracle Database
Database Management Systems Questions
-
CBLTDLI
-
PLITDLI
-
Only a
-
A or b
D
Correct answer
Explanation
To answer this question, the user needs to have knowledge of database access methods.
The correct answer is:
D. A or B
Explanation:
CBLTDLI and PLITDLI are both programming interfaces for accessing databases. CBLTDLI is a COBOL interface, and PLITDLI is a PL/I interface. Both interfaces are used to submit commands and retrieve data from databases. Therefore, either option A or option B can be used to access the database. Option C is incorrect because only option A or B can be used to access the database, not just option A.
-
Explicit Cursor
-
Implicit Cursor
-
Active Data Set
-
None of the above
B
Correct answer
Explanation
An implicit cursor is automatically opened and managed by the Oracle Database engine for internal processing of SQL statements when an explicit cursor is not defined by the user.
-
initPKR.ini
-
initPKR.ora
-
initPKR.sap
-
initPKR.brt
C
Correct answer
Explanation
In SAP R/3 systems using Oracle databases, BR*Tools (brbackup and brarchive) use parameter files with the .sap extension. The naming convention follows the format init.sap where SAPSID is the System ID. For SAP System ID PKR, the correct parameter file name is initPKR.sap. The .ora extension is used for Oracle's own initialization files, while .ini and .brt are not standard for this purpose.
-
Adabas D
-
DB2/400
-
DB2 for AIX
-
Oracle
-
Sybase
A,B,C,D,E
Correct answer
Explanation
SAP software supports multiple database platforms including Adabas D (SAP's original database), IBM DB2/400 and DB2 for AIX, Oracle, and Sybase. This database flexibility allows customers to choose based on their existing infrastructure.
-
Tibco runtime agent
-
Tibco administrator
-
Tibco Adapter for Active database
-
None of the above
A
Correct answer
Explanation
TIBCO Runtime Agent (TRA) is the foundational requirement for installing TIBCO BusinessWorks. TRA provides the runtime environment, Java_HOME configuration, and service infrastructure. TIBCO Administrator and Active Database Adapter are optional components installed separately for specific needs.
-
Identifies Data producer to Data Consumer
-
Identifies Data Consumer to Producer
-
Communication between data producer and Data consumers
-
None of the above
A
Correct answer
Explanation
A partitioned table space in DB2 can store only one table. This is different from segmented table spaces which can store multiple tables. Partitioning is specifically for single-table performance optimization.
-
TABLE A
-
TABLE B
-
TABLE C
-
TABLE D
B
Correct answer
Explanation
TABLE B contains all retrievable data fields for records in the file. Table A only has hash codes for lookup, Table C handles overflow, and Table D has statistics. All actual field data that queries access lives in Table B.
-
$dbh = DBI::connect("dbi:mysql:myPhoneBook");
-
$dbh = DBD:->connect("dbi::mysql::myPhoneBook");
-
$dbh = DBD::connect("mysql:dbi:myPhoneBook");
-
$dbh = DBI->connect("dbi:mysql:myPhoneBook");
D
Correct answer
Explanation
The correct Perl DBI syntax is DBI->connect() with the DSN string 'dbi:mysql:myPhoneBook'. Options A and B incorrectly use static (::) instead of arrow (->) syntax. Option C has the wrong DSN format (mysql:dbi instead of dbi:mysql). The DBI module uses object-oriented syntax with the arrow operator.
B
Correct answer
Explanation
The System Monitor (SMON) background process is responsible for performing instance recovery when an Oracle database is restarted after an unexpected crash. PMON cleans up failed user processes, RECO resolves pending distributed transactions, ARCn archives redo logs, and CKPT signals checkpoints, making them incorrect for instance recovery.
-
Extent
-
Segement
-
Oracle block
-
Operating system block
A
Correct answer
Explanation
In a LOCALLY MANAGED tablespace with UNIFORM SIZE 1M, every EXTENT allocated within that tablespace is exactly 1 MB. This provides predictable space allocation and avoids fragmentation.
-
The index need to be dropped, and then re-created.
-
The resolution of index fragmentation depends on the type of index.
-
The index can be rebuilt while users continue working on the table.
-
The index can be rebuilt, but users will not have access to the index during this time.
-
The fragmented can be ignored because Oracle resolve index fragmentation by means of a freelist.
C
Correct answer
Explanation
Oracle allows online index rebuild using the ONLINE keyword (ALTER INDEX ... REBUILD ONLINE), enabling users to continue DML operations during the rebuild. This is essential for 24/7 systems.
-
Locks the project in the server repository but not in the local repository
-
Locks the projects in the local database repository
-
Locks the projects in the server database repository
-
Copies all object definitions in the project on the server to the local database
B,C,D
Correct answer
Explanation
Checking out a Siebel project locks it in both local and server repositories (preventing concurrent modifications), and copies all object definitions from server to local database, enabling offline development.
-
Transaction Router
-
Generate New Database
-
Synchronization Manager
-
Database Extract
D
Correct answer
Explanation
In Siebel Mobile Web Client architecture, the Database Extract task is responsible for initializing a new mobile client's local database. This task creates the necessary directory structure including the Docking\User directory on the Siebel Server, which stores the client-specific data and configuration files.
-
$dbh = DBI::connect("dbi:mysql:myPhoneBook");
-
$dbh = DBD:->connect("dbi::mysql::myPhoneBook");
-
$dbh = DBD::connect("mysql:dbi:myPhoneBook");
-
$dbh = DBI->connect("dbi:mysql:myPhoneBook");
D
Correct answer
Explanation
The correct Perl DBI syntax is $dbh = DBI->connect("dbi:mysql:myPhoneBook"); DBI is the database interface module, and connect is called as a class method using arrow notation. The dbi:mysql: prefix specifies the DBI driver and database name. Options B and C incorrectly use DBD or wrong syntax, and option A omits the arrow operator.