Which language category in SQL is used by database administrators to grant and revoke access privileges and security permissions? MCQ with Answer and Explanation

Which language category in SQL is used by database administrators to grant and revoke access privileges and security permissions?
A. DML
B. DDL
C. TCL
D. DCL
Answer: Option D
Solution (By JKSSB Mock Tests)
Data Control Language (DCL) includes commands like GRANT and REVOKE, which manage privileges and security configurations for database users.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
Which of the following is a characteristic of a DBMS?
A. All of the above
B. Security and access control
C. Data redundancy control
D. Data independence

Correct Answer: Option A


Explanation:
A DBMS provides features like data independence, reduced redundancy, security, and concurrent access.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What is the purpose of the SAVEPOINT statement?
A. To release locks
B. To create a point within a transaction to which you can later roll back
C. To permanently save changes
D. To start a new transaction

Correct Answer: Option B


Explanation:
SAVEPOINT creates a named point within a transaction, allowing partial rollback to that point without affecting the entire transaction.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What is the difference between an inner join and an outer join?
A. Inner join returns all rows; outer join returns matching only
B. They are the same
C. Outer join is used for more than two tables
D. Inner join returns only matching rows; outer join returns matching plus non-matching rows from one or both tables

Correct Answer: Option D


Explanation:
Inner join returns rows where the join condition matches. Outer join (left, right, full) returns unmatched rows as well with NULLs.

This question belongs to: Computer Database Management System (DBMS)