Skip to content

Commit

Permalink
Update mongodb-quiz.md (Ebazhanov#309)
Browse files Browse the repository at this point in the history
переформатировал, тк ответы отображались в строчку
  • Loading branch information
SergDaut authored Aug 23, 2020
1 parent b69d046 commit cf6c80a
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions mongodb/mongodb-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,29 +200,29 @@ MongoDB Assessment

#### Q31. Which programming language is used to write MongoDB queries?

[ ] Python
[x] JavaScript
[ ] SQL
[ ] TypeScript
- [ ] Python
- [x] JavaScript
- [ ] SQL
- [ ] TypeScript

#### Q32. You have two text fields in your document and you'd like both to be quickly searchable. What should you do?

[x] Create a text index on each field.
[ ] MongoDB is not able to do this.
[ ] Create a compound text index using both fields.
[ ] Create a text index on one field and a single field index on the other.
- [x] Create a text index on each field.
- [ ] MongoDB is not able to do this.
- [ ] Create a compound text index using both fields.
- [ ] Create a text index on one field and a single field index on the other.

#### Q33. To import a CSV file into MongoDB, which command should you issue?

[ ] mongorestore
[ ] mongoi
[ ] upload
[x] mongoimport
- [ ] mongorestore
- [ ] mongoi
- [ ] upload
- [x] mongoimport

#### Q34. In an MongoDB mapReduce command, the reduce function should ____.

[ ] access the database
[ ] be called only when the key has a single value
[ ] acces the database only to perform read operations
[x] not access the data
- [ ] access the database
- [ ] be called only when the key has a single value
- [ ] acces the database only to perform read operations
- [x] not access the data

0 comments on commit cf6c80a

Please sign in to comment.