没有合适的资源?快使用搜索试试~ 我知道了~
首页MongoDB程序员认证: MongoDB Certified Developer Study Guide
资源详情
资源评论
资源推荐
MongoDB Developer Exam
Official information:
Links:
- https://university.mongodb.com/certification/DEVELOPER/about
- https://docs.mongodb.com/manual/
- https://university.mongodb.com/exams
- https://university.mongodb.com/courses
- https://university.mongodb.com/exams/study (actually you need only this one! 99% pass
guarantee)
- https://www.mongodb.com/presentations/?_ga=1.195218284.1561232439.1347591998
Exam Format & Grading:
● MongoDB certification exams are delivered online using a web proctoring solution.
● You have 90 minutes to complete an exam.
● Exam question types are multiple choice and check all that apply.
● There is no penalty for incorrect answers.
Philosophy & Features
performance: understanding performance and mongodb.
MongoDB and Relational Databases
● The features typically found relational database management systems that MongoDB
does not include for scalability reasons
● how relational data models typically differ from data models in MongoDB
● What are the mapping between SQL and MongoDB?
● https://docs.mongodb.org/manual/reference/sql-comparison/
● https://www.mongodb.com/compare/mongodb-mysql
Collections:
● what is the maximum number of collections per database? how are stats found on a
collection? what are system collections? what collections are used by mongodb to store
gridfs data? how do you get all the indexes on a collection? what is the capped collection
that holds the oplog? what is the maximum size of index key limit and number of indexes
per collection?
● https://webassets.mongodb.com/_com_assets/collateral/MongoDB_Architecture_Guide.
pdf?_ga=1.81698967.1866370571.1476366721
●
JSON:
● how to import extended JSON?
● what data types JSON supports, e.g. objects and arrays
● the structure of JSON objects and arrays
● how to nest data in JSON objects and arrays
● how to read JSON
● https://docs.mongodb.org/manual/reference/mongodb-extended-json/?_ga=1.51178281.
1866370571.1476366721
● http://json.org/
●
BSON:
● how is BSON data exported? what are the BSON types? What is the maximum size of a
BSON document?
● BSON is a binary JSON data format
● what we mean in describing BSON as lightweight, traversable and efficient
● how BSON encodes a value using explicit type information, a binary representation of
the value, and explicit byte length
● http://bsonspec.org/
●
Fault Tolerance:
● How is fault tolerance supported by replication set architecture?
Disaster recovery:
● How can the database contents be exported with mongodump? How to use OpLog when
recovering from a disaster?
Vertical and Horizontal scaling:
● What is sharding (horizontal scaling) and how does it relate to vertical scaling?
● The difference between vertical and horizontal scaling
● Sharding is MongoDB’s approach to horizontal scaling
● https://docs.mongodb.org/manual/core/sharding-introduction/
Flexible schema in MongoDB
● Why we say MongoDB has a flexible schema (sometimes called schemaless)
● How this different from relational databases
● Atomicity concerns with regard to write operations in MongoDB
● https://docs.mongodb.com/master/core/data-modeling-introduction/
Mongo shell: starting, features, help, what are the variables used to start
the mongod process? By default, the cursor in mongo shell is configured to
return how many documents?
● how to list available databases/collections in the mongo shell
● how to switch to a particular database context
● how to write javascript code to create sample data and for other simple tasks
● how to print output using the print function
● administrative commands available in the mongo shell
● how to work with data types in the shell
● https://docs.mongodb.com/manual/core/shell-types/?_ga=1.9749685.1866370571.14763
66721
● https://docs.mongodb.com/manual/mongo/
● https://docs.mongodb.com/manual/reference/mongo-shell/?_ga=1.9749685.1866370571
.1476366721
○ var x = 5;
○ print(x);
○ Math.floor(3.5)
○ Math.PI
○ ISODate()
○ print(“hello)
○ while (x < 10) { x++; print(x) }
○ for (i=0; i<=3; i++) { print(i) }
○ x = { a:4, b: “abc” }
○ for (key in x) { print(key + ‘: ‘ + x[key] }
○ db
○ db.currentOP()
○ db.people.find()
● write a for loop that inserts one million documents in the mongo shell
● create one collection with a field that contains the _id of documents in second collection.
Perform a series of find operations that use the results of a query against the first
collection to identify the _ids of documents to retrieve from the second collection
Sample Problems
● Which features of relational database management systems were deliberately omitted in
MongoDB and help us to obtain horizontal scalability?
○ Multi-statement transactions (x)
○ Authentication
○ Joins (x)
● In order to ensure that you can maintain high availability in the face of server failure, you
should implement which of the following?
○ Replication (x)
○ Sharding
○ The proper storage engine
○ Properly defined user roles
○ Put indexes on all of your documents
● Which of the following are common uses of the mongo shell? Check all that apply.
○ Perform queries against MongoDB collections (x)
○ Perform administrative tasks (x)
○ Use as a JavaScript framework for your production system
● Consider a simple JSON document and determine how it will be encoded as BSON
● Write a simple routine in JavaScript that creates and inserts some sample data into a
collection
● Experiment with a few find operations to ensure the data was inserted correctly
CRUD
Create: How do you insert a document into a collection? How is a bulk write
performed? How is a database created? How is a collection created?
-- insertOne(), insertMany(), insert()
-- insert operation creates the collection if not exists
-- every document has a unique _id (manual or generated ObjectID)
-- ObjectID: 12 Bytes (4B: timestamp, 3B: machine id, 2B: process id, 3B: counter, starting with
random value)
● properly use the insert, save, update, and findAndModify commands to create new
documents
○ db.collection.insert(): (most questions)
■ https://docs.mongodb.org/manual/reference/method/db.collection.insert/?
_ga=1.10350389.1866370571.1476366721
■ https://docs.mongodb.org/manual/tutorial/insert-documents/?_ga=1.1035
0389.1866370571.1476366721
○ db.collection.save() will cause a document to be inserted if the _id is not
included, or the _id doesn’t match any documents
■ https://docs.mongodb.org/manual/reference/method/db.collection.save/?_
ga=1.81043479.1866370571.1476366721
○ db.collection.update( will insert documents in some circumstances (upserts)
■ upsert:
https://docs.mongodb.org/manual/reference/method/db.collection.update/
?_ga=1.81043479.1866370571.1476366721
■ only an insert if upsert:true is set
■ db.foo.update( { a : 5, b : { $lte : 7 } }, { $set : { c : 8 } }, {
upsert : true } )
● { "_id" : ObjectId("55b0200e5ef34083de46367e"), "a" : 5,
"c" : 8 }
■ https://docs.mongodb.org/manual/reference/method/db.collection.insert/?
_ga=1.111077125.1866370571.1476366721#id-field
■ https://docs.mongodb.org/manual/core/document/?_ga=1.111077125.186
6370571.1476366721#the-id-field
■
○ db.collection.findAndModify() can result in an insert if updating and upsert is set
to true
■ https://docs.mongodb.org/manual/reference/method/db.collection.findAnd
Modify/?_ga=1.52743208.1866370571.1476366721
■
● match insert commands with descriptions of what they do
● know how to perform bulk inserts
剩余51页未读,继续阅读
alphakey
- 粉丝: 3
- 资源: 19
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2022年中国足球球迷营销价值报告.pdf
- 房地产培训 -营销总每天在干嘛.pptx
- 黄色简约实用介绍_汇报PPT模板.pptx
- 嵌入式系统原理及应用:第三章 ARM编程简介_3.pdf
- 多媒体应用系统.pptx
- 黄灰配色简约设计精美大气商务汇报PPT模板.pptx
- 用matlab绘制差分方程Z变换-反变换-zplane-residuez-tf2zp-zp2tf-tf2sos-sos2tf-幅相频谱等等.docx
- 网络营销策略-网络营销团队的建立.docx
- 电子商务示范企业申请报告.doc
- 淡雅灰低面风背景完整框架创业商业计划书PPT模板.pptx
- 计算模型与算法技术:10-Iterative Improvement.ppt
- 计算模型与算法技术:9-Greedy Technique.ppt
- 计算模型与算法技术:6-Transform-and-Conquer.ppt
- 云服务安全风险分析研究.pdf
- 软件工程笔记(完整版).doc
- 电子商务网项目实例规划书.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0