nerdexam
Oracle

1Z0-822 · Question #29

You need to make a permanent modification to a machine's naming service. You need to change naming service from files to LDAP. Which two alternative methods would accomplish this task?

The correct answer is A. Modify the existing /etc/nsswitch.conf file and execute: D. Use the netcfg command to modify the location profile for the DefaultFixad network configuration. import, export name service configurations subcommand import import [-fvq] FMRI If none of the SMF repository properties for the specified FMRI are currently populated, import the legacy configuration files associated with the specified FMRI into the SMF repository. Example…

Managing Network

Question

You need to make a permanent modification to a machine's naming service. You need to change naming service from files to LDAP. Which two alternative methods would accomplish this task?

Options

  • AModify the existing /etc/nsswitch.conf file and execute:
  • BModify the existing /etc/nsswitch-conf file and execute:
  • CModify the existing /etc/nsswitch.conf file and execute:
  • DUse the netcfg command to modify the location profile for the DefaultFixad network configuration
  • EUse the svccfg command to set config/* properties in the name-service/switch service:

How the community answered

(34 responses)
  • A
    82% (28)
  • B
    3% (1)
  • C
    6% (2)
  • E
    9% (3)

Explanation

  • import, export name service configurations * subcommand import import [-fvq] FMRI If none of the SMF repository properties for the specified FMRI are currently populated, import the legacy configuration files associated with the specified FMRI into the SMF repository. * Example: Importing DNS Client Configuration The following command imports the DNS client configuration, stored in resolv.conf, into the SMF # nscfg import svc:/network/dns/client:default * svcadm-manipulate service instances - create and modify network configuration profiles The netcfg utility manipulates system network configuration profiles. netcfg can be invoked interactively, with an individual subcommand, or by specifying a command file that contains a series of subcommands. / netcfg location properties include: / nameservices: enum value list: files | dns | nis | ldap Specifies the name services that should be configured, such as DNS, NIS, and LDAP. Not B: netcfg has no subcommand import. * Each workstation has a nsswitch.conf file in its /etc directory. Each line of that file identifies a particular type of network information, such as host, password, and group, followed by one or more sources, such as NIS+ tables, NIS maps, the DNS hosts table, or local /etc, where the client is to look for that information. * The Solaris platform provides the following naming services. / DNS, the Domain Name System / /etc files, the original UNIX naming system / NIS, the Network Information Service / NIS+, the Network Information Service Plus / LDAP, the Lightweight Directory Access Protocol

Topics

#naming service#nsswitch.conf#LDAP#name-service/switch

Community Discussion

No community discussion yet for this question.

Full 1Z0-822 Practice