Free Couchbase Associate Java Developer Certification Exam Practice Questions
100 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the Couchbase Associate Java Developer Certification Exam practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1A PostgreSQL report must show each item's unit price multiplied by its quantity, without updating the source table. Where should the calculation go?
- A.In a comparison in the WHERE clause
- B.In a sort key in the ORDER BY clause
- C.In an expression in the SELECT listCorrect answer: C
- D.In a matching condition in the JOIN clause
2A team wants Couchbase Server capabilities but wants Couchbase to manage the cloud deployment. Which offering fits?
- A.A Couchbase Capella operational clusterCorrect answer: A
- B.Couchbase Server installed with a local Docker image
- C.Couchbase Server installed on the team's cloud VMs
- D.Couchbase Server on the team's on-premises hosts
3A Java application resolves dependencies from public artifact repositories. Which repository should it use for the stable Couchbase Java SDK artifact?
- A.Maven CentralCorrect answer: A
- B.Docker Hub
- C.Couchbase Academy Store
- D.Gradle Plugin Portal
Explanation: "Couchbase publishes all stable artifacts to Maven Central." Couchbase publishes its stable Java SDK packages to Maven Central. Docker Hub carries container images, the Academy sells training content and exams, and the Gradle Plugin Portal does not serve as the indicated SDK repository.
Reference: Start Using the Couchbase Java SDK — Installation
4A team is redesigning documents for a Java service whose workload is changing. Before deciding which entities to embed, which information should it collect?
- A.Which entities share the same scalar attribute types
- B.Which entity identifiers currently use the fewest bytes
- C.Which entities currently use the same naming convention
- D.Which data the application reads or updates togetherCorrect answer: D
Explanation: "Exactly how you should balance these alternatives depends on the access patterns and requirements of your application." Reads and updates that involve related data help set document boundaries. Similar attribute types, identifier lengths and naming conventions do not identify those operations.
Reference: Couchbase Data Modeling Guide — When to Embed and When to Refer
5A developer wants to inspect query results as rows and columns, including nested objects shown as sub-tables. Which Capella Query Workbench tab displays that view?
- A.JSON
- B.TableCorrect answer: B
- C.Chart
- D.Plan Text
Explanation: "The tool converts the JSON documents to HTML tables and presents sub-objects or sub-arrays as sub-tables." Table converts JSON results to tables and nested values to sub-tables. JSON renders documents, Chart visualizes suitable series, and Plan Text shows the execution plan.
Reference: Capella Query Workbench — Query Results and Plans, Table Format
6A Java application knows the document key and needs only to check whether the nested path `prefs.sms` exists. Which sub-document operation avoids returning the path's value?
- A.Use `lookupIn` with an `exists` specification.Correct answer: A
- B.Use `lookupIn` with a `get` specification.
- C.Use `mutateIn` with an `insert` specification.
- D.Use `get` and inspect the entire document.
Explanation: "The lookupIn operations query the document for certain path(s); these path(s) are then returned." "simply querying the existence of the path using the exists Sub-Document operation." With lookupIn, the exists specification checks the path without returning its value. A sub-document get returns the value, a mutation can change the document, and a full get returns the document body.
7A PostgreSQL lookup returns one column of city names. Several rows share a city, and ordering is irrelevant. What change returns each selected city once?
- A.Add ORDER BY using the city column
- B.Add an alias to the selected city column
- C.Add a WHERE condition that city is present
- D.Add DISTINCT to the selected city columnCorrect answer: D
Explanation: "You can request that duplicate rows be removed from the result of a query:" DISTINCT removes duplicate result rows. Since the projection is just city, each selected city appears once. The other changes sort, rename, or filter by presence.
Reference: PostgreSQL: Querying a Table — §2.5 Querying a Table, DISTINCT example
8A Capella organization wants two teams' operational clusters grouped under different access boundaries. What should it use to separate the clusters?
- A.Separate buckets inside a single operational cluster
- B.Separate projects in the same Capella organizationCorrect answer: B
- C.Separate scopes within one cluster's default bucket
- D.Separate service groups inside an operational cluster
Explanation: "Clusters exist inside projects. You can create projects inside your organization to control user access to your specific clusters." Projects group clusters and provide the organization-level arrangement for controlling access to those clusters. Buckets, scopes, and service groups are within a cluster.
9A Java application will use the standard Couchbase Java SDK client in the 3.x line. Which dependency coordinates select that library when paired with a compatible version?
- A.`com.couchbase.client:core-io`
- B.`com.couchbase.client:java-client`Correct answer: B
- C.`com.couchbase.client:scala-client`
- D.`com.couchbase.lite:couchbase-lite-java`
Explanation: "<groupId>com.couchbase.client</groupId> <artifactId>java-client</artifactId>" Use the Java Client artifact in the Couchbase client group. Core IO is a lower-level module, Scala Client is a different language binding, and Couchbase Lite targets a different product.
Reference: Start Using the Couchbase Java SDK — Installation, Maven
10A billing system must retain the tax rate as it was applied to each posted invoice, even after the tax region's current rate changes. Which document design supports that requirement?
- A.Store the applied rate as a snapshot in each posted invoice.Correct answer: A
- B.Keep just a reference from each invoice to the current rate document.
- C.Read the rate from the customer profile each time the invoice opens.
- D.Copy the current rate into every historical invoice when it changes.
Explanation: "You actually want to maintain separate, and divergent, copies of data." The invoice needs a historical value that can diverge from the source. An embedded rate snapshot keeps that value, while the other approaches show or write the current value.
Reference: Couchbase Data Modeling Guide — p. 16, When to Embed
Exam Review
About Couchbase Associate Java Developer Certification Exam
Couchbase Associate Java Developer Certification Exam · UNSPECIFIED
Key exam facts
- Provider
- Couchbase, Inc., through Couchbase Academy, its official training, exam sales and online exam delivery platform.
- Format
- Online computer-based multiple choice in Couchbase Academy, without a proctor. The exam may ask candidates to interpret code snippets.
- Exam questions
- Total questions: 40.
- Time limit
- Up to 60 minutes to answer the exam questions.
- Passing score
- At least 32 correct answers out of 40 (80%).
- Exam fee
- US$50 per attempt. A retake requires a new purchase. The Academy also lists enrollment for 50 training credits.
Topics covered
Introduction and Couchbase Overview
- SQL features and benefits
- NoSQL features and benefits
- Relational and NoSQL database tradeoffs
- Vertical and horizontal scaling
- Couchbase services and their benefits
- Effects of data models on storage
- Selecting document keys
- JSON syntax and document capabilities
- JSON documents and key/value storage
Getting and Setting Up Couchbase
- Couchbase Capella
- Obtaining and deploying Couchbase, including Docker, Capella and public cloud
- Default Capella trial cluster offerings
- Trial versus production-ready clusters
- Replica and flush settings
- Clusters, buckets, scopes, and collections
- Compare Couchbase hierarchy with relational concepts
- Bucket memory allocation
- Location of imported documents in the Couchbase hierarchy
- Uses of cbimport
How to Store and Access Data Using the Couchbase Java SDK 3.x
- Adding the Java SDK to an application project
- Evaluate Java SDK cluster, bucket, scope, and collection code
- Components of a successful connection
- Java SDK transcoders and their behavior
- Storage format and Couchbase capabilities
- Identify, interpret, and handle exceptions
- The wan-development profile
- Basic key/value operations
- Common Java dependency tools
- Asynchronous Java SDK calls
How Document Design Impacts Application Behavior
- What data modeling is and its impact on applications
- Compare data modeling considerations
- Evaluate data modeling choices for application performance
How to Query Using the Couchbase Java SDK
- Query Workbench results views
- SQL++/N1QL capabilities and essential syntax
- Recognize valid SQL++/N1QL statements
- Primary, secondary, composite and partial indexes, including partial composite indexes
- Filtering and the effect of joins
- Couchbase hierarchy and query targets
- Compare SQL++/N1QL with SQL
- Backticks in SQL++/N1QL
- Named Java SDK query parameters
- Joining documents from multiple collections
Beyond the Basics: Using the Couchbase Java SDK to Do More
- Mutating and non-mutating sub-document operations
- Optimistic and pessimistic locking
- CAS behavior and evaluation of code examples
- Evaluate retry code
- Durability options and data storage
- Durability levels and performance
- vBucket behavior
- Sharding, data manipulation and durability
- Persistence to disk
How to prepare
Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.
These independent practice questions are not actual exam items and do not guarantee a passing result.
Frequently asked questions
What is the exam format?
Online computer-based multiple choice in Couchbase Academy, without a proctor. The exam may ask candidates to interpret code snippets.
How many questions are on the exam?
Total questions: 40.
How long is the exam?
Up to 60 minutes to answer the exam questions.
What is the passing score?
At least 32 correct answers out of 40 (80%).
How much does the exam cost?
US$50 per attempt. A retake requires a new purchase. The Academy also lists enrollment for 50 training credits.
Official sources and references
- CB130j Exam Study Guide
p. 4, Items to understand
- CB130j Couchbase Academy Exam Page
Course description
- CB130j Exam Study Guide
p. 5, Certification Exam Logistics
- CB130j Exam Study Guide
p. 5, Certification Exam Logistics, bullet 6, time and count
- CB130j Exam Study Guide
p. 5, Certification Exam Logistics, bullet 6, passing criterion
- CB130j Exam Study Guide
p. 5, Certification Exam Logistics, bullet 4, computer delivery
- CB130j Exam Study Guide
p. 5, Certification Exam Logistics, bullet 1, Academy LMS
- CB130j Exam Study Guide
p. 5, Certification Exam Logistics, bullet 5, proctor requirement
- CB130j Exam Study Guide
p. 6, Certification Exam FAQ 3
Confirm current exam arrangements with the exam provider.