0% found this document useful (0 votes)
34 views9 pages

0-IP Address MCQ

The document contains a series of questions and answers related to IP addressing, subnetting, and networking concepts. It covers topics such as default subnet masks, DHCP, multicast addresses, and usable IP addresses in various subnet configurations. Each question is followed by the correct answer and a brief explanation for clarity.

Uploaded by

Suresh Khadka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views9 pages

0-IP Address MCQ

The document contains a series of questions and answers related to IP addressing, subnetting, and networking concepts. It covers topics such as default subnet masks, DHCP, multicast addresses, and usable IP addresses in various subnet configurations. Each question is followed by the correct answer and a brief explanation for clarity.

Uploaded by

Suresh Khadka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Set-10

1. Which of the following is the default subnet mask for a classful IP address of
10.15.1.6?
a) 255.0.0.0
b) 255.255.0.0
c) 255.255.255.0
d) 255.0.255.0
Answer: a (10.0.0.0 is Class A; default mask is 255.0.0.0.)
2. Which of the following type of IP address is used to communicate 1 device to
some group of devices?
a) 192.168.10.11
b) 10.10.14.5
c) 224.23.55.46
d) 202.32.27.41
Answer: c (224.0.0.0–239.255.255.255 is the multicast range for one-to-group
communication.)
3. Which address is used to flood traffic if the subnet address is 192.168.10.0/25?
a) 192.168.10.63
b) 192.168.10.1
c) 192.168.10.127
d) 192.168.10.64
Answer: c (/25 = 255.255.255.128; range: 192.168.10.0–192.168.10.127;
broadcast is 192.168.10.127.)
4. How many usable IP addresses can we obtain by utilizing the 5 bits?
a) 30
b) 32
c) 18
d) 31
Answer: a (5 bits = 2⁵ = 32 total; subtract 2 for network and broadcast = 30
usable.)
5. You are assigned to plan a network address and thus you have said to create
address spaces of 100 devices using the address 192.168.10.1/24, what will be the
subnet mask for the said new address space?
a) 255.255.255.0
b) 255.255.255.192
c) 255.255.255.155
d) 255.255.255.128
Answer: b (100 devices need 128 addresses (2⁷); /26 = 255.255.255.192 provides
64 usable, but /25 = 255.255.255.128 (128 usable) is the smallest fitting 100.
However, options suggest /26 intent; b is closest practical choice.)
Note: Typo in c (155 is invalid); /25 is technically correct but not listed.
6. What is the decimal equivalent to binary 11110000?
a) 192
b) 248
c) 224
d) 240
Answer: d (11110000 = 128 + 64 + 32 + 16 = 240.)
7. What is the role of DHCP (Dynamic Host Configuration Protocol) in a network?
a) To translate domain names to IP addresses
b) To assign IP addresses dynamically to devices on a network
c) To establish secure connections between remote networks
d) To route packets between different subnets
Answer: b (DHCP dynamically assigns IP addresses to devices.)
8. Which of the following is not a valid private IP address range?
a) 10.0.0.0–10.255.255.255
b) 172.16.0.0–172.31.255.255
c) 192.168.0.0–192.168.255.255
d) 169.254.0.0–169.254.255.255
Answer: d (169.254.0.0/16 is for APIPA, not a standard private range like a, b, c.)
9. When IPv4 addressing is manually configured on a web server, which property of
the IPv4 configuration identifies the network and host portion for an IPv4
address?
a) DNS server address
b) Subnet mask
c) Default gateway
d) DHCP server address
Answer: b (The subnet mask separates the network and host portions of an IP
address.)
10. Which of the following IP address classes is reserved for multicast addresses?
a) Class A
b) Class B
c) Class C
d) Class D
Answer: d (Class D (224.0.0.0–239.255.255.255) is reserved for multicast.)
11. What subnet does the IP address 10.1.100.50 belong to if a subnet mask of
255.255.255.0 is used?
a) 10.0.0.0
b) 10.1.0.0
c) 10.1.100.0
d) 10.1.100.32
Answer: c (255.255.255.0 = /24; subnet is 10.1.100.0–10.1.100.255; matches key:
C.)
12. How many subnets can you create if you borrowed 3 bits from the Class C address
space?
a) 6
b) 9
c) 8
d) 4
Answer: c (3 bits borrowed = 2³ = 8 subnets from a Class C (/24) address.)
13. What would be the subnet mask, if you wish to use Class B (Classful) IP Address?
a) 255.0.0.0
b) 255.255.0.0
c) 255.255.255.0
d) 255.255.255.128
Answer: b (Class B default mask is 255.255.0.0.)
14. What does DHCP stand for?
a) Dynamic Host Configuration Protocol
b) Domain Host Configuration Protocol
c) Distributed Host Configuration Protocol
d) Digital Host Configuration Protocol
Answer: a (DHCP = Dynamic Host Configuration Protocol.)
15. A user wants to know the IP address of the PC. What is the best command to use
to accomplish the task?
a) ipconfig
b) copy running-config startup-config
c) show interfaces
d) show ip nat translations
Answer: a (ipconfig displays a PC’s IP address on Windows.)
16. The standard organization responsible for assigning and regulating IP and DNS
names globally?
a) IEEE
b) IANAGIS
c) Internet Society
d) APNIC
Answer: b (IANA (Internet Assigned Numbers Authority) manages IP and DNS
globally.)
17. How many usable host addresses are there in the subnet 192.168.1.32/27?
a) 32
b) 30
c) 64
d) 16
Answer: b (/27 = 2⁵ = 32 total; 32 - 2 = 30 usable.)
18. Which adapter card would be required for a PC to exchange information with
other PCs on a LAN?
a) NIC
b) Wireless card
c) Internet card
d) Internal modem
Answer: a (A Network Interface Card (NIC) is required for LAN
communication.)
19. Refer to the exhibit. When PC1 sends a packet to PC2, the packet has which
source and destination IP address when it arrives at interface Gi0/0 on router R2?
a) Source 192.168.10.10 and destination 10.10.2.2
b) Source 192.168.20.10 and destination 192.168.20.1
c) Source 192.168.10.10 and destination 192.168.20.10
d) Source 10.10.1.1 and destination 10.10.2.2
Answer: c (No exhibit provided, but assuming PC1 (192.168.10.10) sends to PC2
(192.168.20.10) across routers, source remains 192.168.10.10, destination is
192.168.20.10 at R2’s Gi0/0.)
20. Refer to the exhibit. When PC-A sends traffic to PC-B, which network component
is in charge of receiving the packet from PC-A, verifying the IP addresses, and
forwarding the packet to PC-B?
a) Router
b) Layer 2 switch
c) Network Interface Card
d) Layer 5 switch
PC-A: 10.10.10.0
PC-B: 10.10.10.0
Subnet mask: 255.255.255.0
Subnet mask: 255.255.255.0
Answer: b (Same subnet (10.10.10.0/24) means a Layer 2 switch handles traffic,
not a router.)
Note: IP typo in exhibit (both PCs same IP); assuming intent was different IPs in
same subnet.
21. What type of cable is used to connect a workstation serial port to a Cisco router
console port?
a) Crossover
b) Straight through
c) Coaxial
d) Rollover
Answer: d (Rollover cable is used for console connections; matches key: D.)
22. You need to configure a server that is on the subnet 192.168.19.24/29. The router
has the first available host address. Which of the following should you assign to
the server?
a) 192.168.19.0 - 255.255.255.255.0
b) 192.168.19.33 - 255.255.255.240
c) 192.168.19.26 - 255.255.255.248
d) 192.168.19.31 - 255.255.255.248
Answer: c (/29 = 255.255.255.248; range: 192.168.19.24–31; router gets .25,
server gets .26; matches key: C.)
23. How many usable IP addresses can be obtained by utilizing 7 bits in a subnet?
a) 128
b) 126
c) 64
d) 254
Answer: b (7 bits = 2⁷ = 128 total; 128 - 2 = 126 usable; matches key: B.)
24. What type of cable is used to connect a PC to a switch?
a) Crossover cable
b) Serial cable
c) Straight-through cable
d) Console cable
Answer: c (Straight-through cable connects a PC to a switch; matches key: C.)
25. Given an IP address 172.16.28.252 with a subnet mask of 255.255.240.0, what is
the correct network address?
a) 172.16.16.0
b) 172.16.24.0
c) 172.16.0.0
d) 172.16.28.0
Answer: a (255.255.240.0 = /20; range: 172.16.16.0–172.16.31.255; network is
172.16.16.0; matches key: A.)
26. A network administrator is adding a new LAN to a branch office. The new LAN
must support 25 connected devices. What is the smallest network mask that the
network administrator can use for the new network?
a) 255.255.255.128
b) 255.255.255.192
c) 255.255.255.224
d) 255.255.255.240
Answer: c (25 devices need 32 addresses (2⁵); /27 = 255.255.255.224 provides 30
usable; matches key: C.)
27. Refer to the exhibit. What is the destination IP address of the packet as it leaves
PC1 if the final destination is the web server?
a) 192.168.1.1
b) 192.168.5.1
c) 192.168.1.50
d) 192.168.5.10
Answer: d (No exhibit, but assuming web server is 192.168.5.10, destination IP
remains unchanged; matches key: D.)
28. Which of the following is the default subnet mask for a classful IP address of
12.15.30.6?
a) 255.0.0.0
b) 255.255.0.0
c) 255.255.255.0
d) 255.0.255.0
Answer: a (12.0.0.0 is Class A; default mask is 255.0.0.0; matches key: A.)
29. What does the IP address 192.168.1.160/27 represent?
a) Network address
b) Multicast address
c) Unicast address
d) Broadcast address
Answer: c (/27 range: 192.168.1.160–191; 160 is a usable host (unicast), not
network (160) or broadcast (191); key says A, but c is correct.)
30. Refer to the exhibit. Which of the following is the correct configuration for PC1?
a) IP Address 192.168.30.25; Subnet Mask: 255.255.255.192
b) IP Address 192.168.30.28; Subnet Mask: 255.255.255.192
c) IP Address 192.168.30.88; Subnet Mask: 255.255.255.248
d) IP Address 192.168.30.82; Subnet Mask: 255.255.255.248
Answer: d (No exhibit, but /26 (255.255.255.192) or /29 (255.255.255.248)
assumed; d fits a valid range; matches key: D.)
Set 1: Pages 2–6 (Answer Key on Page 7)
1. What is the total number of IPv4 addresses?
a. 32 million
b. 4 billion
c. 128 billion
d. 64 trillion
Answer: b (IPv4 uses 32 bits = 2³² ≈ 4.29 billion addresses; matches key: B.)
2. How many bits make up an IPv4 address?
a. 32 bits
b. 64 bits
c. 128 bits
d. 16 bits
Answer: a (IPv4 addresses are 32 bits; matches key: A.)
3. What is the purpose of the subnet mask in an IPv4 address?
a. Identifying the network portion
b. Identifying the host portion
c. Both a and b
d. None of the above
Answer: c (Subnet mask identifies both network and host portions; matches
key: C.)
4. In the IPv4 address 192.168.1.1, which part represents the network portion?
a. 192
b. 168
c. 1
d. 1.1
Answer: a (With default Class C mask 255.255.255.0, 192.168.1 is the
network; matches key: A.)
Note: Assumes /24; ambiguous without mask specified.
5. What is the range of valid octet values in an IPv4 address?
a. 0 to 255
b. 1 to 256
c. 0 to 127
d. 1 to 128
Answer: a (Each octet is 8 bits = 0–255; matches key: A.)
6. Which class of IPv4 addresses is reserved for multicast groups?
a. Class A
b. Class B
c. Class C
d. Class D
Answer: d (Class D (224.0.0.0–239.255.255.255) is for multicast; matches
key: D.)
7. What is the loopback address in IPv4?
a. 127.0.0.1
b. 0.0.0.0
c. 255.255.255.255
d. 192.168.0.1
Answer: a (127.0.0.1 is the standard loopback address; matches key: A.)
8. Which method is commonly used for dynamic allocation of IP addresses in
IPv4 networks?
a. DHCP (Dynamic Host Configuration Protocol)
b. ARP (Address Resolution Protocol)
c. DNS (Domain Name System)
d. ICMP (Internet Control Message Protocol)
Answer: a (DHCP dynamically allocates IP addresses; matches key: A.)
9. How many bits are used for the host portion in a Class B IPv4 address?
a. 8 bits
b. 16 bits
c. 24 bits
d. 32 bits
Answer: B (Class B uses 16 bits for network (255.255.0.0), leaving 16 bits for
hosts; none match. Key says "0," likely a typo. Correct answer: 16 bits, not
listed.)
Note: Options are incorrect; likely meant to include 16.
10. What is the purpose of NAT (Network Address Translation) in IPv4?
a. To map private IP addresses to a single public IP address
b. To increase the security of IP addresses
c. To facilitate communication between different subnets
d. All of the above
Answer: d (NAT maps private to public IPs, enhances security, and aids
subnet communication; matches key: D.)
Set 2: Pages 8–12 (Answer Key on Page 13)
1. Which of the following is not a valid IPv4 address?
a. 192.256.1.1
b. 172.16.0.1
c. 10.0.0.255
d. 255.255.255.0
Answer: a (256 exceeds the valid octet range 0–255; no key provided, but a is
correct.)
2. What is the size of each octet in an IPv4 address?
a. 4 bits
b. 8 bits
c. 16 bits
d. 32 bits
Answer: b (Each octet is 8 bits; no key provided, but b is correct.)
3. What is the maximum number of hosts in a Class C IPv4 network?
a. 128
b. 256
c. 512
d. 1024
Answer: ? (Class C (/24) = 2⁸ = 256 total, 254 usable hosts; key says B (256),
but “hosts” typically means usable, so 254 not listed. Likely intent: b.)
Note: Ambiguity in “maximum number”; b accepted per key.
4. Which class of IPv4 addresses is reserved for loopback testing?
a. Class A
b. Class B
c. Class C
d. Class D
Answer: a (127.0.0.0/8 in Class A is for loopback; matches key: A.)
5. In an IPv4 address like 192.168.1.1, which part represents the host portion?
a. 192
b. 168
c. 1
d. 1.1
Answer: c (With default /24, 1 is the host portion; matches key: C.)
Note: Assumes 255.255.255.0 mask.
6. What is the default subnet mask for a Class A IPv4 address?
a. 255.255.255.0
b. 255.0.0.0
c. 255.255.0.0
d. 255.255.255.255
Answer: b (Class A default mask is 255.0.0.0; matches key: B.)
7. What is the loopback address in IPv4?
a. 127.0.0.1
b. 0.0.0.0
c. 255.255.255.255
d. 192.168.0.1
Answer: a (127.0.0.1 is the loopback address; matches key: A.)
8. What is the maximum number of unique IPv4 addresses?
a. 2¹⁶
b. 2²⁴
c. 2³²
d. 2⁶⁴
Answer: c (IPv4 is 32 bits = 2³² ≈ 4.29 billion; matches key: C.)
9. What does IPv4 stand for?
a. Internet Version 4
b. Internet Protocol Version 4
c. International Protocol Version 4
d. Intranet Protocol Version 4
Answer: b (IPv4 = Internet Protocol Version 4; matches key: B.)
10. Which command is commonly used to check the IP configuration of a device
in a command-line interface?
a. ipconfig
b. ping
c. traceroute
d. netstat
Answer: a (ipconfig shows IP configuration; matches key: A.)
Set 3: Pages 14–15 (Answer Key on Page 19)
1. What is the purpose of an IP address?
a. To identify a website
b. To identify a device on a network
c. To secure network communication
d. To determine the network speed
Answer: b (IP addresses identify devices; matches key: B.)
2. Which class of IP address is commonly used for large networks, such as those
of big corporations or universities?
a. Class A
b. Class B
c. Class C
d. Class D
Answer: a (Class A supports large networks (2²⁴ hosts); matches key: A.)
3. What is the loopback address used for in IPv4?
a. Reserved for multicast groups
b. Reserved for private networks
c. Reserved for testing network interfaces
d. Reserved for dynamic allocation
Answer: c (Loopback (127.0.0.1) tests network interfaces; matches key: C.)
4. What is the purpose of Network Address Translation (NAT) in IPv4?
a. To map private IP addresses to public IP addresses
b. To identify the network portion of an IP address
c. To secure communication between devices
d. To allocate IP addresses dynamically
Answer: a (NAT maps private to public IPs; matches key: A.)

You might also like