Prepare for the CompTIA Cloud+ Exam with our interactive tests. Access diverse question formats with detailed explanations for each answer. Ace your exam!

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.


An administrator has implemented a /20 network for a private cloud test environment. What should be used to assign the networks?

  1. DHCP

  2. Subnet

  3. VLAN

  4. Gateway

The correct answer is: DHCP

Using DHCP (Dynamic Host Configuration Protocol) to assign networks in a /20 network setup is a suitable choice because DHCP automates the process of assigning IP addresses to devices within the network. A /20 subnet allows for a significant number of IP addresses (4096 total, with 4094 usable after reserving network and broadcast addresses), making DHCP an efficient way to manage address allocation dynamically. DHCP simplifies network management by ensuring that devices can automatically obtain their IP configuration when they connect to the network, reducing the overhead of manually configuring each device. It also allows for easier adjustments in the network as devices are added or removed. While subnetting could refer to the division of the network into smaller segments, and VLAN (Virtual Local Area Network) creates logical segments within a single physical network, DHCP serves the primary role of addressing in this scenario. A gateway, on the other hand, serves as a route for traffic between different networks rather than managing IP assignment. Therefore, using DHCP is essential for efficient network configuration and management in a cloud environment.