nerdexam
IBM

C4040-227 · Question #177

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: 0827-801 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/mrouted.conf and add: dbprod "dbprod" +192.168.56.100

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    81% (25)
  • D
    13% (4)

Community Discussion

No community discussion yet for this question.

Full C4040-227 Practice