CCNP Security Practice Question
A network engineer is configuring IPsec VPN on a Cisco IOS XE router. The requirement is to protect traffic between two sites using ESP with AES-256 encryption and SHA-256 authentication, and to ensure that the tunnel is rekeyed every 3600 seconds. Which configuration element directly controls the rekey interval?
⚠ Common exam trap
A common mix-up: candidates confuse the IKE SA lifetime with the IPsec SA lifetime, and assuming that the transform-set or crypto map controls rekeying.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
crypto ipsec security-association lifetime seconds 3600
The IPsec SA lifetime, configured with 'crypto ipsec security-association lifetime seconds 3600', determines when the data tunnel is rekeyed. This is distinct from the IKE SA lifetime, which governs the control plane. The transform-set defines the algorithms (AES-256, SHA-256), the crypto map ties the policy together, and the pre-shared key authenticates the peers, but only the security-association lifetime command controls the rekey interval.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
crypto ipsec transform-set <name> esp-aes 256 esp-sha256-hmac
Why it's wrong here
The transform-set command defines the encryption and authentication algorithms (AES-256 and SHA-256) used to protect the data. It does not control how often the tunnel is rekeyed. The lifetime is a separate parameter. While this command is required to meet the encryption and authentication requirements, it does not address the 3600-second rekey interval.
- ✗
crypto map <name> 10 ipsec-isakmp
Why it's wrong here
The 'crypto map' command creates a crypto map entry that ties together the peer, transform set, and ACL for IPsec. It does not set the rekey interval. The lifetime is configured globally or per-crypto-map with the 'set security-association lifetime' command, but the crypto map itself only references the policy. This option is a necessary but insufficient component for the scenario.
- ✓
crypto ipsec security-association lifetime seconds 3600
Why this is correct
The 'crypto ipsec security-association lifetime seconds 3600' command sets the IPsec SA lifetime to 3600 seconds, after which the SA is rekeyed. This is the correct command to control the rekey interval for the IPsec (data) tunnel. The IKE SA lifetime is controlled separately with 'crypto isakmp policy' or 'crypto ikev2 policy' settings, but the IPsec SA lifetime is what governs data tunnel rekeying.
- ✗
crypto isakmp key <key> address <peer>
Why it's wrong here
The 'crypto isakmp key' command configures the pre-shared key used for IKE authentication between peers. It does not control any lifetime or rekey interval. While essential for establishing the IKE SA, it is unrelated to the 3600-second rekey requirement for the IPsec tunnel. Confusing this with lifetime settings is a common pitfall.
Quick reference
VPN Protocol Comparison
| Protocol | Port | Encryption | Authentication | Use Case |
|---|---|---|---|---|
| IKEv2 / IPsec | UDP 500 / 4500 | AES-256 | Certificates / PSK | Site-to-site & remote access |
| SSL / TLS VPN | TCP 443 | TLS 1.3 | Certificates / MFA | Clientless remote access |
| L2TP / IPsec | UDP 1701 | AES (IPsec) | PSK / Certificates | Legacy remote access |
| WireGuard | UDP 51820 | ChaCha20 | Public keys | Modern high-performance VPN |
| PPTP | TCP 1723 | MPPE (weak) | MS-CHAPv2 | Legacy — avoid in production |
PPTP is considered insecure. IKEv2/IPsec and SSL VPN are the current recommended options.
About these practice questions
One of 1,923 original 350-401 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Cisco exam blueprint
This 350-401 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-401 exam.