Database Administration and SQL Best Practices
Test your knowledge of database administration, SQL coding standards, performance optimization techniques, security guidelines, and Oracle-specific features like parallelism and indexing.
Questions
If the number of leaf blocks of index , scanned is less than 5000 then degree of parallelismis 2?
- True
- False
If the number of leaf blocks of index , scanned is 50000-250000 then what is the degree of parallelism is 16 ?
- True
- False
NOLOGGING is used to reduce redo log generation ?
- True
- False
EXPORT_TABLE_STATS procedure is used to export statistics of an existing table ?
- True
- False
If the serial code runs in less than 50% window time than parallelism should be considered ?
- True
- False
The purpose of comments is that someone that has never worked on the project before. They would need to underderstand precisely where changes has been done, why those changeswere made, and exactly what the change was.
- True
- False
The primary goal of logging is to ensure that if your PL/SQL block has performance problems once deployed to production you should be able to identify the exact SQL or other PL/SQL component (eg a loop) that is causing the issue.
- True
- False
HINTS should be used to parallelise an operation if the operation is FULL TABLE SCAN ?
- True
- False
If parallelism is used in a DML then PX COORDINATOR should be below DML operation in the EXPLAIN PLAN ?
- True
- False
Comment lines contain about the parallelism used ?
- True
- False
BITMAP INDEX is used in situations where the index is created after the table or partition is populated ?
- True
- False
If we are using UNION or UNION ALL then comment is necessary ?
- True
- False
UNION or UNION ALL should be avoided ?
- True
- False
As per BT security guide lines, account sharing is legal ?
- True
- False
Reading and writing data in datawarehouse should be maximized ?
- True
- False
In case of any deployment you if we need to backup data anywhere there must be a clear plan to remove this later. ?
- True
- False
For creating a table named T1 do we need to check whether that table exist or not ?
- True
- False
Make sure that every SQL that will run in your PL/SQL writes it’s elapsed time to your log file?
- True
- False
Business Logic comments is required for any SQL
- True
- False