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
-
Many-to-One (M:1)
-
One-to-One (1:1)
-
Many-to-Many (M:M)
-
One-to-Many (1:M)
C
Correct answer
Explanation
A Many-to-Many relationship cannot be represented directly with foreign keys in a standard relational database without duplication. An intersection (junction) table containing foreign keys referencing both tables is required to resolve it.
-
sysprocedures
-
syscomments
-
syslogs
-
systext
B
Correct answer
Explanation
In Sybase ASE, syscomments stores the SQL source code for stored procedures, views, rules, and other compiled objects. Sysprocedures contains metadata about procedures but not the actual source code. Syslogs is for transaction logging, and systext is not a standard ASE catalog table.
-
ADE database
-
Goald
-
FAS
-
both 1& 2
D
Correct answer
Explanation
For ADE, the frontend connects to both the ADE database and GOALD. This dual connection allows the frontend to access policy data from both systems while maintaining integration between ADE and the underlying GOALD data source.
-
Yes
-
No
-
Only for uncataloged datasets
-
Only for cataloged datasets
C
Correct answer
Explanation
VOL=SER specifies the volume serial number for a tape dataset. Cataloged datasets are tracked in the system catalog, which records their location. Uncataloged datasets require VOL=SER to tell the system which tape volume contains the dataset.
-
to aggregate routes learned from the ABR
-
to lower the cost of routes advertised by the ABR
-
to connect a non-contiguous area to the backbone
-
to decrease the size of the link-state database in that area
D
Correct answer
Explanation
Configuring a non-backbone area as a stub or NSSA (Not-So-Stubby-Area) significantly reduces the link-state database size in that area by preventing Type-5 LSAs (stub) or limiting external route advertisements (NSSA). Stub areas don't receive external LSAs from non-backbone areas. NSSA areas allow limited external routes but still reduce the database size compared to a regular area. Options A, B, and C describe incorrect purposes for stub/NSSA configuration.
-
System.Diagnostics.EventInstance
-
System.Diagnostics.EventLogEntry
-
System.Diagnostics.EventLog
-
System.Diagnostics.EventLogEntryCollection
C
Correct answer
Explanation
System.Diagnostics.EventLog is the .NET Framework class used in PowerShell to access Windows Event Logs. You can use it with Get-EventLog CmdLet or directly via New-Object. EventLogEntry represents individual log entries, and EventLogEntryCollection is a collection of entries - neither is the primary class for accessing log information.
-
$RemoteAppLog = New-Object -TypeName System.Diagnostics.EventLog Application, $computername $RemoteAppLog.Clear()
-
$RemoteAppLog = New-Object -TypeName System.Diagnostics.EventLog MyLog,$computername $RemoteAppLog.Remove()
-
$RemoteAppLog = New-Object -TypeName System.Diagnostics.EventLog MyLog,$computername $RemoteAppLog.Delete()
-
$RemoteAppLog = New-Object -TypeName System.Diagnostics.EventLog MyLog,$computername $RemoteAppLog.Clear()
D
Correct answer
Explanation
Option D correctly instantiates System.Diagnostics.EventLog with the log name MyLog and calls the Clear() method to remove all entries. Options A uses the wrong log name (Application), while B and C use incorrect methods (Remove() and Delete() don't exist or don't clear entries).
-
Data Warehouse Write Account
-
Data Reader Account
-
Action account
-
SDK
D
Correct answer
Explanation
The SDK (Software Development Kit) account is specifically used to read and write information in the Operations Manager database. This account enables programmatic access to SCOM data. Data Warehouse Write Account, Data Reader Account, and Action account serve different purposes.
-
Script
-
Registry
-
Active directory
-
SQL 2005
A
Correct answer
Explanation
Views in the Operations Manager Operations console are filtered data displays that pull specific information from the OperationsManagerDB database. Unlike Tasks which are executable actions or Rules which define data collection, Views simply organize and present filtered data for administrative analysis.
-
Maximum time
-
Data base grooming
-
Depends on SQL server.
-
None of the Above
B
Correct answer
Explanation
Database Grooming in SCOM is the automated process that manages long-term data retention by removing old historical data from the Operational Database. This prevents database bloat while preserving configuration information, and is essential for maintaining SCOM performance over extended periods.
-
Upload a signed assembly to the global assembly cache.
-
Create a new content source for the URL of the Microsoft SQL Server database.
-
Install an application definition file.
-
Add the URL of the sales application to the trusted file locations list.
C
Correct answer
Explanation
The Business Data List Web Part requires an Application Definition File (.xml) to configure the BDC connection to SQL Server 2005. This file defines the connection, entities, and methods needed to expose external data through the Business Data Catalog. The other options describe unrelated SharePoint operations.
-
Network File Share
-
External Web Sites
-
Data stores in Relational database exposed through BDC
-
Data in Lotus Notes
A,B,C
Correct answer
Explanation
SharePoint 2007 Enterprise can index network file shares through file protocol sources. External websites are indexed using HTTP/HTTPS content sources. BDC exposes relational database data for indexing. Lotus Notes requires additional connectors not available out-of-box.
-
WSS can have indexer and Query server role on the different machines
-
WSS uses both indexer and Query server role on the same machine
-
WSS has the ability to index only local content which is stored in Content DB
-
WSS has the ability to index content stored on external data source such as File Share, Lotus Notes
B,C
Correct answer
Explanation
WSS 3.0 Search has architectural limitations: (B) Both indexing and query services run on the same machine (no distributed search like MOSS), and (C) It can only index local content stored in the Content Database. Unlike MOSS, WSS cannot index external sources like file shares or Lotus Notes, and cannot separate indexer and query roles.
-
Index
-
Cluster
-
Package
-
DB links
-
Function
A,C,E
Correct answer
Explanation
DDL triggers fire when Data Definition Language commands execute, creating or altering database schema objects. Indexes, packages, and functions are DDL objects that trigger these events when created. Clusters and database links (DB links) may be database objects but typically don't fire DDL triggers in standard implementations. This is a multi-select question requiring knowledge of which database objects trigger DDL events.