Quiz 3 – “Test Yourself” 21 Linux Basic Questions

This is the third post of “Test Yourself Series“. This Series was aimed to make you learn, interactively and it has seen good response from the users part, so far. This post is aimed at making you aware of most of the Ports, and is very much useful for the Interview point of view. Before starting the Quiz, let me tell you some of the theoretical part of the section PORTS.

Linux Ports Questions
Linux Quiz 3 – Linux Ports
What is a Port

In computer networking, the term port is an application or process specific software that refer to either physical or virtual communications endpoint in a computer’s host operating system.

Range of Ports

0 to 65535, hence a total of 65536 ports are available. A port Number filed is 16 Bit, a limitation of TCP/IP stack. Hence available ports are 216 = 65536.

Can I change the Default port number to custom port Number? – YES!

How do I see open ports on Linux System?

# nmap

Moving ahead, here we brining the most 21 Questions on Ports. So, Post your Answers in Comment Section along with Reasons and do mention your Name and Email ID. You are supposed to provide Answer exactly in the format as shown.

Answer: 
1(a) - xyz, 
2(d) - xyz
3(c) - xyz
.....
.....
.....

Answering in any other than the above said format will lead to rejection of your comment, without any consideration.

Based upon Lucky Contest we will post the Name and Photo of the WINNER on TecMint Homepage, who gets maximum right answer. This contest is open till Saturday September 14th, 2013, 1:00 PM IST. Hurry Up! Get Famous through us.

Please attention, WINNER will be announced on Monday 16th September 2013. Make sure you add correct Name and Email ID when you enter answers. Which will help us to contact you via email.

Quiz 3: 21 Basic Questions on Ports

Q1: The default Port number used by File Transfer Protocol?
  1. 20
  2. 21
  3. 22
  4. None of the Above
Q2: The Port number used by Secure Shell?
  1. 997
  2. 8080
  3. 22
  4. None of the Above
Q3: Port number 23 Used by?
  1. Default port for Telnet
  2. Reserved
  3. Default Port for Msp
  4. Default Port for Qotd
Q4: Simple Mail Transfer Protocol (SMTP) uses port Number
  1. 25
  2. 24
  3. 80
  4. 1
Q5: Host Name Server by default, is configured to use Port Number
  1. 41
  2. 42
  3. 43
  4. 44
Q6: Which of the following Service(s) use Port Number 80
  1. http
  2. apache
  3. www
  4. www-http
  5. All of the Above
Q7: SQL Services (sqlserv) is configured to use Port Number
  1. 115
  2. 116
  3. 117
  4. 118
  5. None of the Above
Q8: Hyper Text Transfer Protocol with Secure Socket Layer (https) run on Port?
  1. 80
  2. 8080
  3. 8443
  4. 443
  5. None of the Above
Q9: The Domain Name Sevrer uses Port Number
  1. 53
  2. 54
  3. 55
  4. 56
  5. None of the Above
Q10: Dynamic Host Configuration Protocol (DHCP) uses Port
  1. 67
  2. 68
  3. 69
  4. 70
Q11: POP3 is a Mail delivery Agent uses Port Number
  1. 110
  2. 111
  3. Both (a) and (b)
  4. None of the Above
Q12: NetBIOS (nmbd) is configured on Port Number
  1. 107
  2. 117
  3. 127
  4. 137
Q13: SMB-Samba (smbd) uses Port Number
  1. 139
  2. 149
  3. 159
  4. 169
Q14: Internet Message Access Protocol (IMAP) Uses Port
  1. 147
  2. 144
  3. 143
  4. 148
Q15: Lightweight Directory Access Protocol (LDAP), uses Port Number
  1. 388
  2. 389
  3. 470
  4. 10
Q16: ‘rsync’ uses Port Number
  1. 573
  2. 673
  3. 773
  4. 873
Q17: Mysql is Configured on Port Number
  1. 3306
  2. 27
  3. 29
  4. 30
Q18: Network File System (NFS) runs on Port
  1. 700
  2. 1899
  3. 2000
  4. 2049
Q19: Open Virtual Private Network (VPN) uses Port
  1. 1182
  2. 1192
  3. 1194
  4. 1195
Q20: X Window System Port Numbers Range
  1. 5000-5063
  2. 6000-6063
  3. 7000-7063
  4. 8000-8063
Q21: Where can you find all the port information in Linux?

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Avishek
A Passionate GNU/Linux Enthusiast and Software Developer with over a decade in the field of Linux and Open Source technologies.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

7 Comments

Leave a Reply
  1. 1(b) : 21
    2(c) : 22
    3(a) : Default port for Telnet
    4(a) : 25
    5(b) : 42
    6(a) : http
    7(d) : 118
    8(d) : 443
    9(a) : 53
    10(a) : 68
    11(a) : 110
    12(d) : 137
    13(a) : 139
    14(c) : 143
    15(b) : 389
    16(d) : 873
    17(a) : 3306
    18(d) : 2049
    19(c) : 1194
    20(a) : 5000-5063
    21 : netstat

    Reply
  2. 1.(b)
    2.(c)
    3.(a)
    4.(a)
    5(a)
    6.(a)
    7.(e)
    8.(d)
    9.(a)
    10.(a) 67 for server, (b) 68 for client
    11.(a)
    12.(d)
    13.(a)
    14.(c)
    15.(b)
    16.(d)
    17.(a)
    18.(d)
    19.(c)
    20.(b)
    21.(netstat -tulpn)

    Reply
  3. Q1(b) – 21
    Q2(c)-22
    Q3(a)-default port for telnet
    Q4(a)25
    Q5(a)-41
    Q6(a)-http
    Q7(e)-none of these
    Q8(d)-443
    Q9(a)-53
    Q10(a,b)-67 for server and 68 for client
    Q11(a)-110
    Q12(d)-137
    Q13(a)-139
    Q14(c)-143
    Q15(b)-389
    Q16(d)-873
    Q17(a)-3306
    Q18(d)-2049
    Q19(c)-1194
    Q20(b)-6000-6063
    Q21- if you want to see all the used and listening ports on your computer, you’d use the NETSTAT command.

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.