Drag steps to the numbered slots on the right, or tap a step then tap a slot.
JN0-106 Networking Fundamentals Practice Question
Arrange the steps to configure an IPsec VPN on a Junos SRX in the correct order.
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
Step 1: Configure IKE proposals and policies (Phase 1). Step 2: Configure IPsec proposals and policies (Phase 2). Step 3: Configure security policies to permit VPN traffic. Step 4: Apply the IPsec VPN configuration to an interface (e.g., st0).
IPsec VPN setup involves IKE for key exchange, IPsec for encryption, and binding to an interface.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Step 1: Configure IKE proposals and policies (Phase 1). Step 2: Configure IPsec proposals and policies (Phase 2). Step 3: Configure security policies to permit VPN traffic. Step 4: Apply the IPsec VPN configuration to an interface (e.g., st0).
Why this is correct
This order follows the logical dependency: IKE must be set up first to establish a secure channel, then IPsec parameters define the encryption for data, security policies control traffic flow, and finally the VPN is bound to an interface.
- ✗
Step 1: Configure IPsec proposals and policies (Phase 2). Step 2: Configure IKE proposals and policies (Phase 1). Step 3: Apply the IPsec VPN configuration to an interface. Step 4: Configure security policies.
Why it's wrong here
This order is incorrect because IKE Phase 1 must be configured before Phase 2, as Phase 2 depends on the secure tunnel established by Phase 1. Also, security policies should be configured before applying to an interface to ensure proper traffic handling.
- ✗
Step 1: Configure security policies to permit VPN traffic. Step 2: Configure IKE proposals and policies. Step 3: Configure IPsec proposals and policies. Step 4: Apply the IPsec VPN configuration to an interface.
Why it's wrong here
This order is incorrect because security policies reference the VPN tunnel, which does not exist until IKE and IPsec are configured. The policies should be created after the VPN is set up to avoid referencing undefined resources.
- ✗
Step 1: Apply the IPsec VPN configuration to an interface. Step 2: Configure IKE proposals and policies. Step 3: Configure IPsec proposals and policies. Step 4: Configure security policies.
Why it's wrong here
Applying the IPsec VPN to an interface such as st0 before defining IKE and IPsec parameters is invalid because the interface binding references security associations that do not yet exist. On Junos, the 'security ipsec vpn' configuration must include both an IKE gateway (Phase 1) and an IPsec proposal/policy (Phase 2) before the tunnel can be bound to a secure tunnel interface; otherwise, the commit will fail or the tunnel will be inoperative. The correct sequence places interface binding last, after the cryptographic parameters and security policies are in place, ensuring the tunnel is fully defined before it is activated.
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.
Go deeper
Related to this question
About these practice questions
One of 156 original JN0-106 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 →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This JN0-106 practice question is part of Courseiva's free Juniper Networks 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 JN0-106 exam.