Mongodb database Flashcards

(15 cards)

1
Q

Q: Which method forces MongoDB to use a sparse index?

A

Hint()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Q: Which index type does not allow duplicate values?

A

Sparse, Unique

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Q: Which query finds data inside a polygon area?

A

Geospatial

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Q: Replica sets are recommended for which deployments?

A

New

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Q: Which is true about Arbiter?

A

Remains unchanged when primary becomes secondary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Q: What happens if the primary node stops responding?

A

Another member becomes the new primary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Q: Maximum members in MongoDB 3.0 replica set?

A

25 total, 15 voting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Q: What is true about Priority 0 members?

A

Acts as a backup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Q: ACID stands for Atomicity, Consistency, ___, Durability

A

Isolation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Q: Who created FlockDB?

A

Twitter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Q: What does CAP theorem state?

A

Only two of three properties can be achieved

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Q: What is Partition tolerance?

A

System keeps working even if parts fail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Q: Tables with fixed schema describe which database?

A

Relational database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Q: Documents can have different structures describes:

A

MongoDB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

A1. Horizontal
A2. Vertical
A3. Scaling up
A4. Scaling out

A

B4. The database may not be able to manage growing volumes of data

B1. The technique of enhancing a single node hardware

B2. Mitigates the risk of failure

B3. Commodity servers can be added to increase storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly