OBCP V4 Official Mock Exam Analysis (with Answers)

Cover image of the OBCP V4 certification tutorial materials

The OBCP V4 material runs a full 877 pages. Printed double-sided and offset-bound into a book on Taobao, it’s about 220 pages, totaling 23 RMB with free shipping in the Jiangsu-Zhejiang-Shanghai area. The book is very thick and packed with information—enough to study for a long time.

I worked through the official mock questions (if you haven’t done them yet, check the original first). I didn’t pass on the first round, retook it three more times and still didn’t pass, and in the end retook it eight rounds for the sake of one question. The OBCP exam isn’t entirely the same as real-world operations—you really do have to study the book carefully to pass.

What I’m sharing here are the mock questions publicly available on the OBCP V4 official site. I didn’t write the questions, and the official site doesn’t publish the answers. The answer analysis is based mainly on the tutorial content; for the occasional question where I couldn’t find corresponding content, it’s my personal guess.


Single-Choice Questions

1 LDC Routing

OBCP question: single-choice question stem on LDC routing strategy

Answer analysis:

Answer explanation about LDC routing configuration from the tutorial

2 MEMSTORE Write Throttling Protection

OBCP question: stem on MEMSTORE write throttling protection

Answer analysis:

Tutorial explanation of MEMSTORE write throttling parameters

3 Global Index

OBCP question: single-choice question stem on global index features

Answer analysis:

Answer explanation of global-index-related content from the tutorial

4 Operators for Distributed Execution

OBCP question: stem on operators for distributed execution

Answer analysis:

Tutorial content explanation of distributed execution operator types

5 KVCache

OBCP question: stem on the KVCache caching mechanism

Answer analysis:

Tutorial answer explanation of the KVCache caching mechanism

6 ODP Deployment

OBCP question: single-choice question stem on ODP deployment modes

Answer analysis:

Tutorial content explanation of ODP deployment modes

7 HINT

OBCP question: stem on SQL HINT usage

Answer analysis:

Tutorial answer explanation of SQL HINT usage

8 OMS Data Migration

OBCP question: stem on the OMS data migration process

Answer analysis:

Structure migration handles DDL migration, while full migration only migrates the data.

9 obdumper

OBCP question: stem on the obdumper export tool

Answer analysis:

Tutorial answer explanation of obdumper tool usage

10 Read-Only Transactions

OBCP question: single-choice question stem on read-only transaction features

Answer analysis:

Tutorial answer explanation of the read-only transaction processing mechanism

11 Session Views

OBCP question: single-choice question stem on querying session views

12 Tenant Views

OBCP question: single-choice question stem on querying tenant views

13 Global Index

OBCP question: stem on global index use cases

Answer analysis:

Tutorial explanation of global index use cases (part 1)

Tutorial explanation of global index use cases (part 2)

14 Composite Index

OBCP question: stem on composite index matching rules

Answer analysis:

Tutorial answer explanation of composite index matching rules

15 Compaction Comparison

OBCP question: stem comparing minor (dump) and major compaction

Answer analysis:

Tutorial content explanation of the difference between dump and major compaction

Good thing it’s single-choice—if it were a multiple-choice question, the answer would probably be CD.

16 Standby Tenant

OBCP question: single-choice question stem on standby tenant operations

Answer analysis:

This one is easy to get wrong; it differs a bit from operations in earlier versions.

Tutorial answer explanation of standby tenant switchover operations

17 OBServer Node Replacement

OBCP question: stem on OBServer node replacement

Answer analysis:

Replacing a node in an OB cluster is an online replacement.

Multiple-Choice Questions

18 Resource Units

OBCP question: multiple-choice stem on resource unit configuration

Answer analysis:

Tutorial explanation of resource unit and resource pool rules

The resource units in a tenant’s resource pools across different Zones can differ in size, but their quantity must be the same.

19 Replicated Tables

OBCP question: multiple-choice stem on replicated table features

Answer analysis:

Tutorial answer explanation of the replicated table read/write mechanism

20 Table Locks

OBCP question: multiple-choice stem on the table lock mechanism

Answer analysis:

Tutorial explanation of table lock types and locking rules

21 Index Matching

OBCP question: multiple-choice stem on index matching rules

Answer analysis:

Tutorial answer explanation of index matching conditions

22 Daily Major Compaction

OBCP question: multiple-choice stem on the daily major compaction mechanism

Answer analysis:

Tutorial explanation of daily major compaction and SSTable changes

Major compaction can reduce the number of SSTables (because there are fewer versions).

23 OMS

OBCP question: multiple-choice stem on OMS migration features

Answer analysis:

Tutorial explanation of OMS data migration capabilities (part 1)

Tutorial explanation of OMS data migration capabilities (part 2)

24 JDBC Connection Properties

OBCP question: stem on JDBC connection property configuration

Answer analysis:

Tutorial answer explanation of JDBC connection parameters

25 External Tables

OBCP question: multiple-choice stem on external table features

Answer analysis:

Tutorial answer explanation of creating and using external tables

26 Replacing a Node’s Disk

OBCP question: stem on the operation of replacing a node's disk

Answer analysis:

This one probably has the highest error rate and is also the most controversial.

Perhaps the question’s intent is to convey that since you’re just replacing a disk, you don’t need to remove the node, nor do you need to worry about the node going permanently offline. Just memorize the answer. It doesn’t affect the disk-replacement change steps in real operations.

27 Parallel Table Scan

OBCP question: multiple-choice stem on parallel table scan

Answer analysis:

Tutorial answer explanation of the parallel table scan mechanism

28 Tenant Scaling

OBCP question: stem on tenant scaling operations

Answer analysis:

Tutorial explanation of tenant scaling and resource inspection

To check a node’s remaining resources, look at the gv$ob_servers view.

29 External Tables

OBCP question: multiple-choice stem on external table field definitions

Answer analysis:

Tutorial explanation of external table fields and format definitions

The fields of an external table don’t have to correspond one-to-one with the fields of a table; what matters is the format definition.

30 Table Groups

OBCP question: stem on table groups and replica distribution

Answer analysis:

A fairly difficult question.

Tutorial explanation of how table groups affect the distribution of leader replicas

Without a table group, the 9 partitions of these three partitioned tables would happen to have exactly one leader replica per node. With a table group, the leader replicas are constrained to nodes across three different zones.

31 Statistics

OBCP question: multiple-choice stem on statistics gathering

Answer analysis:

Tutorial explanation of statistics gathering methods (part 1)

Tutorial explanation of statistics gathering methods (part 2)

32 OB Logs

OBCP question: multiple-choice stem on OB log types

Answer analysis:

A trick question.

Tutorial answer explanation of the various OB log types

ilog only exists in versions before V4.

33 ODP High Availability

OBCP question: stem on ODP high-availability solutions

Answer analysis:

Tutorial answer explanation of the ODP high-availability architecture

34 Paxos

OBCP question: stem on Paxos protocol features

Answer analysis:

Tutorial answer explanation of the Paxos majority protocol

True/False Questions

35 Standby Tenant

OBCP true/false question: stem on standby tenant features

36 OB Log Levels

OBCP true/false question: stem on OB log levels

Answer analysis:

Tutorial answer explanation of OB log level settings

37 Resource Unit Specifications

OBCP true/false question: stem on resource unit specifications

Answer analysis:

Tutorial answer explanation of adjusting resource unit specifications

38 Partitioned Tables

OBCP true/false question: stem on partitioned table features

Answer analysis:

Tutorial answer explanation of partitioned table usage rules

39 Load Balancing

OBCP true/false question: stem on load balancing deployment

Answer analysis:

Tutorial explanation of the OB access load balancing solution

Typically, an OB delivery requires load balancing to provide a layer-7 VIP for OCP and a layer-4 VIP for OBProxy.

40 External Tables

OBCP true/false question: stem on external table writability

Answer analysis:

An external table is a file, so it’s definitely not writable.

41 obdumper

OBCP true/false question: stem on obdumper features

Answer analysis:

Tutorial answer explanation of obdumper export capabilities

42 Buffer Tables

OBCP true/false question: stem on Buffer table problems

Answer analysis:

Tutorial answer explanation of the Buffer table optimization mechanism

43 Standalone-Distributed Integration

OBCP true/false question: stem on standalone-distributed integration

Answer analysis:

Tutorial answer explanation of converting between standalone and distributed

The standalone edition of OB can be scaled out online into a distributed edition. And the other way around? Earlier versions could scale down from three replicas back to a single replica, but recent versions can’t anymore. You can only work around it via primary-standby tenants.

44 dbcat Tool

OBCP true/false question: stem on dbcat tool features

Answer analysis:

Tutorial explanation of the dbcat migration assessment tool

45 Configuration Items

OBCP true/false question: stem on the scope of configuration items

Answer analysis:

Tutorial explanation of cluster parameters and tenant parameters

OB’s configuration is the most chaotic (it merges the configuration approaches of Oracle and MySQL). What’s being discussed here are parameters. Many parameters under the sys tenant take effect across the entire cluster and are called cluster parameters. Under the sys tenant you can modify a user tenant’s parameters; a parameter under a user tenant only takes effect within its own tenant. You can only modify your own parameters.

46 Session Variables

OBCP true/false question: stem on session variable features

Answer analysis:

Besides parameters, a user tenant also has variables, which borrow MySQL’s variable feature. They are further divided into global variables and session variables. Their effective mechanism and scope are consistent with MySQL.

47 ODP

OBCP true/false question: stem on ODP cluster features

Answer analysis:

ODP is the reverse proxy for an OB cluster. But an ODP cluster isn’t really a cluster—just a pile of ODP nodes stacked together. High availability and load balancing rely on the load balancing design above it (such as F5, A10, or NGINX, HAProxy, LVS, etc.).

48 explain

OBCP true/false question: stem on explain usage

Answer analysis:

explain only generates an execution plan; it doesn’t execute the SQL. This differs from PG—there’s no explain analyze usage.

49 Major Compaction and Statistics

OBCP true/false question: stem on major compaction and statistics

Answer analysis:

In V4, OB decoupled daily major compaction from statistics updates. The strategies for gathering statistics have grown increasingly rich and varied (automatic gathering, manual gathering, adaptive gathering, incremental gathering, etc.).

50 Log Stream

OBCP true/false question: stem on the log stream concept

Answer analysis:

Tutorial answer explanation of the OB log stream architecture

The log stream is something new in V4.x and isn’t easy to understand. You can refer to: Analysis of the OB V4 Log Stream Design


Summary

These are only mock questions, but you can see they all hew closely to concepts from the tutorial. The mock questions can be found via the “View Original” link below.

The only path to passing OBCP is to deeply understand the concepts and knowledge in the tutorial and practice on a real OB environment. Memorizing a question bank won’t get you far.

I’m happy to discuss OBCP V4 study, but I don’t have an OBCP V4 question bank—I can only discuss the content of the tutorial.