adplus-dvertising
1. ___________ is a specification for storing and retrieving files that exceed the BSON-document size limit of 16MB.
a. FSpec
b. GridFS
c. Grid
d. None of the mentioned
Discuss
Answer: (b).GridFS

2. Point out the correct statement.
a. GridFS uses two collections to store files
b. You cannot perform range queries on files stored through GridFS
c. Applications that handle temporal and spatial data often require capturing fractional units of currency
d. All of the mentioned
Discuss
Answer: (a).GridFS uses two collections to store files

3. By default GridFS limits chunk size to ______ k.
a. 225
b. 255
c. 256
d. None of the mentioned
Discuss
Answer: (b).255

4. When you query a GridFS store for a file, the _______ will reassemble the chunks as needed.
a. client
b. Server
c. Agent
d. None of the mentioned
Discuss
Answer: (a).client

5. Point out the wrong statement.
a. Chunks in the context of GridFS is related to the use of the term chunks in the context of sharding
b. The default chunk size changed from 256k to 255k
c. If you need to query the database for exact, mathematically valid matches, use Ambiguity Precision
d. None of the mentioned
Discuss
Answer: (a).Chunks in the context of GridFS is related to the use of the term chunks in the context of sharding

6. MongoDB represents queries as ___________ objects.
a. BSON
b. JSON
c. GSON
d. None of the mentioned
Discuss
Answer: (a).BSON

7. Each document in the __________ collection represents a distinct chunk of a file as represented in the GridFS store.
a. chunks
b. files
c. bson
d. none of the mentioned
Discuss
Answer: (a).chunks

8. GridFS uses a _________ index on the chunks collection for the files_id and n fields.
a. unique
b. single
c. non unique
d. none of the mentioned
Discuss
Answer: (a).unique

9. The ___ field contains the sequence number of the chunk.
a. x
b. array
c. field
d. n
Discuss
Answer: (d).n

10. The GridFS index allows efficient retrieval of __________ using the files_id and n values.
a. chunks
b. files
c. bson
d. none of the mentioned
Discuss
Answer: (a).chunks

Page 1 of 4