Home / CSE MCQs / DBMS MCQs :: Indexes - DBMS

CSE MCQs :: DBMS MCQs

  1. What is the purpose of index in sql server
  2. A.
    To enhance the query performance
    B.
    To provide an index to a record
    C.
    To perform fast searches
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. How many types of indexes are there in sql server?
  4. A.
    1
    B.
    2
    C.
    3
    D.
    4

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. How non clustered index point to the data?
  6. A.
    It never points to anything
    B.
    It points to a data row
    C.
    It is used for pointing data rows containing key values
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which one is true about clustered index?
  8. A.
    Clustered index is not associated with table
    B.
    Clustered index is built by default on unique key columns
    C.
    Clustered index is not built on unique key columns
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. What is true about indexes?
  10. A.
    Indexes enhance the performance even if the table is updated frequently
    B.
    It makes harder for sql server engines to work to work on index which have large keys
    C.
    It doesn't make harder for sql server engines to work to work on index which have large keys
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Does index take space in the disk ?
  12. A.
    It stores memory as and when required
    B.
    Yes, Indexes are stored on disk
    C.
    Indexes are never stored on disk
    D.
    Indexes take no space

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. What are composite indexes ?
  14. A.
    Are those which are composed by database for its internal use
    B.
    A composite index is a combination of index on 2 or more columns
    C.
    Composite index can never be created
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. If an index is _________________ the metadata and statistics continue to exists
  16. A.
    Disabling
    B.
    Dropping
    C.
    Altering
    D.
    Both a and b

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. In _______________ index instead of storing all the columns for a record together, each column is stored separately with all other rows in an index.
  18. A.
    Clustered
    B.
    Column store
    C.
    Non clustered
    D.
    Row store

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. A _________________ index is the one which satisfies all the columns requested in the query without performing further lookup into the clustered index.
  20. A.
    Clustered
    B.
    Non Clustered
    C.
    Covering
    D.
    B-Tree

    View Answer

    Workspace

    Discuss Discuss in Forum