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
Questions
Maximum no. of secondry indexes allowed on single table
- 64
- 32
- 128
- 256
Clique is a
- Group of nodes that share a common set of disk arrays.
- Group of AMP's that share a common set of VDisk
- Group of PE's used for fault tolerance.
- Group of teradata systems.
The rows of every table are distributed among all AMPs
- True
- False
Each row in teradata system is identified using
- Row hash
- Row id
- Hash map
- Hash value
Teradata Basic concepts dictate that a Primary Key can be NULL
- True
- False
Which two statements about the Transient Journal are true?
- It permits successful rollback to the last archive
- After the transaction is committed, the Before Images are discarded
- Transient Journal operation is automatic
- Before Images are kept until manually purged
what can be the possible value for the data type number(4,3)?
- 25.358
- 1254.663
- 1.1242
- 2.425
Which among these are pseudo columns
- rowid
- sysdate
- rownum
- all of the above
which constraint allow NULL value
- foreign key constraint
- unique key constraint
- check constraint
- All of the above
delete from table_name
- deletes data from table_name which cannot be rolled back
- deletes data from table_name but can be rolled back
- drops table_name
- none of the above
which is correct about COMPOSITE KEY?
- both column data type must be same
- both colmun data type need not be same
- one of the data type must be different
- both column data type and length must be same
which is correct regarding CHECK CONSTRAINT?
- check (salary>(select salary from emp where uid=10))
- check (salary >(select salary from emp where rowid=10 ))
- check (salary >2568)
- check (salary >select salary from emp where dno=10)
truncate command
- deletes data from table but keeps table structure
- deletes data as well table structure
- drops table
- none of the above
A column with varchar datatype is populated with number values. What is the possible output with the default ORDER BY clause?
- 1 11 111 2 3 4
- 1 2 3 4 11 111
- 111 11 4 3 2 1
- ERROR due to data type mismatch
deference between union and union all
- Union all will remove the duplicate rows from the result set while Union does'nt
- Union will remove the duplicate rows from the result set while Union all does'nt
- Both Union and Union all will remove duplicate rows from result set
- All of the above
SELECT TRUNC(1234.5678,-2) FROM DUAL;
- 12
- 1234
- 1200
- 1234.56
Which utility can be used for constant updates in datawarehouse?
- Fastload
- Multiload
- Tpump
- Bteq
Fastload can be used for loading multiple tables at a time.
- True
- False
What are basic units of Teradata Arcitecture?
- PE
- AMP
- TDP
- CLIQUE
- VDISK
Intermediate querry results are stored in
- AMP
- BYNET
- PE
- VDISK