DBMS Security and Authorization

DBMS Security and Authorization

13 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which type of command is GRANT?

  1. Transaction Control Language (TCL) command
  2. Data Query Language (DQL) command
  3. Data Control language (DCL) command
  4. Data Definition Language (DDL) command
  5. None of these
Question 2 Multiple Choice (Single Answer)

In Oracle, which of the following is a group of privileges that are collected together and granted to users?

  1. Revoke
  2. Grant
  3. Role
  4. Synonym
  5. View
Question 3 Multiple Choice (Single Answer)

Create, Revoke, Grant and Drop commands are parts of _____________ language in Oracle.

  1. DML
  2. DDL
  3. Object-Oriented language
  4. Procedural language
  5. Assembly language
Question 4 Multiple Choice (Single Answer)

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?

  1. Share update lock
  2. Exclusive lock
  3. Share lock
  4. Deadlock
  5. Keylock
Question 5 Multiple Choice (Single Answer)

A director's salary details are hidden from the employee. This process is called

  1. conceptual level hiding
  2. physical level data hiding
  3. external level data hiding
  4. none of these
Question 6 Multiple Choice (Single Answer)

In a multi-user database, if two users wish to update the same record at the same time, they are prevented by

  1. jamming
  2. password
  3. documentation
  4. record lock
Question 7 Multiple Choice (Single Answer)

What is the SQL statement to grant select, update privileges to the user RAKESH for the DEPT relation?

  1. GRANT DML on DEPT to USER1;
  2. GRANT select, update to USER1 on DEPT;
  3. GRANT select, update on DEPT to USER1;
  4. GRANT on DEPT to USER1 for select, update;
Question 8 Multiple Choice (Single Answer)

Data security threat includes

  1. privacy invasion
  2. hardware failure
  3. fraudulent manipulation of data
  4. all of above
Question 9 Multiple Choice (Single Answer)

Which are the different phases in two-phase locking protocol?

  1. Read and write phase
  2. Locking and unlocking phase
  3. Growing and shrinking phase
  4. Growing and locking phase
Question 10 Multiple Choice (Single Answer)

A locked file can be

  1. accessed by only one user
  2. modified by user with correct password
  3. used to hide sensitive information
  4. none of these
Question 11 Multiple Choice (Single Answer)

Locking can be used for

  1. deadlock
  2. lost update
  3. uncommitted dependency
  4. inconsistent data
Question 12 Multiple Choice (Single Answer)

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?

  1. Authentication through database links
  2. Distributed database security
  3. Auditing database links
  4. Administration tools
  5. Site autonomy
Question 13 Multiple Choice (Single Answer)

_______ lock does not permit to share the resource.

  1. Dead
  2. Nowait
  3. Exclusive
  4. Row