🎓 BookMCQ
← Back to 32. Internet Security

📝 IKE Internet Key Exchange protocol (14 MCQs)

📖 From Data Communication and Networks • 32. Internet Security • 14 questions available

What is IKE Internet Key Exchange protocol?

Internet Key Exchange (IKE) is a hybrid protocol used to automatically negotiate, establish, and manage Security Associations and cryptographic keys between IPSec peers to enable secure communication without manual configuration.

4
Easy
6
Medium
4
Hard

📝 All IKE Internet Key Exchange protocol MCQs

Q1. What is the primary purpose of the IKE protocol in IPsec?

A.To encrypt data payloads
B.To negotiate security associations ✅
C.To route packets
D.To assign IP addresses
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: IKE is tasked with establishing, negotiating, and managing the parameters that define an IPsec Security Association. It does not encrypt the traffic itself; instead it determines the algorithms, keys, and lifetimes that the IPsec layer will later apply to protect the data flow.

Q2. In IKE Main Mode, how many total messages are exchanged between the initiator and responder before completing the Diffie‑Hellman exchange?

A.4
B.5
C.6 ✅
D.7
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: Main Mode of IKE uses a six‑message exchange: three from the initiator and three from the responder. The first two pairs negotiate identities and nonces, the third pair carries the Diffie‑Hellman public values and authenticates the exchange, totaling six messages before the DH secret is derived.

Q3. If an IKE SA is established using a pre‑shared key, which of the following statements is most likely true about the subsequent IPsec SA?

A.It will use a different authentication method
B.It inherits the same authentication material ✅
C.It does not require any authentication
D.It must use public‑key certificates
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: When the IKE Security Association is built on a pre‑shared key, that same secret is used to authenticate the subsequent IPsec Security Association. The child SA therefore inherits the authentication context, ensuring continuity of trust without introducing a new credential type.

Q4. Suppose the IKE negotiation fails because the initiator proposes a Diffie‑Hellman group that the responder does not support. What is the most direct effect on the VPN connection?

A.The existing IPsec SA will continue unaffected
B.All traffic will be dropped until a new SA is negotiated ✅
C.Only the IKE SA will be torn down while IPsec SAs remain
D.The VPN will fall back to plaintext transmission
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: A mismatch in supported DH groups aborts the IKE exchange, causing the IKE Security Association to be discarded. Without a valid IKE SA, no new IPsec SAs can be created, so all protected traffic is halted until the parties renegotiate using compatible parameters.

Q5. During an IKEv2 exchange, the responder sends a Notify payload with type INVALID_KE_PAYLOAD\text{INVALID\_KE\_PAYLOAD}. Which inference best explains the subsequent behavior of the initiator?

A.The initiator will immediately abort the negotiation
B.The initiator will retry the exchange using the same DH group
C.The initiator will propose a different DH group in a new IKE\_SA_INIT ✅
D.The initiator will switch to IKEv1 mode
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: The INVALID_KE_PAYLOAD notification indicates that the responder rejected the Diffie‑Hellman values. IKEv2 specifies that the initiator should restart the IKE_SA_INIT exchange, selecting a DH group that the responder advertised as acceptable, thereby preserving the negotiation flow.

Q6. Which of the following best contrasts IKEv1 and IKEv2 regarding the number of exchanges required to establish a child SA?

A.IKEv1 uses three exchanges, IKEv2 uses one
B.IKEv1 uses two exchanges, IKEv2 uses two
C.IKEv1 uses six messages, IKEv2 uses four ✅
D.IKEv1 uses one exchange, IKEv2 uses three
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: IKEv1’s main mode requires six individual messages to set up the IKE SA, after which additional exchanges create child SAs. IKEv2 streamlines the process: only four messages (two request/response pairs) are needed to establish both the IKE SA and its first child SA, reducing overhead.

Q7. When evaluating security, why is IKEv2 main mode generally considered more secure than IKEv1 aggressive mode?

A.Aggressive mode encrypts fewer payloads
B.Aggressive mode transmits the pre‑shared key in clear text ✅
C.Aggressive mode does not support NAT traversal
D.Aggressive mode lacks integrity protection
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: In aggressive mode, the initiator sends the pre‑shared key (or its hash) in the first message, which may be exposed to eavesdroppers. Main mode defers authentication until after the Diffie‑Hellman exchange, keeping the secret protected by encryption and thus offering stronger confidentiality.

Q8. How does NAT traversal handling differ between IKEv1 and IKEv2?

A.IKEv1 uses UDP encapsulation only, while IKEv2 cannot traverse NAT
B.IKEv1 requires manual NAT‑Discovery, IKEv2 automates it with NAT‑D
C.IKEv1 relies on the NAT‑Keepalive payload, IKEv2 uses the ESP‑in‑UDP encapsulation ✅
D.Both versions use identical NAT‑D mechanisms
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: IKEv1 employs NAT‑Keepalive messages and optional UDP encapsulation to maintain state across NAT devices. IKEv2 improves this by standardizing ESP‑in‑UDP encapsulation and providing built‑in NAT‑Discovery, allowing seamless traversal without extra keepalive traffic.

Q9. What is the first step an administrator should take when configuring IKE for a new site‑to‑site VPN?

A.Generate a pair of X.509 certificates
B.Define the IKE policy with encryption and DH group ✅
C.Create the IPsec tunnel interface
D.Assign static routes to the remote network
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: Before any tunnels or routes are built, the administrator must establish the IKE policy that specifies the cryptographic suite (encryption algorithm, hash, DH group, and authentication method). This policy forms the foundation for subsequent IKE negotiations and ensures that both peers agree on common security parameters.

Q10. How does the lifetime of an IKE SA influence the rekeying process of its child IPsec SAs?

A.A shorter IKE SA lifetime forces more frequent child SA rekeying ✅
B.The IKE SA lifetime does not affect child SA rekeying
C.Child SAs are rekeyed only when the IKE SA expires
D.Longer IKE SA lifetimes prevent any rekeying of child SAs
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Child SAs inherit the rekey schedule of their parent IKE SA. When the IKE SA’s lifetime is reduced, the parent must be refreshed more often, prompting the creation of new child SAs to maintain continuity of protection, thereby increasing the frequency of child‑SA rekey events.

Q11. In a scenario where a single IKE SA protects multiple child SAs, which design advantage is most directly achieved?

A.Reduced computational overhead during key exchange ✅
B.Increased latency for each packet
C.Higher probability of key compromise
D.Need for separate authentication for each child SA
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: By reusing one IKE SA for several child SAs, the costly Diffie‑Hellman and authentication exchanges occur only once. Subsequent child SAs can be derived from the existing IKE keys, lowering CPU consumption and reducing the time needed to set up additional protected flows.

Q12. What is the likely impact on network performance if the IKE SA rekey interval is reduced from 24 hours to 2 hours?

A.Negligible impact because rekeying is lightweight
B.Increased CPU usage due to more frequent cryptographic operations ✅
C.Decreased bandwidth consumption
D.Elimination of all latency spikes
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Frequent rekeying forces the devices to perform additional Diffie‑Hellman calculations and authentication steps every two hours. These operations are CPU‑intensive, so the overall processing load rises, potentially affecting throughput on devices with limited resources.

Q13. A captured packet contains an IKE payload with a NEXT_PAYLOAD\text{NEXT\_PAYLOAD} value of 33 and a EXCHANGE_TYPE\text{EXCHANGE\_TYPE} of 34. Which IKE version is most likely in use?

A.IKEv1
B.IKEv2 ✅
C.Both IKEv1 and IKEv2
D.Neither, it is a proprietary protocol
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Values 33 (NEXT_PAYLOAD) and 34 (EXCHANGE_TYPE) correspond to the IKEv2 definitions for a Notify payload and the IKE_SA_INIT exchange. IKEv1 uses different numeric assignments, so the observed codes strongly indicate that the packet belongs to an IKEv2 session.

Q14. How do X.509 certificates contribute to the authentication process in IKE?

A.They provide a shared secret for symmetric encryption
B.They bind a public key to an identity, enabling asymmetric verification ✅
C.They replace the need for Diffie‑Hellman key exchange
D.They are only used for post‑quantum cryptography
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: X.509 certificates carry a public key together with identity information signed by a trusted Certificate Authority. During IKE, each side presents its certificate, allowing the peer to verify the signature with the public key, thereby establishing mutual authentication without exchanging secret material directly.

🔗 Related Topics (MCQs)