nerdexam
CompTIA

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.

Essential System Services

Question

Which parameter should be set in smb.conf to enable off-line caching of data files.

Options

  • Aoffline policy = documents
  • Boffline = documents
  • Ccsc policy = documents
  • Dvfs objects = offline

How the community answered

(53 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    89% (47)
  • D
    4% (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`.

Aoffline policy = documents

`offline policy` is not a standard Samba `smb.conf` parameter for client-side caching.

Boffline = documents

`offline` is not a standard Samba `smb.conf` parameter for client-side caching.

Ccsc policy = documentsCorrect

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.

Dvfs objects = offline

`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

#Samba caching#offline files#smb.conf

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice