Caching Techniques Fresco Play MCQs Answers
Quiz on Introduction to Caching
1.Which type of caching can be used to cache the contest registration page in a website, to reduce the time taken to display the page for the users?
- Application Cache
- Data Cache
- Browser Cache
- Web Cache
Answer: 1)Application Cache
2.A cache is a ______________.
- Copy of data
- Data storage format
- Data backup
- Small and fast memory
Answer: 4)Small and fast memory
- List of Fresco Play Courses without Hands-On | Fresco Play
- HMTL5 Semantics Elements MCQs Answers | Fresco Play
- HMTL5 Semantics Elements Hands-On Solutions | Fresco Play
- Styling with CSS3 Hands-On Solutions | Fresco Play
- Blockchain Intermedio MCQs Answers | Fresco Play
- Blockchain - Potentes Nexus MCQs Answers | Fresco Play
- Azure Essentials MCQs Answers | Fresco Play
- AWS Essentials MCQs Answers | Fresco Play
Quiz on Distributed Cache Types
1.In which type of cache does the application directly interacts with database for data that is not available in the cache?
- Read Through Cache
- Write Through Cache
- Cache-aside
- Local Cache
Answer: 3)Cache-aside
2.In which type of cache does the application treats cache as the main data store, reads data from it and writes data to it? (I) Read Through/Write Through Cache (II) Cache-aside
- I and II
- II
- None of the options
- I
Answer: 4)I
Quiz on Cache Organization and Locality
1.Which of the following is true about a well-designed cache?
- Hit Time > Miss Time
- Hit Rate < Miss Rate
- Hit Rate == Miss Rate
- Hit Rate > Miss Rate
Answer: 4)Hit Rate > Miss Rate
2.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
- I
- None of the options mentioned
- II
- I and II
Answer: 3)II
3.A web page displays ten items per page and has pagination enabled. What would be the recommended way to enable efficient paging?
- Perform in-memory paging
- Use Spatial Cache
- Hit the database every time the user moves to the next page
- Use Temporal Cache
Answer: 2)Use Spatial Cache
4.Which of the following types of data exhibits Spatial Locality?
- Look Up Table
- All the options mentioned
- Array
- Counter
Answer: 3)Array
Quiz on Cache Operations
1.Which type of cache is recommended to store user preferences for an application with several 100s of concurrent users?
- Primed Cache
- On Demand Cache
- Data Cache
- Near Cache
Answer: 2)On Demand Cache
2.The primary objective of Cache Coherence is to ensure __________.
- Data Consistency across all local caches
- Improved Cache Performance
- Improved Cache Resilience
Answer: 1)Data Consistency across all local caches
3.Caching Technique where cache is populated the first time a certain piece of data is requested is called _________.
- Lazy Loading
- Local Population
- Upfront Loading
- Cache aside
Answer: 1)Lazy Loading
4.While using a Write Back cache, which of the following policies needs to be abided?
- Write Around
- Write Through
- No Write Allocate
- Write Allocate
Answer: 4)Write Allocate
Caching Techniques Final Assessment
1.A byte addressable direct-mapped cache has 1024 blocks/lines, with each block having eight 32-bit words. How many bits are required for block offset, assuming a 32-bit address?
- 10
- 15
- 3
- 5
Answer: 4)5
2.A cache has 1024 blocks, and each block can contain 1024 bits of data. What is the size of the cache?
- 0.25 MB
- 1 MB
- 0.125 MB
- 0.5 MB
Answer: 3)0.125 MB
3.Cache Performance or Average Memory Access Time (AMAT) depends on which of the following?
- All options mentioned
- Frequency of Cache Miss
- Time taken to get data from main memory
- Time taken to get data from cache
Answer: 1)All options mentioned
4.Line size in a cache is recommended to be a power of 2.
- True
- False
Answer: 1)True
5.Which of the following in a cache address specifies the exact location in the cache line where the requested data exists?
- Tag
- Block Offset
- Block Number
- Block Index
Answer: 2)Block Offset
6.When a computer processor does not get a data item that it requires in the cache, it is known as _________.
- Cache Miss
- Cache Read
- Write Miss
- Cache Hit
Answer: 1)Cache Miss
7.In which type of cache does the application directly interacts with database for data that is not available in the cache?
- Cache-aside
- Write Through Cache
- Read Through Cache
- Local Cache
Answer: 1)Cache-aside
8.For a cache look up to be a Hit, which of the following must be true?
- Tag==Block Number and Valid Bit = 1
- Tag==Block Number and Valid Bit = 0
- Tag==Block Offset and Valid Bit = 1
- Tag==Block Offset and Valid Bit = 0
Answer: 1)Tag==Block Number and Valid Bit = 1
9.Which type of cache reference locality aims at designing cache to store Recently Referenced Data assuming that the same data will be requested frequently?
- Spatial Locality
- Either Temporal or Spatial
- None of the options
- Temporal Locality
Answer: 4)Temporal Locality
10.Which of the following is true about the cache?
- Line size > Block size
- Line size == Block size
- None of the options mentioned
- Line size < Block size
Answer: 2)Line size == Block size
11.Which would be the best place to cache DNS data?
- Proxy
- Data
- Application
- Browser
Answer: 1)Proxy
12.Which of the following is used to determine if a piece of data that needs to be written back to the cache?
- Dirty Bit = 1
- Valid Bit = 1
- Dirty Bit = 0
- Valid Bit = 0
Answer: 1)Dirty Bit = 1
13.Which Caching Topology is recommended for a read intensive distributed application?
- Local Cache
- Replicated
- Near Cache
- Partitioned
Answer: 2)Replicated
- List of Fresco Play Courses without Hands-On | Fresco Play
- HMTL5 Semantics Elements MCQs Answers | Fresco Play
- HMTL5 Semantics Elements Hands-On Solutions | Fresco Play
- Styling with CSS3 Hands-On Solutions | Fresco Play
- Blockchain Intermedio MCQs Answers | Fresco Play
- Blockchain - Potentes Nexus MCQs Answers | Fresco Play
- Azure Essentials MCQs Answers | Fresco Play
- AWS Essentials MCQs Answers | Fresco Play
Post a Comment
Any comments and suggestion will be appreciated.