nerdexam
CompTIA

LX0-104 · Question #310

Which smb.conf setting will load the audit and recycle VFS modules?

The correct answer is D. vfs objects = audit recycle. To load specific VFS (Virtual File System) modules like audit and recycle in Samba, the vfs objects parameter in smb.conf is used.

Essential System Services

Question

Which smb.conf setting will load the audit and recycle VFS modules?

Options

  • Avfs = audit recycle
  • Bvfs modules = audit,recycle
  • Cvfs modules = audit recycle
  • Dvfs objects = audit recycle

How the community answered

(59 responses)
  • A
    2% (1)
  • C
    3% (2)
  • D
    95% (56)

Why each option

To load specific VFS (Virtual File System) modules like `audit` and `recycle` in Samba, the `vfs objects` parameter in `smb.conf` is used.

Avfs = audit recycle

`vfs` is not the correct parameter name; the correct parameter is `vfs objects`.

Bvfs modules = audit,recycle

`vfs modules` is not the correct parameter name. The correct parameter is `vfs objects`.

Cvfs modules = audit recycle

`vfs modules` is not the correct parameter name. The correct parameter is `vfs objects`.

Dvfs objects = audit recycleCorrect

The `vfs objects` parameter in `smb.conf` specifies a list of Virtual File System modules that Samba should load and stack for a given share or globally. To enable the `audit` and `recycle` modules, they should be listed, separated by spaces, as `vfs objects = audit recycle`.

Concept tested: Samba VFS module configuration

Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html

Topics

#Samba VFS modules#audit module#recycle module#smb.conf

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice