Courseiva
Monitoring And TroubleshootinghardMultiple ChoiceObjective-mapped

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

ProtocolPortEncryptionAuthenticationUse Case
IKEv2 / IPsecUDP 500 / 4500AES-256Certificates / PSKSite-to-site & remote access
SSL / TLS VPNTCP 443TLS 1.3Certificates / MFAClientless remote access
L2TP / IPsecUDP 1701AES (IPsec)PSK / CertificatesLegacy remote access
WireGuardUDP 51820ChaCha20Public keysModern high-performance VPN
PPTPTCP 1723MPPE (weak)MS-CHAPv2Legacy — 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 →

How Courseiva writes practice questions · Editorial policy

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.