单选题Which of the following procedures best explains how to enable the NIS name resolution to take precedence over DNS on a system-wide basis?()A  Add the following line to /etc/netsvc.conf: hosts = nis,bind,local B  edit /etc/netsvc.conf to add the followi

题目
单选题
Which of the following procedures best explains how to enable the NIS name resolution to take precedence over DNS on a system-wide basis?()
A

 Add the following line to /etc/netsvc.conf: hosts = nis,bind,local 

B

 edit /etc/netsvc.conf to add the following: process /full/path/of/process /{ hosts = local,nis,dns} 

C

 In an NIS and DNS environment, NIS takes precedence over DNS in this environment resulting in no change 

D

 Change the NSORDER environment variable 

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Theorderofnameresolutioncanbecontrolled.Thedefaultis:1.DNS/BIND2.NIS3./etc/hostsTochangetheorderoftheabovenameresolutions,whichofthefollowingshouldbeused?()

A.nslookup

B.hostname

C./etc/host.equiv

D.environmentvariableNSORDER


参考答案:D

第2题:

WhichofthefollowingproceduresbestexplainshowtoenabletheNISnameresolutiontotakeprecedenceoverDNSonasystem-widebasis?()

A.Addthefollowinglineto/etc/netsvc.conf:hosts=nis,bind,local

B.edit/etc/netsvc.conftoaddthefollowing:process/full/path/of/process\{hosts=local,nis,dns}

C.InanNISandDNSenvironment,NIStakesprecedenceoverDNSinthisenvironmentresultinginnochange

D.ChangetheNSORDERenvironmentvariable


参考答案:A

第3题:

OnAIXsystems,whereDNSresolutiontakesprecedenceoverNIS,aparticularprocessneedstoresolvenamesusing/etc/hostsfirst.Whichofthefollowingprocessesisthebestwaytoaccomplishthiswithoutaffectingtherestofthesystem’snameresolution?()

A.SettheNSORDERenvironmentalvariableoftheenvironmentwhichinvokestheprocessto:NSORDER="local,nis,bind"

B.SettheNSORDERenvironmentalvariableoftheenvironmentwhichinvokestheprocessto:NSORDER="hosts=auth,nis,bind"

C.Edit/etc/netsvc.conftoaddalinesimilartothefollowing:process/full/path/of/process{hosts=local,nis,dns}

D.UnsetNSORDERenvironmentvariableoftheenvironmentwhichinvokestheprocess


参考答案:A

第4题:

Which of the following files should contain the statement "hosts=local, bind"?()

  • A、/etc/hosts
  • B、/etc/irs.conf
  • C、/etc/netsvc.conf
  • D、/etc/resolv.conf

正确答案:C

第5题:

When planning to access the on-line documentation from a remote client, which of the following procedures should be performed on the server?()

  • A、Install and configure the HTTPServer. 
  • B、Add the name(s) of the client(s) to the httplite.conf file. 
  • C、Add the names of any clients expecting to access the documentation to the /etc/hosts file. 
  • D、No action is required.

正确答案:A

第6题:

How should a DNS client be configured?()

A.Edit the /etc/netsvc.conf file to have a nameserver and a domain search order.

B.Edit the /etc/resolv.conf file to have a nameserver and a domain search order.

C.Edit the /etc/resolv.conf file to have a nameserver, domain, and domain search order.

D.Edit the /etc/netsvc.conf file to have a nameserver, domain, and domain search order.


参考答案:C

第7题:

The order of name resolution can be controlled. The default is:   1.BIND   2.NIS   3./etc/hosts   To change the order of the above name resolutions, which of the following should be used?()

  • A、nslookup
  • B、hostname
  • C、/etc/netsvc.conf
  • D、/etc/host.equiv

正确答案:C

第8题:

Onasystemwidebasis,whichofthefollowingproceduresisbesttomakeNISnameresolutiontakeprecedenceoverDNS?()

A.Removethe/etc/resolv.conffile

B.UnsettheNSORDERenvironmentvariable

C.Addthefollowinglineto/etc/netsvc.conf:hosts=nis,bind,local

D.InaNISandDNSenvironment,NIStakesprecedencesothereisnothingtochange


参考答案:C

第9题:

On AIX systems, where DNS resolution takes precedence over NIS, a particular process needs to resolve names using /etc/hosts first.  Which of the following processes is the best way to accomplish this without affecting the rest of the system’s name resolution?()

  • A、Set the NSORDER environmental variable of the environment which invokes the process to:NSORDER="local,nis,bind"
  • B、Set the NSORDER environmental variable of the environment which invokes the process to:  NSORDER="hosts=auth,nis,bind"
  • C、Edit /etc/netsvc.conf to add a line similar to the following: process /full/path/of/process {hosts=local,nis,dns}
  • D、Unset NSORDER environment variable of the environment which invokes the process

正确答案:A

第10题:

The order of name resolution can be controlled.   The default is:   1.DNS/BIND   2.NIS  3./etc/hosts   To change the order of the above name resolutions, which of the following should be used?()

  • A、nslookup
  • B、hostname
  • C、/etc/host.equiv
  • D、environment variable NSORDER

正确答案:D

更多相关问题