Caching Mid

1 / 4

What are some common cache writing strategies?

Select the correct answer

1

Write-through, write-back, and write-around.

2

Load balancing, failover, and redundancy.

3

Compression, encryption, and replication.

4

Sharding, partitioning, and clustering.

Name some common scenarios when caching should be used.

Select the correct answer

1

Caching should be used for frequently accessed data to reduce load times.

2

Caching is useful for encrypting sensitive information.

3

Caching is ideal for storing user passwords.

4

Caching helps in database schema design.

Describe the impact of cache size on performance.

Select the correct answer

1

Larger cache sizes generally improve performance by reducing cache misses.

2

Smaller cache sizes always increase data retrieval speed.

3

Cache size has no impact on system performance.

4

Increasing cache size reduces the need for server backups.

Name some cache invalidation strategies.

Select the correct answer

1

Compression, encryption, and decryption.

2

Time-to-live, write-through, and cache-aside.

3

Load balancing, failover, and clustering.

4

Sharding, replication, and partitioning.