Did You Know?
Donate to TecMint

LFCS - Linux Foundation Certified SysAdmin - Exam Preparation Guide

Quiz 3 – “Test Yourself” 21 Linux Basic Questions

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

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?
I am a major in computer science, love to research nix. I love to write codes and scripts, review distros, experiment Foss Technologies, write technical articles, Hack, of course Ethically. I am working as System Administrator (nix) for a NGO.

Your name can also be listed here. Work as a Paid freelancer/writer at TecMint.
Download Free eBooks
Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

5 Responses

  1. mandeep kaur says:

    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.

    • Pawan says:

      Hi Mandeep,

      You did not get thge question 21 right, it say

      Where can you find all the port information in Linux?

      ans] cat /etc/services

  2. Shivanarayana Rayapati says:

    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)

  3. Arun says:

    Q3(1) – Default port for Telnet

  4. Bala says:

    1 (b)
    2 (c)
    3 (a)
    4 (a)
    5 (b)
    6 (a)
    7 (e)
    8 (d)
    9 (a)
    10 (67)
    11 (a)
    12 (d)
    13 (a)
    14 (c)
    15 (b)
    16 (d)
    17 (a)
    18 (d)
    19 (c)
    20 (b)

Leave a Reply

This work is licensed under a (cc) BY-NC | TecMint uses cookies. By using our services, you comply to use of our cookies. More info: Privacy Policy.
© 2012-2014 All Rights Reserved.