Couchbase Developer study materials
Couchbase Developer study resources

Couchbase Developer study plan

Couchbase Developer · Give each week a clear focus.

8 weeks · About 7 hours per week

Week 1

Couchbase Data Modeling and Querying

  • Map the Couchbase data hierarchy (cluster, bucket, scope, collection, document) and explain when to use scopes versus separate buckets

  • Design a document model for a small e-commerce catalog, embedding order line items while referencing product documents, and justify each embed-versus-reference choice

  • Write and run N1QL queries that filter with WHERE, project with SELECT, and sort with ORDER BY against a local bucket

  • Create a primary index and a secondary index, then confirm with EXPLAIN which one the optimizer actually uses

Your checkpoint

A written schema design note (one page) plus a saved .n1ql file of at least 10 working queries with their EXPLAIN output pasted beside each

Week 2

Couchbase Data Modeling and Querying

  • Compose N1QL joins across two collections using ON KEYS and compare the result with a nested-object alternative

  • Write aggregation queries with GROUP BY, HAVING, and array functions such as ARRAY_AGG and UNNEST

  • Implement a counter or atomic-update pattern with UPDATE ... SET and explain optimistic concurrency with CAS

  • Build a covering index for a known query and verify with EXPLAIN that the document fetch is eliminated

Your checkpoint

A query-tuning report comparing three versions of the same aggregation query (no index, secondary index, covering index) with execution times and EXPLAIN plans

Week 3

Couchbase SDK and Application Development

  • Connect to a bucket from an SDK (Java, .NET, Node.js, or Python) and perform get, upsert, insert, and remove

  • Implement a CAS-based retry loop that detects a DocumentExistsException and retries a bounded number of times

  • Use the reactive or async API to run a batch of key-value operations and measure the wall-clock difference versus sequential calls

  • Configure connection timeouts and a custom serializer, then prove behavior with a deliberate timeout test

Your checkpoint

A runnable console application in one SDK that performs CRUD, demonstrates a CAS conflict and successful retry, and logs each operation's latency

Week 4

Couchbase Data Modeling and Querying & Couchbase SDK and Application Development

  • Implement a parameterized N1QL query from the SDK using named parameters and verify injection resistance with a hostile input string

  • Use scan consistency options (request_plus versus not_bounded) on a query and describe the latency trade-off observed

  • Add error handling for transient versus non-transient SDK errors and classify each by exception type

  • Write one integration test that asserts a document is visible to a query immediately after a write at request_plus consistency

Your checkpoint

A test suite of at least five passing integration tests covering parameterized queries, consistency modes, and error classification

Week 5

Couchbase Cluster Operations and Administration

  • Describe the roles of data, index, query, and search services and lay out a three-node cluster on local machines or containers

  • Perform a rebalance after adding a node and verify replica counts and failover behavior by stopping one node

  • Create a bucket with a defined RAM quota and replica number, then explain what happens when the quota is exceeded

  • Configure an RBAC user limited to read-only access on one bucket and confirm the restriction with a query

Your checkpoint

A cluster operations runbook documenting the topology, the rebalance steps, a failover drill with observed outcomes, and the RBAC test result

Week 6

Couchbase Cluster Operations and Administration

  • Take and restore a backup of a bucket, then verify document counts match after restore

  • Read the statistics for cache misses, disk write queue, and query latency and explain what each indicates

  • Set up an alert or threshold check on a key metric and describe the response action

  • Compare durability levels (majority versus majorityAndPersistToActive) and explain the latency and safety trade-off

Your checkpoint

A monitoring and backup report containing a backup/restore verification log and a table of five metrics with healthy ranges and remediation steps

Week 7

Couchbase Mobile and Edge Development

  • Explain the roles of Couchbase Lite, Sync Gateway, and the server in a mobile replication topology

  • Create a Couchbase Lite database in a mobile SDK, write documents, and run a query using the default or value index

  • Configure a pull and push replication against Sync Gateway and resolve one deliberate conflict

  • Define a sync function with a document channel assignment and verify the document is only visible to a permitted user

Your checkpoint

A working mobile sample app or script that replicates documents both ways through Sync Gateway, plus a written conflict-resolution walkthrough

Week 8

Couchbase Data Modeling and Querying & Couchbase SDK and Application Development & Couchbase Cluster Operations and Administration & Couchbase Mobile and Edge Development

  • Re-run a timed 60-question mixed practice set and score each domain separately to find weak areas

  • Rewrite the weakest domain's notes into a one-page cheat sheet of commands, APIs, and decision rules

  • Redo every previously failed hands-on exercise until each passes without notes

  • Walk through a full end-to-end scenario: model data, query it, secure it, and replicate a subset to a mobile client

Your checkpoint

A final readiness packet with domain scores, the cheat sheet, and a passing end-to-end scenario demonstration

Milestones

Week 2: Can design a document schema and write a covering-index query from scratch in under 20 minutes without references

Week 4: SDK application passes all integration tests, including the CAS retry and parameterized-query injection test

Week 6: Can add a node, rebalance, fail over a node, and restore a backup while explaining each step aloud

Week 8: Scores at least 75 percent overall and at least 65 percent in every domain on the timed mixed practice set