TeraData DBA

9
1 Database Accounting_DB is defined with 5 GB of PERM space. It has a User_Accounts table and 5 views defined in it. While loading 2 GB of data into the empty User_Accounts, the load process failed with a message that there is no more Perm Space in Accounting_DB. Which is a valid reason for the failure? The Views are getting built, due to the load process. User_Accounts has a PI defined that it is causing skewing. The user id used for loading data does not have enough Perm space. Table is defined with Fallback. c 2 The customer is maintaining two identical systems in a Dual Active Data Warehouse environment. Teradata Query Director is being used to route the traffic between these two systems. Which statement is true about this situation? If one system fails,Teradata Query Director redirects new sessions to the fail over system based on the rules defined in Teradata Query Director. Teradata Query Director redirects the sessions based on the rules defined for sessions originating from load utilities or business queries to balance the workload across the two systems. If one system is verybusy,Teradata Query Director will redirect some query sessions to the other system, while load activity will be redirected based on the rules defined in Teradata Query Director. To useTeradata Query Director, there must be two active Teradata systems installed and in operation. d 3 A system administrator is upgrading a system to a newer software release. After the system is upgraded, the administrator is interested in knowing which changes occurred in the execution plans as a result

Transcript of TeraData DBA

Page 1: TeraData DBA

1 Database Accounting_DB is defined with 5 GB of PERM space. It has a User_Accounts table and 5 views defined in it. While loading 2 GB of data into the empty User_Accounts, the load process failed with a message that there is no more Perm Space in Accounting_DB. Which is a valid reason for the failure?

The Views are getting built, due to the load process.

User_Accounts has a PI defined that it is causing skewing.

The user id used for loading data does not have enough Perm space.

Table is defined with Fallback.

c

2 The customer is maintaining two identical systems in a Dual Active Data Warehouse environment. Teradata Query Director is being used to route the traffic between these two systems. Which statement is true about this situation?

If one system fails,Teradata Query Director redirects new sessions to the fail over system based on the rules defined in Teradata Query Director.

Teradata Query Director redirects the sessions based on the rules defined for sessions originating from load utilities or business queries to balance the workload across the two systems.

If one system is verybusy,Teradata Query Director will redirect some query sessions to the other system, while load activity will be redirected based on the rules defined in Teradata Query Director.

To useTeradata Query Director, there must be two active Teradata systems installed and in operation.

d

3 A system administrator is upgrading a system to a newer software release. After the system is upgraded, the administrator is interested in knowing which changes occurred in the execution plans as a result of the upgrade. Which tool can be used to compare the before and after execution plans?

Query Compare Facility

Teradata Query Analyzer

Teradata Workload Analyzer

Visual Explain

c

4 What is a benefit of extrapolated and propagated statistics?

Page 2: TeraData DBA

No statistics need to be collected.

Statistics only need to be collected once.

There is less need for frequent statistics collection.

Statistics are automatically collected as a background process.

c

5 While executing the FastLoad job to load a Fallback table, a database full condition occurs during End Loading Phase (Phase 2). Which action needs to be performed to complete the load?

Assign more space, remove the Begin Loading command from the script, and resubmit the script.

Assign more space, specify the checkpoint number in the Begin Loading command in the script, and resubmit the script.

Assign more space, remove the DEFINE and INSERT commands from the script, and resubmit the script.

Assign more space, remove the End Loading command from the script, and resubmit the script.

d

6 A system is continually running out of AMP Worker Tasks (AWT) and failing to meet business service level agreements (SLAs). The database administrator determines that the best method to solve the problem is to use TDWM to manage the workload. Which feature in TDWM should be used to limit the number of queries for an application?

Throttles

Events

States

Filters

d

8 Which characteristic is true about AMP Worker Tasks (AWTs)?

They are limited to 64 per AMP.

They can be reserved for special use.

Additional AWTs are created as they are needed.

Currently running AWTs will shutdown if they haven't been used in 20quantums.

Page 3: TeraData DBA

a

9 A data integration job is used to load large amounts of historical data into a single table. The job has failed because there is no more room in the database which contains the target table. The administrator has examined the distribution of the data across AMPs and found that the data is distributed evenly. The administrator cannot get additional Perm Space from any other databases. Which two actions will reclaim Perm Space and allow the data integration job to complete? (Choose two.)

Run PACKDISK.

Remove unnecessary Secondary Indexes from tables in the target database.

Drop unnecessary statistics.

Drop views and macros from the database.

c

10 An administrator recognizes that an important transaction is running too slowly. Which tool should be used to dynamically change the transaction's ability to access more resources and improve its capability to run more quickly?

Gateway Control

Query Configuration

Performance Monitor

Reconfiguration Utility

a

11 What should be utilized to project future system capacity needs?

ResUsageSnode

ResUsageSvpr

HostsInfo

ResUsageSps

c

12 To limit DBC.AccessRights table growth, what could be granted?

ALL

NULL

Page 4: TeraData DBA

PUBLIC

Profile

c

13 Which two parameters does the DBS Control utility allow to be modified or adjusted? (Choose two.)

FSG cache

MaxLoadAWT

Rollback Priority

Maximum Sessions per node

a

14 A table with 200 GB of data is in an active data warehouse environment. Approximately 20-30% of the data is being updated nightly using BTEQ. Business rules require that this table remain available 24x7 for user access and updates. Space limitations have prevented fallback from being defined for this table. Which two types of data protection are needed to allow continuous user access while ensuring the data can be recovered in the event of data loss or corruption? (Choose two.)

Implement permanent journaling for the table.

Implement AMP clusters for the non-fallback table.

Implement a daily dictionary archive.

Implement a daily online archive.

a

15 A new application was introduced to the production system. End users are reporting slower than expected response times. The database administrator suspects AMP-level skewing is causing performance issues. Which ResUsage table can be used to identify processing skew?

ResUsageSamp

ResUsageSps

ResUsageScpu

ResUsageSvpr

d

Page 5: TeraData DBA

16 A user USERA has failed with the following error: 2646 No more spool space in USERA. What should be analyzed to identify the possible root cause?

DBC.DiskSpace for PeakPerm

DBC.SessionInfo to identify the session history

DBC.Logonoff for concurrent USERA sessions

DBC.ResUsageSAWT to see if you are out of AWTs

a

17 What is a critical resource level that may impact the performance of tactical queries?

average system CPU use of 60%

100 user connections per node

parser usage at 5%

50WorkNew AWTs in use

a

18 A customer has an Active Data Warehouse and restricts database access during financial monthend close, allowing only data loads and a limited number of power users to access the system. Which process should be used to implement the restrictions?

Using the state matrix, define a state that includes a throttle for the power users during the financial month-end period.

Define a throttle rule that limits power users, make it a global rule, and make the power users and data loads bypass users.

Make sure the power users have the same default account string, create a filter, and make it a global rule.

Define a filter with a logon rule that identifies data loads and power users, make it a global rule, and assign it to the financial month-end period.

a

19 An update query that had been running for a long period of time aborted. The table is currently locked and the users want to know when the table will be available. Which utility is used to estimate whether to cancel the rollback for this table?

Teradata Workload Analyzer

Page 6: TeraData DBA

Check Table

Recovery Manager

Teradata Query Manager

a

20 A user submitted an ALTER TABLE against a very large, highly skewed production table. When the operation began to impact overall system performance, the database administrator canceled the rollback in Recovery Manager. What are two options to access the table data? (Choose two.)

Issue a RELEASE LOCK on the table.

Drop the table and restore it from backup.

Recover the table using the Recovery Manager utility.

Access the table using the LOCKING FOR READ OVERRIDE modifier.

a

21 Which feature is allowed in combination with Online Archive?

Node Archive

Database Copy

FastLoad

Cluster Archive

b

22 A system administrator wants to quantify the amount of CPU utilization for transactions submitted from a specific logon source. Which Account String Expansion (ASE) variable will enable this type of analysis?

&L

&D

&S

&T

a

Page 7: TeraData DBA

23 What are two reasons to copy DBC performance data to a separate historical database? (Choose two.)

DBC performance data tables cannot be queried.

DBC performance data tables are point in time tables only.

DBC performance data tables cannot be altered to have fallback turned off.

DBC performance data tables are not archived in a backup of database DBC.

c

24 An application user logs on and submits several queries with every transaction. A system administrator wants to analyze AMP level I/O skew per query for this application. Which Account String Expansion (ASE) variables would enable this analysis?

&L&I

&L&S

&L&A

&L&T

c

25 Which table or view in database DBC should be utilized to analyze a user's CPU utilization on each vproc in a system?

ResUsageScpu

AMPUsage

DBQLogTbl

SessionInfo

a