0% found this document useful (0 votes)
14 views4 pages

Caching Techniques

Uploaded by

Jin Bae
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views4 pages

Caching Techniques

Uploaded by

Jin Bae
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

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?

Write Allocate (co)


Caching Technique where cache is populated the first time a certain piece of data
is requested is called _.
Lazy Loading(co)
Primary objective of Cache Coherence is to ensure __ Data Consistency across all
local caches (co)
Which type of cache is recommended to store user preferences for an application
with several 100's of concurrent users?
On Demand Cache (co)

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 storage format

Small and Fast memory--co

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

None of the options mentioned

I --co

Which of the following is true about a well designed cache?

Hit Time > Miss Time

Hit Rate > Miss Rate--co

Hit Rate == Miss Rate

Hit Rate < Miss Rate

A web page displays 10 items per page and has pagination enabled. What would be the
recommended way to enable efficient paging?

Perform in-memory paging

Hit the database every time user moves to next page

Use Spatial Cache--co

Use Temporal 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--co

None of the options mentioned

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

For a cache look up to be a Hit, which of the following must be true?


Tag==Block Number and Valid Bit = 1 - CO

Which of the following is used to determine, if a piece of data in cache needs to


be written back to cache?

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

Which Caching Topology is recommended for a read intensive distributed application?

Near Cache, Local Cache - Wrong

Which Cache would be the best place to cache DNS data?

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

You might also like