Caching Mid

1 / 4

What are some common cache writing strategies?

Select the correct answer

1

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

2

Compression, encryption, and replication.

3

Sharding, partitioning, and clustering.

4

Load balancing, failover, and redundancy.

Name some common scenarios when caching should be used.

Select the correct answer

1

Caching is ideal for storing user passwords.

2

Caching helps in database schema design.

3

Caching is useful for encrypting sensitive information.

4

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

Describe the impact of cache size on performance.

Select the correct answer

1

Larger cache sizes generally improve performance by reducing cache misses.

2

Cache size has no impact on system performance.

3

Smaller cache sizes always increase data retrieval speed.

4

Increasing cache size reduces the need for server backups.

Name some cache invalidation strategies.

Select the correct answer

1

Load balancing, failover, and clustering.

2

Sharding, replication, and partitioning.

3

Compression, encryption, and decryption.

4

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