LX0-104 · Question #308
Which parameter should be set in smb.conf to enable off-line caching of data files.
The correct answer is C. csc policy = documents. To enable off-line caching of data files on a Samba share, the csc policy parameter must be configured in smb.conf.
Question
Options
- Aoffline policy = documents
- Boffline = documents
- Ccsc policy = documents
- Dvfs objects = offline
How the community answered
(53 responses)- A6% (3)
- B2% (1)
- C89% (47)
- D4% (2)
Why each option
To enable off-line caching of data files on a Samba share, the `csc policy` parameter must be configured in `smb.conf`.
`offline policy` is not a standard Samba `smb.conf` parameter for client-side caching.
`offline` is not a standard Samba `smb.conf` parameter for client-side caching.
The `csc policy` (Client Side Caching policy) parameter in `smb.conf` is used to control how Windows clients can cache files from the Samba share for offline access. Setting `csc policy = documents` allows clients to cache files for offline use and automatically synchronize changes, which is a common setting for user document shares.
`vfs objects = offline` would attempt to load a VFS module named "offline," which is not the correct parameter or value for controlling client-side caching. `vfs objects` specifies a stack of VFS modules.
Concept tested: Samba `smb.conf` client-side caching
Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.