nerdexam
IBM

000-221 · Question #52

What action will prevent the nfsd subsystem from activating at boot time?

The correct answer is C. Remove the /etc/exports file. On AIX, the rcnfs startup script checks for the presence of /etc/exports before starting the NFS server daemon, so removing this file prevents nfsd from activating at boot.

Networking

Question

What action will prevent the nfsd subsystem from activating at boot time?

Options

  • AUpdate /etc/inetd.conf to remove the call to startsrc for the NFS subsystem group.
  • BChange the Action attribute from 'wait' to 'once' for the rcnfs line within the /etc/inittab.
  • CRemove the /etc/exports file.
  • DAmend the permissions of/etc/rc.tcpip file to remove execution rights.

How the community answered

(24 responses)
  • A
    17% (4)
  • B
    8% (2)
  • C
    71% (17)
  • D
    4% (1)

Why each option

On AIX, the rcnfs startup script checks for the presence of /etc/exports before starting the NFS server daemon, so removing this file prevents nfsd from activating at boot.

AUpdate /etc/inetd.conf to remove the call to startsrc for the NFS subsystem group.

The nfsd subsystem is managed through SRC and inittab, not through /etc/inetd.conf, so modifying inetd.conf has no effect on NFS server startup.

BChange the Action attribute from 'wait' to 'once' for the rcnfs line within the /etc/inittab.

Changing the Action attribute for the rcnfs inittab entry to 'once' would still execute the rcnfs script at boot and potentially start nfsd if exports are defined.

CRemove the /etc/exports file.Correct

The AIX rcnfs initialization script reads /etc/exports to determine which filesystems to export and whether to start the NFS server subsystem. If /etc/exports does not exist, the script finds no filesystems to export and skips starting nfsd, effectively preventing the subsystem from activating at boot time.

DAmend the permissions of/etc/rc.tcpip file to remove execution rights.

Removing execution rights from /etc/rc.tcpip would broadly disrupt all TCP/IP service initialization, not selectively prevent NFS startup.

Concept tested: AIX NFS server boot-time activation via exports file

Source: https://www.ibm.com/docs/en/aix/7.3?topic=nfs-exporting-file-systems

Topics

#NFS#nfsd#boot services#exports file

Community Discussion

No community discussion yet for this question.

Full 000-221 Practice