LATEST 2025 ACTUAL EXAM 200 QUESTIONS AND CORRECT DETAILED ANSWERS
WITH RATIONALES (VERIFIED ANSWERS) |ALREADY GRADED A+
Question 1
In the context of database management systems, what does the 'A' in ACID properties stand for?
A) Access
B) Atomicity
C) Authenticity
D) Availability
E) Automation
Correct Answer: B) Atomicity
Rationale: ACID is an acronym for Atomicity, Consistency, Isolation, and Durability. These are
fundamental properties guaranteeing valid transactions in a database. Atomicity ensures that a
transaction is treated as a single, indivisible unit of operations; either all of its operations are
completed, or none are.
Question 2
Which SQL keyword is used to retrieve data from a database?
A) UPDATE
B) INSERT
C) SELECT
D) DELETE
E) ALTER
Correct Answer: C) SELECT
Rationale: The SELECT statement is a Data Manipulation Language (DML) command used to
query the database and retrieve data that matches specified criteria.
Question 3
Which of the following is considered a Data Definition Language (DDL) command?
A) INSERT INTO
B) SELECT FROM
C) CREATE TABLE
D) UPDATE SET
E) DELETE FROM
Correct Answer: C) CREATE TABLE
Rationale: DDL commands are used to define, modify, or delete database structures. CREATE
TABLE is used to create a new table in the database. INSERT, SELECT, UPDATE,
and DELETE are DML commands.
Question 4
What is the primary purpose of a primary key in a relational database table?
A) To link to another table.
B) To ensure that each record in the table is unique.
,C) To store large text fields.
D) To optimize query performance for all columns.
E) To define a default value for a column.
Correct Answer: B) To ensure that each record in the table is unique.
Rationale: A primary key is a column or a set of columns in a table that uniquely identifies each
row in that table. It enforces entity integrity, ensuring no two rows have the same primary key
value.
Question 5
Which type of database model organizes data into a tree-like structure with a single root and
branches, where each child record has only one parent?
A) Relational model
B) Network model
C) Hierarchical model
D) Document model
E) Graph model
Correct Answer: C) Hierarchical model
Rationale: The hierarchical model organizes data in a tree-like structure where each record has a
single parent, but a parent can have multiple children. This creates a one-to-many relationship in
a top-down fashion.
Question 6
What is a foreign key primarily used for in a relational database?
A) To sort data in a table.
B) To establish and enforce a link between data in two tables.
C) To define a default value for a column.
D) To ensure uniqueness within a single table.
E) To perform complex calculations.
Correct Answer: B) To establish and enforce a link between data in two tables.
Rationale: A foreign key is a column or a set of columns in one table that refers to the primary
key in another table. It establishes a relationship between the tables and enforces referential
integrity.
Question 7
Which normalization form (NF) eliminates all partial dependencies?
A) First Normal Form (1NF)
B) Second Normal Form (2NF)
C) Third Normal Form (3NF)
D) Boyce-Codd Normal Form (BCNF)
E) Fourth Normal Form (4NF)
Correct Answer: B) Second Normal Form (2NF)
Rationale: Second Normal Form (2NF) is achieved when a table is in 1NF and all non-key
,attributes are fully functionally dependent on the entire primary key. This specifically addresses
and eliminates partial dependencies where a non-key attribute depends on only part of a
composite primary key.
Question 8
Which SQL clause is used to filter results based on aggregate functions (e.g., COUNT, SUM,
AVG)?
A) WHERE
B) GROUP BY
C) HAVING
D) ORDER BY
E) LIMIT
Correct Answer: C) HAVING
Rationale: The HAVING clause is used with the GROUP BY clause to filter the groups based on
conditions applied to aggregate functions. The WHERE clause filters individual rows before
grouping.
Question 9
A database transaction is considered 'Consistent' if:
A) It performs a set of operations very quickly.
B) It ensures that the database remains in a valid state after the transaction.
C) It isolates concurrent transactions from each other.
D) Its effects are permanent once committed.
E) It can be rolled back to its initial state.
Correct Answer: B) It ensures that the database remains in a valid state after the transaction.
Rationale: Consistency in ACID properties means that a transaction brings the database from one
valid state to another. All defined rules, constraints, and relationships must be maintained before
and after the transaction.
Question 10
Which type of database is best suited for storing semi-structured data like JSON or XML
documents?
A) Relational database
B) Key-value store
C) Document database
D) Column-family database
E) Graph database
Correct Answer: C) Document database
Rationale: Document databases (a type of NoSQL database) are designed to store and manage
semi-structured data in document-like formats (e.g., JSON, BSON, XML). Each document is a
self-contained unit and can have a flexible schema.
, Question 11
What is the purpose of an index in a database?
A) To prevent data duplication.
B) To enforce referential integrity.
C) To speed up data retrieval operations.
D) To store binary large objects (BLOBs).
E) To encrypt sensitive data.
Correct Answer: C) To speed up data retrieval operations.
Rationale: An index is a special lookup table that the database search engine can use to speed up
data retrieval. It works similarly to an index in a book, allowing the system to quickly locate
rows without scanning the entire table.
Question 12
Which SQL operator is used to retrieve rows where a column's value falls within a specified
range?
A) LIKE
B) IN
C) BETWEEN
D) EXISTS
E) ALL
Correct Answer: C) BETWEEN
Rationale: The BETWEEN operator selects values within a given range (inclusive). For
example, SELECT * FROM Products WHERE Price BETWEEN 10 AND 20;.
Question 13
What is a "deadlock" in the context of database concurrency control?
A) A transaction that fails to commit.
B) A situation where two or more transactions are waiting indefinitely for each other to release a
resource.
C) A backup of the entire database.
D) A database that has crashed.
E) A type of database security vulnerability.
Correct Answer: B) A situation where two or more transactions are waiting indefinitely for each
other to release a resource.
Rationale: A deadlock occurs in a concurrent system when two or more transactions each hold a
resource that the other transaction needs, and they are both waiting for the other to release its
resource, resulting in a standstill.
Question 14
Which data modeling concept represents a real-world object or concept in an Entity-Relationship
(ER) Diagram?
A) Attribute