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?
A.
Modify the existing /etc/nsswitch.conf file and execute:
# nscfg import -f name-service/switch
B.
Modify the existing /etc/nsswitch-conf file and execute:
# netcfg import name-service/switch
# svcadm refresh name-service/switch
C.
Modify the existing /etc/nsswitch.conf file and execute:
# svcadm restart milestone/self-assembly
D.
Use the netcfg command to modify the location profile for the DefaultFixad network
configuration profile.
E.
Use the svccfg command to set config/* properties in the name-service/switch service:
# svcadm refresh name-service/switch
# svcadm restart name-service/switch
Explanation:
A:
* nscfg
– 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
repository.
# nscfg import svc:/network/dns/client:default
* svcadm– manipulate service instances
D: netcfg
– 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.
Incorrect:
Not B: netcfg has no subcommand import.
Note:
* 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
hfhjvmmv
a &d
a and d
For E (??):
svccfg -s name-service/switch setprop config/host=ldap
svcadm refresh name-service/switch
svcadm restart name-service/switch
B, E
http://docs.oracle.com/cd/E23824_01/html/821-1455/c8switch-18904.html
Correct Answer is A E
Passed Oracle 1Z0-822 exam few days ago! Scored 8X% (the passing score is 70% now)!
I had 80 questions in total, questions were mainly on SMF, IPS, ZFS, Configuring the Network, Securing the Oracle Solairs 11 O/S, Installing Oracle Solaris 11 on multiple hosts and so on.
The 1Z0-822 exam has been revised since 2016, I do recommend you to learn the latest 1Z0-822 dumps here:
http://www.oraclebraindump.com/?s=1Z0-822
(Those are part of PassLeader 1Z0-822 dumps, suggest to get its full version 1Z0-822 dumps with VCE and PDF.)
Good Luck!