Db2 12 for z/OS DBA Fundamentals Free Sample Questions

Description

Covers connecting to and planning Db2 subsystems, SQL and XML statements, data access security, Db2 commands and utilities, transaction locking and concurrency, and database objects.

12 free sample questions138 in the full practice test

Try simulator

C1000-122 Sample Questions

  1. Question 1

    Advanced

    Planning · Understand data sharing concepts

    A financial institution is designing a high-availability architecture using a Db2 12 for z/OS Data Sharing Group. The architecture team needs to ensure that the Coupling Facility (CF) structures are correctly defined to handle inter-Db2 read/write interest efficiently. Specifically, they are concerned about the mechanism used to track page validity across the group buffer pools. Which specific component of the Coupling Facility is primarily responsible for registering interest in pages and ensuring data coherency across members, and what happens when a page is updated by one member?

    Answer and explanation

    Correct answer: B

    In a Db2 Data Sharing environment, the Group Buffer Pool (GBP), which resides in the Coupling Facility's Cache Structure, is responsible for maintaining data coherency. It uses directory entries to track which members have a copy of a page (interest). When a member updates a page, it writes the changed page to the GBP, which then signals 'cross-invalidation' (XI) to other members holding that page in their local buffer pools, marking their copies as invalid.

  2. Question 2

    Intermediate

    Planning · Understand Db2 databases and the different types of tables and table spaces

    A Database Administrator is creating a new table space for a transaction history table that is expected to grow to 500 TB over the next five years. The table will be heavily inserted into and queried by range of dates. The DBA decides to use a Partition-by-Range (PBR) Universal Table Space (UTS) with Relative Page Numbering (RPN). What is the primary architectural advantage of selecting RPN for this specific scenario compared to absolute page numbering?

    Answer and explanation

    Correct answer: B

    Relative Page Numbering (RPN) in Db2 12 PBR UTS removes the dependency between the partition size and the number of partitions. With absolute page numbering, increasing the number of partitions often required decreasing the maximum partition size to stay within the 4-byte RID limit. RPN expands the RID capability, allowing both maximum partition count (up to 4096) and large partition sizes (up to 1 TB) simultaneously.

  3. Question 3

    Intermediate

    Planning · Demonstrate knowledge of subsystem parameters

    A systems programmer is preparing to modify a subsystem parameter (ZPARM) to increase the maximum number of open datasets (DSMAX). The environment requires 24/7 availability. Which method allows the change to take effect immediately without stopping and starting the Db2 subsystem?

    Answer and explanation

    Correct answer: C

    Most ZPARMs in Db2 12, including DSMAX, are online changeable. The process involves updating the DSNZPARM source, assembling and linking it to a load module (typically with a new name or replacing the existing one), and then issuing the -SET SYSPARM command to reload the parameters dynamically.

  4. Question 4

    Beginner

    Planning · Understand DB2 architecture

    While investigating a performance issue in a Db2 12 environment, a DBA observes high CPU usage in the ssnmDIST address space. Which type of workload is most likely generating this activity?

    Answer and explanation

    Correct answer: D

    The ssnmDIST address space (Distributed Data Facility) handles remote connections and distributed workloads coming into Db2 via TCP/IP or SNA using the DRDA protocol. High CPU in this address space indicates heavy distributed workload processing.

  5. Question 5

    AdvancedMultiple answers

    Planning · Connect to DB2 servers

    A DBA needs to configure connectivity for a new Java application running on Linux to a Db2 for z/OS subsystem. The application requires high availability and workload balancing across the data sharing group. Which TWO configuration items are essential on the client side (e.g., IBM Data Server Driver) to enable Sysplex Workload Balancing? (Select TWO)

    Answer and explanation

    Correct answers: A, D

    The initial connection must be made to the Group VIPA (Distributor IP) and use the Group Location Name to allow the client to discover the members of the data sharing group.

    To enable Sysplex Workload Balancing, the client driver property enableSysplexWLB must be set to true.

  6. Question 6

    Intermediate

    Working with SQL and XML · Understand DML SQL statement

    Analyze the following SQL query used in a sales report. The requirement is to rank sales representatives by their total sales within each region, but gaps in ranking numbers should be avoided if two representatives have the exact same sales total.

    SELECT REGION, SALES_REP, TOTAL_SALES,
    ________(ORDER BY TOTAL_SALES DESC) OVER (PARTITION BY REGION) as RANKING
    FROM SALES_DATA
    

    Which OLAP function correctly fills the blank to meet the requirement?

    Answer and explanation

    Correct answer: C

    The DENSE_RANK function assigns a rank to each row within a partition of a result set, with no gaps in the ranking values. If two rows tie for rank 1, the next rank is 2. RANK would produce a gap (e.g., 1, 1, 3).

Register free for 6 more questions

Or unlock all 138 C1000-122 questions with explanations, timed mode and flashcards.