0

databases Online Quiz - 77

Description: databases Online Quiz - 77
Number of Questions: 20
Created by:
Tags: databases
Attempted 0/20 Correct 0 Score 0

Which of the following privilege is required to create a new package in a database?

  1. CONTROL

  2. BIND

  3. EXECUTE

  4. BINDADD


Correct Option: B

Which of the following privilege is required to create a new package in a database?

  1. CONTROL

  2. BIND

  3. EXECUTE

  4. BINDADD


Correct Option: B
  1. GRANT INDEX ON employee TO db2user WITH GRANT OPTION

  2. GRANT UPDATE (salary, bonus) ON employee TO PUBLIC WITH GRANT

  3. GRANT CONTROL ON employee TO PUBLIC WITH GRANT OPTION

  4. GRANT ALTERIN, CREATEIN, DROPIN ON schema1 TO db2user WITH GRANT


Correct Option: C

Which of the following statement is NOT a valid method of authentication that can be used by DB2 UDB VERSION8?

  1. SERVER

  2. SERVER_ENCRYPT

  3. CLIENT

  4. DCS


Correct Option: D

Assuming User1 has no privileges/Authorities , which of the following will only Allow USER1 to add data to table EMPLOYEE

  1. CONTROL

  2. UPDATE

  3. INSERT

  4. INSERT WITH GRANT OPTION


Correct Option: C
Explanation:

To solve this question, the user needs to know the different types of privileges in a database management system and their corresponding actions.

Now, let's go through each option and explain why it is right or wrong:

A. CONTROL: This option is incorrect because the CONTROL privilege provides all privileges on an object, including the ability to modify, delete, and grant privileges. It is not specific to the INSERT action only.

B. UPDATE: This option is incorrect because the UPDATE privilege allows the user to modify existing data in a table but not add new data.

C. INSERT: This option is correct. The INSERT privilege allows the user to add new data to a table. By granting only the INSERT privilege to USER1 on the EMPLOYEE table, USER1 will be able to add new data to the table but not modify or delete existing data.

D. INSERT WITH GRANT OPTION: This option is incorrect because INSERT WITH GRANT OPTION not only allows the user to insert data into the table but also to grant the INSERT privilege to other users. This means that USER1 can give the INSERT privilege to another user, which is not a requirement in this scenario.

Therefore, the correct answer is:

The Answer is: C. INSERT

In a client-server environment, which two of the following can be used to verify passwords?

  1. System Catalog

  2. Client Applications

  3. Client Operating Systems

  4. Application Server


Correct Option: C,D

What is the prefix key for executing an OS command in the DB2 CLP?

  1. &

  2. %

  3. !

  4. @


Correct Option: C

Which of the following tool can be used to monitor the state of the DB2 environment?

  1. Task Center

  2. Command Center

  3. Health Center

  4. Control Center


Correct Option: C

DB2 Extenders can handle non-traditional data. Which of the following type of data can Extenders not handle?

  1. XML

  2. File

  3. Spatial data

  4. Music


Correct Option: B

what is the type of lock that prevents all other types of lock ?

  1. Inclusive

  2. Exclusive

  3. Read

  4. Write


Correct Option: B

What is the teradata utility that can continuously load data into tables?

  1. Fastexp

  2. Fastload

  3. Multiload

  4. Tpump


Correct Option: D

What is the limit of the no of columns on a primary key in relational model?

  1. 16

  2. 32

  3. 64

  4. There is no limit on the no. of columns.


Correct Option: D

Which of the following tables could be used for a user who wants to create a small Temporary table with Spool Space?

  1. Derived Table

  2. Volatile Table

  3. Global Temporary Table

  4. None


Correct Option: A,B

Teradata runs on which architecture ?

  1. shared memory

  2. shared nothing

  3. shared everything

  4. shared all


Correct Option: B

What is the teradata utility that restricts queries based on threshold values ?

  1. Teradata Manager

  2. DBQM

  3. Queryman

  4. Teradata Warehouse builder


Correct Option: A

Teradata Company founded in..?

  1. 1981

  2. 1978

  3. 1979

  4. 1989


Correct Option: C

What does the ‘Help Table’ display?

  1. Column names, data type, Comments

  2. Column names, Indexes, data types, Comments

  3. Displays the table id, Column names, data types, Comments

  4. Tell the session number of the user


Correct Option: A

Which operator will be evaluated first in the following SELECT statement?

  1. +

  2. *

  3. -

  4. /


Correct Option: B
- Hide questions