Teradata and Oracle PL/SQL Database Quiz

Covers Teradata database concepts including architecture, utilities, and indexes, plus Oracle PL/SQL programming fundamentals and SQL*Plus features.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which statement would change the default date format to a specified format for the current session?

  1. ALTER SESSION SET NEW_DATE_FORMAT = <date_format>
  2. ALTER SESSION SET CUR_DATE_FORMAT = <date_format>
  3. ALTER SESSION SET NLS_DATE_FORMAT = <date_format>
  4. ALTER SESSION SET SESS_DATE_FORMAT = <date_format>
Question 2 Multiple Choice (Single Answer)

WHAT IS THE MAX LENGHT OF VARCHAR2 DATATYPE IN PL/SQL?

  1. 32767
  2. 1024
  3. 255
  4. 32765
Question 3 Multiple Choice (Single Answer)

Which one of the following is maximum limit for output generated by DBMS_OUTPUT?

  1. 10000000
  2. 1000000
  3. 100000
  4. 1000
Question 4 Multiple Choice (Single Answer)

Which one of the following contains only valid PL/SQL reserved words?

  1. TO_CHAR, INOUT
  2. PROC, PACKAGE
  3. PRAGMA, MULTI_ROW
  4. SELECT, EXCEPTION
Question 5 Multiple Choice (Single Answer)

Which one of the following SQL*Plus options lets you trace and print the execution plans as well as statistics?

  1. SET AUTOTRACE TRACEONLY
  2. SET AUTOTRACE ON
  3. SET AUTOTRACE ON STATISTICS
  4. SET AUTOTRACE ON EXPLAIN
Question 6 Multiple Choice (Single Answer)

What does the <<>> lexical unit or delimiter signify in PL/SQL?

  1. Comment marker
  2. Not equal to operator
  3. Label delimiter
  4. Greater than or equal to operator
Question 7 Multiple Choice (Single Answer)

Which one of the following is a valid RAISE_APPLICATION_ERROR call?

  1. RAISE_APPLICATION_ERROR(-21001);
  2. RAISE_APPLICATION_ERROR(-20001,'An error has occurred');
  3. RAISE_APPLICATION_ERROR(-21001,'An error has occurred');
  4. RAISE_APPLICATION_ERROR(-20001);
Question 8 Multiple Choice (Single Answer)

Which one of the following provides you with the number of records affected by the last DML statement?

  1. SQL%ROWCOUNT
  2. SQL%COUNT
  3. SQL%FOUND
  4. SQL%NUM_ROWS
Question 9 Multiple Choice (Multiple Answers)
  1. Which of the following are two architectural attributes of a Teradata System?
  1. Disk space associated with an AMP is divided into three areas: system, permanent and spool
  2. Parallelism is achieved through operating system time slicing
  3. The AMP’s access data from their associated vdisks as required.
  4. The PE’s communicate with the AMP’s across the BYNET
Question 10 Multiple Choice (Single Answer)

Which is the component that limits queries based on set thresholds?

  1. Teradata SQL Assistant
  2. BTEQ
  3. Teradata Manager
  4. TDQM
Question 11 Multiple Choice (Single Answer)

Which of the following is a statement that is true regarding temporary space?

  1. Temporary space is spool space currently not used
  2. Temporary space is permanent space currently not used.
  3. Temporary space is subtracted from SysAdmin
  4. Temporary space is assigned at the table level.
Question 12 Multiple Choice (Multiple Answers)

Of the following, which two are attributes of a Teradata warehouse? (Choose two)

  1. Customer applications drive the processes.
  2. Relational databases are more flexible than other types.
  3. Businesses are able to quickly respond to changing conditions
  4. It is built to reflect business application models.
Question 13 Multiple Choice (Multiple Answers)

Which two of the following statements are true regarding a Primary Index are accurate?

  1. A primary Index is a physical mechanism.
  2. There is a limit to the number of columns in a Primary Index.
  3. A Primary Index requires uniqueness
  4. A Primary Index value can not be null.
Question 14 Multiple Choice (Multiple Answers)

The method of creating rows, columns and tables is governed by which two relational database concepts? (Choose two)

  1. The order of rows in a table is arbitrary
  2. A table can contain only one row formats
  3. The order of rows in a table is keyed to Primary Index.
  4. A table can contain multiple row formats
Question 15 Multiple Choice (Single Answer)

What option can best describe Teradata’s architecture?

  1. Shared everything
  2. Shared memory
  3. Shared nothing
  4. Shared data
Question 16 Multiple Choice (Single Answer)

What is a feature of a row according to relational concepts?

  1. A row is one instance of all columns.
  2. Row sequence is specified.
  3. Duplicate rows are allowed in a table.
  4. Rows can have different formats.
Question 17 Multiple Choice (Multiple Answers)

Which of the following are two factual statements regarding an OLTP environment? (Choose two)

  1. Transactions are write intensive
  2. The number rows per transaction is large
  3. Transactions typically occur within seconds, not minutes
  4. The number of rows per transaction is small
Question 18 Multiple Choice (Single Answer)

Why would you choose a Non-Unique Primary Index (NUPI) instead of a Unique Primary Index (UPI)?

  1. A NUPI requires less disk space to store the data row.
  2. A NUPI may be more effective for query access and joins.
  3. A NUPI query amplifies the optimization process in the PE.
  4. A NUPI provides better data distribution
Question 19 Multiple Choice (Single Answer)

Which is the query tool that lets you access not only Teradata, but other databases as well?

  1. BTEQ
  2. Teradata SQL Assistant
  3. Teradata Manager
  4. TDQM
Question 20 Multiple Choice (Single Answer)

Block level operations are performed against populated tables by which utility?

  1. Tpump
  2. BulKLoad
  3. FastLoad
  4. MultiLoad