MongoDB interview questions part 4

MongoDB interview questions part 4

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Indexes are typically available in ______ or located sequentially on disk.

Correct Answer is : RAM

2. Point out the wrong statement :

Correct Answer is : More selective queries match a larger percentage of documents

3. ___________ is used to determine whether a query is a covered query .

Correct Answer is : explain()

4. The ________ message is used to update a document in a collection.

Correct Answer is : OP_UPDATE

5. Point out the correct statement :

Correct Answer is : The selectivity of regular expressions depends on the expressions themselves

6. _____ can modify specific fields of an existing document or documents or replace an existing document entirely, depending on the update parameter.

Correct Answer is : update()

7. The update() method uses the _______ command, which uses the default write concern.

Correct Answer is : update

8. _________ is used to view statistics about the query plan for a given query.

Correct Answer is : cursor.explain()

9. An ________ query plan has returned a threshold number of matching results

Correct Answer is : ordered

10. A query _______ consists of a combination of query, sort, and projection specifications.

Correct Answer is : shape

11. The auditing facility can write audit events to the console, the _________, a JSON file, or a BSON file.

Correct Answer is : syslog

12. The auditing facility can write audit events to the console, the _________, a JSON file, or a BSON file.

Correct Answer is : syslog

13. Point out the correct statement :

Correct Answer is : All of the mentioned

14. Point out the correct statement :

Correct Answer is : All of the mentioned

15. _________ contains the local ip address and the port number of the running instance.

Correct Answer is : local

16. _________ contains the local ip address and the port number of the running instance.

Correct Answer is : local

17. Enabling _____________ degrades performance more than logging only the authorization failures.

Correct Answer is : auditAuthorizationSuccess

18. Enabling _____________ degrades performance more than logging only the authorization failures.

Correct Answer is : auditAuthorizationSuccess

19. Point out the correct statement :

Correct Answer is : The selectivity of regular expressions depends on the expressions themselves

20. Point out the correct statement :

Correct Answer is : The selectivity of regular expressions depends on the expressions themselves

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon