Database Concepts and Teradata Architecture

Quiz covering fundamental SQL commands, database constraints, datatypes, and Teradata-specific architecture concepts including AMP, PE, VDISK, and Teradata utilities

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Maximum no. of secondry indexes allowed on single table

  1. 64
  2. 32
  3. 128
  4. 256
Question 2 Multiple Choice (Single Answer)

Clique is a

  1. Group of nodes that share a common set of disk arrays.
  2. Group of AMP's that share a common set of VDisk
  3. Group of PE's used for fault tolerance.
  4. Group of teradata systems.
Question 3 True/False

The rows of every table are distributed among all AMPs

  1. True
  2. False
Question 4 Multiple Choice (Single Answer)

Each row in teradata system is identified using

  1. Row hash
  2. Row id
  3. Hash map
  4. Hash value
Question 5 True/False

Teradata Basic concepts dictate that a Primary Key can be NULL

  1. True
  2. False
Question 6 Multiple Choice (Multiple Answers)

Which two statements about the Transient Journal are true?

  1. It permits successful rollback to the last archive
  2. After the transaction is committed, the Before Images are discarded
  3. Transient Journal operation is automatic
  4. Before Images are kept until manually purged
Question 7 Multiple Choice (Single Answer)

what can be the possible value for the data type number(4,3)?

  1. 25.358
  2. 1254.663
  3. 1.1242
  4. 2.425
Question 8 Multiple Choice (Multiple Answers)

Which among these are pseudo columns

  1. rowid
  2. sysdate
  3. rownum
  4. all of the above
Question 9 Multiple Choice (Single Answer)

which constraint allow NULL value

  1. foreign key constraint
  2. unique key constraint
  3. check constraint
  4. All of the above
Question 10 Multiple Choice (Multiple Answers)

delete from table_name

  1. deletes data from table_name which cannot be rolled back
  2. deletes data from table_name but can be rolled back
  3. drops table_name
  4. none of the above
Question 11 Multiple Choice (Single Answer)

which is correct about COMPOSITE KEY?

  1. both column data type must be same
  2. both colmun data type need not be same
  3. one of the data type must be different
  4. both column data type and length must be same
Question 12 Multiple Choice (Single Answer)

which is correct regarding CHECK CONSTRAINT?

  1. check (salary>(select salary from emp where uid=10))
  2. check (salary >(select salary from emp where rowid=10 ))
  3. check (salary >2568)
  4. check (salary >select salary from emp where dno=10)
Question 13 Multiple Choice (Multiple Answers)

truncate command

  1. deletes data from table but keeps table structure
  2. deletes data as well table structure
  3. drops table
  4. none of the above
Question 14 Multiple Choice (Single Answer)

A column with varchar datatype is populated with number values. What is the possible output with the default ORDER BY clause?

  1. 1 11 111 2 3 4
  2. 1 2 3 4 11 111
  3. 111 11 4 3 2 1
  4. ERROR due to data type mismatch
Question 15 Multiple Choice (Multiple Answers)

deference between union and union all

  1. Union all will remove the duplicate rows from the result set while Union does'nt
  2. Union will remove the duplicate rows from the result set while Union all does'nt
  3. Both Union and Union all will remove duplicate rows from result set
  4. All of the above
Question 16 Multiple Choice (Multiple Answers)

SELECT TRUNC(1234.5678,-2) FROM DUAL;

  1. 12
  2. 1234
  3. 1200
  4. 1234.56
Question 17 Multiple Choice (Single Answer)

Which utility can be used for constant updates in datawarehouse?

  1. Fastload
  2. Multiload
  3. Tpump
  4. Bteq
Question 18 True/False

Fastload can be used for loading multiple tables at a time.

  1. True
  2. False
Question 19 Multiple Choice (Multiple Answers)

What are basic units of Teradata Arcitecture?

  1. PE
  2. AMP
  3. TDP
  4. CLIQUE
  5. VDISK
Question 20 Multiple Choice (Single Answer)

Intermediate querry results are stored in

  1. AMP
  2. BYNET
  3. PE
  4. VDISK