Courseiva
Srx Series Service GatewayseasyMultiple ChoiceObjective-mapped

JNCIA-SEC Srx Series Service Gateways Practice Question

An administrator is deploying a new SRX Series Services Gateway in a branch office and needs to configure operational interfaces. Which command family should the administrator use to assign an IP address to a physical interface in Junos OS?

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 interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24

In Junos OS, logical unit numbers (such as unit 0) are required on interfaces to assign IP addresses. The configuration path is set under interfaces [interface-name] unit [number] family inet address [ip-address].

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 zones security-zone trust interface ge-0/0/0 address 192.168.1.1/24

    Why it's wrong here

    While interfaces are assigned to security zones, the IP address is configured under the interface hierarchy, not directly inside the zone configuration.

  • set interface ge-0/0/0 ip-address 192.168.1.1 netmask 255.255.255.0

    Why it's wrong here

    This syntax is incorrect for Junos OS and resembles other vendor platforms.

  • set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24

    Why this is correct

    This is the correct syntax for assigning an IPv4 address to a logical unit on an SRX interface.

  • set system services interface ge-0/0/0 address 192.168.1.1/24

    Why it's wrong here

    System services are used for management protocols, not direct interface IP assignment.

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.