Choose Right Component Flashcards

1
Q

Which cache eviction policy is to be used for caching recommended videos?

A

MRU

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

Which cache eviction policy is to be used for caching products on e-Commerce website?

A

LFU

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

Which cache eviction policy is to be used for the CPU buffer cache?

A

LRU

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

When do you use cache-aside cache?

A

When you can’t afford to loose data

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

When do you use a read-through cache?

A

Strong Consistency requirements

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

When do you use a write-through cache?

A

Strong Consistency requirements

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

When do you use a write-back or write-behind cache?

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

When do you use a write-around cache?

A

When data is written once but rarely read.
E.G. real-time logs, chat room messages

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

Which RAID configuration to use for increasing speed?

A

RAID 0

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

Which RAID configuration to use for increasing reliability?

A

RAID 1

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

Which RAID configuration to use for increasing speed as well as reliability?

A

RAID 5 (allows for single disk failure). Min: 3 disks required

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

How RAID 5 is different from RAID 6?

A

RAID 6 allows for two disk failures.

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

What is RAID 10?

A

Every two disks are first put in RAID 1 and resulting disks are put in RAID 0. 50% capacity is used for redundancy.

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