Home / CSE MCQs / SQL Server MCQs :: SQL Server Monitoring, Auditing

CSE MCQs :: SQL Server MCQs

  1. Point out the correct statement :
  2. A.
    To determine if a database is already enabled, query the is_cdc_enabled column in the sys.database catalog view.
    B.
    Change data capture requires exclusive use of the cdc schema and cdc user
    C.
    If a change data capture enabled database is dropped, change data capture jobs are not removed
    D.
    All of the mentioned

  3. Which of the following is catalog view used for change tracking ?
  4. A.
    sys.change_tracking_tables
    B.
    sys.change_tracking_views
    C.
    sys.change_tracking_columns
    D.
    None of the mentioned

  5. Point out the wrong statement:
  6. A.
    Users with the ALTER ROLE permission can create server audit specifications and bind them to any audit
    B.
    SQL Server audit uses Extended Events to help create an audit
    C.
    You can have multiple audits per SQL Server instance
    D.
    You can create one server audit specification per audit

  7. Which of the following tool is used for purpose of data auditing for SQL Server only?
  8. A.
    ApexSQL
    B.
    SQL Ninja
    C.
    SQL Audit
    D.
    Idera

  9. Which of the following catalog view is used for SQL Server Extended Events ?
  10. A.
    sys.server_sessions
    B.
    sys.server_event_sess
    C.
    sys.server_event_session_actions
    D.
    All of the mentioned

  11. Which of the following mode allows for the collection and uploading of data to occur on demand ?
  12. A.
    Non-cached mode
    B.
    Cached mode
    C.
    Mixed mode
    D.
    All of the mentioned

  13. Which of the following is one of the most crucial performance counters for monitoring ?
  14. A.
    Disk Write Bytes/sec
    B.
    Memory Queue Length
    C.
    Virtual Memory
    D.
    All of the mentioned

  15. Which of the following stored procedure will stop the trace ?
  16. A.
    sp_trace_create.
    B.
    sp_trace_setfilter
    C.
    sp_trace_setstatus
    D.
    sp_stop_status

  17. Point out the wrong statement :
  18. A.
    If a filter is set, all events of the selected event classes are returned in the trace output
    B.
    A trace captures data based on selected event classes, data columns, and filters. For example, you can create a trace to monitor exception errors
    C.
    A data column is an attribute of an event classes captured in the trace
    D.
    All of the mentioned

  19. Point out the wrong statement :
  20. A.
    When the query processor parameterizes the query, the parameter can appear in the audit event log instead of the column values of the query
    B.
    To access the triggering event we can use the EventData function in our DDL trigger
    C.
    AUDIT_DATABASE_CHANGE_GROUP event is raised whenever CREATE DATABASE AUDIT is issued
    D.
    None of the mentioned