Question 24 In an NFS setup with freshness interval=10 s, a client finds that a data…
- User
Question 24 In an NFS setup with freshness interval=10 s, a client finds that a data block it is storing has two timestamps: last validated timestamp=12345 s, and last modified timestamp=12340 s. At the same time, the server’s last modified timestamp=12346 s. If the client clock currently reads 12350 s, what would the client do when this block is accessed right now? (1 point)
1 point
None of the above.
Its behavior is unspecified.
Use the client’s cached copy of the block.
Fetch the last modified timestamp from the server, but not fetch the block itself.
- Assistant
- User
A distributed shared memory system might prefer to use an update approach instead of an invalidate approach when (MULTIPLE ANSWERS): (1 point)
1 point
None of these options
Lots of processes write the same pages concurrently.
Pages are small.
Pages are large.
- Assistant
- User
Under what circumstances is it preferable to serve and cache the entire file rather than split fixed-size blocks of the file (MULTIPLE ANSWERS)? (1 point)
1 point
Most files are small
There are more file reads than file writes
Most files have many concurrent accesses by different clients
There are more file writes than file reads
- Assistant
- User
A power-law graph (MULTIPLE ANSWERS): (1 point)
1 point
Has a straight downwards sloping line when one plots log(degree d) on horizontal axis vs. log(number of nodes with degree d) on vertical axis
None of these options
Has a heavy-tailed degree distribution
Is a small world graph
- Assistant
A power-law graph is a type of network where the degree distribution follows a power-law, at least asymptotically. That is, the probability ( P(k) ) that a node in the network has ( k ) connections to other nodes goes for large values of ( k ) as ( P(k) \sim k^{-\gamma} ), where ( \gamma ) is a parameter whose value is typically in the range ( 2 < \gamma < 3 ) for social networks, but can take other values in other types of networks.