TDVAN5 Sample Questions

TDVAN5 Sample Questions & Answers

Statistics, query logging and performance tuning carries the most weight, next to watching Viewpoint and system jobs, access rights and recovery, workload controls via TASM, security auditing, user profiles, and integration through QueryGrid and NOS.

Launch the full TDVAN5 simulator →

Showing 10 of 20 free samples.

  1. Question 1Beginner

    User Administration · Identify the features, functionality, and benefits of profiles

    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.

    Show answer & 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.

  2. Question 2Advanced

    Performance Management · Identify how to remediate sub-optimal queries

    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?

    Show answer & 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.

  3. Question 3Beginner

    Monitoring Vantage · Given a scenario, identify the Viewpoint portlet that should be used to investigate or remediate a system condition

    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?

    Show answer & 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.

  4. Question 4Intermediate

    Workload Management · Given a scenario, identify how to use the state matrix to create dynamic rules for a workload

    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?

    Show answer & 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.

  5. Question 5Intermediate

    Database Management · Identify the methods and processes to manage and monitor temp space and spool space

    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?

    Show answer & 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.

  6. Question 6Advanced

    Performance Management · Identify the performance implications of table and column design options

    A healthcare analytics company is designing a new table, PATIENT_ENCOUNTERS, to store records of patient visits. The table is expected to grow to billions of rows. The primary access path for queries will be retrieving all encounters for a specific patient_id. A secondary common access path is to analyze encounters within a specific date range, for example, all encounters in the last quarter. The table will be frequently joined with the PATIENTS table on patient_id. Data skew is not expected on patient_id.

    Which table design provides the best performance for the described access patterns (patient_id lookups and date range scans) on the PATIENT_ENCOUNTERS table?

    erDiagram PATIENTS ||--|{ PATIENT_ENCOUNTERS : "has" PATIENTS { int patient_id PK string patient_name date date_of_birth } PATIENT_ENCOUNTERS { long encounter_id PK int patient_id FK date encounter_date string diagnosis_code }

    Show answer & explanation

    Correct answer: B

    Setting the Primary Index (PI) to patient_id ensures that all records for a given patient are co-located on the same AMP. This makes joins with the PATIENTS table and lookups by patient_id extremely efficient. Partitioning the table by range on encounter_date directly addresses the secondary access path. When queries filter by a date range, the system can use partition elimination to scan only the relevant data partitions, dramatically reducing I/O and improving performance for time-based analysis.

  7. Question 7Intermediate

    Integration · Given a scenario, identify the performance implications when accessing a foreign server

    A developer is using QueryGrid to join a large (5 billion row) local Vantage table with a smaller (10 million row) remote table on an Oracle database. The query is performing very slowly. The DBA observes that the entire 5 billion row local table is being transferred to the Oracle system for processing. What is the most likely cause of this inefficient data movement?

    Show answer & explanation

    Correct answer: C

    The Teradata optimizer makes decisions about where to process a federated query based on cost, which heavily relies on table statistics. If statistics are missing for the remote Oracle table, the optimizer may use default or inaccurate heuristics, often assuming the remote table is very large. This can lead it to make the poor decision of sending the large local table to the remote system instead of bringing the small remote table to Vantage. Collecting statistics on the remote table would give the optimizer the accurate information needed to generate an efficient plan.

  8. Question 8Advanced

    Security Management & Auditing · Identify the features, functionality, and benefits of advanced security configurations

    A government agency needs to implement a security policy where data analysts can only see rows in the CITIZEN_RECORDS table that belong to their assigned geographical region. A user's region is defined in a separate ANALYST_REGIONS table. The solution must be transparent to the analysts (i.e., they should query the CITIZEN_RECORDS table directly without adding a WHERE clause) and centrally enforced. What Teradata security feature should be used to implement this requirement?

    Show answer & explanation

    Correct answer: B

    Teradata Row-Level Security (RLS) is the feature designed specifically for this use case. RLS allows an administrator to define security constraints on a table that act as an automatic, server-enforced WHERE clause. By creating a constraint that references a lookup table (ANALYST_REGIONS), the system can dynamically filter rows based on the logged-in user's attributes, ensuring data segregation transparently. While secure views can work, they become unmanageable with many regions.

  9. Question 9Intermediate

    User Administration · Given a scenario, identify how to meet proxy user data access requirements

    An application server connects to Teradata using a single service account, AppUser. The application needs to execute queries on behalf of individual end-users (e.g., Alice, Bob) for auditing and privilege checking purposes, without managing separate database connections for each end-user. The end-users have their own Teradata accounts with specific privileges. Which command should the administrator execute to allow AppUser to perform this function?

    Show answer & explanation

    Correct answer: A

    The correct syntax to establish a proxy user relationship is GRANT CONNECT THROUGH TO ;. This command grants the permanent users (Alice, Bob) the ability to have their sessions proxied by the application user (AppUser). When the application connects as AppUser, it can then issue a SET QUERY_BAND PROXYUSER='Alice'; statement, and subsequent queries will be executed with Alice's identity and privileges.

  10. Question 10IntermediateSelect 3

    Workload Management · Given a scenario, identify how to manage utilities with workload management

    An administrator is configuring TASM to manage Teradata Parallel Transporter (TPT) load jobs. The goal is to limit the concurrency and resource consumption of these jobs to prevent them from impacting tactical query workloads. Which of the following TASM controls are commonly used to manage TPT jobs effectively? (Select THREE)

    Show answer & explanation

    Correct answers: A, E, F

    Effective management of TPT jobs in TASM involves three key steps: 1. Classification (identifying the jobs via Utility Name), 2. Concurrency Control (limiting simultaneous jobs with a Utility Throttle), and 3. Execution Control (using a Filter to enforce time windows). These three controls provide comprehensive management over utility workloads.

Ready for the real thing?

The full TDVAN5 simulator has every exam-style question, timed mode, and instant scoring.

Go to the TDVAN5 simulator →