Courseiva
Security PolicieseasyMultiple ChoiceObjective-mapped

JNCIA-SEC Security Policies Practice Question

An administrator wants to ensure that when a security policy denies a packet, a log entry is generated immediately. Which policy action keyword should be appended or configured within the 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

then { deny; log; }

In Junos security policies, logging options such as 'log { session-init; session-close; }' or the 'then log' modifier are attached to record policy events.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • then { deny; log; }

    Why this is correct

    Adding the 'log' modifier to a deny action ensures traffic drops are recorded in the security log.

  • then { permit; trace; }

    Why it's wrong here

    'trace' is used for packet tracing/debugging, not standard security policy logging.

  • then { reject; syslog-immediate; }

    Why it's wrong here

    'syslog-immediate' is not a valid Junos policy action modifier.

  • then { drop; audit-trail; }

    Why it's wrong here

    'audit-trail' is not a valid policy logging keyword.

About these practice questions

This JNCIA-SEC question is part of Courseiva's 520-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.