A performance analyst notices that several tactical queries are experiencing high and variable response times. Using the ResUsage tables, the analyst wants to determine if the issue is caused by AMP-level CPU contention rather than I/O waits or delays. Which combination of ResUsage metrics provides the most direct evidence of CPU queuing at the AMP level?
Answer and explanation
Correct answer: C
CPUServ represents the CPU seconds used by tasks for the AMP. A high value is expected on a busy system. However, the key indicator for CPU contention is the RunQ, which represents the average number of tasks waiting for CPU resources on an AMP. A consistently high RunQ value alongside high CPUServ directly indicates that more work is arriving than the CPU can process, leading to queuing and increased response times. The other options mix CPU metrics with I/O or delay metrics, which are less direct for diagnosing CPU-specific queuing.
Question 2
An administrator needs to prevent large product join queries from executing during a critical reporting window (5 PM - 7 PM). The goal is to reject only those specific queries without impacting other user activities. Which Teradata Active System Management (TASM) feature is the most precise and effective tool for this requirement?
Answer and explanation
Correct answer: B
A workload filter is the correct TASM feature to inspect and reject queries before they execute. By creating a filter that specifically classifies on the query characteristic of a product join and is active only during the specified time window (via a Planned Environment), the administrator can precisely target and reject these harmful queries. Throttles limit concurrency but don't reject specific query types. Exceptions act on running queries, which is too late to prevent resource consumption.
Question 3
Multiple answers
A data lake team wants to use Teradata Vantage to query large volumes of Parquet and CSV files stored in an Amazon S3 bucket without performing a full ETL process. They plan to use Native Object Store (NOS) for this purpose. Which of the following statements are key benefits of using NOS for this scenario? (Select TWO)
Answer and explanation
Correct answers: B, D
The primary benefits of NOS are its ability to query data-in-place and its schema inference capabilities. It allows Vantage to act as a query engine over data residing in external object stores like S3, which avoids the time and cost of ETL and reduces storage redundancy. The ability to automatically infer schema from structured file formats like Parquet (using READ_NOS) greatly simplifies the setup process. NOS does not move data into perm space, nor does it provide ACID compliance for external data. It is a native feature and does not require QueryGrid.
Question 4
A large retail corporation uses a Teradata Vantage system for its primary sales data warehouse. The SALES_TRANSACTIONS database is over 50 TB and grows by approximately 200 GB daily. The business has a strict Recovery Point Objective (RPO) of 1 hour and a Recovery Time Objective (RTO) of 4 hours for this database. The database must remain online and available for queries during backup operations.
The DBA team is tasked with designing a new backup strategy. They have access to a high-speed network and a dedicated backup server with ample storage. They are using the Teradata Data Stream Architecture (DSA). The strategy must minimize the backup window, meet the RPO/RTO, and allow for point-in-time recovery. They must also consider the performance impact on the production system during the backup process.
Given the requirements, which backup strategy should the DBA team implement for the SALES_TRANSACTIONS database?
Answer and explanation
Correct answer: D
This strategy is the most comprehensive and meets all requirements. The weekly full online backup provides a solid baseline. Cumulative backups reduce the number of backups needed for a restore compared to differentials. Most importantly, continuous archiving of the transaction journals is the only way to meet the stringent 1-hour RPO, as it allows for point-in-time recovery to any moment before a failure. This combination balances backup window size, performance impact, and the strict RPO/RTO demands.
Question 5
A security auditor needs to generate a report of all failed logon attempts and any granted privilege modifications that occurred over the last quarter. The auditor needs to query the system tables directly to get this information. Which two tables in the DBC database are essential for this task?
Answer and explanation
Correct answer: C
The DBC.EventLog table records significant system events, including session logon and logoff attempts with their success or failure status. The DBC.AccessLog table records details of all successful DCL statements, such as GRANT and REVOKE, which is exactly what is needed to track privilege modifications. The other tables serve different purposes and do not contain the historical information required for this audit.
Question 6
True or False: A user profile in Teradata Vantage can be used to enforce password complexity rules, but it cannot be used to set a default database for a user.
Answer and explanation
Correct answer: B
False. A user profile is a powerful object for managing groups of users. It can be used to set numerous attributes, including password controls (complexity, history, expiration) and session settings like SPOOL, TEMPORARY space, and DEFAULT DATABASE. Assigning a default database via a profile is a common administrative practice.
Question 7
A critical query is performing poorly because the optimizer is generating a bad plan based on inaccurate row count estimates for a highly skewed join column. Recalculating full statistics is too resource-intensive to be done frequently. What is the most effective and least disruptive method to provide the optimizer with more accurate information about this skewed column?
Answer and explanation
Correct answer: D
The USING THRESHOLD options are specifically designed for collecting detailed statistics on columns with skewed data distributions. This method creates a more detailed histogram, storing information about the most frequent values separately from the rest of the data. This provides the optimizer with the precise information it needs to make better cardinality estimates and choose an optimal join plan, without the overhead of full statistics collection.
Question 8
An administrator receives an alert that the Teradata system is running low on available spool space. The administrator needs to quickly identify which specific user sessions and queries are currently consuming the most spool space to take corrective action. Which Teradata Viewpoint portlet is the best tool for this immediate investigation?
Answer and explanation
Correct answer: A
The Query Monitor portlet is designed for real-time monitoring of active sessions and queries. It provides detailed metrics for each query, including the current and peak spool space being used. An administrator can sort by the 'Spool Usage' column to immediately identify the top consumers and decide whether to abort a query or contact the user. The Space Usage portlet shows overall database space but not per-query consumption in real-time.
Question 9
An administrator needs to implement a dynamic workload management strategy that changes workload priorities based on the time of day and day of the week (e.g., Business Hours, Batch Window, Weekend). Which TASM components should be configured to achieve this?
Answer and explanation
Correct answer: C
The TASM State Matrix is the feature explicitly designed for this purpose. The administrator can define different System States based on time criteria (e.g., 'BusinessHours', 'BatchWindow'). Then, the State Matrix is used to map which Workload definitions are active and which Service Level Goal (SLG) they are assigned to for each specific state. This allows for a fully automated, dynamic adjustment of system priorities and resource allocation as the system transitions between states.
Question 10
A database is consistently running out of temporary space during the execution of complex analytical queries that use volatile tables. The administrator has already increased the TEMP space allocation for the user profile. What is the next logical step to diagnose the root cause of the excessive temporary space usage?
Answer and explanation
Correct answer: C
While DBC.DiskSpaceV provides a system-level view, it doesn't explain why a specific query is using so much temp space. The most effective diagnostic step is to analyze the query execution plans. Enabling DBQL with XMLPLAN captures the detailed optimizer plan, which shows how volatile tables are created, populated, and used. This allows the administrator or developer to identify issues like unnecessary data materialization, poor distribution of volatile tables, or inefficient query logic that leads to temp space exhaustion.