nerdexam
Linux_Foundation

LFCS · Question #352

What strategy is used to initialize NIS maps?

The correct answer is D. Execute the make command from the /var/yp directory. NIS maps are initialized by executing the make command from the /var/yp directory on the NIS master server, which processes the Makefile to generate the necessary database files.

Submitted by fernanda_arg· Apr 18, 2026Service Configuration

Question

What strategy is used to initialize NIS maps?

Options

  • ACreate the yp.conf configuration file then restart the NIS server process.
  • BCreate the nis.conf configuration file then restart the NIS server process.
  • CStart ypserver with the -new option.
  • DExecute the make command from the /var/yp directory.

How the community answered

(62 responses)
  • A
    2% (1)
  • B
    3% (2)
  • C
    2% (1)
  • D
    94% (58)

Why each option

NIS maps are initialized by executing the `make` command from the `/var/yp` directory on the NIS master server, which processes the `Makefile` to generate the necessary database files.

ACreate the yp.conf configuration file then restart the NIS server process.

`yp.conf` is a client-side configuration file for specifying the NIS domain and server, not for initializing maps.

BCreate the nis.conf configuration file then restart the NIS server process.

`nis.conf` is not a standard NIS configuration file for map initialization.

CStart ypserver with the -new option.

The `ypserver` command is typically for starting the NIS server process, and it does not have a `-new` option for map initialization; map creation is done via `make`.

DExecute the make command from the /var/yp directory.Correct

The standard procedure for initializing or updating NIS maps involves navigating to the `/var/yp` directory on the NIS master server and executing the `make` command, which uses the `Makefile` in that directory to compile the NIS maps from source configuration files.

Concept tested: NIS map initialization

Source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-network_information_service_nis#s1-configure_nis_master_server

Topics

#NIS#Network Information Service#Map Initialization#System Administration

Community Discussion

No community discussion yet for this question.

Full LFCS Practice