NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Course Name: ETHICAL HACKING
Assignment- Week 0
TYPE OF QUESTION: MCQ/MSQ/SA
Number of questions: 14
______________________________________________________________________________
QUESTION 1
What is ethical hacking?
a. Unauthorized intrusion into a system or a network, and commit malicious
activities such as privacy invasion, data theft, etc.
b. Systematically attempt to penetrate/intrude into a computer system/network on
behalf of its owner and find out threats and vulnerabilities.
Correct Answer: b
Detailed Solution: Ethical hacking is also known as penetration testing or intrusion testing
where the person systematically attempts to penetrate/intrude into a computer system,
application, network, or some other computing resources on behalf of its owner and finds out
threats and vulnerabilities that a malicious hacker could potentially exploit.
The main objective of ethical hacking is to improve the security of the system or network and fix
the vulnerabilities found during the testing.
______________________________________________________________________________
QUESTION 2:
Which of the following application(s) is/are used to secure personal laptop/desktop?
a.
b.
c.
d.
Antivirus
Virus
Malware
Firewall
Correct Answer: a, d
Detailed Solution: Antivirus applications are used to secure personal laptops/desktops. You can
also secure your system by installing a firewall software. Virus and Malware are threats, not
tools.
______________________________________________________________________________
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 3:
What does LAN stand for?
a.
b.
c.
d.
Long Area Network
Large Area Network
Local Area Network
Light Area Network
Correct Answer: c
Detailed Solution: LAN stands for local area network which is used to cover small areas like a
home, office or campus.
____________________________________________________________________________
QUESTION 4:
Which device is used to connect two different networks?
a.
b.
c.
d.
Switch
Router
Hub
Repeater
Correct Answer: b
Detailed Solution: A router is used to send data between different networks. Switch and Hub
work within a network, whereas Repeater is used to strengthen signals.
____________________________________________________________________________
QUESTION 5:
Which protocol is used to send emails?
a.
b.
c.
d.
FTP
SMTP
HTTP
SNMP
Correct Answer: b
Detailed Solution: SMTP (simple mail transfer protocol) is used to send emails. FTP is used for
file transfer, HTTP is used for web browsing, and SNMP is used to manage networks.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
____________________________________________________________________________
QUESTION 6:
Which of the following Linux commands can be used to view network configuration?
a.
b.
c.
d.
e.
ipconfig
ifconfig
ls
cd
None of these
Correct Answer: b
Detailed Solution: In Linux based systems, the ifconfig command is used to check network
configuration.
______________________________________________________________________________
QUESTION 7:
How many layers are there in the OSI model ________ ?
Correct Answer: 7
Detailed Solution: OSI consists of 7 layers. Physical, Data-link, Network, Transport, Session,
Presentation and Application.
______________________________________________________________________________
QUESTION 8:
Which of the following is/are transport layer protocol(s)?
a.
b.
c.
d.
UDP
TCP
IP
Ethernet
Correct Answer: a, b
Detailed Solution: Ethernet is data link layer protocol, IP is network layer protocol, UDP and
TCP are transport layer protocols.
______________________________________________________________________________
QUESTION 9:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Which layer of the OSI model is responsible for reliable data transmission?
a.
b.
c.
d.
Data-Link
Network
Transport
Application
Correct Answer: c
Detailed Solution: Transport layer handles reliable data transfer, Application layer is
responsible for user interface, Network Layer handles routing, and Datalink handles framing and
error detection.
______________________________________________________________________________
QUESTION 10:
Which port number is normally used by HTTP?
a.
b.
c.
d.
80
20
21
110
Correct Answer: a
Detailed Solution: By default, port 80 is used by HTTP, 20/21 is used for FTP, and 110 is used
for PoP3 email.
______________________________________________________________________________
QUESTION 11:
Which of the following is not a valid IP address?
a.
b.
c.
d.
192.168.1.9
255.102.3.25
225.256.10.3
192.168.9.1
Correct Answer: c
Detailed Solution: IP octets range between 0 to 255, thus the IP given in option (c) is invalid.
______________________________________________________________________________
QUESTION 12:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
In IPv6, the number of bits used in IP address is _______.
Correct Answer: 128
Detailed Solution: IPv6 addresses are 128 bit long, written in hexadecimal and separated by
colons.
____________________________________________________________________________
QUESTION 13:
Which of the following command(s) can be used to check the reachability of one system from
another?
a. ping
b. ls
c. mkdir
d. None of these
Correct Answer: a
Detailed Solution: ping command can be used to check the reachability of one system from
another.
_____________________________________________________________________________
QUESTION 14:
Which of the following networks is used to cover small area like a room/building?
a.
b.
c.
d.
LAN
WAN
MAN
None of these
Correct Answer: a
Detailed Solution: LAN is used to provide networking facility in small area like a
room/building.
___________________________________________________________________________
************END**********