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)
Which of the following is true about a well designed cache? Hit Rate < Miss Rate
(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?
on;y temporal (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
Which type of cache is recommended to store user preferences for an application
with several 100's of concurrent users?
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
In which type of cache, application directly interacts with database for data that
is not available in the cache?
Cache-aside
Local Cache
False
True--co
Time Based
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
Caching Technique where cache is populated the first time a certain piece of data
is requested is called _.
Lazy Loading--co
Local Population
Upfront Loading
Cache aside
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