IBM Db2 12 for z/OS Administrator Free Sample Questions

Create a free account to browse all 20 sample questions. The full practice test includes 241 questions. Use the simulator for timed and flashcard mode. Or, view 218 more questions in the alternate version C1000-132 218 Questions.

Try Simulator

C1000-078 Sample Questions

  1. Question 1

    Q1

    A financial services company needs to run frequent, high-performance queries against a large transaction table. The queries filter transactions based on the year and month of the transaction timestamp, which is stored in a TRANSACTION_TS column of data type TIMESTAMP. The current query uses WHERE YEAR(TRANSACTION_TS) = ? AND MONTH(TRANSACTION_TS) = ?, which results in a full table space scan. How should the DBA improve the performance of these queries?

    Show answer & explanation

    Correct answer: B

    Creating an index on expressions allows Db2 to build an index based on the result of the functions. When the query's WHERE clause exactly matches the expressions defined in the index, the optimizer can use this index for direct access, avoiding a costly table space scan and significantly improving performance.

  2. Question 2

    Q2

    While analyzing buffer pool performance for a critical OLTP application, a DBA notices a high number of synchronous read I/Os and a low buffer pool hit ratio. Further investigation reveals that a nightly batch job performs a full table scan on a large, infrequently accessed table, effectively flushing out the OLTP application's frequently used pages from the buffer pool. Which buffer pool setting should be adjusted to mitigate this issue?

    Show answer & explanation

    Correct answer: C

    The virtual pool sequential threshold (VPSEQT) determines how many sequentially accessed pages can be read into the buffer pool before Db2 treats the access pattern as sequential and stops caching subsequent pages. Lowering VPSEQT for the buffer pool will cause Db2 to quickly identify the batch job's table scan as sequential, thereby preventing its pages from flooding the buffer pool and displacing the more important OLTP pages.

  3. Question 3

    Q3

    At 2:00 PM, a DBA discovers that a critical application bug introduced logical data corruption starting at approximately 10:00 AM. The business requires that the three affected table spaces (TSFIN01, TSFIN02, TSFIN03) be restored to their state at exactly 09:59 AM, just before the corruption began. All other table spaces in the database must remain online and current. Which utility control statement is the most precise and appropriate for this recovery scenario?

    Show answer & explanation

    Correct answer: C

    The RECOVER TABLESPACE ... TOLOGPOINT command is the correct method for performing a point-in-time (PIT) recovery of specific objects. The DBA would first need to determine the log RBA (or LRSN in data sharing) corresponding to 09:59 AM using a utility like DSN1LOGP. This command restores the objects from a backup and applies log records only up to the specified log point, precisely meeting the business requirement without affecting other objects.

  4. Question 4

    Q4

    A Db2 12 for z/OS subsystem is currently at function level V12R1M503. The development team requires a new SQL feature that was introduced in function level V12R1M505. What is the correct procedure for the DBA to enable the new functionality?

    Show answer & explanation

    Correct answer: B

    In Db2 12's continuous delivery model, new features are enabled by activating function levels. The -ACTIVATE FUNCTION LEVEL command is the correct and standard procedure to move to a higher function level, provided all prerequisite APARs have been applied. This command updates the catalog and enables the new capabilities associated with that level.

  5. Question 5

    Q5

    A healthcare provider must allow external auditors to query patient demographic data. However, compliance regulations mandate that the auditors must not be able to view the actual values in the Social Security Number (PATIENT_SSN) column. The auditors should see a masked value, such as 'XXX-XX-XXXX', while internal applications must continue to see the real SSN. Which Db2 security feature is best suited for this requirement?

    Show answer & explanation

    Correct answer: B

    Db2's native data masking, implemented via the CREATE MASK statement, is the ideal solution. It allows a DBA to define a rule-based mask (e.g., CASE WHEN SESSION_USER = 'AUDITOR' THEN 'XXX-XX-XXXX' ELSE PATIENT_SSN END). This mask is enforced by Db2 for all queries against the column, is transparent to applications, and precisely meets the requirement of showing different values to different users.

  6. Question 6

    Q6

    A nightly batch process receives a file of daily product stock updates. For each product in the file, the process must update the quantity if the product already exists in the INVENTORY table or insert a new row if it does not. Which single SQL statement provides the most efficient and atomic way to perform this 'upsert' operation?

    Show answer & explanation

    Correct answer: C

    The MERGE statement is specifically designed for this 'upsert' scenario. It allows specifying actions for both matched (WHEN MATCHED THEN UPDATE) and non-matched (WHEN NOT MATCHED THEN INSERT) conditions in a single, atomic, and set-based operation. This is the most efficient and standard SQL approach.

  7. Question 7

    Q7

    A global banking application connects to Db2 for z/OS through the Distributed Data Facility (DDF). During non-peak hours, hundreds of connections remain established but idle for long periods, consuming valuable thread resources (TCBs) and virtual storage. The operations team wants to automatically terminate these idle connections after 30 minutes to reclaim system resources. Which DSNZPARM parameter should the DBA configure?

    Show answer & explanation

    Correct answer: C

    IDTHTOIN (Idle Thread Timeout Interval) is the specific ZPARM designed to address this problem. It specifies the amount of time in seconds that an inactive server thread (DBAT) can remain idle before it is automatically terminated by Db2. Setting this to 1800 (30 minutes) would achieve the desired outcome.

  8. Question 8

    Q8

    Case Study:

    A major telecommunications company is designing a database to store Call Detail Records (CDRs). The lead architect has provided the following requirements and constraints for the primary CDR table.

    Business Requirements:

    • The table, CDR_MASTER, will ingest approximately 20 million records per day.
    • Queries will almost always filter by a specific date range, typically for one or two days at a time.
    • Data older than 36 months must be purged from the table with minimal impact on production workload and without generating massive amounts of log records.
    • The solution must support high-speed data loading via the LOAD utility.

    Technical Constraints:

    • The table is expected to grow to over 20 billion rows.
    • Administrative overhead for managing table growth and data purging should be minimized.
    • The solution must prevent any single data set from exceeding the 64GB limit.

    Given these requirements, which database design is the most appropriate for the CDR_MASTER table?

    graph TD subgraph Data Lifecycle A[Ingest 20M rows/day] --> B{Store for 36 months}; B --> C[Purge old data]; end subgraph Query Pattern D[User Query] --> E{Filter by date range}; E --> F[Retrieve CDRs]; end
    Show answer & explanation

    Correct answer: C

    This design perfectly meets all requirements. A PBR universal table space allows for massive scalability. Partitioning by date enables partition pruning for fast date-range queries. Most importantly, purging old data can be done efficiently using ALTER TABLE ... ROTATE PARTITION, which is a fast, minimally logged operation. This also ensures individual partitions (data sets) remain a manageable size.

  9. Question 9

    Q9Multiple answers

    A performance analyst reviews an EXPLAIN output for a query that is performing poorly. The access path shows a table space scan is being used on a very large table, even though an index exists on the columns in the WHERE clause. Which of the following are plausible reasons for the optimizer choosing a table space scan? (Select TWO)

    Show answer & explanation

    Correct answers: A, C

    If statistics are out of date (e.g., CARDF is much lower than the actual row count), the optimizer might incorrectly calculate that a table space scan is cheaper than using the index. This is a very common cause for suboptimal access paths.

    Applying a function (e.g., WHERE UPPER(LAST_NAME) = 'SMITH') to a column in a predicate prevents a standard index on that column from being used. The optimizer cannot look up the modified value in the index and is forced to scan the table and apply the function to every row.

  10. Question 10

    Q10

    True or False: An online REORG TABLESPACE requires a brief application outage for all DML activity against the table space during its final LOG phase when it switches to the shadow copy.

    Show answer & explanation

    Correct answer: A

    This statement is true. While an online REORG allows applications to access the data for most of its duration, there is a very short period of unavailability during the final LOG and SWITCH phases. During this time, Db2 applies any logged changes to the shadow copy and then switches the application's access to the newly reorganized data. DML is locked out during this switch.

Register free to unlock 10 more sample questions

Create a free account to continue with the rest of the C1000-078 sample set.

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 459 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon