15 Real time Linux Interview Questions and Answers | Tech Arkit |





Which of the following directory will hold the network configuration files?



 /etc

 /etc/sysconfig/network.scripts/

 /var/sysconfig

 /etc/sysconfig/



Ravi as system administrator wants to enable DHCP server in on machine. The server should allow the clietns to use the IP upto 4 hours which of the follow parameters will help him?



 maximum lease time 1200

 maximum lease time 7200

 maximum lease time 8400

 maximum lease time 14400



which of the following command can be used to check whether DNS is configured correctly?



 ping

 nslookup

 ipconfig

 ip addr



which of the following daemons are needed for SAMBA to handle its work?



 smb

 smb & nmb

 nmb

 smb & ssh



what of the following configuration should be done to enable auto mounting in client side?



 NFS

 Autofs

 Samba

 nmb



which of the following command can be used to display the logical volumes present in the system?



 pvdisplay

 lvm

 vgdisplay

 lvdisplay



which of the following parameters should be set in the dhcp configuration file so that a client will get a fixed ip?



 reserved-ip

 fixed-address

 reserved-address

 fixed-ip



which of the following is the configuration file related to DNS?



 /etc/named.conf

 /var/named.conf

 /var/named

 /var/www/html/



which of the following entry should be made in the network configuration file of client to contact a dns server?



 IPADDR=

 DOMAIN=

 DNS1=

 IPADDRDNS=



Which of the following service can be used for file sharing?



 nfs

 DHCP

 DNS

 Virtual Web Hosting



Which of the following is FALSE regarding logical volume?



 It is necessary to mount the logical volume to access it

 It is possible to make logical volume by specifying either number of extents or size

 More than one logical volume can be made from a single volume group

 It is not necessary to mount the logical volume to access it



Which of the following is called as document root with respect http server?



 /etc/http/conf.d

 /etc/httpd/conf.d

 /var/www/html

 /etc/www/html



Vinesh Enabled samba share in server2.techarkit.com (IP 192.168.2.5) He wants to check that all shares from remote client. Which of the following command will help to check?



 smbclient -L 192.168.2.5

 smbclient -U vinesh

 smbclient -L localhost

 smbclient -l server2



Ramana as system administrator manages the DHCP server. He wants to check the client details which is getting dynamic IP address from the DHCP server. Which of the following file can be used for this purpose?



 /var/lib/dhcpd/dhcpd.leases

 /etc/dhcp.conf

 /usr/share/doc/dhcp-version/dhcpd.conf.example

 /usr/lib/dhcpd/dhcpd.example



Which of the following file system is used for SAMBA file sharing?



 NFS

 EXT3

 XFS

 CIFS


No comments:

Post a Comment