All Juniper Networks exams
Free JN0-232 practice test: 30 questions with answers
30 original questions for Security, Associate (JNCIA-SEC), drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 112 questions
- Real exam
- 65 questions, 90 min
All 30 JN0-232 questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
SRX Series Service Gateways (5 questions)
Question 1
A technician has just installed a new branch SRX and needs to set the root password and hostname before the device goes into service. In which Junos CLI mode should these settings be entered?
- AConfiguration mode, using set or edit commands
- BOperational mode, using show and request commands
- CThe UNIX shell, using standard Linux commands
- DThe bootloader prompt, which edits the configuration file directly
Show answer and explanationHide answer
Correct answer: ASystem settings such as root-authentication and host-name are entered in configuration mode with set or edit statements and then activated with commit. Operational mode is for viewing status and running operational tasks, the UNIX shell is not the normal way to change Junos settings, and the bootloader does not edit the configuration.
Question 2
Which statement correctly describes how Junos OS divides the work on an SRX Series device?
- AThe Routing Engine runs control functions such as routing protocols, while the Packet Forwarding Engine handles transit traffic and security processing
- BThe data plane runs the routing protocol daemons, and the Routing Engine forwards all transit packets to the next hop
- CThe control plane performs the session lookup for every packet, while the data plane is used only for management sessions such as SSH and HTTPS
- DRouting and forwarding share one process, so management traffic and transit traffic are queued together without any separation
Show answer and explanationHide answer
Correct answer: AJunos separates the control plane, run by the Routing Engine for routing protocols and management, from the data plane, where the Packet Forwarding Engine forwards traffic and applies security processing. The other options reverse the roles of the two planes or remove the separation entirely.
Question 3
A client opens a new TCP connection through an SRX, and a security policy permits it. What happens to the later packets of the same flow?
- AThey match the session created by the first packet and are forwarded on that existing session
- BThe Routing Engine forwards each packet in software before the session table is checked at all
- CThe device blocks the rest of the flow unless a second policy is written for the reverse direction
- DEach packet is evaluated again against every security policy, starting from the top of the list
Show answer and explanationHide answer
Correct answer: ASRX uses flow-based processing: the first packet is checked against zones and policies and a session entry is created, and later packets of that flow match the session. The session also covers return traffic, so a separate reverse-direction policy is not needed and policies are not re-run for every packet.
Question 4
Which two statements about the vSRX Virtual Firewall are accurate? (Choose two.)
- AIt runs Junos OS as a software instance on supported hypervisors and public cloud platforms
- BIt requires a dedicated ASIC installed in the hypervisor host to forward its packets
- CIt uses the same security zone and security policy model as hardware SRX Series devices
- DIt cannot use security zones, because the hypervisor provides all network segmentation itself
Show answer and explanationHide answer
Correct answer: A, CThe vSRX runs Junos OS in software on hypervisors and cloud platforms and keeps the zone and policy configuration model of hardware SRX devices. It does not depend on a dedicated ASIC in the host, and zones are fully supported, so the hypervisor does not replace them.
Question 5
Two SRX devices are deployed as a chassis cluster so that they behave as one logical firewall. Which interface type carries the shared, redundant data interfaces of the cluster?
- Ast0, the secure tunnel interface used as the endpoint of a route-based VPN
- Bfxp0, the out-of-band management interface used to reach the device directly
- Clo0, the loopback interface that carries the device's own router identifier
- Dreth, the redundant Ethernet interface whose member links span both cluster nodes
Show answer and explanationHide answer
Correct answer: DIn a chassis cluster, a reth interface is a logical redundant Ethernet interface built from physical interfaces on both nodes, so one logical address serves the cluster. The st0 interface is a VPN tunnel endpoint, fxp0 is for management, and lo0 is a loopback, so none of them provides the shared redundant data interface.
Junos OS Security Objects (5 questions)
Question 6
Clients on the untrust side can open SSH sessions to the SRX's untrust interface address, but pings to the same address time out. Which setting most likely explains this?
- AThe untrust zone has no route back to the client's subnet
- BThe untrust zone's address book is missing an entry for the client's subnet
- CThere is no application layer gateway enabled for ICMP on the untrust interface
- DPing is not enabled under host-inbound-traffic for the untrust security zone
Show answer and explanationHide answer
Correct answer: DTraffic addressed to the SRX itself is governed by host-inbound-traffic on the receiving zone. Because SSH works, the route and the interface address are fine, so ping must be added explicitly under system-services. ALGs relate to protocols that carry embedded addresses or ports, and address-book entries affect policy matching rather than traffic to the device.
Question 7
Which statement about Junos OS screens is accurate?
- AScreens are address-book entries that group hosts so they can be used as match criteria in security policies
- BScreens translate source addresses when packets leave a zone, in the same way as source NAT rules do
- CScreens are intrusion detection protections applied to a security zone that check traffic entering the zone for attacks such as SYN floods and port scans
- DScreens are application layer proxies that rewrite the IP addresses and port numbers found inside the payload of every established session
Show answer and explanationHide answer
Correct answer: CScreens are IDS-style protections attached to security zones, where they inspect incoming traffic for flood, scan and spoofing patterns. Address-book entries and NAT rules are different objects, and application layer gateways rewrite payload addresses for specific protocols rather than being screens.
Question 8
An internal web management tool listens on TCP port 8443. Which object should an administrator define so that a security policy can match this traffic?
- AA predefined junos-https application, which matches TCP port 443 only
- BAn address set that lists the tool's IP address together with the port number
- CA custom application with protocol tcp and destination port 8443
- DA zone host-inbound-traffic statement that allows HTTPS traffic to the device
Show answer and explanationHide answer
Correct answer: CApplications in Junos are defined by protocol and port, so a custom application with TCP 8443 is needed for the policy to match this service. The predefined https application covers only port 443, address sets hold addresses rather than ports, and host-inbound-traffic governs traffic to the SRX itself rather than traffic passing through to a server.
Question 9
Why is an FTP application layer gateway typically needed for active-mode FTP through an SRX?
- AActive FTP has the server open a data connection back to the client on a port negotiated in the control channel, which the ALG tracks
- BActive FTP encrypts the control channel, so the ALG must decrypt commands before any policy can be evaluated against the session
- CActive FTP uses UDP for file transfers, so the ALG converts each transfer to TCP before the packets are forwarded
- DThe ALG replaces the FTP server address with the client address so that file names can be written to the system log
Show answer and explanationHide answer
Correct answer: AIn active mode the server opens the data connection toward the client on a port announced inside the control session, and the FTP ALG reads that exchange so the secondary connection is permitted. FTP does not encrypt its control channel, does not use UDP for transfers, and the ALG does not rewrite server addresses for logging.
Question 10
An administrator wants interface ge-0/0/2.0 to be treated as part of the dmz security zone. Where is this assignment made?
- AUnder the address book, by creating an address entry that contains the interface's IP address
- BUnder security policies, by naming the physical interface in the from-zone match criteria of a policy rule
- CUnder the security zones hierarchy, by listing the logical interface unit in the interfaces statement of the dmz zone
- DUnder applications, by defining an application that uses the interface's protocol and port number
Show answer and explanationHide answer
Correct answer: CZone membership is configured on the logical interface unit under security zones, so the assignment belongs to the zone definition. Policies reference zones but do not bind interfaces to them, and address-book and application objects have no role in assigning an interface to a zone.
Security Policies (5 questions)
Question 11
Two zone-based policies exist from trust to untrust. Policy P1 permits SSH from any source, and policy P2 denies SSH from host 192.168.1.50. P1 is listed above P2. What happens to SSH from 192.168.1.50?
- AIt is permitted, because P1 matches first and policies are evaluated from the top of the list down
- BIt is denied, because deny policies always take precedence over permit policies in the same zone pair
- CIt is ignored by both policies, because traffic from the trust zone bypasses policy for SSH
- DIt is permitted, because the policies are sorted alphabetically by name before they are evaluated
Show answer and explanationHide answer
Correct answer: AZone-based policies are evaluated in order from the top, and the first matching rule is applied. Because P1 matches this SSH traffic before P2 is reached, the traffic is permitted, which is why the deny rule must be placed above the permit rule to work.
Question 12
What is the default result for traffic from the trust zone to the untrust zone when no zone-based security policy matches it?
- AIt is denied, because the default inter-zone policy denies traffic that no configured rule permits
- BIt is permitted, because the default policy allows traffic that leaves a trust zone toward an untrust zone
- CIt is forwarded only when a static route exists for the destination address of the traffic
- DIt is logged and then permitted by the Routing Engine, which handles all unmatched sessions
Show answer and explanationHide answer
Correct answer: AJunos uses a default policy of deny for traffic between different zones, so anything not explicitly permitted by a policy is dropped. The routing table does not decide whether a session is allowed, and the Routing Engine does not permit unmatched sessions.
Question 13
When is a global security policy the most appropriate choice?
- AWhen a rule must apply only to traffic between one specific pair of from-zone and to-zone
- BWhen the rule is needed only to count matching sessions, without permitting or denying those sessions
- CWhen the rule should control only traffic that originates on the SRX itself, such as its own management
- DWhen one rule should apply to traffic regardless of which from-zone and to-zone pair it crosses
Show answer and explanationHide answer
Correct answer: DA global policy has no from-zone or to-zone limit, so a single rule covers every zone pair. Zone-based policies are scoped to one zone pair, and traffic addressed to the device itself is governed by host-inbound-traffic on the zone rather than by a global policy.
Question 14
Which two statements about unified security policies on an SRX are accurate? (Choose two.)
- AThey can match dynamically identified applications, such as a specific social media application, in the policy match criteria
- BThey remove the need for security zones, so interfaces no longer have to be assigned to any zone
- CThey keep the from-zone and to-zone match criteria of zone-based policies while adding application-based matching
- DThey match only on protocol and destination port, and ignore the application that the traffic carries
Show answer and explanationHide answer
Correct answer: A, CUnified policies extend zone-based policies with dynamic application identification, so they keep the zone match criteria and can also match the application that the traffic carries. Zones are still required for interfaces, and unified policies do not limit matching to protocol and port.
Question 15
A team wants clients that are blocked by a policy to receive an immediate reset or unreachable message instead of waiting for a timeout. Which policy action should be used?
- Adeny, which silently discards the matching packets so that the sender waits for a timeout
- Breject, which sends a TCP reset or an ICMP unreachable message back to the sender
- Clog, which records the session in the system log while still allowing the session to continue
- Dcount, which only increments a counter and leaves the matching packets untouched
Show answer and explanationHide answer
Correct answer: BThe reject action returns a TCP reset for TCP traffic or an ICMP unreachable message for other protocols, so the client fails quickly. The deny action silently drops packets, and logging or counting does not block the traffic at all.
Network Address Translation (5 questions)
Question 16
Internal LAN hosts need to reach the Internet, but the ISP has assigned only one public address, which is the address of the untrust interface. Which NAT approach fits this requirement?
- AStatic NAT with a one-to-one mapping between each internal host and its own public address
- BSource NAT that translates internal addresses to the egress interface address
- CDestination NAT that publishes an internal web server on TCP port 80
- DSource NAT with a pool of several public addresses, which the ISP has not assigned
Show answer and explanationHide answer
Correct answer: BInterface-based source NAT lets many internal hosts share the single address already on the egress interface. Static NAT needs a public address for each internal host, destination NAT serves inbound connections to servers, and a pool needs several public addresses that the ISP has not provided.
Question 17
A web server at private address 10.10.10.20 must be reachable from the Internet at public address 203.0.113.10, but only on TCP port 80. Which NAT approach fits this requirement?
- ASource NAT using the untrust interface address for all traffic from the server to the Internet
- BStatic NAT, which maps every port on the public address to the private address of the server
- CDestination NAT that maps public address port 80 to the server address and port 80
- DProxy ARP, which answers ARP requests on the untrust interface for the public address
Show answer and explanationHide answer
Correct answer: CDestination NAT with port mapping translates only the public address and port 80 to the server, which limits the published mapping to that service. Static NAT maps all ports and so exposes every service, source NAT only changes outbound addresses, and proxy ARP is an ARP function rather than a translation.
Question 18
Which statement describes static NAT on an SRX Series device?
- AIt maps many internal addresses to one public address by distinguishing sessions with port numbers
- BIt creates a one-to-one, bidirectional mapping between a public address and a private address, without any port translation
- CIt translates only the destination port number of inbound traffic and never changes the address
- DIt applies only to traffic that moves from the untrust zone into the trust zone of the SRX
Show answer and explanationHide answer
Correct answer: BStatic NAT pairs one public address with one private address and works in both directions without changing port numbers. Many-to-one sharing describes port-based source NAT, port-only translation is not what static NAT does, and static NAT is not limited to one direction of traffic.
Question 19
A destination NAT rule maps a public address to an internal server, and the rule is configured correctly. Connections from the Internet to the server still fail. Which item should the administrator verify next?
- AThat the Routing Engine is restarted so that the NAT table is rebuilt
- BThat the source NAT rule is removed, since only one NAT rule can exist per zone
- CThat the NAT pool has more addresses, because destination NAT always draws from a pool
- DThat a security policy permits this traffic between the zones involved
Show answer and explanationHide answer
Correct answer: DNAT changes addresses or ports but does not permit traffic, so a security policy must still allow the flow between the zones. Destination NAT does not need a pool when it maps to a single address, source and destination NAT rules can coexist, and restarting the Routing Engine is not a fix for a missing policy.
Question 20
A source NAT rule must translate only traffic leaving the trust zone toward the untrust zone. Which configuration scopes the rule this way?
- AA global security policy that matches every zone pair in the device
- BA static route that points the untrust subnet at the trust interface
- CA source NAT rule attached to every interface, so that all zones are covered
- DA source NAT rule set that names the trust zone as from-zone and the untrust zone as to-zone
Show answer and explanationHide answer
Correct answer: DSource NAT rule sets are defined by from-zone and to-zone, which limits translation to that zone pair. Global policies control permission rather than NAT scope, static routes do not define translation scope, and attaching a rule to every interface would not limit it.
Content Security (5 questions)
Question 21
A company wants to stop staff from downloading executable files over HTTP, while still allowing normal web browsing. Which UTM feature is the best fit?
- AWeb filtering that blocks websites by category, such as gambling or news sites
- BContent filtering that blocks specific file extensions or MIME types in HTTP traffic
- CAntispam that checks the sender reputation of incoming email messages before delivery
- DA screen that limits the rate of TCP SYN packets from each individual source address
Show answer and explanationHide answer
Correct answer: BContent filtering matches file characteristics such as extension or MIME type, so it can block executables while leaving other HTTP content alone. Web filtering decides by URL category, antispam handles email, and screens are IDS protections that limit traffic patterns rather than file types.
Question 22
Guest users must be blocked from websites in certain categories, and each blocked request should show a block message. Which feature provides this?
- AAntivirus scanning of HTTP downloads, using malware signature databases to find infected files
- BWeb filtering that makes URL category decisions and returns a block message to the user
- CContent filtering that blocks the MIME type used for HTML pages in every outbound request
- DA deny policy for the guest zone and the HTTP application, applied to all guest web traffic
Show answer and explanationHide answer
Correct answer: BWeb filtering classifies URLs into categories, blocks by category, and can return a block message to the user. Antivirus inspects file content, content filtering would break ordinary web pages if it blocked HTML, and a plain deny policy blocks all guest HTTP rather than selected categories.
Question 23
Which statement about antivirus scanning on an SRX Series device is accurate?
- AIt scans files carried in traffic that a security policy permits, using signature-based detection
- BIt inspects every packet before the security policy is evaluated, including traffic that the policy denies
- CIt replaces the need for a permit action, so traffic is scanned even when no policy allows it
- DIt decrypts encrypted sessions automatically, with no certificate or SSL proxy configuration needed
Show answer and explanationHide answer
Correct answer: AAntivirus is applied to traffic that a permit policy has already allowed, and it checks file content against signatures. It does not scan traffic that is denied, does not replace the permit action, and does not decrypt sessions without the required SSL proxy configuration.
Question 24
What does the antispam feature on an SRX Series device do?
- AIt limits how many SYN packets a single source can send to a mail server in a given second
- BIt scans web pages for phishing links by checking the rating of each URL in the browsing traffic
- CIt removes malware from email attachments by unpacking and rebuilding each message before delivery
- DIt inspects email traffic and classifies messages using allow and block lists, and can tag or block suspected spam
Show answer and explanationHide answer
Correct answer: DAntispam examines email protocol traffic and uses allow and block lists to classify messages, then tags or blocks those judged to be spam. Phishing link checks belong to web filtering, malware removal from attachments belongs to antivirus, and SYN limits are a screen function.
Question 25
A UTM profile has been created, but HTTP downloads are not being scanned. Which two items should the administrator check? (Choose two.)
- AThe security policy that matches the HTTP traffic references the UTM policy in its application services action
- BThe UTM profile is attached to the loopback interface so that it sees all transit traffic
- CThe matching security policy uses a permit action, because UTM is applied only to traffic the policy allows
- DThe web filtering server is listed first in the interfaces statement of the security zone
Show answer and explanationHide answer
Correct answer: A, CA UTM profile takes effect only when a permit policy references it under application services, so the policy must both permit the traffic and name the profile. Attaching a profile to the loopback interface or listing a server in a zone's interfaces statement has no effect on policy-matched traffic.
Monitoring and Troubleshooting (5 questions)
Question 26
An administrator wants to know how often each security policy has matched traffic since the counters were last cleared, in order to decide whether a rule is still used. Which command provides this?
- Ashow security zones detail
- Bshow security flow session summary
- Cshow interfaces terse
- Dshow security policies hit-count
Show answer and explanationHide answer
Correct answer: DThe hit-count view reports the number of times each security policy has matched traffic, which is the usage data needed to judge a rule. The flow session summary counts active sessions rather than policy matches, interface terse output lists interface states, and zone detail shows zone settings.
Question 27
An engineer needs to capture packets crossing one SRX interface in real time to see the traffic on the wire. Which operational command does this?
- Ashow interfaces extensive
- Bmonitor traffic interface
- Cshow log messages
- Drequest support information
Show answer and explanationHide answer
Correct answer: BThe monitor traffic command captures packets on a chosen interface and displays them as they pass. Extensive interface output shows counters rather than packet contents, the log messages view shows system events, and support information collects files for a support case.
Question 28
A security policy intermittently drops a client's sessions, and the administrator wants a record of each session start and end for that policy. What should be configured?
- AAn SNMP trap on the management interface that fires when interface errors occur
- BScreen logging on the zone, which records every packet dropped at the interface
- CSession-init and session-close logging in the policy's then statement
- DTraffic counters on the client's interface, polled every five minutes
Show answer and explanationHide answer
Correct answer: CSession-init and session-close logging in the policy's then clause records when each session starts and ends for that specific policy. Screen logs record IDS events rather than policy sessions, and SNMP traps and interface counters do not track individual sessions.
Question 29
An administrator needs to see the active sessions for one client address, including their source and destination details, while troubleshooting. Which command should be used?
- Ashow route, which displays the routing table entries for the client subnet
- Bshow security policies, which lists the configured rules and their order
- Cshow security flow session with a source-prefix filter for the client address
- Dshow chassis alarms, which lists hardware and environmental alarm conditions
Show answer and explanationHide answer
Correct answer: CThe flow session command lists the sessions in the session table, and a source-prefix filter narrows the output to one client address. The policy listing shows configured rules rather than live sessions, the routing table does not show flows, and chassis alarms concern hardware conditions.
Question 30
An administrator wants to know which security policy a new flow from 10.1.1.5 to 198.51.100.20 on TCP port 22 would match, without sending any traffic. Which command provides this?
- Ashow security match-policies, which reports the policy a simulated flow would match
- Bshow security flow session, which lists only sessions that already exist
- Cmonitor traffic interface, which captures packets that are currently crossing an interface
- Dshow security policies hit-count, which reports matches that have already happened
Show answer and explanationHide answer
Correct answer: AThe match-policies command simulates a lookup for the given zones, addresses, protocol and port without sending traffic, so the expected policy can be confirmed first. Packet capture, the session table and hit counters all depend on traffic that is already flowing or has already passed.