โ† All ICT Flashcard Decks

Database Management Concepts Flashcards

21 cards from real ICT practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 20 Database Management Concepts flashcards as text
  1. Which SQL clause is used to filter records after a GROUP BY operation?

    Answer: HAVING

    HAVING filters grouped results, while WHERE filters rows before grouping occurs.

  2. What does ACID stand for in database transactions?

    Answer: Atomicity, Consistency, Isolation, Durability

    ACID properties ensure reliable database transactions: Atomicity, Consistency, Isolation, and Durability.

  3. Which type of join returns only rows where there is a match in both tables?

    Answer: INNER JOIN

    An INNER JOIN returns only the rows that have matching values in both joined tables.

  4. What is a foreign key in a relational database?

    Answer: A column that references the primary key of another table

    A foreign key is a field in one table that refers to the primary key in another table, establishing a relationship.

  5. Which normal form eliminates transitive functional dependencies?

    Answer: Third Normal Form (3NF)

    3NF removes transitive dependencies, ensuring non-key attributes depend only on the primary key.

  6. What is the purpose of an index in a database?

    Answer: To speed up data retrieval operations

    An index creates a data structure that allows the database engine to find rows faster without scanning the entire table.

  7. Which SQL command removes all rows from a table but keeps its structure?

    Answer: TRUNCATE

    TRUNCATE removes all rows from a table quickly without logging individual row deletions, but preserves the table structure.

  8. What is a deadlock in database management?

    Answer: A situation where two transactions wait indefinitely for each other's locked resources

    A deadlock occurs when two or more transactions each hold locks the others need, causing all to wait forever.

  9. Which database model stores data as collections of key-value pairs, documents, or graphs?

    Answer: NoSQL database

    NoSQL databases use non-tabular storage models such as key-value, document, column-family, or graph formats.

  10. What does the SQL keyword DISTINCT do in a SELECT statement?

    Answer: Returns only unique values, eliminating duplicates

    DISTINCT ensures only unique rows are returned by removing duplicate values from query results.

  11. In a database context, what is a view?

    Answer: A virtual table based on the result of a SQL query

    A view is a stored SQL query that presents data from one or more tables as if it were a single virtual table.

  12. Which concurrency control technique uses timestamps to order transactions?

    Answer: Timestamp-based protocol

    The timestamp-based protocol assigns timestamps to transactions and uses them to determine the serialization order.

  13. What is data redundancy in a database?

    Answer: Storing the same data in multiple places unnecessarily

    Data redundancy occurs when the same data is stored in more than one place, wasting storage and risking inconsistencies.

  14. Which SQL aggregate function returns the total number of rows in a result set?

    Answer: COUNT()

    COUNT() returns the number of rows that match a specified condition or all rows in a table.

  15. What is the role of a Database Administrator (DBA)?

    Answer: Designing, maintaining, and securing the database system

    A DBA is responsible for installing, configuring, upgrading, monitoring, and securing database systems.

  16. Which type of relationship in an ER diagram means one record in Table A can relate to many records in Table B?

    Answer: One-to-many

    A one-to-many relationship means a single record in one table can be associated with multiple records in another table.

  17. What is a stored procedure in a database?

    Answer: A precompiled set of SQL statements stored in the database

    A stored procedure is a prepared SQL code saved in the database that can be reused by calling it by name.

  18. Which property of a transaction ensures that once committed, changes survive system failures?

    Answer: Durability

    Durability guarantees that committed transactions are permanently saved even if the system crashes immediately after.

  19. What does SQL stand for?

    Answer: Structured Query Language

    SQL stands for Structured Query Language, the standard language for managing and querying relational databases.

  20. In database design, what is an entity?

    Answer: A real-world object or concept represented in the database

    An entity is any real-world object, person, place, or concept about which data is stored in the database.

Written and edited by , founder of Practice Test Geeks, with AI assistance. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Editorial policy