Netezza Questions
Netezza Questions
B. USERS
C. PUBLIC
D. GLOBAL
Answer: C
Explanation:
Questions 8. Which command will backup users and groups on the system?
A. nzbackup -all
B. nzhostbackup
C. nzbackup-globals
D. nzbackup-system
Answer: B
Explanation:
Questions 9. Which statement is TRUE regarding any database user?
A. The user has a tablespace defined
B. The user can be assigned to more than one group
C. The user must have a corresponding host account
D. The user can be removed from the default PUBLIC group
Answer: B
Explanation:
Questions 10. Why is it important to manage data skew?
A. Low table skew negatively impacts performance
B. High table skew negatively impacts performance
C. Low table skew negatively impacts data compression
D. Deleted rows consume disk space until they are freed
Answer: B
Explanation:
Questions 11. When doing a CREATE SEQUENCE, which is always true about INCREMENT
BY?
A. The value may only be positive
B. The value may only be negative
C. Cross-database access is supported
D. The value may be either negative or positive
Answer: C
Explanation:
Questions 12. In order for an ODBC application running on Microsoft Windows to c
onnect to Pure Data System for Analytics, which two steps must be performed? (Ch
oose two.)
A. Install nzsql for Windows
B. Install nzAdmin for Windows
C. Install an ODBC driver for Windows
D. Install an ODBC Driver Manager for Windows
E. Create or modify a Data Source Name (DSN) for a connection to a database
Answer: C,E
Explanation:
Questions 13. Here's an excerpt from a successful query execution plan file:
What does "DownloadTableNode distribute" indicate?
A. A broadcast is going to take
B. A redistribution is going to
C. A broadcast is going to take
D. A redistribution is going to
uted
Answer: D
Explanation:
Questions 20. Short Query Bias is enabled by default. Which of the following is
NOT an advantage of using Short Query Bias?
A. It allows for all short queries to run in a guaranteed amount of time
B. The cost threshold is configurable with the hostschedSQBNominalSecs setting
C. When the standard scheduler is full, short queries can take advantage of addi
tional resources reserved for them
D. It allows queries with a cost estimate less than or equal to the defined shor
t query length to run on a busy system
Answer: D
Explanation:
Questions 21. Which statement is TRUE about a simple load using external tables?
A. The load can be configured
being loaded
B. The load can be configured
ble being loaded
C. The load can be configured
ble being loaded
D. The load can be configured
lade reset or failure
Answer: D
Explanation:
Questions 22. NPS syncs up which two folder structures between the active and pa
ssive hosts? (Select two)
A. /nz El
B. /log
C. /host
D. /admin
E. /export/home
Answer: B,E
Explanation:
Questions 23. What new feature simplifies the gathering of information for a pro
blem management record (PMR) with IBM Support?
A. Call IBM
B. Call 911
C. Call Home
D. File Open PMR
Answer: C
Explanation:
Questions 24. Which of the following statements is TRUE when a table is created?
A. 3MB of temporary space is allocated on each dataslice for the table
B. One page of storage space is allocated on each dataslice for the table
C. One extent of storage space is allocated on each dataslice for the table
D. No space is allocated by the system until a record is inserted into the table
Answer: B
Explanation:
Questions 25. Which of the following can the NZDUMPSCHEMA command be used for?
A. Backup a database
B. Dump the entire system catalog
C. Output a shell script with SQL statements
D. Generate schema information, with its associated user data
Answer: D
Explanation:
Questions 26. Dropping an external table does which of the following?
Questions 39. Data Restrict Optimization does NOT accomplish which of the follow
ing?
A. Reduces latency of the query
B. Reduces the time taken to process a single snippet
C. Allows multiple different snippets to run concurrently
D. Reduces the number of drives searched by a snippet
Answer: C
Explanation:
Questions 40. When creating a table with nullable columns, which statement is TR
UE?
A. 0 is equal to null, the empty string (`') is equal to null
B. 0 is equal to null, the empty string (`') is not equal to null
C. 0 is not equal to null, the empty string (`') is equal to null
D. 0 is not equal to null, the empty string (`') is not equal to null
Answer: B
Explanation:
Questions 41. Within a single Pure Data System for Analytics, what is the fastes
t way to copy a very large table from database PROD to database TEST?
A. Use a CTAS statement
B. Use the COPY command
C. Use external tables and UNIX pipes
D. Use nzbackup and nzrestore commands
Answer: D
Explanation:
Questions 42. Why is generating statistics on a table important to query perform
ance?
A. The table statistics are used to facilitate dislespace reclamation of deleted
rows
B. The optimizer uses statistics to determine the optimal execution plan for que
ries
C. The zone map information cross references the table statistics for each colum
n to avoid scanning
D. The Field Programmable Gate Array (FPGA) utilizes the statistics to identify
which rows/columns to filter
Answer: B
Explanation:
Questions 43. What must be properly defined for a table in order to avoid data s
kew:
A. Skew ratio
B. Distribution
C. Organization
D. Statistics generation
Answer: C
Explanation:
Questions 44. When reviewing the output of an EXPLAIN PLANGRAPH in IBM Netezza P
erformance Portal, how is the output read?
A. Left to right, from top to bottom
B. Left to right, from bottom to top
C. Right to left, from top to bottom
D. Right to left, from bottom to top
Answer: B
Explanation:
Questions 45. What utility is used to find out which host is currently active?
A. nzstate
B. nzconfig
C. crm_resource
D. service heartbeat start
Answer: A
Explanation:
Questions 46. What information is the NZDUMPSCHEMA command capable of outputting
?
A. Table definitions only
B. Table definitions, and view definitions only
C. Table definitions, view definitions, and database statistical information onl
y
D. Table definitions, view definitions, database statistical information, and us
er-defined extensions registered within the database
Answer: D
Explanation:
Questions 47. Columns in a table may be zone mapped. How are those columns chose
n?
A. They are automatically selected by the system
B. They are always based on the samecolumns as the table's distribution key
C. They are added via the ALTER TABLE ADD INDEX(column_name) statement
D. They are added via the ALTER TABLE ADD ZONEMAP(column_name) statement
Answer: A
Explanation:
Questions 48. When enabled, query history always collects information about logi
n failures, session creation, session termination, and query history process sta
rtup. Which area does query history NOT collect data?
A. Plans
B. Disks
C. Tables
D. Queries
Answer: C
Explanation:
Questions 49. When working with sequences, which statement will always be TRUE?
A. Only integers are generated
B. The default data type is SMALL I NT
C. The first value generated is the number 1
D. Values generated by the sequence will be unique across all tables and databas
es
Answer: D
Explanation:
Questions 50. What is the only predefined database user, which is able to access
all objects and perform all tasks against the database?
A. Root
B. Public
C. Admin
D. System
Answer: B
Explanation:
Questions 51. Which of the following system views will NOT show information abou
t active queries?
A. _v_qryhist
B. _v_qrystat
C. _v_planstatus
D. _v_querystatus
Answer: C
Explanation:
Questions 52. What statement about LDAP security is TRUE?
A. If a user can be authenticated locally, LDAP authentication will not be used
B. When LDAP authentication is used, NPS will require a password if the ALTER US
ER statement is run
C. If LDAP authentication fails, NPS will note the reason for the failure in the
/nz/kit/log/postgres/pg.log file
D. When LDAP authentication is used, NPS will require a password if the CREATE U
SER statement is run
Answer: B
Explanation:
Questions 53. Which two characteristics describe materialized views? (Choose two
.)
A. Materialized views can contain aggregates
B. Materialized views can contain a HAVING clause
C. Materialized views can contain a WHERE clause
D. Materialized views can contain an ORDER BY clause
E. Materialized views can reference only one base table in the FROM clause
Answer: B,D
Explanation:
Questions 54. A user is running Netezza Performance Server Release 7.0.3 on an e
nvironment where cross- database access has been enabled. The user sees the foll
owing prompt:
DEV(ADMIN)=>
Which two sets of statements will execute successfully? (Choose two.)
A. CREATE SEQUENCE prod..seq1;
B. INSERT INTO emp SELECT * FROM dev..emp;
C. INSERT INTO prod..emp SELECT * FROM emp;
D. INSERT INTO emp SELECT * FROM prod..emp;
E. CREATE MATERIALIZED VIEW emp AS SELECT * FROM prod..emp;
Answer: A,C
Explanation:
Questions 55. What two types of actions can be configured using the NZ Event Man
ager? (Choose two)
A. Inserting a row into a table
B. Running a stored procedure
C. Sending an email to a list of addresses
D. Running a command on the active host
E. Sending a Simple Network Message Protocol (SNMP) event
Answer: B,C
Explanation:
Questions 56. What is the maximum supported size of a BLOB in NPS?
A. 32k bytes
B. 64k bytes
C. 128k bytes
D. BLOBs are not supported. A data warehouse is no place to store such large fil
es
Answer: A
Explanation:
Questions 57. Here's an excerpt from a successful query execution plan:
Which of the following statements is TRUE?
A. 3 columns from
SPUs
B. 3 columns from
ed "LINK"
C. 3 columns from
orary table
D. 3 columns from
ed "2147517585"
Answer: C
Explanation:
Questions 58. What mechanism does NPS use for LDAP authentication?
A. Pluggable Authentication Module (PAM)
B. Generic Security Services API (GSSAPI)
C. Simple Authentication and Security Layer (SASL)
D. Berkeley Software Distribution Authentication (BSDAuth)
Answer: A
Explanation:
Questions 59. The Pure Data System for Analytics implements which level of trans
action isolation?
A. Serializable
B. Committed read
C. Repeatable read
D. Uncommitted read
Answer: A
Explanation:
Questions 60. What is the maximum number of columns you can choose as organizing
keys for a clustered base table?
A. 1
B. 2
C. 4
D. 8
Answer: C
Explanation:
Questions 61. Which of the following is NOT true about the createxid column?
A. They can be queried
B. They are updated to zero during a DELETE operation
C. Rows loaded in a transaction are assigned the same value
D. They contain the ID of the transaction that created the record
Answer: D
Explanation:
Questions 62. What is nzconvert used for?
A. To convert compressed external tables into ASCII text
B. To convert between character encodings before loading data
C. To translate stored procedures into NZPLSOL compatible syntax
D. To upgrade/downgrade the database to a different software version
Answer: B
Explanation:
Questions 63. Dirty reads occur when a transaction reads data that is written by
concurrentuncommitted transactions. Under what conditions are dirty reads allow
ed on the IBM PDA system?
A. When an FPGA is busy
B. By turning off serialization within the system
C. They are never permitted under any conditions
D. When the transaction isolation is read-committed
Answer: B
Explanation:
Questions 64. What can be backed up using the nzbackup utility?
A. Host data
B. pg.log files
C. Temporary tables
D. User permissions
Answer: A
Explanation:
Questions 65. Which of the following will NOT show the current sessions on the N
etezza server?
A. nzsql\act
B. nzsession
C. nzsystem-showSessions
D. SELECT* FROM_v_session
Answer: D
Explanation:
Questions 66. Which of the following statements about temporary tables is TRUE?
A. Synonyms can be created for temporary tables
B. Temporary tables have been deprecated as of NPS 7.0.3
C. Temporary tables can be specified as a base table for materialized views
D. When a user executes the command "SET SESSION READ ONLY", they are still able
to create and write to temporary tables
Answer: C
Explanation:
Questions 67. What are two considerations for usage of materialized views? (Choo
se two.)
A. Materialized views are not supported.
B. Materialized views are logical entities.
C. Materialized views may improve query performance.
D. Materialized views are the same as database views.
E. Materialized views are considered for usage by the Optimizer.
Answer: C,E
Explanation:
Questions 68. In NZPLSQL which of the following statements is TRUE?
A. If you specify the BEGIN AUTOCOMMIT ON syntax, the procedure executes each st
atement in the block as a singleton statement with an implied COMMIT after each
statement
B. If you specify the BEGIN AUTOCOMMIT OFF syntax, the procedure executes each s
tatement in the block as a singleton statement with an implied COMMIT after each
statement
C. If you specify the BEGIN AUTOCOMMIT OFF syntax, the procedure executes each s
tatement in the block as a singleton statement with an implied ROLLBACK after ea
ch statement
D. If you specify the BEGIN AUTOCOMMIT ON syntax, the procedure executes eachsta
tements the block as a singleton statement with an implied ROLLBACK after each s
tatement
Answer: A
Explanation:
Questions 69. Netezza database accounts are NOT created and/or managed using
A. The NzAdmin tool
B. The Netezza Performance Portal
C. The Netezza command line interface
D. The Netezza host's command line interface
Answer: B
Explanation:
Questions 70. Select the statement about the ENABLE_USER_SCHEMA variable that is
TRUE in a system using Netezza Performance Server Release 7.0.3 or higher.
A. The default value for this variable is FALSE
B. This variable controls whether the system allows users to create and manage m
ultiple schemas
C. If the variable is set to TRUE and the user does not specify a schema, the sy
stem will connect to the default schema for the database
D. If the variable is set to FALSE and the user does not specify a schema, the s
ystem will connect to a schema that matches the database user name
Answer: B
Explanation:
Questions 71. External tables that only exist for the duration of a single query
are known as
A. Hosted Tables
B. Session Tables
C. Transient External Tables
D. Temp or Temporary External Tables
Answer: C
Explanation:
Questions 72. A user performs a full backup of a database on Monday and a differ
ential backup on Tuesday. On Wednesday what is the fastest method to ensure a co
mplete backup of user data?
A. Perform a full backup
B. Perform a differential backup
C. Perform a cumulative backup
D. Perform cumulative and differential backups
Answer: D
Explanation:
Questions 73. In Release 7.1 what happened to Gatekeeper registry settings?
A. They were replaced by Scheduler Rules
B. They were replaced by Gatekeeper Rules
C. The number of registry settings was significantly reduced
D. The number of registry settings was significantly increased
Answer: B
Explanation:
Questions 74. Which
A. They will always
B. They will always
C. Unlike createxid
D. A&B
Answer: D
Explanation:
Questions 75. A thermal fault has occurred. Where would more information be foun
d regarding the problem?
A. nz/kit/log/dbos/dbosJog
B. nz/kit/log/postgres/pgJog
C. /nz/kit/log/sysmgr/sysmgr.log
D. /nz/kit/log/sysmgr/hardwareJog
Answer: C
Explanation:
Questions 76. When a temporary table is created, where will the data be stored?
A. In physical memory on the S-Blades
B. On the host under the /nz/tmp directory
Questions 83. The CUSTOMER table has one column, customerid. Which statement can
be used to determine the data skew of the table?
A. SELECT DISTINCT (datasliceid) FROM customer;
B. SELECT DISTINCT (customerid) FROM customer;
C. SELECT datasliceid, COUNT(*) FROM customer GROUP BY 1 ORDER BY 2;
D. SELECT customerid, COUNT(*) FROM customer GROUP BY 1 ORDER BY 2;
Answer: D
Explanation:
Questions 84. Which additional feature in NPS would you need to configure to use
an audit database?
A. Call home
B. Multi-level security
C. Enhanced cryptography SP 800-131
D. Workload Management Scheduler Rules
Answer: D
Explanation:
Questions 85. Which of the following are valid types of scheduler rules? (Choose
two.)
A. Resource scheduler rule
B. Limiting scheduler rule
C. Runtime scheduler rule
D. Modifying scheduler rule
E. Prioritizing scheduler rule
Answer: A,E
Explanation:
Questions 86. Which of the following statements will create a row secure table?
A. Create rowsecure table myRST (aint, b int);
B. Create table myRST (aint, b int) row security;
C. Create table myRST (aint, b int) as row secure table;
D. Create table myRST (a int, b int, _sec_labelvarchar(4000));
Answer: B
Explanation:
Questions 87. nzload is invoked with the "allowReplay" option enabled- If the st
ate changes from online to pausing then to online, which statement is TRUE?
A. nzload will fail
B. nzload automatically continues without user intervention
C. nzload must be stopped and resumed by the user from the last check point
D. nzload automatically restarts but the user must remove the allowReplay option
Answer: C
Explanation:
Questions 88. What CANNOT be measured and managed by system views?
A. Power supply status for each rack
B. Temperature values on an S-blade
C. Status of the host attached storage
D. Resource group utilization and history
Answer: C
Explanation:
Questions 89. Which statement will cause IBM Netezza Replication Services to use
"By-Value" instead of the "By-SQL" replication method?
A. INSERT INTO customer VALUES (NULLIF(a, b),,);
B. INSERT INTO customer VALUES (RANDOMO,,);
C. INSERT INTO customer SELECT rowid FROM orders;
D. B & C
E. A & B
Answer: E
Explanation:
Questions 90. Which statement is TRUE regarding the NPS compression engine?
A. Compression ratio is data dependent
B. Compression is performed by the host
C. Compression degrades data scan speeds
D. Compression is performed by the SAS switches
Answer: C
Explanation:
Questions 91. Which command is used to abort a user's SQL transaction?
A. Kill
B. Abort
C. Nzstop
D. Nzsession
Answer: D
Explanation:
Questions 92. Which of the following statements is NOT true about Short Query Bi
as?
A. The default length is 2 seconds
B. Additional memory is allocated for short queries
C. It guarantees query run times of less than 2 seconds
D. It is based on the optimizer's cost estimate of the query run time
Answer: B
Explanation:
Questions 93. Which of the following invisible columns exists on every table in
the database?
A. Editid
B. Createxid
C. Deletedate
D. Createdate
Answer: B
Explanation:
Questions 94. A user has access to two databases, DEV and PRO
D. Currently the user is connected to the DEV database.
Which operation is permitted?
A. DELETE FROM prod.dbuser.customer
B. SELECT * FROM prod.dbuser.customer
C. TRUNCATE TABLE prod.dbuser.customer
D. INSERT INTO prod.dbuser.customer SELECT * FROM dev.dbuser.customer
Answer: D
Explanation:
Questions 95. Which of the following statements about temporary tables is TRUE?
A. A temporary table can have 1800 columns
B. A temporary table can only persist for the lifetime of a transaction
C. Querying temporary tables typically performs slower than querying equivalent
external tables
D. An ADMIN user using the nzsql utility can list existing temporary tables usin
g the "\de" internal slash command
Answer: C
Explanation:
Questions 96. Which attribute CANNOT be defined for both users and groups?
A. Row set limit
B. Default priority
C. Query time out
D. Password expiration
Answer: D
Explanation:
Questions 97. Which nzload operation statement is TRUE?
A. nzload must have a control file
B. nzload must be run from the host
C. nzload performs only singleton inserts
D. nzload user must have CREATE EXTERNAL TABLE privilege
Answer: B
Explanation:
Questions 98. Which of the following is NOT performed by the nzhw utility?
A. It shows the current storage topology
B. It shows the role of each component in the appliance
C. It shows the location of each component in the appliance
D. It shows the hardware ID of each component in the appliance
Answer: D
Explanation:
Questions 99. What method will show only the deleted rows on the CUSTOMER table?
A. SELECT * FROM customer WHERE deletexid<> 0;
B. Deleted rows can't be shown as they have been deleted
C. Set show_deleted_records = true; SELECT * FROM customer;
D. Set show_deleted_records = true; SELECT* FROM customer WHERE deletexid<> 0;
Answer: C
Explanation:
Questions 100. Which option does NOT trigger a HardwareNeedsAttention event?
A. A power supply has failed
B. A switch has been rebooted
C. A SAS cable fails or is disconnected
D. A chassis or fabric switch port is in a down state for longer than the define
d threshold
Answer: B
Explanation:
Questions 101. With LDAP enabled, which of the following can be verified against
an LDAP server?
A. ADMIN user authentication
B. Non-ADMIN user authentication
C. Database user SELECT privileges
D. Database user GROUP authentication
Answer: D
Explanation:
Questions 102. Which of the following cannot be found with an EXPLAIN statement?
A. Viewing scan order
B. Viewing active queries
C. Viewing confidence level
D. Viewing estimated costs
Answer: C
Explanation:
Questions 103. What is the naming convention for system views?
A. _v_
B. _$v_ r
C. nz_v_
D. sys_v_
Answer: B
Explanation:
Questions 104. If nzload is being used to load data into the customer table, whi
ch of the following operations will be blocked until the load has completed?
A. SELECT from the customer table
B. DELETE from the customer table
C. TRUNCATE of the customer table
D. nzbackup of the database in which the customer table resides
Answer: A
Explanation:
Questions 105. What does "Plan 4.457" signify in the attached snapshot of a plan
file?
A. The query
B. The query
C. The query
D. The query
Answer: D
Explanation:
plan
plan
plan
plan
was
was
was
was
C. /nz/kit/log/fcommtx
D. /nz/kit/log/eventmgr
E. /nz/kit/log/sessionmgr
Answer: B,C
Explanation:
Questions 111. What
A. There are active
B. There are active
C. There are active
D. There are active
Answer: C
Explanation:
Questions 112. The DBA created and loaded the table CUSTOMER as follows:
Please refer to the excerpt (highlighted in bold) of a successful query executio
n plan which used the CUSTOMER table.
Which of the following statements is TRUE?
Explanation:
Questions 123. Which High-Availability (HA) mechanism is used by the PureData Sy
stem for Analytics Appliance?
A. AIX-HA
B. Linux-HA
C. SuSE-HA
D. Solaris-HA
Answer: B
Explanation:
Questions 124. What is the definition of appliance topology?
A. The ratio of CPU cores to FPGAs to disk drives
B. The model number of the appliance, e.g, N1000
C. The map showing which SPUs manage which data slices
D. The number of disk drives in the system and in which disk enclosures they res
ide
Answer: C
Explanation:
Questions 125. What command would you use to create a query history database?
A. nzdb
B. nzsql
C. nzhistcreatedb
D. nzdatacreatedb
Answer: D
Explanation:
Questions 126. The optimizer estimates cost in units of:
A. Seconds (e.g. 1=1 second)
B. Tenths of seconds (e.g. 10 = 1 second)
C. Hundredths of seconds (e.g. 100 = 1 second)
D. Thousandths of seconds (e.g. 1000 = 1 second)
Answer: B
Explanation:
Questions 127. When setting up a crontab entry, what must be done on a Pure Data
System for Analytics server?
A. Pause the appliance
B. Create an nzcron event
C. Stop and start the appliance
D. Add a file entry to both hosts
Answer: D
Explanation:
Questions 128. Which of the following is NOT a Prioritized Query Execution prior
ity level?
A. Low
B. High
C. Urgent
D. Critical
E. Normal
Answer: E
Explanation:
Questions 129. When using a CREATE TABLE statement, constraints can be specified
at the column level. Which two constraints are NOT automatically enforced via t
he database? (Choose two.)
A. NULL
B. UNIQUE
C. NOT NULL
D. RIMARY KEY
E. DEFAULT value
Answer: B,D
Explanation:
Questions 130. What is the host Linux file that must be modified to permanently
adjust optimizer settings such as enabling schema support?
A. /nz/data/postgresql.conf
B. /nz/data/config/system.cfg
C. /nz/kit/sys/initTopology.cfg
D. /nz/kit/log/sysmgr/sysmgr.log
Answer: A
Explanation:
Questions 131. What columns contain row count information in the system tables?
(Choose two.)
A. STAHIVALB. RELREFSC. STALOVALD. RELTUPLESE. ATTDISPERSION
Answer: B,E
Explanation:
Questions 132. Which statement or operation will cause IBM Netezza Replication S
ervices to use the "By-VALUE" replication gmethod?
A. Insert data from a non-replicated databaseB. LIMIT ALLC. RANDOMOD. A & CE. B
& C
Answer: C
Explanation:
A. The query plan will show a double redistribute for both tables CUSTOMER and O
RDERS followed by a HashJoinNode to compare all rowsB. The query plan will show
a broadcast for table CUSTOMER so that all rows in CUSTOMER can be compared to a
ll rows in ORDERS using a HashJoinNodeC. The query plan will show a broadcast fo
r table CUSTOMER so that all rows in CUSTOMER can be compared to all rows in ORD
ERS using an ExprJoinNodeD. The query plan will show a redistribute for table CU
STOMER so that all rows in CUSTOMER can be compared to all rows in ORDERS using
an ExprJoinNode
Answer: D
Explanation:
Explanation: