JNCIA-SEC Monitoring And Troubleshooting Practice Question
An administrator suspects that a specific security policy is not being hit because traffic is being silently dropped by an earlier policy. Which feature should be enabled under security policies to generate a log entry whenever a session is created matching that policy?
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
✓
configure security policies ... then { ... log { session-init; } }
To log when a session is created or closed, administrators configure session logging options within the security policy configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
configure security flow packet-log enable
Why it's wrong here
Packet logging is configured differently and is not a direct security policy action parameter.
- ✗
configure security policies ... then { ... syslog alert; }
Why it's wrong here
syslog alert is not a valid syntax option within Junos security policy action statements.
- ✓
configure security policies ... then { ... log { session-init; } }
Why this is correct
Configuring session-init inside the policy log statement generates a syslog message when the session is created.
- ✗
configure system syslog facility security packet-log
Why it's wrong here
System syslog facility commands configure global logging destinations, not per-policy trigger events.
About these practice questions
Courseiva writes every JNCIA-SEC question from scratch — 513 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.