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

Multiple choice technology programming languages
  1. JDBC is an API to connect to relational-, object- and XML data sources

  2. JDBC stands for Java DataBase Connectivity

  3. JDBC is an API to access relational databases, spreadsheets and flat files

  4. JDBC is an API to bridge the object-relational mismatch between OO programs and relational

Reveal answer Fill a bubble to check yourself
B,C Correct answer
Explanation

JDBC stands for Java Database Connectivity. It provides a standard API for connecting to relational databases and accessing tabular data from various sources including databases, spreadsheets, and flat files. The other options are incorrect - JDBC is not primarily for bridging object-relational mismatch (that's ORM), nor does it directly handle object or XML data sources as its core purpose.

Multiple choice technology programming languages
  1. java.jdbc and javax.jdbc

  2. java.jdbc and java.jdbc.sql

  3. java.sql and javax.sql

  4. java.rdb and javax.rdb

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

JDBC classes are distributed across java.sql (core JDBC API) and javax.sql (extensions for DataSource, connection pooling, and rowsets). Options A and B use incorrect package names (java.jdbc doesn't exist). Option D is fabricated - java.rdb and javax.rdb are not standard Java packages.

Multiple choice technology programming languages
  1. Type 1 driver

  2. Type 2 driver

  3. Type 3 driver

  4. Type 4 driver

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Type 4 drivers are pure Java implementations that convert JDBC calls directly into the database's native network protocol, without any intermediate translation or native code. Type 1 uses JDBC-ODBC bridge, Type 2 uses native libraries, and Type 3 uses middleware for protocol translation. Type 4 is the most common modern driver type.

Multiple choice technology programming languages
  1. A DataSource is the basic service for managing a set of JDBC drivers

  2. A DataSource is the Java representation of a physical data source

  3. A DataSource is a registry point for JNDI-services

  4. A DataSource is a factory of connections to a physical data source

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

A DataSource is a factory object that provides connections to a physical data source. It encapsulates connection details, implements connection pooling, and supports distributed transactions. Option A describes DriverManager, not DataSource. Option B is imprecise - DataSource is an interface, not a representation. Option C describes JNDI, not DataSource.

Multiple choice technology packaged enterprise solutions
  1. Lookup locking

  2. Optimistic locking

  3. Transaction Locking

  4. Pessimistic Locking

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Clarify uses optimistic locking, which allows multiple users to access the same record simultaneously without locking. Conflicts are detected when users attempt to save changes - if the record was modified by another user, the save fails and the user must retry with fresh data.

Multiple choice technology packaged enterprise solutions
  1. Search and lookup windows use extended filters to query the database

  2. The CBOs include a set of BOs to set up search criteria to allow each user to save their own search criteria and apply to perform a search.

  3. Consists of a set of search specifications stored in the database

  4. Code should be written to manipulate the ClarifyCRM’s defined Extended Filter BO’s.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In ClarifyCRM, using extended filters requires developers to write custom code that directly manipulates the predefined Extended Filter Business Objects (BOs) to construct queries. The other options are incorrect or incomplete representations of how these filters function.

Multiple choice technology
  1. Reporting Tool

  2. ETL Tool

  3. Relational Database

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Informatica PowerCenter is an ETL (Extract, Transform, Load) tool used for data integration. It extracts data from sources, transforms it according to business rules, and loads it into target systems.

Multiple choice technology platforms and products
  1. the size of partitions of dataset

  2. the schema of file

  3. the number of processing nodes in the default node pool

  4. the number of schemas

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

Filesets create one datafile per partition, so the number depends on partition size and the processing node count. The schema does not affect file count - a complex schema still produces one file per partition. Similarly, the number of schemas is irrelevant as filesets use a single schema.

Multiple choice technology platforms and products
  1. Data Sets can be managed independently of a job using the Data Set Management Utility available through Websphere Datastage Director

  2. Data Sets are operating system Files

  3. Data can be reffered to by a Control File ,which by convention has the suffix .ds

  4. Data Sets carry formatting information that describe the format of the files to be read or written

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Multiple choice technology platforms and products
  1. Data Set Header Information

  2. The schema of the data set

  3. Creation Time and Data of the data set

  4. A copy of configuration file use when the data set was created

Reveal answer Fill a bubble to check yourself
A,B,C,D Correct answer
Explanation

The descriptor file (.ds) for a DataStage dataset contains comprehensive metadata: the dataset header information, the complete schema definition, creation timestamp, and a copy of the configuration file settings that were in effect when the dataset was created. This ensures the dataset can be properly read and processed.

Multiple choice technology testing
  1. Data table

  2. Random Number

  3. Environment

  4. All of the Above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

To answer this question, the user needs to know what parameterization is.

Parameterization is the process of defining an algorithm or function in terms of one or more parameters. These parameters can be manipulated to achieve different results without modifying the algorithm or function itself.

Now, let's go through each option to determine which one(s) are involved in parameterization:

A. Data table: Data tables are often used in parameterization to provide input data for a test script. By using a data table, we can easily modify the test data without changing the script itself. Therefore, option A is correct.

B. Random Number: Random numbers can also be used in parameterization to provide different inputs to a test script each time it is run. By generating random numbers within a certain range, we can test the behavior of the script under different conditions. Therefore, option B is correct.

C. Environment: The environment in which the test script is run can also be a parameter. By changing the environment, we can test the behavior of the script under different conditions. Therefore, option C is correct.

D. All of the Above: This option is correct, as all of the above options are involved in parameterization.

Therefore, the answer is: D.