couchbase-certified-java-developer-sample
couchbase-certified-java-developer-sample
Java Developer
Exam Practice Tests
by
Cristian Scutaru
This is not an introduction to Couchbase, as you should already have some prior basic
knowledge on the product. Follow the previous link and use also the Couchbase
recommended materials for this exam.
The live interactive version of this e-book has been implemented on Udemy as a course,
with the Become a Couchbase Certified Java Developer: Practice Exams title.
This book contains three high-quality practice tests with 40 questions each, to help
you become a Couchbase Certified Java Developer. The proctored exam you must
pass is maintained by Couchbase Academy.
• Most questions have added answers and references, and are original.
• Other questions have added answers, and are adapted from the long Couchbase
Associate Java Developer Certification Course.
• All questions are similar to those currently found in the actual exam.
• The real exam has 40 questions, a 90 minutes time limit, 80% passing score
(max 8 questions wrong).
• The exam costs $50 US per trial, whether you pass or fail.
• Questions are mostly either single-choice or with multiple-selections.
• Categories: General, Java SDK, Queries, Data Modeling.
How you should use these tests
• Try the first practice test at your own pace, and do not worry if you fail it first…
• On a separate piece of paper, mark each question number with your choice.
• Quit the exam anytime, if you're not patient to go over all 40 questions.
• Go to the Answers and Explanations section for your test, and check both the
right and wrong choices for each individual question.
• Read the detailed Explanation for each question, and follow the links from
References to learn more.
• The passing score in the actual exam is 80%.
• Repeat with the second and third practice tests, as all these tests cover most
types of actual exam questions.
• Repeat until you score at least 90% on each test. And then go for the real deal.
Good luck!
Practice Test 1
Question 1:
Which type of Bucket can be also persisted on disk? (select one)
A) Persisted
B) Memcached
C) Couchbase
D) Ephemeral
Question 2:
Which statements properly describe a CAS value in Couchbase? (check three)
A) CAS is an acronym for "Check-and-Set".
B) CAS is a value representing the current state of an item.
C) The CAS value changes each time the item is modified.
D) CAS is used to implement the Couchbase replication.
E) The CAS can be supplied as parameter to the replace() and remove() operations.
Question 3:
Which of the following are NOT document metadata fields? (check two)
A) id
B) ttl
C) xattrs
D) expiration
E) revision
Question 4:
What features are NOT supported by the Couchbase Community Edition? (check
two)
A) Ephemeral Buckets
B) Multiple Cluster Nodes
C) Window Functions
D) Index Service
E) Full-Text Search (FTS) Service
Question 5:
Which is NOT a Couchbase service? (select one)
A) Eventing
B) Analytics
C) Search
D) Monitoring
E) Query
Question 6:
The following cbimport command loads JSON documents into a Couchbase
Bucket:
$ cbimport json -c couchbase://127.0.0.1 \
-u admin -p password -b mybucket -d file:///data/lines.json \
-f lines -g key::%name% -t 4
Question 7:
Which are some planned access patterns a Developer can use in a physical model?
(check three)
A) Determine embedded or referenced sub-documents
B) Create indexes
C) Redesign based on the document size
D) Minimize joins
E) Map document to classes
Question 8:
What N1QL operator can be used for an undefined field? (select one)
A) IS NULL
B) IS MISSING
C) IS VALUED
Question 9:
What will the following N1QL statement do? (check two)
UPSERT INTO `travel-sample` (KEY, VALUE)
VALUES ("key1", { "type": "hotel", "name": "new hotel" })
Question 10:
You have the following query:
SELECT field1, field2 FROM mybucket WHERE field3 = "abc"
What kind of index is created by the N1QL statement below? (select one)
CREATE INDEX myidx ON mybucket (field1, field2) WHERE field3 = "abc"
A) Covering
B) Partial Covering
C) Partial
D) Primary