DBMS Security and Authorization
DBMS Security and Authorization
Questions
Which type of command is GRANT?
- Transaction Control Language (TCL) command
- Data Query Language (DQL) command
- Data Control language (DCL) command
- Data Definition Language (DDL) command
- None of these
In Oracle, which of the following is a group of privileges that are collected together and granted to users?
- Revoke
- Grant
- Role
- Synonym
- View
Create, Revoke, Grant and Drop commands are parts of _____________ language in Oracle.
- DML
- DDL
- Object-Oriented language
- Procedural language
- Assembly language
Which of the following locks in Oracle locks the table allowing other users to only query but not insert, update or delete rows in a table?
- Share update lock
- Exclusive lock
- Share lock
- Deadlock
- Keylock
A director's salary details are hidden from the employee. This process is called
- conceptual level hiding
- physical level data hiding
- external level data hiding
- none of these
In a multi-user database, if two users wish to update the same record at the same time, they are prevented by
- jamming
- password
- documentation
- record lock
What is the SQL statement to grant select, update privileges to the user RAKESH for the DEPT relation?
- GRANT DML on DEPT to USER1;
- GRANT select, update to USER1 on DEPT;
- GRANT select, update on DEPT to USER1;
- GRANT on DEPT to USER1 for select, update;
Data security threat includes
- privacy invasion
- hardware failure
- fraudulent manipulation of data
- all of above
Which are the different phases in two-phase locking protocol?
- Read and write phase
- Locking and unlocking phase
- Growing and shrinking phase
- Growing and locking phase
A locked file can be
- accessed by only one user
- modified by user with correct password
- used to hide sensitive information
- none of these
Locking can be used for
- deadlock
- lost update
- uncommitted dependency
- inconsistent data
In an Oracle distributed database system, which of the following is the one in which each server participating in a distributed database is administered independently from all other databases?
- Authentication through database links
- Distributed database security
- Auditing database links
- Administration tools
- Site autonomy
_______ lock does not permit to share the resource.
- Dead
- Nowait
- Exclusive
- Row