Networking Concepts

538 questions

Question 121Question

A network engineer analyzing IPv6 packet captures and router header structures needs to map specific IPv6 header fields to their operational functions. Match each IPv6 header field on the left with its corresponding function on the right.

Click a left item, then click its matching right item

Items

Traffic Class
Next Header
Flow Label
Hop Limit

Matches

Show answer & explanation

Answer

Traffic Class maps to packet classification and QoS marking; Next Header specifies upper-layer protocols or extension headers; Flow Label identifies real-time packet streams without deep packet inspection; Hop Limit replaces TTL and decrements at each hop to prevent routing loops.
Traffic Class corresponds to QoS and DSCP marking (replacing IPv4 ToS); Next Header points to the payload protocol or extension header chain; Flow Label identifies packet streams to enable efficient handling without deep packet inspection; Hop Limit replaces IPv4 TTL to prevent looping packets.

Step-by-Step Solution

1
Analyze the Traffic Class field
Identified as the 8-bit field handling DSCP/ECN values for packet prioritization.
Traffic Class replaces the IPv4 Type of Service (ToS) byte.
2
Analyze the Next Header field
Identified as the 8-bit field defining upper-layer payload or chaining extension headers.
In IPv6, protocol encapsulation or additional header options are linked via Next Header fields.
3
Analyze the Flow Label field
Identified as the 20-bit field identifying specific traffic flows for specialized routing.
Flow Label allows routers to handle real-time audio/video streams consistently without looking beyond the IPv6 base header.
4
Analyze the Hop Limit field
Identified as the 8-bit field decremented at each layer 3 hop.
Hop Limit serves the identical loop prevention purpose as IPv4 Time to Live (TTL).

Key Concept

IPv6 Base Header Fields and Functions
Estimated Time:2m 0s
Question 122Question

A network technician is configuring an automated event notification system to send non-critical status alerts across the local network. The system requires a low-overhead transport layer protocol that transmits datagrams immediately without establishing a prior session or requiring packet delivery acknowledgments. Which protocol best fulfills these requirements?

Show answer & explanation

Answer: User Datagram Protocol (UDP)

Answer

User Datagram Protocol (UDP) is the correct choice because it is a connectionless Transport layer protocol with minimal overhead that sends datagrams without establishing an initial session or expecting delivery acknowledgments.
User Datagram Protocol (UDP) is a connectionless Transport layer protocol. It transmits data without initiating a connection handshake, maintaining session state, or expecting reception acknowledgments, providing the lowest possible protocol overhead for non-critical notification alerts.

Step-by-Step Solution

1
Identify the OSI layer and operational requirements specified in the scenario.
The requirements demand a Transport layer (Layer 4) protocol that is connectionless (no prior session establishment), unacknowledged, and low-overhead.
Categorizing the parameters allows for filtering out incorrect OSI layers and protocol operational modes.
2
Compare transport layer protocol characteristics.
UDP operates connectionlessly without handshake overhead or delivery guarantees, whereas TCP requires a three-way handshake, sequence numbers, and acknowledgments.
UDP is specifically designed for scenarios where fast, low-overhead transmission is prioritized over guaranteed delivery.

Key Concept

Connection-Oriented vs Connectionless Transport Protocols
Question 123Question

During a network troubleshooting session, a network technician isolates an issue to the Data Link Layer (Layer 2) of the OSI reference model while examining Ethernet traffic on a managed switch port. Which of the following functions or operations are performed specifically at Layer 2 of the OSI model? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Encapsulating network-layer packets into frames containing physical source and destination MAC addresses; Performing bit-level error detection across the physical media using a Frame Check Sequence (FCS) trailer

Answer

The functions performed at Layer 2 (Data Link Layer) are encapsulating packets into frames with physical MAC addresses and detecting errors using a Frame Check Sequence (FCS) trailer.
The Data Link Layer (Layer 2) formats network data into frames using physical MAC addresses for node-to-node delivery on a local network segment and appends a Frame Check Sequence (FCS) to detect frame corruption.

Step-by-Step Solution

1
Identify the primary scope of OSI Layer 2 (Data Link Layer).
Layer 2 provides node-to-node transfer within a single local network segment, relying on hardware (MAC) addressing, frame formatting, and link error detection.
Distinguishing layer boundary functions ensures accurate network isolation during troubleshooting.
2
Evaluate each function against OSI layer assignments.
MAC address encapsulation and FCS frame check calculations are Layer 2 processes. IP routing operates at Layer 3, while sequence-based flow control operates at Layer 4.
Protocol Data Unit (PDU) structures differ by layer; frames and MACs belong to Layer 2, packets to Layer 3, and segments to Layer 4.

Key Concept

OSI Data Link Layer (Layer 2) Functions and PDUs
Question 124Question

A network technician is configuring switches in a small office environment and needs to segment network traffic using Virtual Local Area Networks (VLANs). Which TWO of the following statements correctly describe the primary operational characteristics of VLANs?

Select all that apply

Show answer & explanation

Answer: VLANs divide a single physical Layer 2 switch into multiple separate logical broadcast domains.; Hosts assigned to different VLANs require a Layer 3 routing mechanism to communicate with each other.

Answer

The primary operational characteristics of VLANs are that they divide a single physical switch into multiple separate logical broadcast domains, and hosts on different VLANs require a Layer 3 routing mechanism to communicate.
VLANs logically divide physical switches into distinct broadcast domains, which isolates broadcast traffic to specific groups of ports. Additionally, because hosts in different VLANs reside in separate Layer 2 domains, traffic between them cannot be switched directly at Layer 2 and must be routed using a Layer 3 device.

Step-by-Step Solution

1
Analyze how VLANs affect broadcast domains at Layer 2.
Configuring VLANs partitions a switch's physical ports into isolated logical broadcast domains.
Broadcast frames are restricted to only those ports participating in the same VLAN.
2
Determine how communication occurs between separate VLANs.
Direct Layer 2 switching between different VLANs is restricted.
Traffic must be forwarded to a router or Layer 3 switch perform inter-VLAN routing to cross logical boundaries.

Key Concept

VLAN Segmentation and Inter-VLAN Routing Requirements
Question 125Question

A systems engineer is reviewing the transport protocol requirements for an industrial telemetry network. The architecture requires real-time broadcast of environmental sensor data where minimal delay is critical and minor packet loss is tolerable. Simultaneously, the system requires a mechanism to push critical firmware updates to remote controllers where every packet must be delivered accurately and in order. Which of the following statements correctly describe the characteristics and transport protocol choices appropriate for this deployment? (SELECT TWO)

Select all that apply

Show answer & explanation

Answer: UDP is preferred for the real-time sensor stream because its connectionless nature reduces protocol overhead and transmission latency.; TCP is necessary for firmware pushes because connection-oriented mechanisms guarantee data delivery, ordering, and integrity verification.

Answer

UDP is preferred for the real-time sensor stream due to its lower overhead and connectionless nature, while TCP is necessary for firmware updates to guarantee reliable, ordered delivery.
The choice emphasizing UDP for real-time sensor streaming is correct because connectionless communications do not spend cycles on connection management or retransmissions, maximizing throughput and minimizing latency. The choice identifying TCP for firmware updates is correct because connection-oriented protocols provide error checking, sequencing, and delivery verification mandatory for sensitive code deployments.

Step-by-Step Solution

1
Analyze the real-time sensor metric streaming requirement.
Real-time streaming requires low overhead and minimal latency; unacknowledged lost data is acceptable. This aligns with User Datagram Protocol (UDP).
UDP operates connectionlessly without handshake or retransmission overhead.
2
Analyze the firmware update requirement.
Firmware updates require strict data integrity, packet sequencing, and guaranteed arrival. This aligns with Transmission Control Protocol (TCP).
TCP provides reliable, connection-oriented data transfer through sequence numbers, acknowledgements, and retransmissions.
3
Evaluate distractor choices for protocol characteristics and layer placement.
Statements claiming UDP handles automatic retransmission, TCP uses a two-way handshake without acknowledgements, or that either protocol operates at Layer 3 are incorrect.
UDP lacks Layer 4 retransmissions, TCP relies on a 3-way handshake with acknowledgements, and both protocols belong strictly to OSI Layer 4.

Key Concept

Connection-Oriented (TCP) vs Connectionless (UDP) Protocols
Question 126Question

A network administrator is assigning IPv6 link-local addresses to server interfaces within a local subnet. The administrator must ensure that the configured addresses belong to the link-local scope (fe80::/10fe80::/10) and adhere strictly to standard IPv6 shorthand compression rules. Which of the following represents a valid IPv6 link-local address in compressed format?

Show answer & explanation

Answer: fe80::20c:99

Answer

The address fe80::20c:99 is the valid IPv6 link-local address formatted according to standard zero-compression rules.
The valid choice correctly identifies the link-local prefix (fe80::/10) and applies zero-compression rules properly by utilizing a single double-colon (::) to collapse consecutive zero hextets, ensuring a non-ambiguous 128-bit IPv6 address.

Step-by-Step Solution

1
Identify the required prefix scope for link-local addresses.
Link-local addresses reside in the prefix range fe80::/10 (typically starting with fe80::).
Ensures the address is designated strictly for single-link communications.
2
Evaluate the address syntax rules defined by RFC 5952.
A single contiguous sequence of zero-valued 16-bit fields may be replaced by double colons (::) exactly ONCE in an address. Each hextet can have at most 4 hexadecimal digits.
Prevents ambiguity when expanding the compressed 128-bit address back to its full representation.
3
Compare candidate addresses against scope and compression rules.
The address starting with fe80 and containing a single double-colon (fe80::20c:99) satisfies all formatting requirements.
All other choices either use multiple double-colons or invalid hextet digit counts.

Key Concept

IPv6 Link-Local Addressing and RFC 5952 Compression Rules
Estimated Time:1m 0s
Question 127Question

Match each network function or responsibility to the correct OSI reference model layer where it primarily operates.

Click a left item, then click its matching right item

Items

Managing session checkpoints, dialogue control, and logical connection teardown between applications
Data formatting, character encoding conversion, and data encryption or compression
Segmenting data streams, multiplexing using port numbers, and executing end-to-end flow control
Logical addressing with IP addresses and path selection via routing protocols

Matches

Show answer & explanation

Answer

Session checkpoints and dialogue management match with Session Layer (Layer 5); data formatting and encryption match with Presentation Layer (Layer 6); segmentation and port multiplexing match with Transport Layer (Layer 4); logical IP addressing and routing match with Network Layer (Layer 3).
Each functional description maps strictly to its defined OSI model layer: Session (Layer 5) manages dialogue control and session teardowns; Presentation (Layer 6) translates formats and manages encryption; Transport (Layer 4) segments data and manages ports; Network (Layer 3) handles IP addressing and routing paths.

Step-by-Step Solution

1
Identify session initiation, maintenance, and teardown responsibilities
Correlates directly with OSI Layer 5 (Session Layer).
Layer 5 establishes and terminates communication dialogues between host processes.
2
Identify data translation, syntax handling, and cryptographic operations
Correlates directly with OSI Layer 6 (Presentation Layer).
Layer 6 acts as the translator for data structures, formats, and encryption algorithms.
3
Identify end-to-end communication management, port assignment, and segmentation
Correlates directly with OSI Layer 4 (Transport Layer).
Layer 4 divides data streams into segments and uses TCP/UDP port numbers for application multiplexing.
4
Identify inter-network routing and logical host addressing
Correlates directly with OSI Layer 3 (Network Layer).
Layer 3 encapsulates data into packets using logical IP addressing for multi-hop path determination.

Key Concept

OSI Model Layer Responsibilities and Protocol Functions
Question 128Question

A network analyst is investigating an automated host that fails to exchange data with a remote cloud API. Packet capture analysis confirms that physical media connections are operational, Ethernet frames are delivered without CRC errors, IP packets are routed across subnets without loss, and TCP three-way handshakes complete successfully. However, session logs reveal that communication terminates abruptly when the client and server attempt to negotiate character set encoding, data compression, and payload encryption standards. At which layer of the OSI reference model is this operational failure occurring?

Show answer & explanation

Answer: Presentation Layer (Layer 6)

Answer

The operational failure is occurring at the Presentation Layer (Layer 6).
The correct answer identifies the Presentation Layer (Layer 6). This layer acts as the data translator for the network, handling tasks such as character encoding conversion (e.g., ASCII/EBCDIC), data compression, and encryption/decryption formatting so that differing systems can interpret payload syntax properly.

Step-by-Step Solution

1
Analyze lower-layer diagnostic status from the scenario.
Physical (Layer 1), Data Link (Layer 2), Network (Layer 3), and Transport (Layer 4) operations are confirmed working because TCP handshakes complete cleanly.
Eliminates lower layers (1-4) as potential failure points.
2
Identify the functional domain of the reported error.
The failure specifically involves character set encoding, data compression, and cryptographic syntax negotiation.
Isolates the specific network protocol responsibility being executed.
3
Map the functional domain to the correct OSI layer.
Layer 6 (Presentation Layer) handles translation, syntax presentation, encoding standards, compression, and encryption.
Matches the exact functional duties defined for Layer 6.

Key Concept

OSI Layer 6 (Presentation Layer) functions including data translation, character encoding, syntax presentation, compression, and encryption.
Estimated Time:2m 0s
Question 129Question

A network security engineer is analyzing a packet capture containing IPv6 traffic in an enterprise network. The engineer notes two key requirements being evaluated:
1. An incoming IPv6 packet has a 20-bit header field set by the sending host so that intermediate routers can identify and maintain QoS forwarding for a specific real-time packet flow without inspecting transport layer headers.
2. A dual-stack host auto-configures its IPv6 interface address using EUI-64 SLAAC based on its physical MAC address of 00-15-5D-01-23-45.

Which option correctly identifies the 20-bit IPv6 header field used for flow identification AND the resulting EUI-64 Interface Identifier generated for this host?

Show answer & explanation

Answer: Flow Label header field; EUI-64 Interface Identifier is 0215:5dff:fe01:2345

Answer

The correct option states that the 20-bit header field is the Flow Label and the generated EUI-64 Interface Identifier is 0215:5dff:fe01:2345.
The 20-bit Flow Label field in the IPv6 base header is specifically designated for source hosts to tag sequences of packets belonging to a specific communication flow, enabling intermediate routers to perform QoS handling without inspecting transport-layer headers. For SLAAC address auto-configuration using Modified EUI-64 format, the 48-bit MAC address (00-15-5D-01-23-45) is split into two 24-bit halves, the 16-bit hex sequence FFFE is inserted in the middle (00-15-5D-FF-FE-01-23-45), and the 7th bit (Universal/Local bit) of the first byte is inverted (00000000 becomes 00000010, converting 00 to 02). Combining these yields the interface identifier 0215:5dff:fe01:2345.

Step-by-Step Solution

1
Identify the 20-bit IPv6 base header field designed for stream identification without transport layer parsing.
The 20-bit field is the Flow Label.
The IPv6 base header contains a 20-bit Flow Label field used to label sequences of packets belonging to a specific communication flow. (Traffic Class is an 8-bit field used for DSCP/CoS marking).
2
Split the 48-bit MAC address (00-15-5D-01-23-45) into two 24-bit halves and insert FFFE in the middle.
Inserting FFFE produces 00-15-5D-FF-FE-01-23-45.
Modified EUI-64 address generation requires expanding a 48-bit IEEE MAC address into a 64-bit interface identifier by inserting the 16-bit hexadecimal string FFFE.
3
Invert the 7th bit (Universal/Local bit) of the first byte.
The first byte 00 (00000000 in binary) becomes 02 (00000010 in binary).
IEEE EUI-64 formatting for IPv6 SLAAC requires inverting the 7th bit (the U/L bit) of the Organizationally Unique Identifier (OUI) to denote universal scope.
4
Format the resulting 64-bit sequence into IPv6 colon-hexadecimal notation.
Combining 02-15-5D-FF-FE-01-23-45 into 16-bit quads yields 0215:5dff:fe01:2345.
IPv6 addresses group 16-bit blocks separated by colons with leading zero suppression applied within each block.

Key Concept

IPv6 Base Header Field Functions (Flow Label vs. Traffic Class) and Modified EUI-64 Interface Identifier Generation Rules
Estimated Time:2m 0s
Question 130Question

A telemetry system monitoring remote power sub-stations transmits Continuous High-Frequency (CHF) data streams over an unstable satellite connection back to a central control node. To prevent corrupted or incomplete transmissions caused by intermittent connectivity drops, the communication protocol inserts periodic synchronization markers (checkpoints) into the active data stream. When the connection breaks, the protocol uses these markers to resume data exchange from the last acknowledged checkpoint rather than re-initiating the entire transaction or re-authenticating the user channel. Which layer of the OSI reference model is directly responsible for providing this dialogue control and session checkpoint restoration capability?

Show answer & explanation

Answer: Session Layer (Layer 5)

Answer

Session Layer (Layer 5) is responsible for dialogue control and checkpointing.
The correct answer identifies the Session Layer (Layer 5). The primary responsibilities of Layer 5 include establishing, maintaining, and terminating communication sessions between applications, as well as providing dialogue control (managing whose turn it is to transmit) and checkpointing/synchronization markers to enable resumption of data streams following network interruptions.

Step-by-Step Solution

1
Analyze the functional requirements in the scenario.
The scenario highlights dialogue control, insertion of synchronization markers (checkpoints), and session state resumption across connection drops.
Identifying the specific network function isolating the protocol mechanism is required to map it to the correct OSI layer.
2
Map the identified functions to OSI model layer definitions.
Dialogue control (duplex management) and synchronization/checkpointing are explicit, standard responsibilities defined for Layer 5 (Session Layer).
Layer 4 manages TCP/UDP transport segments, Layer 6 manages formatting/encryption, while Layer 5 specifically governs session dialogue boundaries.

Key Concept

OSI Session Layer (Layer 5) Functions & Dialogue Control
Estimated Time:2m 0s
Question 131Question

During a routine network inspection, a technician inspects a switch's forwarding table to verify local host connectivity within a single broadcast domain. At which layer of the OSI reference model do MAC addresses and frames primarily operate?

Show answer & explanation

Answer: Data Link layer

Answer

Data Link layer
The Data Link layer (Layer 2) of the OSI reference model provides node-to-node data transfer across a shared physical medium. It encapsulates Network layer packets into frames and relies on MAC addresses for local delivery.

Step-by-Step Solution

1
Identify the addressing scheme and Protocol Data Unit (PDU) specified in the scenario.
The scenario highlights MAC addresses and frames inspected on a network switch.
MAC addresses serve as physical interface identifiers, and frames are the corresponding data encapsulation unit.
2
Map MAC addresses and frames to the OSI reference model layer.
MAC addressing and frame creation occur at Layer 2 (Data Link layer).
Layer 2 governs intra-segment communication and hardware-level node identification.

Key Concept

OSI Layer 2 (Data Link Layer) Functions and Addressing
Estimated Time:45s
Question 132Question

A network technician is configuring traffic management rules for a set of new server applications. Which of the following operational characteristics are uniquely associated with User Datagram Protocol (UDP) as a connectionless transport layer protocol? (SELECT TWO)

Select all that apply

Show answer & explanation

Answer: Low transmission overhead due to the absence of flow control and error recovery mechanisms; Unreliable datagram delivery where dropped packets are not automatically retransmitted by the protocol

Answer

The correct characteristics of UDP as a connectionless protocol are low transmission overhead due to the absence of flow control and error recovery mechanisms, and unreliable datagram delivery where dropped packets are not automatically retransmitted by the protocol.
Connectionless protocols such as UDP operate on a best-effort basis without establishing a formal connection prior to transmission. Consequently, UDP has very low header overhead (8 bytes compared to TCP's 20 bytes) and does not provide transport-layer error recovery, sequence tracking, or retransmission of lost packets.

Step-by-Step Solution

1
Identify the key properties of connectionless transport layer protocols.
Connectionless protocols transmit data datagrams independently without establishing a preliminary session or state.
Understanding the fundamental architecture of UDP at Layer 4 is necessary to distinguish its features from TCP.
2
Evaluate each option against UDP mechanisms.
Options describing low overhead and lack of retransmissions describe UDP. Options describing handshakes, sequence guarantees, or Layer 3 operation are incorrect.
UDP avoids state tracking, acknowledgments, and connection handshakes to minimize latency and overhead.

Key Concept

Connection-Oriented vs Connectionless Transport Protocols (TCP vs UDP)
Question 133Question

A network engineer is reviewing IPv6 deployment standards and analyzing base header structures for a router interface. Which of the following statements correctly describe the characteristics of IPv6 address representation and header fields? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The double-colon `::` shorthand notation may only be used a single time within any IPv6 address representation.; The Next Header field in the IPv6 base header identifies either the upper-layer protocol or the type of extension header immediately following.

Answer

The correct statements are that the double-colon `::` notation can only be used once per IPv6 address to prevent ambiguity, and that the Next Header field specifies the upper-layer protocol or extension header that immediately follows.
The option stating that double-colon notation `::` may only be used a single time is correct because using it twice makes the exact 128-bit address ambiguous. The option stating that the Next Header field identifies the upper-layer protocol or extension header is also correct because it provides flexible protocol encapsulation and header chaining.

Step-by-Step Solution

1
Evaluate IPv6 address compression rules.
Confirm that RFC 5952 permits the double-colon notation `::` only once in an address to ensure the 128-bit address can be uniquely expanded.
Multiple double colons make it mathematically impossible for a parser to accurately determine how many 16-bit zero blocks each `::` represents.
2
Examine IPv6 base header field functions.
Identify that the 8-bit Next Header field specifies the protocol encapsulated in the payload or the next extension header in the chain.
IPv6 uses modular extension headers chained together via the Next Header field rather than optional fields inside the base header.
3
Verify incorrect statements against IPv6 specification.
Disprove multiple double colons and correct the definition of Hop Limit (which functions like IPv4 TTL, not QoS prioritization).
QoS functions are handled by Traffic Class and Flow Label, while Hop Limit prevents looping packets.

Key Concept

IPv6 Address Formatting Rules and Extension Header Chaining
Question 134Question

An entry-level technician is reviewing core IPv6 specifications, address shorthand rules, and packet structures. Which of the following statements correctly describe valid IPv6 characteristics? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Leading zeros within any 16-bit hexadecimal block may be omitted.; The primary IPv6 header has a fixed size of 40 bytes.

Answer

Leading zeros within any 16-bit hexadecimal block may be omitted, and the primary IPv6 header has a fixed size of 40 bytes.
Leading zeros within a 16-bit block can be safely omitted without changing the block's numeric value. Furthermore, the standard primary IPv6 header is simplified with a fixed size of 40 bytes to optimize routing lookup performance.

Step-by-Step Solution

1
Analyze zero suppression rules for 16-bit IPv6 hexadecimal fields.
Leading zeros inside a field (such as 0042) can be shortened to 42. Trailing zeros must remain intact to preserve the position and value of the digits.
Only leading zero suppression preserves the original numerical value of a nibble field.
2
Analyze the rule regarding double colon (::) compression.
A double colon represents consecutive all-zero blocks, but it can only appear once in an address.
If multiple double colons were permitted, a host would be unable to calculate the exact number of zero blocks belonging to each sequence.
3
Evaluate the structural specification of the main IPv6 header.
The standard base IPv6 header is fixed at 40 bytes in length.
A predictable fixed header length speeds up hardware switching and routing compared to IPv4's variable header length.

Key Concept

IPv6 Address Representation Rules and Primary Header Architecture
Estimated Time:1m 0s
Question 135Question

Match each OSI reference model layer on the left with its core function on the right.

Click a left item, then click its matching right item

Items

Layer 2 - Data Link Layer
Layer 3 - Network Layer
Layer 4 - Transport Layer
Layer 7 - Application Layer

Matches

Show answer & explanation

Answer

The Data Link layer (Layer 2) matches MAC addressing and local frame delivery; the Network layer (Layer 3) matches logical IP addressing and packet routing; the Transport layer (Layer 4) matches end-to-end connection management and port numbers; and the Application layer (Layer 7) matches direct interfacing with end-user software.
Each OSI model layer performs distinct functions: Layer 2 uses MAC addresses for local frame delivery; Layer 3 manages logical IP addresses for network routing; Layer 4 handles end-to-end delivery using TCP/UDP port numbers; and Layer 7 enables network interaction for user applications.

Step-by-Step Solution

1
Identify the primary function of Layer 2 (Data Link).
Layer 2 uses physical MAC addresses and frames for local node communication.
Hardware addressing and framing are core Data Link responsibilities.
2
Identify the primary function of Layer 3 (Network).
Layer 3 utilizes logical IP addresses to route packets between disparate networks.
Inter-network routing requires logical network addressing at Layer 3.
3
Identify the primary function of Layer 4 (Transport).
Layer 4 uses port numbers to segment data and manage end-to-end process delivery.
Process-to-process communication and flow control operate at Layer 4.
4
Identify the primary function of Layer 7 (Application).
Layer 7 provides standard network protocol interfaces for software applications.
High-level user network processes operate at the top of the OSI stack.

Key Concept

OSI Layer Functions and Responsibilities
Question 136Question

A network administrator is deploying a real-time environmental sensor telemetry application across a corporate subnet. The application requires low-latency transmission of periodic status readings where lost updates are immediately superseded by newer readings and do not require retransmission. Which transport layer protocol characteristic best satisfies these operational requirements?

Show answer & explanation

Answer: User Datagram Protocol (UDP) due to its connectionless overhead structure and lack of delivery acknowledgment mechanisms.

Answer

User Datagram Protocol (UDP) due to its connectionless overhead structure and lack of delivery acknowledgment mechanisms.
User Datagram Protocol (UDP) is a connectionless transport protocol that operates without establishing a prior session, maintaining state, or performing error recovery. Because real-time telemetry updates are frequent and superseded by subsequent readings, UDP's minimal header overhead and lack of retransmission delay make it the optimal choice.

Step-by-Step Solution

1
Identify the application requirements specified in the scenario.
The application requires low latency, minimal overhead, and can tolerate dropped packets without retransmission.
Real-time streaming and telemetry applications prioritize immediate data arrival over complete data recovery.
2
Evaluate transport layer protocols against these requirements.
UDP operates without a connection handshake, sequence numbers, or acknowledgment mechanisms.
Connectionless protocols eliminate the latency associated with session setup and automatic retransmission of lost packets.
3
Select the protocol characteristic that matches the requirement.
UDP provides connectionless transmission ideal for latency-sensitive telemetry.
TCP would introduce latency through flow control and retransmissions, while IP operates at Layer 3 rather than Layer 4.

Key Concept

Connection-Oriented vs Connectionless Protocols
Estimated Time:1m 0s
Question 137Question

A network engineer is observing the convergence process of an OSPF network after a core router interface experiences a sudden link loss. Arrange the events of link-state convergence into the correct chronological order from first to last.

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct chronological sequence of OSPF convergence events is: 1) Physical link failure detection, 2) LSA generation and flooding, 3) Neighbor LSDB update, 4) Dijkstra's SPF algorithm recalculation, and 5) RIB/Routing table path updates.
The convergence process in link-state protocols follows a strict operational order: local failure detection occurs first, followed by LSA creation and flooding to communicate the failure. Next, receiving routers update their local LSDB map, execute Dijkstra's SPF algorithm on the updated database to determine new optimal paths, and finally update the Routing Information Base (RIB) with the newly computed routes.

Step-by-Step Solution

1
Identify the initial trigger event for link-state convergence.
The local router detects a link failure on an active interface.
Network convergence cannot start until a hardware or protocol-level failure is detected by the router.
2
Determine how topology changes are communicated across the OSPF area.
The router constructs an updated LSA and floods it to adjacent neighbors.
Link-state dynamic routing protocols rely on flooding LSAs so every router in an area has accurate topology information.
3
Trace the database update process on receiving routers.
Adjacent routers update their local Link-State Database (LSDB).
Routers must synchronize their database entries before calculating new paths.
4
Identify the path calculation algorithm executed after database synchronization.
Routers execute Dijkstra's Shortest Path First (SPF) algorithm.
Link-state protocols require running the SPF algorithm against the updated LSDB map to find the lowest-cost paths.
5
Finalize path installation into the routing table.
The new best paths are written into the Routing Information Base (RIB).
Packet forwarding decisions rely on the RIB, which is updated only after SPF computation completes.

Key Concept

OSPF Link-State Convergence Sequence and SPF Calculation
Estimated Time:1m 30s
Question 138Question

A network administrator is conducting a comprehensive protocol audit across an enterprise infrastructure to ensure proper layer delegation. Match each specific operational network responsibility on the left to the corresponding layer of the Open Systems Interconnection (OSI) reference model on the right where that process primarily operates.

Click a left item, then click its matching right item

Items

Negotiating data syntax, converting character encodings (such as ASCII to EBCDIC), and executing data compression or payload encryption.
Establishing, maintaining, and terminating logical dialogues between applications, including inserting synchronization checkpoints for session recovery.
Segmenting upper-layer data payloads, reassembling out-of-order sequence numbers, and enforcing sliding window flow control.
Encapsulating network layer packets into discrete frames, managing physical node addressing via MAC addresses, and performing CRC error detection.

Matches

Show answer & explanation

Answer

Data syntax negotiation, character encoding conversion, and payload encryption correspond to the Presentation Layer (Layer 6). Dialogue management and synchronization checkpoints correspond to the Session Layer (Layer 5). Data segmentation, sequence numbering, and sliding window flow control correspond to the Transport Layer (Layer 4). Frame encapsulation, MAC addressing, and CRC error detection correspond to the Data Link Layer (Layer 2).
Each operation correctly maps to its distinct OSI layer responsibility. The Presentation Layer (Layer 6) formats and encrypts data. The Session Layer (Layer 5) maintains dialogue checkpoints and session state. The Transport Layer (Layer 4) executes segmentation and flow control. The Data Link Layer (Layer 2) governs frame construction, MAC addressing, and local bit integrity verification.

Step-by-Step Solution

1
Analyze the first operational task: data syntax negotiation, character encoding conversion, and payload encryption.
Identify that data translation and encryption are key responsibilities of Layer 6.
Layer 6 (Presentation Layer) ensures data formatting is compatible between transmitting and receiving entities.
2
Analyze the second operational task: establishing and terminating application dialogues and managing synchronization checkpoints.
Identify dialogue control and checkpointing as functions of Layer 5.
Layer 5 (Session Layer) coordinates multi-packet conversations and provides resumption mechanisms in case of network disruptions.
3
Analyze the third operational task: segmenting data streams, ordering sequence numbers, and managing sliding window flow control.
Identify transport mechanisms operating at Layer 4.
Layer 4 (Transport Layer, e.g., TCP) ensures host-to-host reliability, sequence reassembly, and dynamic buffer management.
4
Analyze the fourth operational task: frame encapsulation, MAC address control, and CRC error detection.
Identify physical-adjacent node-to-node framing mechanisms operating at Layer 2.
Layer 2 (Data Link Layer) manages node-to-node transfer across local media using MAC addresses and trailer checksums.

Key Concept

OSI Reference Model Layer Functions and Responsibilities
Question 139Question

A network administrator is designing an IPv4 addressing scheme for a security monitoring VLAN that must support 3131 dedicated IP cameras, each requiring a static usable IPv4 address. Which CIDR prefix length represents the smallest subnet block that accommodates all required cameras while conserving address space?

Show answer & explanation

Answer: /26/26

Answer

The prefix /26/26 is the correct choice because it provides 6262 usable host IP addresses, satisfying the requirement for 3131 cameras with minimal address waste.
The prefix /26/26 allocates 66 host bits, providing 262=622^6 - 2 = 62 usable host IP addresses. This is the smallest standard IPv4 subnet that accommodates 3131 devices without exhausting available addresses.

Step-by-Step Solution

1
Determine the required number of usable host IP addresses
The network must support at least 3131 usable host IP addresses.
Each IP camera requires its own individual static usable IPv4 address.
2
Calculate usable host capacity using the formula 2h2312^h - 2 \ge 31
For h=5h = 5 host bits, 252=302^5 - 2 = 30 usable hosts (insufficient). For h=6h = 6 host bits, 262=622^6 - 2 = 62 usable hosts (sufficient).
Two IP addresses in every IPv4 subnet are reserved for the network ID and broadcast address and cannot be assigned to host interfaces.
3
Convert host bits to CIDR prefix length
Prefix length =326=/26= 32 - 6 = /26.
An IPv4 address consists of 3232 total bits, so subtracting the 66 host bits leaves 2626 prefix bits.

Key Concept

Subnet Usable Host Calculation
Estimated Time:1m 30s
Question 140Question

A network security technician is auditing stateless firewall access control lists (ACLs) to enforce the principle of least privilege for specific enterprise infrastructure services. Match each network service requirement on the left with its corresponding protocol, transport layer protocol, and default port number configuration on the right.

Click a left item, then click its matching right item

Items

Encrypted remote console management and interactive secure file transfers (SFTP)
Secure directory service authentication queries over an SSL/TLS tunnel
Encrypted remote retrieval and synchronization of email messages while retaining server copies
Automated IP address assignment and host configuration across subnets via relay agents

Matches

Show answer & explanation

Answer

Encrypted remote console management (SFTP) matches SSH/SFTP over TCP port 22. Secure directory authentication matches LDAPS over TCP port 636. Encrypted email synchronization preserving server copies matches IMAPS over TCP port 993. Automated dynamic IP configuration matches DHCP over UDP ports 67 and 68.
Each service requirement maps precisely to its standard well-known port, transport layer protocol, and security profile: SFTP/SSH on TCP 22, LDAPS on TCP 636, IMAPS on TCP 993, and DHCP on UDP 67/68.

Step-by-Step Solution

1
Identify the protocol and port requirement for secure CLI/file transfer.
SFTP operates within SSH, utilizing connection-oriented TCP on port 22.
SSH protocol handles shell sessions, SCP, and SFTP over a single encrypted channel.
2
Determine the secure directory access protocol and port.
LDAP Secure (LDAPS) uses TCP port 636.
Standard unencrypted LDAP runs on TCP 389, while SSL/TLS wrapper defaults to port 636.
3
Identify the encrypted email retrieval protocol that keeps messages on the server.
IMAPS uses TCP port 993.
IMAP keeps emails synchronized on the server (unlike POP3) and IMAPS secures this communication on port 993.
4
Analyze transport type and ports for automated host IP addressing.
DHCP uses connectionless UDP on ports 67 and 68.
DHCP servers listen on UDP port 67 and clients receive responses on UDP port 68 during the DORA process.

Key Concept

Common Application Layer Protocols, Transport Layer Selection (TCP vs UDP), and Secure Port Mappings
PreviousPage 7 / 27Next
Networking Concepts Practice Questions — CompTIA Network+ — Page 7 | Examkin