Skip to content

C1000-078 IBM Db2 12 for z/OS Administrator Practice Questions

Prepare for C1000-078 with more than an answer.

241 questions in the full set20 sample questionsUpdated Aug 20, 2026

Unlock the full exam and previous versions

  • v1Version 1 218 questions Locked
  • C1000-078Legacy IBM Db2 12 for z/OS Administrator 241 questions Current
Exam fee
$200 USD
Time limit
90 minutes
Questions on the exam
60
Level
Professional
Valid for
lifetime
Domains covered on the exam 7
  1. Database Design and Implementation22%
  2. Operation and Recovery20%
  3. Security and Auditing10%
  4. Performance21%
  5. Installation and Migration9%
  6. Additional Database Functionality9%
  7. Distributed Access9%
  1. 1

    A financial institution's compliance department requires that a complete and auditable history of all changes to the CUSTOMER_ACCOUNTS table be maintained. It must be possible to query the table to see what a specific account's balance was at any given point in the past. What is the most effective and integrated Db2 feature to meet this requirement?

    Show answer details

    Correct answer: B

    System-period temporal tables are the feature specifically designed by IBM for this use case. By defining a system period and associating a history table, Db2 automatically and transparently captures a copy of every row before it is updated or deleted. This provides a complete, auditable history that can be queried using time-aware SQL syntax (e.g., FOR SYSTEM_TIME AS OF ...), which is the most efficient and integrated solution.

  2. 2

    A development team wants to expose an existing, complex SQL query as a secure, discoverable REST endpoint that returns data in JSON format. They prefer to use built-in Db2 functionality to minimize external dependencies and infrastructure. What is the standard Db2 for z/OS procedure to accomplish this?

    Show answer details

    Correct answer: C

    Db2 12 for z/OS provides Native REST services, which are created and managed directly within Db2 using SQL DDL. The CREATE SERVICE statement allows a DBA or developer to define a REST endpoint, associate it with a specific SQL statement or stored procedure, and make it available via DDF. This is the standard, secure, and integrated method.

  3. 3

    An international e-commerce company is consolidating its customer data into a central Db2 for z/OS database. The application needs to store customer names and addresses from around the world, which include characters from various alphabets (e.g., Cyrillic, Kanji, Arabic). The current database objects were created with the default EBCDIC encoding. What is the most appropriate action to ensure all international character data can be stored without corruption?

    Show answer details

    Correct answer: B

    UNICODE (specifically UTF-8, represented by CCSID 1208 in Db2) is the industry standard for supporting a wide range of international characters. Defining the database objects with a UNICODE CCSID ensures that all character data can be stored and retrieved correctly without loss of information. This is the correct approach for globalization.

  4. 4

    Following a system change, a critical static SQL query has regressed in performance. Analysis of the dynamic statement cache (DSN_STATEMENT_CACHE_TABLE) shows that a previous execution of the query had a much better access path. The DBA wants to force the optimizer to use this specific, known-good access path for the static package without making broad system changes like reverting statistics. Which is the most precise method to achieve this?

    Show answer details

    Correct answer: C

    The BIND QUERY command is the ideal tool for this scenario. It allows a DBA to capture a specific, proven access path for a query (identified by its STMT_ID or QUERY_ID from the statement cache or other sources) and save it as a hint in the catalog (SYSIBM.SYSQUERYPLAN). When the matching static or dynamic SQL is executed, the optimizer will use this saved access path. This provides precise control without widespread impact.

  5. 5

    Case Study:

    A large, multi-threaded nightly batch job, which processes millions of financial transactions, abended after running for three hours. The job performs INSERT, UPDATE, and DELETE operations across several large table spaces within a single unit of work. The operations team, seeing the abend, immediately resubmitted the job, but it failed instantly with a resource unavailable message (-911 or -913) on one of the primary tables.

    Initial Analysis:

    • The MVS system log shows the initial abend was an S04E reason 00E70005 (Resource Unavailable).
    • A -DISPLAY DATABASE command shows the affected table spaces are available (RW status).
    • The job that failed is the only process that updates these tables.

    As the on-call DBA, you are tasked with diagnosing the root cause and creating a plan to restart the batch job successfully. What is the most likely cause of the immediate failure on restart, and what is the correct recovery procedure?

    Show answer details

    Correct answer: C

    This is the most accurate diagnosis. When a long-running unit of work abends, its thread can become 'indoubt', meaning Db2 does not know whether to commit or roll back the work. This indoubt thread continues to hold locks on all the resources it touched. When the job was restarted, it immediately tried to access a locked resource, causing the -911/-913 failure. The correct DBA procedure is to use the -DISPLAY THREAD(INDOUBT) command to identify the thread, and then -RECOVER INDOUBT to instruct Db2 to either commit or abort it, releasing the locks and allowing the job to be restarted.

  6. 6

    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 details

    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.

  7. 7

    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 details

    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.

  8. 8

    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 details

    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.

  9. 9

    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 details

    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.

  10. 10

    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 details

    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.

Create an account to continue.