Netezza Database Administration Quiz

Test your knowledge of Netezza database administration, including nzsql commands, statistics generation, materialized views, and transaction management.

20 Questions Published

Questions

Question 1 True/False

Materialized Views does not occupy storage like views.

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

Materialized view create statement cannot have the below clause

  1. Select
  2. From
  3. Where
  4. All of the above
Question 3 True/False

In order to access a MV, user needs to replace the base table name with the MV name in the query

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

MV threshold percentage can be set using the below statement

  1. SET MV DEFAULT MATERIALIZED [REFRESH] THRESHOLD <percentage>
  2. SET SYSTEM DEFAULT MATERIALIZED [REFRESH] THRESHOLD <percentage>
  3. SET SYSTEM DEFAULT [REFRESH] THRESHOLD <percentage>
  4. Any of the above
Question 5 Multiple Choice (Single Answer)

Which of the below statement is true?

  1. Row ids are sequential and unique
  2. Row ids are not sequential but unique
  3. Row ids are sequential but not unique
  4. Row ids are neither sequential nor unique
Question 6 Multiple Choice (Single Answer)

Default value of DeleteXid is

  1. 0
  2. 1
  3. NULL
  4. None of the above
Question 7 True/False

Xid’s are sequential

  1. True
  2. False
Question 8 True/False

In Netezza, User can explicitly lock tables

  1. True
  2. False
Question 9 True/False

Records are updated in-place on disk

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

When insert or load is aborted

  1. Records inserted till that point are visible to the user
  2. Records inserted till that point are not visible to the user
  3. Records inserted till that point is physically delete from the table
  4. None of the above
Question 11 True/False

User cannot generate statics on a particular column of a table.

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

Which of the below is not a valid command

  1. Generate statistics on <Table>
  2. Generate Express statistics on <Table>
  3. Generate JIT statistics on <Table>
  4. None of the above
Question 13 Multiple Choice (Single Answer)

JIT statistics are generate on the below tables

  1. External Tables
  2. Database Tables
  3. System Tables
  4. Virtual tables
Question 14 True/False

There is no need to run “Generate statistics” if JIT stats are available on that table

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

Which of the below command can be used to abort a transaction

  1. nzstop
  2. nzsession
  3. nzstate
  4. Any of the above
Question 16 Multiple Choice (Single Answer)

nzsystem command can be used to

  1. Start the server
  2. Stop the server
  3. Show the status of the server
  4. All of the above
Question 17 True/False

It is not required to generate statistics after nzload

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

Which of the below is an option of nzsql command to display only records

  1. -r
  2. -t
  3. -c
  4. None of the above
Question 19 Multiple Choice (Single Answer)

! is used

  1. Exit nzsql
  2. Shell escape or command
  3. Pause the current query
  4. None of the above
Question 20 Multiple Choice (Single Answer)

\ds lists

  1. Synonyms
  2. Sequences
  3. System tables
  4. None of the above