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 databases
  1. model

  2. msdb

  3. tempdb

  4. MSSQLSystemResource

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

tempdb is a system database in SQL Server that is recreated every time the SQL Server service restarts. It stores temporary objects and is always empty when SQL Server starts. The master database contains system metadata, msdb stores SQL Agent jobs and other service information, and MSSQLSystemResource is a read-only database containing system object definitions - none of these are flushed on restart.

Multiple choice technology databases
  1. sysusers

  2. syslogins

  3. sysserverusers

  4. None of the above

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

The syslogins system table in the master database stores all SQL Server login accounts, which represent server-level authentication. sysusers is a database-level table containing database users and roles, not server logins. There is no system table called sysserverusers in SQL Server.

Multiple choice technology databases
  1. sp_procoption

  2. sp_serverstartup

  3. sp_autoexecute

  4. None of the above

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

sp_procoption is a system stored procedure that configures a stored procedure to execute automatically when SQL Server starts. Only stored procedures in the master database that are owned by dbo can be marked for startup execution. sp_serverstartup and sp_autoexecute are not valid SQL Server system procedures.

Multiple choice technology databases
  1. master

  2. model

  3. sysjobs

  4. msdb

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

The msdb database is used by SQL Server Agent to store job information, schedules, and operational history. The sysjobs table is actually a table within the msdb database, not a database itself. master stores system-level configuration, and model is a template database used when creating new databases.

Multiple choice technology operating systems
  1. Nothing can be done

  2. Open system properties > Advanced>Setting under startup and Recovery>UnCheck restart on system failure

  3. open Msconfig and disable all startup items

  4. Do a Disk Derfrgmentation

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

Unexpected system restarts are often caused by blue screen (BSOD) system failures. Unchecking the 'Automatically restart' option under Startup and Recovery in Windows System Properties prevents the automatic reboot, allowing users to see the specific error code and troubleshoot the root cause.

Multiple choice technology
  1. Normal Join,Master outer join,detail outer join,outer join

  2. Normal join,Outer join

  3. Master outer join,detail outer join

  4. Inner join

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

The Joiner Transformation in Informatica supports four types of joins: Normal Join (inner join), Master Outer Join (all master rows), Detail Outer Join (all detail rows), and Full Outer Join (all rows from both). These join types give you flexibility in how you combine data from multiple sources based on your requirements for including unmatched rows.

Multiple choice technology
  1. Index cache ,Data cache

  2. Index cache,Index cache

  3. Data cache,Data cache

  4. Data cache,Index cache

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

In Aggregator transformation, group by ports (the keys) are stored in the index cache for efficient grouping operations, while the result set (aggregated values) is stored in the data cache. This separation optimizes both memory usage and processing speed.

Multiple choice technology web technology
  1. a. DB2 Connect

  2. b. MF connect

  3. c. IMS connect

  4. d. CBus

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

IMS Connect provides TCP/IP connectivity to IBM IMS (Information Management System) transactions on mainframes. CBus likely refers to a communication bus for mainframe connectivity (possibly CICS Bus or a proprietary middleware bus). DB2 Connect is for database connectivity, not transactions, and 'MF connect' appears to be a distractor.

Multiple choice technology web technology
  1. True

  2. False

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

In layered architecture, the service layer should NOT directly access the database - it should go through a DAO/repository layer. This separation maintains loose coupling and makes the system testable and maintainable. Direct database access from service layers is considered an anti-pattern.

Multiple choice technology web technology
  1. True

  2. False

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

In layered architecture, the service layer should NOT directly access the database - it should go through a DAO/repository layer. This separation maintains loose coupling and makes the system testable and maintainable. Direct database access from service layers is considered an anti-pattern.

Multiple choice technology web technology
  1. JDBC API

  2. Hiberntae

  3. EJB

  4. AOP proxies

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

This appears to be testing Spring-specific transaction management, where AOP proxies intercept service methods to apply transaction boundaries declaratively. However, this is misleading - JDBC, Hibernate, and EJB all perform transaction management. The question seems to be asking about declarative Spring transactions specifically, which are implemented via AOP proxies. 'Hiberntae' is also misspelled.

Multiple choice technology
  1. Data Mining

  2. Data Mart

  3. Data Warehousing

  4. Data Scraping

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

Data Warehousing is the comprehensive process that includes both reporting and analysis as core functions. Data Mining is a technique within analytics, Data Mart is a subset of a data warehouse, and Data Scraping is about data collection, not analysis.

Multiple choice technology
  1. Ignore, None

  2. Absolute, None

  3. Standard, None

  4. Absolute, Standard

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

To calculate total sales for all displayed subcategories, filtering should be Standard (includes all subcategories visible after filters) and grouping should be None (no hierarchical aggregation). This combination sums all displayed subcategory values at the report level.

Multiple choice technology
  1. Query & Non - Query record group

  2. Static record group

  3. Both

  4. None

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

In Oracle Reports, record groups come in two fundamental types: query record groups that populate data through SQL queries, and non-query (static) record groups that contain manually defined data. Both types serve different purposes in report development.