Prepare for the Internet of Things (IoT) Exam with comprehensive quizzes. Utilize flashcards and multiple choice questions, each with hints and explanations. Get set for success!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


How many bytes are there in an IPv4 address?

  1. 32

  2. 4

  3. 16

  4. 64

The correct answer is: 4

An IPv4 address consists of 32 bits, which can also be represented as 4 bytes. Each byte is composed of 8 bits, so when you divide the total number of bits (32) by the number of bits in a byte (8), you arrive at 4. This structure allows for the IPv4 address to be formatted in a human-readable way, commonly presented as four decimal numbers separated by dots (for example, 192.168.1.1). Each of those numbers corresponds to one byte of the overall address. Therefore, the correct understanding of the size of an IPv4 address in terms of bytes is indeed 4.