Infosys Certified Mongo Developer
Practice with real exam-pattern questions for Infosys Certified Mongo Developer. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.
Full question bank for this exam + 1,357+ others. Cancel anytime.
Join Premium10 Infosys Certified Mongo Developer practice questions with answers
Real Lex exam-pattern multiple-choice questions for the Infosys Certified Mongo Developer certification. Each question includes the correct answer. The full question bank is available to Premium members.
- Question 1
In "albums" collection, identify the option that retrieves the details of the albums having likes greater than 150 but less than 400 [exclusive of 150 and 400]
- ✓
db.albums.find(
{ likes : { $gte : 150 }, likes : { $lte : 400 } }
)
Correct - B
db.albums.find(
likes : { $gt : 150 , $lt : 400 }
)
- C
db.albums.find(
{ likes : { $gt : 150 }, likes : { $lt : 400 } }
)
- D
db.albums.find(
{ likes : { $gt : 150 , $lt : 400 } }
)
- ✓
- Question 2
What is the MongoDB equivalent of the below SQL query?[Choose all the apply]
SELECT count(*) FROM kgroup;- ✓
db.kgroup.find(
{count:1}
)
Correct - B
db.kgroup.count(
{*}
)
- C
db.kgroup.count()
- D
db.kgroup.find().count()
- ✓
- Question 3
What is the MongoDB equivalent of the following SQL query [Choose all the apply]
SELECT * FROM kgroup
WHERE age > 30 AND age < 70- ✓
db.kgroup.find (
{ age: { $gte: 30, $lte: 70 } }
)
Correct - B
db.kgroup.find(
{ $and: { age: { $gte: 30 } } ,{ age: { $lte: 70 } } }
)
- C
db.kgroup.find(
{ [$and: { age: { $gte: 30 } } ,{ age: { $lte: 70 } } ] }
)
- D
db.kgroup.find(
{ age: { $gt: 30, $lt: 70 } }
)
- ✓
- Question 4
MongoDB is written in which of the following language?
- ✓JavascriptCorrect
- BC++
- CC
- DAll of the given options
- Question 5
Write the MongoDB equivalent of the following SQL query:
SELECT * FROM users WHERE status = "A" OR age = 50
- ✓db.users.find( { { status: "A" } ,{ age: 50 } } )Correct
- Bdb.users.find( { $or: { { status: "A" } ,{ age: 50 } } } )
- Cdb.users.find({ [$or: { status: "A" } ,{ age: 50 } ] } )
- Ddb.users.find({ $or: [ { status: "A" } ,{ age: 50 } ] } )
- Question 6
What is the comparison order that MongoDB uses for type checking of the following BSON types? [Highest to lowest]
(A) Regular Expression
(B) Numbers
(C) ObjectId
(D) Date
- ✓A,C,D,BCorrect
- BD,A,B,C
- CA,D,C,B
- DC,A,D,B
- Question 7
Given the following documents in an "employee" collection,
{_id:1, ename:"Anand", salary:46000, desg:"TA", rating:4}
{_id:2, ename:"Vivek", salary:44000, desg:"TA", rating:5}
{_id:3, ename:"Sara", salary:86000, desg:"PM", rating:4}
{_id:4, ename:"Karthik", salary:70000, desg:"Architect", rating:4}
{_id:5, ename:"Anahi", salary:42000, desg:"Analyst", rating:4}
What is the result of executing the following operation?
db.employee.update( { desg:"TA", rating: { $gt:4} }, { $set: { role change:"Sr.TA"} , $inc: { salary: 10000 } } )
- ✓Updates the documents of the collection whose desg is "TA" and who has obtained rating greater than 4, by incrementing the salary to 10000Correct
- BUpdates the documents of the collection whose desg is "TA" and who has obtained rating greater than 4, by incrementing the salary by 10000 and adds a new field 'role change' with a value "Sr.TA"
- CUpdates only the first found document where desg is "TA" and rating greater than 4, by incrementing the salary by 10000 and also adds a new field 'role change' with a value "Sr. TA"
- DResults in an error
- Question 8
What does the following query do when performed on the poems collection?
db.poems.update( {_id:1} , {Title:"Where The Mind Is Without Fear"} )
- ✓Replaces the complete document with _id as 1, with the document specified in second parameterCorrect
- BSyntax error
- CUpdating a document is possible only with $set parameter
- DUpdates the Title field of the poems collection
- Question 9
For a given poems collection, chose the option that retrieves the details of the poems with likes greater than 100 but less than 200[exclusive of 100 and 200]
- ✓db.poems.find( { likes : { $gte : 100 }, likes : { $lte : 200 } } );Correct
- Bdb.poems.find( likes : { $gt : 100 , $lt : 200 } );
- Cdb.poems.find( { likes : { $gt : 100 }, likes : { $lt : 200 } } );
- Ddb.poems.find( { likes : { $gt : 100 , $lt : 200 } } );
- Question 10
How to import BSON documents into MongoDB[Choose all that apply]
- ✓using mongorestoreCorrect
- Buse bsondump to convert BSON to JSON, and then use mongoimport the converted json into MongoDB
- Cuse mongoimport to directly import BSON into MongoDB
- Duse bsonimport to directly import BSON in MongoDB
More in Open Source
Infosys Certified Elasticsearch Developer
Infosys Certified PostgreSQL Associate
Infosys Certified PHP Associate
Pay once. Clear every cert this year.
One subscription, full Telegram channel access, every PDF posted during your membership.
- Full access to all 1,357+ certifications
- Monthly updated question banks
- Telegram private channel access
- Cancel anytime
- Everything in Monthly
- Save ₹2,100 vs monthly billing
- Priority answer key requests
- Best for increasing DQ score fast
- Everything in Quarterly
- Lifetime channel access — no renewals
- All future certifications included
- Priority response from admin team
Common questions, straight answers.
A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.
Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.
We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.
Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.
Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.