Jump to content


Some doubtful questions for 310-202 exam


  • Please log in to reply
6 replies to this topic

#1 sco1984

sco1984

    Super Member

  • Members
  • PipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Asia
  • Interests:IT Infrastructure administration

Posted 31 December 2010 - 04:53 PM

Hello,

I have started studying for 310-202 exam. Coming across few doubtful questions.
I hope Sun experts here can answer. I'll post multiple questions under this thread. :rolleyes:

Q. You are trying to isolate a DNS lookup problem. You suspect it is a bad entry in the Name Service switch file,so you are going to try a test query of the Name Service. Which command will directly reference the Name Service switch file and verify that the return actions are properly placed?

Options >
-ypcat
-getent
-nslookup
-ldaplist

I am not sure if getent is the right answer. I would go for nslookup. Any help?

Regards,
Amey.
  • 0

#2 yoz

yoz

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 11 January 2011 - 07:39 PM

Hi,

getent is the right answer.
more info about getent: http://www.softpanor...is_getent.shtml
  • 0

#3 reginald herring

reginald herring

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 30 June 2011 - 05:47 PM

always check the man pages. Following are excerpts from getent(1M)

getent gets a list of entries from the administrative data-
base specified by database. The information generally comes
from one or more of the sources that are specified for the
database in /etc/nsswitch.conf.


getent prints out the database entries that match each of
the supplied keys, one per line, in the format of the match-
ing administrative file: passwd(4), group(4), project(4),
hosts(4), services(4), protocols(4), ethers(4), networks(4),
or netmasks(4). If no key is given, all entries returned by
the corresponding enumeration library routine, for example,
getpwent() or gethostent(), are printed. Enumeration is not
supported on ipnodes, ethers, and netmasks.
  • 0

#4 reginald herring

reginald herring

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 19 July 2011 - 10:56 PM

haha, just because I am bored as hell... the question states:

"Which command will directly reference the Name Service switch file and verify that the return actions are properly placed?"

therefore, nslookup would be incorrect as it queries Internet domain name servers.
  • 0

#5 sco1984

sco1984

    Super Member

  • Members
  • PipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Asia
  • Interests:IT Infrastructure administration

Posted 20 July 2011 - 03:37 PM

1 more doubtful question I came across >>

Preparing Solaris 10 JumpStart on several machines. Which services can be provided in sysidcfg by using a name service? [ 3 optiond to choose ]

-netmask
-time zone
-IP address
-domain name
-security policy

Answer given in book is > netmask,time zone & IP address.

I think time zone should not be and its domain name. Any 1 can tell me correct options?
  • 0

#6 reginald herring

reginald herring

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 20 July 2011 - 08:16 PM

1 more doubtful question I came across >>

Preparing Solaris 10 JumpStart on several machines. Which services can be provided in sysidcfg by using a name service? [ 3 optiond to choose ]

-netmask
-time zone
-IP address
-domain name
-security policy

Answer given in book is > netmask,time zone & IP address.

I think time zone should not be and its domain name. Any 1 can tell me correct options?



from sundocs: http://dlc.sun.com/o...onsysid-3.html' class='bbc_url' title='External link' rel='external'> http://dlc.sun.com/osol/docs/content/SOLINSTALLNET/preconsysid-3.html :
You can specify the time zone in the sysidcfg file or the naming service databases.

and more sun docs in another place: http://download.orac...5534/index.html :
You can use the name_service keyword to configure the naming service, the domain name, and the name server for the system. The following sample shows the general syntax for the name_service keyword.

That means, you have to explicitly set a domain name when you use naming_services. maybe :)
  • 0

#7 sco1984

sco1984

    Super Member

  • Members
  • PipPipPipPip
  • 501 posts
  • Gender:Male
  • Location:Asia
  • Interests:IT Infrastructure administration

Posted 24 August 2011 - 05:46 AM

1 more question which looks like having wrong answer

What statement correctly describes the following output?

#metadb
flags first blk block count
a u 16 8192 /dev/dsk/c1t1d0s0

options >>

A. The first volume is 8192 blocks in size.
B. The state database replica is 4 mb in size.
C. This site has followed the Sun guidelines for replicas
D. The slice c1t1d0s0 has 8192 disk blocks of free space.

I think option "A" is the correct answer.
Any suggesions? In book answer given is "B".
  • 0





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users