This Test paper has been designed at ETHICAL HACKING TUITION CENTER JAIPUR by satish Tiwary(Trainer) for Students of Ethical Hacking.The main motive behind designing this paper is to aware students about Linux and networking terminology and check there commands on Linux and Networking and make them ready for tackle Interview of Different IT Companies.
Students are advised to answer the question in there own language.Try to keep your answer to the point and not mention useless points in your answer.For every Right answer you will get the Marks and for every wrong answer negative Marking sytem.Post Your Answer through comments section.Total Marks:180 Pass Marks:120 Test Duration: 80Minutes
1. How will you determine which processes are running on your linux system,which hardware devices are available and how much ram is left? 4Marks
2.The system on-disk swap space needs to be increased after a memory upgrade.This new partition needs to be created,without affecting other existing partitions or mount points.All partitions should become active after each reboot. 6marks
3. The DHCP server is down. You need to get your workstation up on the network,so you have to edit the appropriate configuration files by hand to set up static networking. ( 10marks)
a.What is your current ip address and netmask and broadcast address?
b.What is your current default gateway?
c.what is your current DNS name Server?
d.how will you shutdown your network interface?
e.define layer 3 static settings.
f.verify dns and hostname resolution.
4.explain below linux commands in just few lines. (10 Marks)
a.ip addr show
bip route show
c.ifup eth0
d.cat /etc/resolve.conf
e.hostname satish.com
f. cat /etc/sysconfig/network
hostname= server.satish.com
g.shutdown - r now
h.ping -c 4 192.168.0.100
i. dig server.satish.com
5. Explain below Linux commands in short. 8Marks
a.setfacl -x u:linux:rx /home/satish.txt
b.setfacl -m d:u:student:rw /home/tiwary
c.system-config-language
d.echo $LANG
6. There are total three machine A,B and C. A login to machine C through B.Now write the configuration file of A ,B and C machine. 6 Marks
7.Answer following question: 4+15+1+1+1=23 Marks
a.what is difference between imap and pop3?
b.Write the port number of DNS,DHCP,TFTP,HTTPS,RDP,Whois,IMAP,IMAP(ssl)
c.GUI stands for
d CLI stands for
e.What is the maximum length for a file name in Linux?
8.This question is all about SSH Server.explain in short. 8Marks
a. ListeAddress 1.0.0.1:22
b. Banner /etc/issue.net
c. Protocol 2
d. PermitRootLogin no
9.configure Apache web Server named it tiwary.com and satish.com both on a single machine.
Host a php site on tiwary.com which is combination of html+php and css. Also configure a php site on satish.com such that the html is integrated inside that php file using different H1 H2 tag 10Marks
10.how to reduce or shrink the size of LVM partition in Linux?And how to rename,split,extend,reduce and merge a volume group in Linux. 10marks
11.Write all the methods to Lock a user account in Linux and also how to unlock each Lock.
10 Marks
12.what is the name and path of main linux system Log? 3 Marks
13.explain shell in Linux and how to see shells available for your Linux Machine? Also write command to change the shell of a specific user in Linux. 7marks.
14.explain Following: 3+3+2+2+2+2+2+2+2+2+2+2+2+2=30Marks
a.Mention what are the ranges for the private IP?
b.how many ways you can access router?
c.Bandwidth
d.Load
e.Delay
f.Reliability
g.MTU
h DCE
k.DTE
l.half duplex with an example
m.tcp with an example
n.udp with an example
o.Physical Layer
p.route poisoning
15.Mention all the steps to secure a Cisco router locally and Remotely. 9 marks
16. What subnet does 192.168.0.71/29 belongs to ? 5 marks
17.What valid host range is the IP address 171.25.242.112 255.255.255.0 a part of? 8marks
18. What subnet does 172.17.17.35/20 belongs to ? 8Marks
19.What is the broadcast address of the network 172.27.216.80/28 ? 5 Marks