单选题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 res

题目
单选题
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

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

第1题:

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

第2题:

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

第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 options best justifies why a DNS server should be run in a large network system?()

  • A、To use ftp and telnet
  • B、To perform NFS mounts
  • C、To make /etc/hosts files unnecessary
  • D、To reduce network traffic and save bandwidth

正确答案:C

第5题:

A system is experiencing name resolution issues. The administrator has verified that /etc/resolv.conf is suitably configured using correct syntax. However, processes run by non-root users are failing to resolve any hostnames to IP addresses with the error 'No response from server'. Which tool will help trace the nslookup command in an attempt to investigate the problem?()

  • A、kdb
  • B、dbx
  • C、trace
  • D、truss

正确答案:D

第6题:

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

第7题:

On a system wide basis, which of the following procedures is best to make NIS name resolution take precedence over DNS?()

  • A、Remove the /etc/resolv.conf file
  • B、Unset the NSORDER environment variable
  • C、Add the following line to /etc/netsvc.conf: hosts=nis,bind,local
  • D、In a NIS and DNS environment, NIS takes precedence so there is nothing to change

正确答案:C

第8题:

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

第9题:

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 

正确答案:A

第10题:

New AIX systems arrive without a CDROM drive. All systems do not have the system hardware configuration. Which of the following options is the most appropriate way to install AIX on the systems?()

  • A、Install CDROM drives or tape drives on the systems because that is the only way to install AIX.
  • B、Install one system. Take a mksysb from the first system and resotre the mksysb to the remaining systems.
  • C、Install one system. Mirror rootvg onto a disk from each of the remaining systems.
  • D、Setup and NIM master and resources.

正确答案:D

更多相关问题