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 security
  1. When a login sequence needs to be recorded

  2. When a particular application flow needs to be recorded

  3. When in session parameter needs to be defined

  4. When you need to test only a part of your application

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

Multi-step operations record complex application flows requiring multiple sequential requests to reach a specific state or functionality. This includes multi-page forms, wizards, workflows where state changes across requests, or any scenario requiring navigation through several pages. It's not just for login sequences or parameter manipulation - it captures any complex user journey.

Multiple choice technology databases
  1. RFS

  2. MRP

  3. ARCH

  4. LGWR

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

In Oracle Data Guard standby databases, the ARCH (archiver) process is responsible for managing archived redo log files. It registers the logfiles in the standby database's archive destination. RFS (Remote File Server) receives redo data, MRP (Managed Recovery Process) applies it, and LGWR writes redo in the primary - but ARCH handles logfile registration.

Multiple choice technology databases
  1. Server process

  2. DBWR

  3. CKPT

  4. PMON

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

When a query needs data that's not in the buffer cache, the server process reads it from the datafile on disk into the database buffer cache in memory. DBWR writes dirty buffers to disk (opposite direction), CKPT is the checkpoint process, and PMON monitors processes - none read data files into memory. This is fundamental Oracle memory architecture.

Multiple choice technology databases
  1. It will give an error

  2. PMON

  3. Default listener is started but the instance wont be registered.

  4. CJQn

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

PMON (Process Monitor) dynamically registers the instance with the listener when there's no static registration in listener.ora. When you start the listener with 'lsnrctl start', it starts successfully, and PMON automatically registers the running instance with it. This is dynamic registration - the instance will be registered despite no listener.ora entry. CJQn is the job queue process, irrelevant here.

Multiple choice technology web technology
  1. rake db:migrations

  2. rake db:migrate

  3. rake db:migrates

  4. rake db:migrate project

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

The correct Rails command is 'rake db:migrate' - this applies pending migrations to the database. Options A and C use incorrect verb forms ('migrations' and 'migrates' instead of 'migrate'), and D incorrectly adds 'project' as an argument. The Rails migration syntax follows the pattern 'rake db:taskname'.

Multiple choice technology web technology
  1. database.xml

  2. database.rb

  3. database.yml

  4. db_config.xml

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

Rails uses YAML format for configuration files, and database settings are stored in config/database.yml. This file contains connection details for different environments (development, test, production). The .yml extension is standard for YAML files, not .xml or .rb.

Multiple choice technology security
  1. Oracle

  2. MySQL

  3. Both of the above

  4. Oracle, MySQL, Sybase, DB2

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

The security API supports SQL string codecs for Oracle and MySQL databases, which are two of the most widely used enterprise databases. These codecs help prevent SQL injection by properly escaping or encoding SQL strings. While other databases exist, Oracle and MySQL coverage addresses a significant portion of the enterprise database market.

Multiple choice technology security
  1. Critical transactions

  2. Account Lockout

  3. Page load times for all application pages

  4. Login/Logout events for users

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

Logging page load times for ALL application pages (C) is inappropriate for continuous logging because it generates excessive volume of low-value data. Continuous logging should focus on security-critical events like critical transactions, account lockouts, and authentication events. Page load times are better suited for performance monitoring systems, not security logging.

Multiple choice technology security
  1. Data is validated against a list of values that are known to be valid

  2. Data is validated against a list of values that are known to be invalid

  3. Both of the above

  4. None of the above

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

Whitelist validation (also called positive validation) checks input against a known list of valid values - anything not on the list is rejected. This is more secure than blacklist validation because you explicitly define what's allowed. Option B describes blacklist validation, which is weaker. Whitelist examples: allowing only alphanumeric characters, or only specific file extensions.

Multiple choice technology databases
  1. The currently connected users will be disconnected.

  2. There will be no effect on users.

  3. remote users will not be allowed to spawn sessions.

  4. None of the above

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

If the database listener is terminated, existing connections continue to function unimpeded. However, new remote connections cannot be established because the listener is responsible for receiving and handshaking incoming connection requests.

Multiple choice technology architecture
  1. OWB Repository

  2. OWB Client

  3. OWB Design Browser

  4. OWB Runtime Audit Browser

  5. OWB Runtime Assistant

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

The OWB Runtime Assistant is used for administrative tasks including configuring the runtime repository, setting up target schemas in the database, and maintaining deployment information along with runtime audit/error logs. It bridges the gap between design and execution. The Repository stores metadata, Client designs, and other tools don't handle this setup.

Multiple choice technology architecture
  1. Runtime repository and Object viewer

  2. Client Viewer and Deployment manager

  3. Runtime repository and Audit viewer

  4. Repository and Repository service

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

The OWB runtime architecture consists of two main components: the Runtime Repository (which stores runtime information, execution history, and statistics about ETL jobs) and the Audit Viewer (which provides a UI to view this runtime data through Oracle Enterprise Manager and other tools). These components work together to monitor, audit, and manage the execution of data warehouse processes. The Object Viewer is not a runtime component, and Deployment Manager is for deployment, not runtime monitoring.

Multiple choice technology databases
  1. Aegan

  2. Yukon

  3. Kilimanjaro

  4. MSSQL

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

SQL Server 2005 was codenamed 'Yukon' during its development. This internal name is used by Microsoft to identify projects before release. Aegan was never used, Kilimanjaro was SQL Server 2008's codename, and MSSQL is the product name not a codename.

Multiple choice technology databases
  1. Full

  2. Simple

  3. Bulk-Logged

  4. None of the above

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

The Simple recovery model does not support log backups - it automatically truncates the transaction log and minimally logs most operations. Full and Bulk-Logged recovery models both support log backups to enable point-in-time recovery.