Caching Techniques
Caching Techniques
==================
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
Which of the following is true about the cache? Line size == Block size (co)
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 (co)
Which of the following Cache Eviction techniques consider Locality? -- least
recently used (co)
Which type of cache reference locality aims at designing cache to store "Recently
Referenced Data" assuming that the same data will be requested frequently?
Temporal Locality (co)
Which of the following types of data exhibits Spatial Locality? array (co)
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(co)
Line size in a cache is recommended to be a power of 2. -- true(co)
While using a Write Back cache, which of the following policies needs to be abided?
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?
Replicated
A cache is a .
Data Backup
Copy of data
Which type of caching can be used to cache the contest registration page in a
website, to reduce the time taken to serve the page for the users?
Web Cache
Data Cache
Application Cache--co
Browser Cache
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 & II
II
I --co
A web page displays 10 items per page and has pagination enabled. What would be the
recommended way to enable efficient paging?
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--co
I & II
While using a Write Back cache, which of the following policies needs to be abided?
Write Allocate--co
Write Through
Write Around
No Write Allocate
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?
Local Cache
Partitioned
Replicated--co
Near Cache
Which of the following in a cache address, specifies the exact location in the
cache line where the requested data exists
Block Number - Wrong
Valid Bit = 0 - CO
A cache has 1024 blocks and each block can contain 1024 bits of data. What is the
size of the cache?
1 MB - Wrong
Application - Wrong
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, 10 - Wrong
When a computer processor does not gets a data item that it requires in cache, then
the problem is known as _________
Cache Hit - CO