Computer Knowledge

Database Management Systems

5,344 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
  1. Report Filter

  2. View Filter

  3. both 1&2

  4. none

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

In MicroStrategy, Report Filters apply conditions directly at the data warehouse level by modifying the SQL WHERE clause sent to the database. View Filters are applied after data retrieval, filtering the result set already returned from the warehouse. This distinction is crucial for query performance optimization.

Multiple choice technology
  1. Prompt

  2. Filter

  3. both 1&2

  4. none

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

Prompts in MicroStrategy are interactive objects that appear during report execution, allowing users to select specific values or elements dynamically. This enables parameterized reports without modifying the report definition. Filters are predefined static conditions set by the report designer.

Multiple choice technology
  1. Set of filters

  2. Attribute elements

  3. both 1&2

  4. none

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

Consolidations in MicroStrategy are custom groupings created by combining specific attribute elements into logical sets. For example, you can create a consolidation called 'West Coast' by grouping specific state attribute elements like 'CA', 'OR', 'WA'. They are not created from filters, which are conditions rather than element groupings.

Multiple choice technology
  1. Graphical view

  2. SQL view

  3. Report view

  4. Design view

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

MicroStrategy provides multiple view types for reports: Graph View displays data as charts and visualizations, SQL View shows the generated database query for debugging, and Design View allows editing the report structure. Report View typically refers to the standard grid/data display, which is a display mode rather than a distinct named view type in this context.

Multiple choice technology databases
  1. A virtual table that can be accessed via SQL commands

  2. A virtual table that cannot be accessed via SQL commands

  3. There is no difference between a view and a table

  4. None of these

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

A database view is a virtual table representing the result of a pre-defined SQL query. It does not store data physically but can be queried using standard SQL commands just like a normal table. Distractors are incorrect because views can be accessed via SQL, unlike tables which physically store data.

Multiple choice technology
  1. Database Administrator

  2. Device & Base Administrator

  3. Durable & Bicentric Automated

  4. Datebase Administrator

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

DBA stands for Database Administrator, the person responsible for managing database systems. Option A correctly uses 'Database' and 'Administrator'. Option B incorrectly uses 'Device' and 'Base'. Option C is nonsensical. Option D has a typo 'Datebase' instead of 'Database'.

Multiple choice technology
  1. Data Flow Data

  2. Data Fnd Data

  3. Data Fast Data

  4. Data Flow Diagram

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

DFD stands for Data Flow Diagram, used to visualize the flow of data through a system. Option D correctly uses 'Data Flow' twice - data flowing through processes. Options A, B, and C incorrectly use variations like 'Fnd' (typo) and 'Fast' which are not part of the term.

Multiple choice technology databases
  1. The two tables had their same Primary Index

  2. Teradata redistributed one or both tables by rehashing them by thePrimary index in spool

  3. Teradata placed the smaller table on all AMPs

  4. All the Above

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

Teradata provides multiple mechanisms to enable joins to occur on the same AMP: identical primary indexes naturally distribute matching rows to the same AMP; dynamic redistribution can rehash tables during query processing; and duplicating small tables across all AMPs eliminates data movement. All three are valid join optimization strategies.

Multiple choice technology
  1. datetime

  2. decimal

  3. void

  4. number

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

Ab Initio's valid datatypes include datetime, decimal, and various numeric types, but does not have a generic "number" datatype. The correct numeric types are specific types like int, decimal, float, etc. "void" is typically used in programming languages but not as a datatype in Ab Initio's DML.

Multiple choice technology
  1. key

  2. minor-key

  3. major-key

  4. max-core

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

Sort within Group is used when data is already sorted by a major key and you need to sort within each group of that major key. The major-key parameter specifies the key that the input is already pre-sorted on, allowing the component to perform secondary sorting within each group efficiently.

Multiple choice technology
  1. A conditional field must not contain a reference to either a lookup function or a global variable.

  2. Although DML syntax allows you to include a function field as part of a conditional field, the function field is not conditional and works the same way whether or not the condition is met.

  3. A record type cannot declare nullable and conditional fields at the same time.

  4. A conditional field can share a delimiter with the record.

  5. For a conditional field to be nullable, it must have a default value.

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

This question asks which statement about conditional DML is FALSE. The correct answer is D because conditional fields CANNOT share delimiters with the record - each conditional field must have its own delimiter specification. Options A, B, C, and E are all true statements about conditional DML fields in Ab Initio.

Multiple choice technology
  1. Sort

  2. Redefine Format

  3. Join

  4. Reformat

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

The Reformat component in Ab Initio is specifically designed to transform data structure - it can add fields, drop fields, or change field layouts. Sort only orders data, Join combines data, and Redefine Format changes DML interpretation. For adding/dropping fields, Reformat is the correct choice.

Multiple choice technology
  1. String

  2. Char

  3. Decimal

  4. Integer

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

In Ab Initio DML, valid types include string, decimal, integer, date, datetime, and others. 'char' is NOT a valid DML type in Ab Initio - the correct type for character data is 'string' (or 'vector(string)' for arrays). Char might be confused with SQL character types, but Ab Initio DML uses 'string' instead.

Multiple choice technology
  1. String

  2. Decimal

  3. Date and Datetime

  4. Integer

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

Date and Datetime types in Ab Initio are stored in binary form for efficiency in calculations and comparisons. While integers are also stored in binary, the question specifically asks about types known for binary storage of temporal data. Decimal stores as packed decimal, and string stores as character data. Date/Datetime is the best answer for binary-encoded temporal data.