CompTIA Server+ (SK0-004) Practice Exam 2026 – The All-in-One Resource to Secure Your Certification Success!

Session length

1 / 20

What is the subnet mask for the static IP address 10.152.0.4/21?

255.248.0.0

255.255.128.0

255.255.248.0

The IP address 10.152.0.4 with a subnet mask designation of /21 indicates that the first 21 bits are used for the network part of the address. To derive the subnet mask from this CIDR (Classless Inter-Domain Routing) notation, it is useful to convert the prefix length of /21 into its dotted-decimal format.

In binary, a subnet mask for /21 indicates that the first 21 bits are set to '1' and the remaining 11 bits are set to '0'. The binary representation would look like this:

```

11111111.11111111.11111000.00000000

```

When you convert each of the blocks of 8 bits into decimal, you get the following:

- The first block (11111111) is 255.

- The second block (11111111) is 255.

- The third block (11111000) is in decimal 248.

- The last block (00000000) is 0.

Combining these gives you the full subnet mask: 255.255.248.0. This means that for any device within this subnet, the network range will include addresses that share the first 21 bits

255.255.255.248

Next question

Find the option that is right for you!

All options are one-time payments.

$12.50

30 day premium pass

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
👑$30.00 $87.50 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $87.50 usd value for $30.00! You save $57.50!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$12.50 $18.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy