nerdexam
IBM

C9010-022 · Question #162

An administrator changed the hostname of a system from dbtest.company.com to dbprod.company.com using SMIT. The new entry in /etc/hosts is: 192.168.56.100 dbprod.company.com When the administrator…

The correct answer is C. Modify /etc/netsvc.conf and set hosts = local, bind. See the full explanation below for the reasoning.

Question

An administrator changed the hostname of a system from dbtest.company.com to dbprod.company.com using SMIT. The new entry in /etc/hosts is: 192.168.56.100 dbprod.company.com When the administrator issued the host command, the following result was observed. #> host dbprod host: 0821-001 Host name dbprod does not exist. #> host 192.168.56.100 dbtest.company.com is 192.168.56.100 Until DNS records can be updated, which action will allow the host command to return the correct name and IP address?

Options

  • AModify /etc/nsswitch.conf and set hosts: files dns
  • BModify /etc/resolv.conf and specify the new nameserver
  • CModify /etc/netsvc.conf and set hosts = local, bind
  • DModify /etc/rmrouted.conf and add: dbprod "dbprod" +192.168.56.100

How the community answered

(49 responses)
  • A
    14% (7)
  • B
    8% (4)
  • C
    73% (36)
  • D
    4% (2)

Community Discussion

No community discussion yet for this question.

Full C9010-022 Practice