DC Q

Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

Certainly!

Here are 20 multiple-choice questions on the topic of Telnet and SSH configuration:

1. What is the primary purpose of Telnet and SSH?

a) Sending emails

b) Remote server management

c) File sharing

d) Social networking

2. Which protocol is used by Telnet for communication?

a) HTTP

b) TCP

c) UDP

d) SMTP

3. What is the default port number for Telnet?

a) 21

b) 22

c) 23

d) 80

4. Why is Telnet considered less secure compared to SSH?

a) Telnet uses encryption for data transmission

b) Telnet sends data in plain text

c) Telnet requires a higher port number

d) Telnet has better authentication mechanisms

5. Which protocol is used by SSH for secure communication?

a) SSL

b) TLS

c) HTTPS

d) SSH

6. What is the default port number for SSH?

a) 20

b) 22
c) 23

d) 25

7. Which encryption method is commonly used by SSH to secure data transmission?

a) AES

b) DES

c) MD5

d) ROT13

8. Which command is used to establish a Telnet connection in a terminal?

a) ssh

b) telnet

c) connect

d) remote

9. What is the primary security advantage of using SSH over Telnet?

a) SSH uses stronger encryption

b) Telnet supports two-factor authentication

c) SSH is faster for file transfers

d) Telnet has better error handling

10. Which authentication method is commonly used in SSH for password-based authentication?

a) Public key

b) Private key

c) Username and password

d) Security token

11. In SSH, what is the purpose of the known_hosts file?

a) It stores the user's password

b) It stores the user's public key

c) It stores the fingerprints of remote hosts

d) It stores the SSH protocol version

12. What command is used to generate SSH key pairs?

a) ssh-keygen
b) ssh-connect

c) ssh-genkey

d) key-create

13. Which SSH configuration file allows you to specify global SSH settings?

a) ~/.ssh/config

b) /etc/ssh/sshd_config

c) /etc/ssh/ssh_config

d) ~/.ssh/authorized_keys

14. What is the default SSH username when connecting to a remote server?

a) root

b) admin

c) user

d) sshuser

15. Which SSH configuration file allows you to specify user-specific SSH settings?

a) ~/.ssh/config

b) /etc/ssh/sshd_config

c) /etc/ssh/ssh_config

d) ~/.ssh/authorized_keys

16. What command is used to test SSH connectivity to a remote server?

a) ssh-ping

b) ssh-test

c) ssh-connect

d) ssh

17. What command is used to terminate an SSH session?

a) exit

b) quit

c) stop

d) logout

18. Which SSH option is used to specify the identity file (private key) to be used for authentication?
a) -i

b) -a

c) -p

d) -k

19. Which of the following statements about Telnet is true?

a) Telnet is a secure remote access protocol.

b) Telnet encrypts data for secure transmission.

c) Telnet is primarily used for remote server management.

d) Telnet is no longer in use due to security concerns.

20. What is the main disadvantage of using Telnet for remote access?

a) It is slower than SSH.

b) It does not support remote file transfer.

c) It sends data in plain text, making it vulnerable to eavesdropping.

d) It requires a special client software for connectivity.

Answers:

1. b) Remote server management

2. b) TCP

3. c) 23

4. b) Telnet sends data in plain text

5. d) SSH

6. b) 22

7. a) AES

8. b) telnet

9. a) SSH uses stronger encryption

10. c) Username and password

11. c) It stores the fingerprints of remote hosts

12. a) ssh-keygen

13. c) /etc/ssh/ssh_config

14. c) user
15. a) ~/.ssh/config

16. d) ssh

17. a) exit

18. a) -i

19. d) Telnet is no longer in use due to security concerns.

20. c) It sends data in plain text, making it vulnerable to eavesdropping.

Certainly! Here are 20 multiple-choice questions on the topic of switch and router configuration:

1. What is the primary function of a router in a network?

a) Packet forwarding within the same network segment

b) Linking multiple network segments together

c) Filtering packets based on MAC addresses

d) Broadcasting data to all devices on a network

2. Which layer of the OSI model is primarily associated with router functionality?

a) Physical Layer

b) Data Link Layer

c) Network Layer

d) Transport Layer

3. What is the primary function of a switch in a network?

a) Assigning IP addresses to devices

b) Connecting different network types

c) Forwarding frames based on MAC addresses

d) Filtering traffic based on IP addresses

4. Which device operates at Layer 2 (Data Link Layer) of the OSI model?

a) Router

b) Hub

c) Switch

d) Firewall

5. What is the purpose of VLANs (Virtual LANs) in network configuration?

a) Enhancing wireless network security


b) Separating a physical network into multiple logical networks

c) Increasing the speed of data transmission

d) Configuring remote access to the network

6. Which of the following is true about static routing?

a) Routes are determined dynamically

b) Routes are manually configured by network administrators

c) Routes are determined by routing protocols

d) Routes change automatically based on network traffic

7. What protocol is commonly used for dynamic routing between routers?

a) TCP

b) HTTP

c) OSPF (Open Shortest Path First)

d) DNS (Domain Name System)

8. What is the purpose of NAT (Network Address Translation) in router configuration?

a) Assigning unique IP addresses to devices on a network

b) Hiding internal network addresses from external networks

c) Managing VLAN configurations

d) Enabling Quality of Service (QoS) for network traffic

9. Which command is used to view the routing table on a router?

a) show routes

b) view routing

c) route list

d) show ip route

10. Which routing protocol is commonly used for interior routing within an Autonomous System (AS)?

a) OSPF

b) BGP (Border Gateway Protocol)

c) RIP (Routing Information Protocol)

d) EIGRP (Enhanced Interior Gateway Routing Protocol)

11. What does the term "Default Gateway" refer to in network configuration?
a) The router that connects a local network to the internet

b) A secondary DNS server

c) The primary DHCP server

d) A virtual LAN (VLAN) identifier

12. What is the purpose of Quality of Service (QoS) configuration on routers and switches?

a) Determining the physical location of devices on the network

b) Prioritizing network traffic based on predefined rules

c) Assigning IP addresses to devices

d) Managing firewall settings

13. Which routing metric is typically used to determine the best path for routing?

a) Hop count

b) Bandwidth

c) IP address

d) MAC address

14. What is the purpose of the ACL (Access Control List) in router and switch configuration?

a) Controlling access to network resources based on rules

b) Assigning IP addresses to devices

c) Managing VLANs

d) Enabling remote administration

15. Which routing protocol uses the concept of autonomous systems and is commonly used on the

internet?

a) OSPF

b) RIP

c) BGP

d) EIGRP

16. What is the primary role of a router's firewall feature?

a) Ensuring network redundancy

b) Blocking unauthorized access to the network

c) Assigning IP addresses to devices


d) Improving network performance

17. Which device is known for broadcasting data packets to all devices on a network?

a) Router

b) Hub

c) Switch

d) Access Point

18. What is the primary difference between a managed and an unmanaged switch?

a) Managed switches have more ports

b) Managed switches are less expensive

c) Managed switches allow for configuration and monitoring

d) Unmanaged switches have higher data transfer rates

19. Which protocol is commonly used for secure remote management of network devices?

a) FTP (File Transfer Protocol)

b) SSH (Secure Shell)

c) SNMP (Simple Network Management Protocol)

d) RDP (Remote Desktop Protocol)

20. What is the primary function of a DHCP server in a network?

a) Assigning unique MAC addresses to devices

b) Resolving domain names to IP addresses

c) Automatically assigning IP addresses to devices

d) Managing VLAN configurations

Certainly! Here are the answers to the multiple-choice questions:

Sure, here are the answers to the multiple-choice questions:

1. b) Linking multiple network segments together

2. c) Network Layer

3. c) Forwarding frames based on MAC addresses

4. c) Switch

5. b) Separating a physical network into multiple logical networks

6. b) Routes are manually configured by network administrators


7. c) OSPF (Open Shortest Path First)

8. b) Hiding internal network addresses from external networks

9. d) show ip route

10. a) OSPF (Open Shortest Path First)

11. a) The router that connects a local network to the internet

12. b) Prioritizing network traffic based on predefined rules

13. b) Bandwidth

14. a) Controlling access to network resources based on rules

15. c) BGP (Border Gateway Protocol)

16. b) Blocking unauthorized access to the network

17. b) Hub

18. c) Managed switches allow for configuration and monitoring

19. b) SSH (Secure Shell)

20. c) Automatically assigning IP addresses to devices

Certainly, here are 20 basic multiple-choice questions on the topic of basic data communication and
networking:

1. What does the term "LAN" stand for in networking?

a) Local Access Network

b) Local Area Network

c) Long Area Network

d) Link Area Network

2. Which device is used to connect multiple computers in a LAN?

a) Router

b) Modem

c) Switch

d) Firewall
3. What is the primary purpose of the OSI model in networking?

a) To define programming languages

b) To standardize network protocols

c) To create graphical user interfaces

d) To design hardware components

4. Which layer of the OSI model is responsible for logical addressing and routing?

a) Physical Layer

b) Data Link Layer

c) Network Layer

d) Transport Layer

5. What is the function of the MAC address in networking?

a) To identify a device on a network

b) To provide internet access

c) To encrypt network traffic

d) To assign IP addresses

6. Which network topology connects all devices in a daisy-chain fashion?

a) Bus

b) Star

c) Ring

d) Mesh

7. What type of cable is commonly used to connect a computer to a router or switch?

a) HDMI cable

b) Coaxial cable

c) Ethernet cable
d) USB cable

8. What does "TCP/IP" stand for in networking?

a) Transmission Control Protocol/Internet Protocol

b) Technical Communication Protocol/Information Protocol

c) Telecommunication Control Protocol/Internet Protocol

d) Transport Control Protocol/Internet Program

9. Which protocol is used to retrieve email from a mail server?

a) FTP

b) POP3

c) HTTP

d) SMTP

10. What is the purpose of DNS in networking?

a) To secure network connections

b) To translate domain names to IP addresses

c) To create virtual private networks

d) To filter network traffic

11. What does "HTTP" stand for in web addresses (URLs)?

a) Hypertext Transfer Protocol

b) High-Tech Transmission Protocol

c) Hyperlink Transport Protocol

d) Hardware Testing Protocol

12. Which network protocol is responsible for sending email messages?

a) HTTPS

b) FTP
c) SMTP

d) DHCP

13. What is the function of a firewall in network security?

a) To provide internet access

b) To block unauthorized access and protect against threats

c) To encrypt network traffic

d) To manage IP addresses

14. What does "ISP" stand for in the context of the internet?

a) Internet Service Provider

b) Internet Security Protocol

c) Internal System Process

d) Information Sharing Platform

15. Which device is used to extend the range of a wireless network?

a) Router

b) Modem

c) Access Point

d) Switch

16. What is the purpose of a VPN (Virtual Private Network)?

a) To access virtual reality games

b) To create secure and encrypted connections over the internet

c) To store large amounts of data

d) To connect to a local area network

17. What is the maximum number of unique IP addresses in an IPv4 address?

a) 16 million
b) 256

c) 4.3 billion

d) 128

18. Which protocol is used for secure online transactions, such as online shopping?

a) HTTP

b) FTP

c) HTTPS

d) DNS

19. What does "WWW" stand for in website addresses?

a) World Wide Web

b) Web World Wide

c) Worldwide Web

d) Web Wide World

20. Which network component is responsible for directing data packets to their destination based on IP
addresses?

a) Router

b) Modem

c) Switch

d) Firewall

Answer:

Certainly! Here are the answers to the 20 multiple-choice questions on basic data communication and
networking:

1. b) Local Area Network

2. c) Switch

3. b) To standardize network protocols


4. c) Network Layer

5. a) To identify a device on a network

6. a) Bus

7. c) Ethernet cable

8. a) Transmission Control Protocol/Internet Protocol

9. b) POP3

10. b) To translate domain names to IP addresses

11. a) Hypertext Transfer Protocol

12. c) SMTP

13. b) To block unauthorized access and protect against threats

14. a) Internet Service Provider

15. c) Access Point

16. b) To create secure and encrypted connections over the internet

17. c) 4.3 billion

18. c) HTTPS

19. a) World Wide Web

20. a) Router

These answers should help you check your knowledge of basic networking concepts.

Certainly! Here are 30 basic multiple-choice questions on the topic of TCP/IP layers and networking
devices, along with their answers:

1. What is the primary purpose of the Transport layer in the TCP/IP model?

a) Data Linkage

b) Error Detection

c) End-to-end communication

d) Physical connection
Answer: c) End-to-end communication

2. Which layer of the OSI model corresponds to the Network layer in the TCP/IP model?

a) Data Link Layer

b) Transport Layer

c) Session Layer

d) Network Layer

Answer: d) Network Layer

3. Which networking device operates at the Data Link layer and forwards data frames based on MAC
addresses?

a) Router

b) Hub

c) Switch

d) Bridge

Answer: c) Switch

4. What is the primary function of a router in a TCP/IP network?

a) Filtering traffic based on MAC addresses

b) Forwarding data between different IP networks

c) Regulating electrical signals on the network cable

d) Managing wireless connections

Answer: b) Forwarding data between different IP networks

5. Which layer of the OSI model is responsible for logical addressing using IP addresses?

a) Transport Layer
b) Network Layer

c) Data Link Layer

d) Session Layer

Answer: b) Network Layer

6. Which TCP/IP protocol is responsible for resolving hostnames to IP addresses?

a) ICMP

b) ARP

c) DHCP

d) DNS

Answer: d) DNS

7. Which networking device is used to extend the range of a LAN and connects multiple segments of a
network?

a) Modem

b) Repeater

c) Router

d) Bridge

Answer: d) Bridge

8. In the TCP/IP model, which layer is responsible for error detection and correction?

a) Network Layer

b) Transport Layer

c) Data Link Layer

d) Physical Layer
Answer: c) Data Link Layer

9. Which of the following is a reliable transport protocol in the TCP/IP suite?

a) UDP

b) HTTP

c) FTP

d) TCP

Answer: d) TCP

10. What is the primary function of a firewall in a network?

a) Encrypt data transmissions

b) Filter and control network traffic

c) Manage IP address assignments

d) Amplify network signals

Answer: b) Filter and control network traffic

11. Which device can be used to connect multiple network segments and divide broadcast domains?

a) Hub

b) Router

c) Switch

d) Bridge

Answer: d) Bridge

12. Which protocol is used to automatically assign IP addresses to devices on a network?

a) DHCP

b) FTP
c) SMTP

d) POP3

Answer: a) DHCP

13. Which layer of the TCP/IP model handles flow control and error detection in data transmission?

a) Network Layer

b) Transport Layer

c) Data Link Layer

d) Physical Layer

Answer: b) Transport Layer

14. What is the primary purpose of the Physical layer in the OSI model?

a) Logical addressing

b) Error correction

c) Bit-level communication

d) Routing

Answer: c) Bit-level communication

15. Which networking device operates at the Application layer and can act as a gateway between
different network protocols?

a) Router

b) Switch

c) Firewall

d) Proxy Server

Answer: d) Proxy Server


16. Which TCP/IP protocol is used for sending and receiving email messages?

a) HTTP

b) FTP

c) SMTP

d) DNS

Answer: c) SMTP

17. Which device connects two different networks and makes decisions about forwarding data between
them based on network addresses?

a) Bridge

b) Modem

c) Switch

d) Router

Answer: d) Router

18. What is the primary purpose of a hub in a network?

a) Filtering network traffic

b) Amplifying network signals

c) Dividing broadcast domains

d) Managing IP addresses

Answer: b) Amplifying network signals

19. Which layer of the OSI model deals with establishing, maintaining, and terminating communication
sessions?

a) Physical Layer
b) Data Link Layer

c) Session Layer

d) Transport Layer

Answer: c) Session Layer

20. Which protocol is used for securely transmitting data over the web, often indicated by "https://" in
URLs?

a) FTP

b) HTTP

c) SSH

d) SNMP

Answer: c) SSH

21. What is the primary purpose of the Data Link layer in the OSI model?

a) Logical addressing

b) Error detection and correction

c) Routing

d) Flow control

Answer: b) Error detection and correction

22. Which networking device can be used to segment a LAN into multiple collision domains?

a) Router

b) Switch

c) Bridge

d) Hub
Answer: b) Switch

23. Which protocol is used for sending and receiving files over a network?

a) HTTP

b) FTP

c) SMTP

d) DNS

Answer: b) FTP

24. Which layer of the OSI model deals with the physical connection between devices, such as cables
and connectors?

a) Data Link Layer

b) Physical Layer

c) Network Layer

d) Transport Layer

Answer: b) Physical Layer

25. Which device is used to connect multiple computers in a LAN and operates at the Data Link layer?

a) Router

b) Modem

c) Switch

d) Hub

Answer: c) Switch

26. Which protocol is responsible for sending control messages to network devices, such as ping
requests?
a) ARP

b) ICMP

c) DHCP

d) SMTP

Answer: b) ICMP

27. What is the primary function of a modem in a network setup?

a) Filter incoming traffic

b) Convert digital data to analog signals for transmission over phone lines

c) Manage IP addresses

d) Switch between different network segments

Answer: b) Convert digital data to analog signals for transmission over phone lines

28. Which networking device is used to connect different LANs and route data between them?

a) Switch

b) Hub

c) Modem

d) Router

Answer: d) Router

29. What is the primary role of a proxy server in a network?

a) Provide network security

b) Amplify network signals

c) Serve as a gateway for web traffic

d) Manage IP address assignments


Answer: c) Serve as a gateway for web traffic

30. Which protocol is commonly used for retrieving email messages from a mail server to a client
device?

a) POP3

b) SMTP

c) HTTP

d) FTP

Answer: a) POP3

These questions should provide a basic understanding of TCP/IP layers and networking devices.

You might also like