JNCIA-SEC Monitoring And Troubleshooting Practice Question
An engineer needs to determine why IPsec Phase 1 negotiations are failing with a remote peer. Which traceoptions flag should be enabled under security ike?
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
✓
set security ike traceoptions flag all
IKE traceoptions flags such as 'all' or specific flags like 'basic', 'state', and 'packet' help diagnose IKE failures.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
set security ipsec traceoptions flag phase1
Why it's wrong here
Phase 1 (IKE) traceoptions are configured under security ike, not security ipsec.
- ✗
set system syslog facility local4
Why it's wrong here
Syslog facilities control log routing, not specific IKE debugging granularity.
- ✗
set security flow traceoptions flag ike
Why it's wrong here
Flow traceoptions do not control IKE negotiation logging directly.
- ✓
set security ike traceoptions flag all
Why this is correct
Correct. Enabling the 'all' flag under IKE traceoptions captures comprehensive debugging output for Phase 1 negotiations.
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
This JNCIA-SEC question is part of Courseiva's 513-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 August 2026 · checked against the official Juniper Networks exam blueprint
This JNCIA-SEC 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 JNCIA-SEC exam.