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
A
Correct answer
Explanation
SQL is Oracle's standard query language for data manipulation and retrieval, while PL/SQL is Oracle's procedural extension to SQL that adds programming constructs like variables, conditions, and loops. Both are fundamental languages for working with Oracle databases - SQL for declarative data operations and PL/SQL for complex procedural logic. This statement accurately describes the two core languages used in Oracle database environments.
-
Cant protect the code
-
Third party utilities
-
Binary wrapper utility
-
Only DBA's are allowed to protect
C
Correct answer
Explanation
Oracle provides the wrap utility, which is a binary wrapper utility that obfuscates PL/SQL source code. This protects intellectual property by preventing users from reading the code while still allowing the database to compile and execute it normally.
-
Partition by Percentage
-
Partition by Key
-
Round-robin Partition
-
Partition by Range
C
Correct answer
Explanation
Round-robin partition distributes records evenly across all partitions by cycling through them sequentially. Each record goes to the next partition in order, ensuring balanced distribution.
A
Correct answer
Explanation
Lookup local functions work on partitioned data where the partition key matches the lookup condition. If data isn't partitioned on the lookup key, each partition would need to search the entire lookup cache, defeating the purpose of local lookup optimization.
-
Thru' DS Director
-
Thru’ DS Administrator
-
Thru' Multi Client Manager
-
None of the above
D
Correct answer
Explanation
Purged job logs in DataStage cannot be retrieved through DS Director, DS Administrator, or Multi Client Manager. Once a log is purged, it is permanently deleted from the system. The correct answer is that none of these tools can recover purged logs.
A
Correct answer
Explanation
SQL*Loader can handle EBCDIC data through character set conversion specifications in the control file. EBCDIC (Extended Binary Coded Decimal Interchange Code) is commonly used on IBM mainframes, and SQL*Loader includes built-in support for converting EBCDIC to ASCII during the load process.
A
Correct answer
Explanation
SQL*Loader can load binary data including images, sound clips, and documents using LOB (Large Object) datatypes like BLOB, BFILE, and CLOB. The control file can specify LOBFILE directives to load LOB data from separate files, making it capable of handling multimedia content.
A
Correct answer
Explanation
The NBT Application uses three databases. This multi-database architecture likely separates concerns such as user authentication, business data, and reporting/analytics. Using multiple databases improves performance, security, and maintainability by isolating different data domains.
-
A DataSet can be synchronised with the database.
-
A DataSet can be synchronised with a RecordSet.
-
A DataSet can be converted to XML.
-
You can infer the schema from a DataSet.
B
Correct answer
Explanation
ADO.NET DataSets and classic ADO RecordSets are fundamentally different technologies that cannot be directly synchronized. DataSets are XML-based, disconnected data containers from .NET, while RecordSets are COM-based objects from classic ADO. You can sync DataSets with databases, convert them to XML, and infer schemas, but there's no direct DataSet-to-RecordSet synchronization mechanism.
-
Service Activator
-
Data Access Object
-
Domain Store
-
Business Object
B
Correct answer
Explanation
The Data Access Object (DAO) pattern encapsulates all data access logic, providing a clean separation between business logic and data persistence. It enables loose coupling by abstracting the underlying data source and providing CRUD operations. Service Activator enables async processing, Domain Store handles transparent persistence, and Business Object represents business entities.
-
System tablespace
-
Users tablespace
-
Default tablespace for the user
-
Oracle will give an error
-
Undefined
C
Correct answer
Explanation
When you create an object without specifying a TABLESPACE clause, Oracle automatically stores it in that user's default tablespace. This default tablespace is assigned when the user account is created. The system tablespace is reserved for data dictionary objects, not user data.
B
Correct answer
Explanation
FS-LDM (Financial Services Logical Data Model) is Teradata's industry data model for financial services. While it serves as a reference framework, organizations typically customize and adapt it rather than using it as a strict guideline. The statement's absolute wording 'would be used' makes False the correct answer - EDW architecture requires customization.
-
BO
-
Cognos BI
-
Microstratagy
-
Sql Assistant
A
Correct answer
Explanation
BusinessObjects (BO) is the reporting tool integrated into the FASTTRACK system for generating user-facing reports. Cognos BI and MicroStrategy are distractors, while SQL Assistant is a query tool, not a reporting platform.
-
Informatica
-
DataStage
-
Ab Intio
-
None of the above
A
Correct answer
Explanation
FASTTRACK utilizes Informatica as its primary ETL tool for data extraction, transformation, and loading. DataStage and Ab Initio are other popular ETL tools but are not used in this specific project stack.