MongoDB Certified Developer Associate - C100DEV무료 덤프문제 풀어보기
Which of the following methods executes a database command? (mongo shell)
정답: D
설명: (Fast2test 회원만 볼 수 있음)
Suppose we have a shipwrecks collection with the following document structure: { _id: ObjectId("578f6fa2df35c7fbdbaed8ce"), feature_type: 'Wrecks - Visible', watlev: 'always dry', coordinates: [ -79.9469681, 9.3729954 ] } Your application will often query based on the coordinates field. How to create a 2dsphere geospatial index for the coordinates field?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
How to shutdown the server? (Mongo shell)
정답: D
설명: (Fast2test 회원만 볼 수 있음)
Suppose you have a mobile_games collection with the following document structure:
{ game: "Fishing Clash", company: "Ten Square Games", platforms: ['Android', 'IOS'], ...
release_USA: ISODate("2017-04-09T01:00:00+01:00"),
release_France: ISODate("2017-04-09T01:00:00+01:00"),
release_Italy: ISODate("2017-08-17T01:00:00+01:00"), ... }
You want to redesign your document structure as below:
{ game: "Fishing Clash", company: "Ten Square Games", platforms: ['Android', 'IOS'],
releases: [ { location: "USA", date: ISODate("2017-04-09T01:00:00+01:00") },
{ location: "France", date: ISODate("2017-04-09T01:00:00+01:00") },
{ location: "Italy", date: ISODate("2017-08-17T01:00:00+01:00") }, ], }
Which pattern solution will you use to solve this problem?
{ game: "Fishing Clash", company: "Ten Square Games", platforms: ['Android', 'IOS'], ...
release_USA: ISODate("2017-04-09T01:00:00+01:00"),
release_France: ISODate("2017-04-09T01:00:00+01:00"),
release_Italy: ISODate("2017-08-17T01:00:00+01:00"), ... }
You want to redesign your document structure as below:
{ game: "Fishing Clash", company: "Ten Square Games", platforms: ['Android', 'IOS'],
releases: [ { location: "USA", date: ISODate("2017-04-09T01:00:00+01:00") },
{ location: "France", date: ISODate("2017-04-09T01:00:00+01:00") },
{ location: "Italy", date: ISODate("2017-08-17T01:00:00+01:00") }, ], }
Which pattern solution will you use to solve this problem?
정답: D
설명: (Fast2test 회원만 볼 수 있음)
How many indexes will the following command create?
db.products.createIndex( { product_name: 1, product_category: -1 } )
db.products.createIndex( { product_name: 1, product_category: -1 } )
정답: D
설명: (Fast2test 회원만 볼 수 있음)
What data structure is used to store the newly created index in MongoDB?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
Suppose you have a reviews collection in your database and you want to optimize the following query: db.reviews.find( { "votes": { "$gt": 100 }, "rating": 4.5 } ).sort( { "date": 1 } ) Which index on this collection will be the most performant for the above query? Keep in mind the equality, sort, range rule.
정답: E
설명: (Fast2test 회원만 볼 수 있음)
Suppose you have a sales collection with the following document structure: { _id: ObjectId("5bd761dcae323e45a93ccfe8"), saleDate: ISODate("2015-03-23T21:06:49.506Z"), items: [ { name: 'printer paper', tags: [ 'office', 'stationary' ], price: Decimal128("40.01"), quantity: 2 } { name: 'pens', tags: [ 'writing', 'office', 'school', 'stationary' ], price: Decimal128("56.12"), quantity: 5 }, { name: 'notepad', tags: [ 'office', 'writing', 'school' ], price: Decimal128("18.47"), quantity: 2 } ], storeLocation: 'Denver', couponUsed: true, purchaseMethod: 'Online' } Which of the following queries will return all document sales with 'printer paper' sold?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
Which of the following rules (when ordering) should be followed when building query indexes?
정답: B
설명: (Fast2test 회원만 볼 수 있음)