🎓 BookMCQ
← Back to 29. Peer to Peer Paradigm

📝 Chord identifier space and hashing (10 MCQs)

📖 From Data Communication and Networks • 29. Peer to Peer Paradigm • 10 questions available

What is Chord identifier space and hashing?

Chord identifier space uses consistent hashing to assign unique m-bit identifiers to both nodes and data keys, placing them on a circular number line so that each key is stored at its successor node for predictable and balanced distribution.

3
Easy
5
Medium
2
Hard

📝 All Chord identifier space and hashing MCQs

Q1. What is the primary purpose of the Session Initiation Protocol (SIP) in VoIP?

A.Establishing media streams ✅
B.Routing IP packets
C.Encrypting voice data
D.Managing user authentication
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: SIP is a signaling protocol whose main role is to set up, modify, and terminate multimedia sessions. It does this by creating and exchanging session descriptions, which effectively establishes the media streams between endpoints. The other options describe functions handled by lower‑layer protocols, not the core purpose of SIP.

Q2. If a VoIP system uses a 128‑bit identifier space for user IDs, what is the most likely impact on collision probability when the number of users doubles?

A.Collision probability halves
B.Collision probability remains the same
C.Collision probability roughly quadruples
D.Collision probability slightly increases ✅
💡 Difficulty: easy | ✅ Correct: D

📖 Explanation: When the identifier space is large (128 bits), the chance that two users pick the same ID follows the birthday problem. Doubling the number of users increases the collision probability, but because the space is astronomically large, the increase is only slight rather than a dramatic rise. Hence the probability slightly increases.

Q3. Which statement best differentiates the identifier allocation mechanisms of SIP and H.323?

A.Both use numeric IDs assigned by a central server
B.SIP uses a URI‑based flexible namespace, while H.323 assigns numeric endpoint identifiers within a gatekeeper domain ✅
C.SIP and H.323 use identical hierarchical naming schemes
D.SIP relies on MAC addresses, whereas H.323 uses email addresses
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: SIP identifiers are expressed as URIs (e.g., sip:user@example.com), giving a flexible, globally unique namespace that can embed domain information. H.323, by contrast, relies on numeric endpoint IDs assigned by a gatekeeper within a local domain. This structural difference means SIP can interoperate across disparate domains more readily, while H.323 requires explicit gatekeeper coordination.

Q4. Designing an identifier space for a future signaling protocol that must support 10^9 devices with a collision probability <10^-6, which size is appropriate?

A.2322^{32}
B.2482^{48}
C.2642^{64}
D.21282^{128}
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: The birthday‑paradox approximation gives pn2/(2N)p \approx n^2/(2N). For n=109n = 10^9 and target p<106p < 10^{-6}, solving yields N>5×1023N > 5 \times 10^{23}. The nearest power of two is 2641.8×10192^{64} \approx 1.8 \times 10^{19}, which is the smallest feasible size that keeps the collision risk below the threshold, so a 64‑bit space is sufficient.

Q5. When a VoIP call fails to establish because the identifier is not recognized, which layer is most likely responsible?

A.Physical layer
B.Network layer
C.Transport layer
D.Application layer ✅
💡 Difficulty: easy | ✅ Correct: D

📖 Explanation: In VoIP, the identifier that a device presents is processed by the signaling layer (e.g., SIP or H.323). If the identifier is unknown, the signaling server cannot route the request, causing the call setup to fail. This failure originates at the application layer, where protocol logic validates identifiers, rather than at lower transport or network layers.

Q6. Evaluate the trade‑off between using a short fixed‑length identifier (e.g., 16 bits) versus a variable‑length UUID (128 bits) for a large‑scale IoT signaling protocol.

A.Short IDs reduce overhead but increase collision risk; UUIDs increase overhead but virtually eliminate collisions ✅
B.Short IDs improve security while UUIDs simplify routing
C.Both formats provide identical performance and security characteristics
D.UUIDs are always preferable regardless of device constraints
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: A 16‑bit fixed identifier reduces packet overhead and simplifies storage, which benefits low‑power or bandwidth‑constrained devices. However, with billions of devices the probability of collisions becomes significant, leading to address conflicts and additional resolution traffic. A 128‑bit UUID virtually eliminates collisions, at the cost of larger headers and more processing, making it preferable for large‑scale deployments where uniqueness outweighs overhead.

Q7. How does the concept of an identifier space enable interoperability between different VoIP signaling protocols?

A.By enforcing a single universal identifier format across all protocols
B.By providing a common abstract namespace that can be mapped to protocol‑specific identifiers
C.By eliminating the need for identifiers altogether ✅
D.By requiring each protocol to use its own isolated identifier pool
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: An identifier space abstracts the concrete format of IDs into a universal namespace. Different signaling protocols can map their native identifiers onto this shared space, enabling translation and routing between protocols without needing to understand each other's internal naming rules. This abstraction promotes interoperability by allowing heterogeneous systems to reference the same logical entity through a common identifier.

Q8. Suppose a VoIP network migrates from a 32‑bit identifier scheme to a 64‑bit scheme. What is the most direct effect on routing tables?

A.No change in size or performance
B.Tables double in size due to larger identifier fields ✅
C.Tables increase exponentially because of address space growth
D.Tables become more efficient because of better hashing
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: When the identifier length doubles from 32 to 64 bits, each entry in a routing table occupies twice as many bits for the identifier field. Assuming the number of routes stays constant, the total memory required for the identifier portion roughly doubles, leading to larger routing tables while the overall table structure remains unchanged.

Q9. Compare the security implications of using sequential identifiers versus random identifiers in a signaling protocol.

A.Sequential identifiers provide better resistance to enumeration attacks ✅
B.Random identifiers are easier to generate and store
C.Random identifiers provide better resistance to enumeration attacks
D.Sequential identifiers reduce processing overhead
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Sequential identifiers are predictable; an attacker can enumerate possible IDs to discover active endpoints, facilitating denial‑of‑service or eavesdropping attacks. Random identifiers are statistically unpredictable, making enumeration far more difficult and reducing the risk of targeted attacks. Therefore, random IDs improve security at the cost of potentially larger identifier representations.

Q10. If a new signaling protocol adopts the identifier space concept from SIP but introduces hierarchical naming, what advantage does this provide?

A.Simpler flat address allocation
B.Reduced need for authentication
C.Improved bandwidth efficiency
D.Scalable delegation and easier management of identifiers ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: Hierarchical naming divides the identifier space into parent and child domains, mirroring organizational or geographic structures. This allows delegation of identifier management to sub‑domains, simplifies routing decisions, and scales more gracefully as the network grows. Consequently, a protocol that adds hierarchy to the SIP‑style space gains better manageability and scalability.)

🔗 Related Topics (MCQs)