CS409 – Introduction to Database Administration: Midterm Important MCQs (54 Solved Questions)
Computer Science • Read every solved MCQ with its verified answer key directly on this page. Free, no login required.
All 664 Midterm Packs · CS409 Course Page · CS409 Subjective Pack (30 Q&As)
-
What is a database schema?
Topic: Database Schema & Instances
- The overall description of the structure of the database ✓ Correct answer
- The data stored in the database at a particular moment
- A set of SQL queries stored in the database
- A backup copy of the database
-
The collection of data stored in the database at a particular moment in time is called:
Topic: Database Schema & Instances
- Database schema
- Database instance (state) ✓ Correct answer
- Metadata
- Data dictionary
-
Which of the following are the two categories of a database schema?
Topic: Database Schema & Instances
- External schema and internal schema
- Conceptual schema and external schema
- Physical schema and logical schema ✓ Correct answer
- Primary schema and secondary schema
-
The physical schema of a database describes:
Topic: Database Schema & Instances
- What data is stored and the relationships among the data
- How the data is actually stored on the storage media, in files and indexes ✓ Correct answer
- The views of individual end users
- The security policies of the organization
-
The logical schema of a database describes:
Topic: Database Schema & Instances
- The file organization used on disk
- The entire structure of the database — what data is stored and the relationships among the data ✓ Correct answer
- The backup schedule of the database
- The network topology of the organization
-
In the three-schema architecture, the schema that describes the structure of the whole database for all users is the:
Topic: Database Schema & Instances
- External schema
- Internal schema
- Conceptual schema ✓ Correct answer
- Physical file schema
-
Which level of the three-schema architecture deals with the way data is physically stored?
Topic: Database Schema & Instances
- External level
- Conceptual level
- Internal level ✓ Correct answer
- User level
-
A subschema is:
Topic: Database Schema & Instances
- A description of a portion of the database that is relevant to a particular user or application ✓ Correct answer
- A copy of the database schema kept for backup
- The schema of the data dictionary itself
- A schema that stores only metadata
-
Metadata is best defined as:
Topic: Metadata & Data Dictionary
- Encrypted data
- Data about data ✓ Correct answer
- Data stored in backup files
- Data that has been deleted
-
Which of the following is an example of metadata?
Topic: Metadata & Data Dictionary
- The name 'Ali' stored in a student's record
- A row inserted into the Student table
- The data type and maximum length defined for the column StudentName ✓ Correct answer
- The output produced by a SELECT query
-
In a DBMS, metadata is stored in:
Topic: Metadata & Data Dictionary
- The transaction log
- The data dictionary (system catalog) ✓ Correct answer
- The index files
- The temporary tables
-
The data dictionary contains information about all of the following EXCEPT:
Topic: Metadata & Data Dictionary
- Names of tables and their columns
- Data types and constraints applied on data
- The actual data values stored in the tables ✓ Correct answer
- Users and their access privileges
-
A data dictionary that is automatically updated by the DBMS whenever the database structure changes is called:
Topic: Metadata & Data Dictionary
- Passive data dictionary
- Manual data dictionary
- Active data dictionary ✓ Correct answer
- External data dictionary
-
When a new table is created using a DDL command, the metadata about that table is recorded by:
Topic: Metadata & Data Dictionary
- The end user, manually
- The operating system
- The DBMS itself, in the system catalog ✓ Correct answer
- The application programmer, in a separate file
-
Data Administration (DA) is the function responsible for:
Topic: Data Administration
- The overall management of the organization's data resource, including data policies and standards ✓ Correct answer
- Installing and configuring the DBMS software
- Writing application programs for end users
- Maintaining the computer hardware
-
Which of the following is a responsibility of Data Administration?
Topic: Data Administration
- Performing daily database backups
- Developing data policies, standards and procedures for the organization ✓ Correct answer
- Tuning individual SQL queries
- Allocating disk space for table files
-
Which of the following tasks also belongs to Data Administration?
Topic: Data Administration
- Data planning and resolving data ownership issues ✓ Correct answer
- Restarting the database server
- Creating user accounts in the DBMS
- Defragmenting database files
-
Data Administration differs from Database Administration (DBA) because:
Topic: Data Administration
- DA is a technical function while DBA is a managerial function
- DA is a management/policy-level function while DBA is a technical function ✓ Correct answer
- There is no difference between the two
- DA deals only with hardware while DBA deals only with software
-
The person responsible for the overall management of data resources in an organization is known as the:
Topic: Data Administration
- Data Administrator ✓ Correct answer
- System Analyst
- Network Engineer
- Data Entry Operator
-
Which of the following is decided by Data Administration rather than by the DBA?
Topic: Data Administration
- Which tables need new indexes
- When the database backup will run
- Data ownership and data sharing policies across departments ✓ Correct answer
- The size of the database buffer cache
-
DBA stands for:
Topic: DBA Role, Guidelines & DBMS Features
- Data Backup Administrator
- Database Administrator ✓ Correct answer
- Data Base Analyst
- Digital Business Administrator
-
Which of the following is a responsibility of the DBA?
Topic: DBA Role, Guidelines & DBMS Features
- Managing database security by granting and revoking user privileges ✓ Correct answer
- Designing the organization's marketing strategy
- Writing all the application programs
- Manufacturing storage devices
-
Ensuring that the database can be restored after a failure is the DBA's responsibility of:
Topic: DBA Role, Guidelines & DBMS Features
- Data entry
- Performance tuning
- Backup and recovery ✓ Correct answer
- Report generation
-
Monitoring the database and improving its response time (performance tuning) is the job of the:
Topic: DBA Role, Guidelines & DBMS Features
- End user
- DBA ✓ Correct answer
- Data entry operator
- Application user
-
DBA guidelines are best described as:
Topic: DBA Role, Guidelines & DBMS Features
- Documented rules and procedures that govern how the database environment is administered ✓ Correct answer
- A list of SQL commands for creating tables
- The hardware specifications of the database server
- A list of user passwords
-
Installing and upgrading the DBMS software is the responsibility of the:
Topic: DBA Role, Guidelines & DBMS Features
- End users
- Application programmers
- DBA ✓ Correct answer
- Data entry staff
-
Which of the following is a feature provided by a DBMS?
Topic: DBA Role, Guidelines & DBMS Features
- Concurrency control that allows safe multi-user access to the same data ✓ Correct answer
- Word processing and document formatting
- Spreadsheet calculations
- Sending and receiving email
-
The DBMS feature that protects the database from unauthorized access is:
Topic: DBA Role, Guidelines & DBMS Features
- Indexing
- Sorting
- Security management (authorization and access control) ✓ Correct answer
- Data redundancy
-
Data independence, a feature of the DBMS approach, means that:
Topic: DBA Role, Guidelines & DBMS Features
- Data is stored on independent computers
- Application programs are not affected by changes in the way data is stored or organized ✓ Correct answer
- Users do not need any authorization to access data
- Data can never be shared between applications
-
A clustered index determines:
Topic: Indexes: Clustered & Non-Clustered
- The order in which tables are created in the database
- The physical order in which the data rows of a table are stored ✓ Correct answer
- The order of columns in a query result only
- The order in which users log in to the system
-
How many clustered indexes can be created on a single table?
Topic: Indexes: Clustered & Non-Clustered
- Two
- Up to 249
- Unlimited
- Only one ✓ Correct answer
-
A table can have only one clustered index because:
Topic: Indexes: Clustered & Non-Clustered
- The DBMS license allows only one index
- The data rows can be physically sorted in only one order ✓ Correct answer
- A clustered index uses too much disk space
- Indexes are created by the operating system
-
Which of the following is the correct syntax to create a clustered index IX_Emp on the EmpID column of the Employee table?
Topic: Indexes: Clustered & Non-Clustered
- CREATE CLUSTERED INDEX IX_Emp ON Employee (EmpID) ✓ Correct answer
- CREATE INDEX CLUSTERED IX_Emp Employee (EmpID)
- MAKE CLUSTERED INDEX IX_Emp IN Employee (EmpID)
- ADD CLUSTERED INDEX IX_Emp TO Employee (EmpID)
-
A table that does not have a clustered index is called a:
Topic: Indexes: Clustered & Non-Clustered
- View
- Heap ✓ Correct answer
- Cluster
- Partition
-
A non-clustered index:
Topic: Indexes: Clustered & Non-Clustered
- Physically reorders the rows of the table
- Can be created only once on a table
- Is a separate structure that stores the index key values along with pointers to the data rows ✓ Correct answer
- Is automatically created for every column
-
The main purpose of creating an index on a column is to:
Topic: Indexes: Clustered & Non-Clustered
- Reduce the size of the database
- Speed up data retrieval (searching) on that column ✓ Correct answer
- Prevent users from updating the table
- Encrypt the data in the column
-
In SQL Server, when a PRIMARY KEY constraint is created on a table that has no clustered index, by default a:
Topic: Indexes: Clustered & Non-Clustered
- Non-clustered index is created
- Unique non-clustered index is created
- Clustered index is created ✓ Correct answer
- No index is created
-
________ are the basic unit of data storage in an Oracle Database.
Topic: Oracle Storage Structures & Tablespaces
- Tables ✓ Correct answer
- Data
- Views
-
________ is the smallest unit of storage that Oracle Database can use or allocate.
Topic: Oracle Storage Structures & Tablespaces
- Index
- Data Dictionary
- Tablespace
- Data block ✓ Correct answer
-
A ________ is a set of extents that contains all the data for a logical storage structure within a tablespace.
Topic: Oracle Storage Structures & Tablespaces
- Block
- Data file
- Index
- Segment ✓ Correct answer
-
________ stores space logically to create logical objects such as Tables, Indexes and other objects.
Topic: Oracle Storage Structures & Tablespaces
- Tablespace ✓ Correct answer
- Index
- Data Dictionary
-
A tablespace is a logical storage container for ________.
Topic: Oracle Storage Structures & Tablespaces
- Data file
- Segments ✓ Correct answer
- Index
- Block
-
________ tablespace is used to reduce the load managed by SYSTEM tablespace.
Topic: Oracle Storage Structures & Tablespaces
- SYSAU
- SSAUX
- SYSUX
- SYSAUX ✓ Correct answer
-
A PCTFREE setting of 20% prevents the total amount of free space from dropping to 5% of the block, but permits ______ of the block to be free space.
Topic: Oracle Storage Structures & Tablespaces
- 80% ✓ Correct answer
- 60%
- 40%
- 50%
-
The database can ________ space within an index block.
Topic: Oracle Storage Structures & Tablespaces
- Reuse ✓ Correct answer
- Update
- Delete
-
A/an ________ derives its data from the tables on which it is based.
Topic: Tables, Views & Constraints
- Data
- Table
- View ✓ Correct answer
-
Identify the correct statement for the foreign key.
Topic: Tables, Views & Constraints
- Foreign key can be a single column as well as a composite key ✓ Correct answer
- Foreign key must always be a single column
- Foreign key must always be a composite key
- Foreign key values can not be repeated
-
UNIQUE constraint ensures that all values in the column are ________.
Topic: Tables, Views & Constraints
- Same
- Fixed
- Different ✓ Correct answer
-
In Entity Relationship diagram, the dotted oval symbol represents ________.
Topic: Tables, Views & Constraints
- Derived attribute ✓ Correct answer
- Key attribute
- Simple attribute
- Composite attribute
-
Which attribute is used to specify whether and when ARCn should attempt to rearchive to a failed destination following an error?
Topic: Redo Logs & Archiving
- OPEN
- UNDO
- REOPEN ✓ Correct answer
- REDO
-
A log switch occurs when ________ stops writing to one redo log group and starts writing to another.
Topic: Redo Logs & Archiving
- LGWR ✓ Correct answer
- LWR
- LGR
- LGWR log
-
To rename redo log members, you must have the ________ system privilege.
Topic: Redo Logs & Archiving
- CHANGE DATABASE
- ALTER DATABASE ✓ Correct answer
- ADD DATABASE
- UPDATE DATABASE
-
The granule size is based on the value of the ________ initialization parameter.
Topic: SGA & Memory Management
- MAX_SIZE
- SGA_MIN_SIZE
- SGA_TARGET
- SGA_MAX_SIZE ✓ Correct answer
-
In addition to setting SGA_TARGET to a ________ value, set to zero all initialization parameters of first Table to enable full automatic tuning of the automatically sized SGA components.
Topic: SGA & Memory Management
- Constant
- Zero
- Numeric
- Nonzero ✓ Correct answer