Caching Techniques
Caching Techniques
website, to reduce the time taken to serve the page for the users?
Application Cache
A cache is a .
Small and Fast memory
In which type of cache, application directly interacts with database for data that
is not available in the cache?
Cache-aside
In which type of cache, application treats cache as the main data store and reads
data from it and writes data to it? (I) Read Through/Write Through Cache (II)
Cache-aside
I
A web page displays 10 items per page and has pagination enabled. What would be the
recommended way to enable efficient paging?
Use Spatial Cache
Which type of cache reference locality aims at designing cache to store the entire
block near the Recently Referenced Data? (I) Temporal Locality (II) Spatial
Locality
II
Which type of cache reference locality aims at designing cache to store "Recently
Referenced Data" assuming that the same data will be requested frequently?
Only Temporal Locality
When a computer processor does not gets a data item that it requires in cache, then
the problem is known as _________.
Cache Hit
While using a Write Back cache, which of the following policies needs to be abided?
Write Allocate
Caching Technique where cache is populated the first time a certain piece of data
is requested is called _________.
Lazy Loading
Cache Performance or Average Memory Access time (AMAT) depends on which of the
following?
All options mentioned
Which of the following topologies implement a "front cache" and a "back cache" that
automatically and transparently communicate with each other by using a read-
through/write-through approach?
Near Cache
A byte addressable direct-mapped cache with 1024 blocks/lines, and with each block
are having 8 32-bit words. How many bits are required for block offset, assuming a
32-bit address
5
***********
Which of the following in a cache address, specifies the exact location in the
cache line where the requested data exists?
Block Index (WRONG ANSWER)
A cache has 1024 blocks and each block can contain 1024 bits of data. What is the
size of the cache
1 MB / 0.25MB(WRONG ANSWER)