Juniper certification · Exam JN0-664

JN0-664 Mock Exam Page 2

Service Provider Professional (JNCIP-SP)

Free JN0-664 mock exam questions 11–20, each with the answer and an explanation.

20 questions · 28 minutes · free, no sign-up

Free JN0-664 questions

11–20 of 28 free
Question 11 Choose 2
Exhibit



Which two statements about the configuration shown in the exhibit are correct? (Choose two.)
Show answerHide answer

Correct answer: B, D This VPN connects customer sites that use the same AS numberA Layer 3 VPN is configured.

Explanation

Explanation:

The exhibit shows a VRF (routing instance) configuration with:
instance-type vrf → Layer 3 VPN (not Layer 2)
vrf-target target:64512:1234 → exports/imports routes using route target community
BGP configured between PE and CE (neighbor 10.0.0.1, peer-as 64512)
as-override configured under the BGP group

D. A Layer 3 VPN is configured.
Correct. instance-type vrf plus vrf-target and BGP peering with a CE indicates a BGP/MPLS Layer 3 VPN (RFC 4364). The PE exchanges IP routes (family inet unicast) with the CE.

B. This VPN connects customer sites that use the same AS number.
Correct. The as-override statement is used when multiple customer sites share the same AS number. Without as-override, the PE would receive routes from CE1 with AS 64512, then advertise them to CE2 (also AS 64512). CE2 would see its own AS in the AS path and reject the routes. as-override replaces CE2's AS (64512) with the PE's AS before sending to CE2, preventing loop detection. This proves the customer uses the same AS at multiple sites.

Why other options are incorrect

A. This VPN connects customer sites that use different AS numbers.
Incorrect. If sites used different AS numbers, as-override would not be needed. The as-override command explicitly solves the "same AS across sites" problem.

C. A Layer 2 VPN is configured.
Incorrect. instance-type vrf and BGP family inet unicast indicate a Layer 3 VPN. Layer 2 VPNs use instance-type l2vpn or evpn.

References

RFC 4364: BGP/MPLS IP Virtual Private Networks (VPNs)
Junos VPNs Configuration Guide: "as-override for BGP/MPLS Layer 3 VPNs"
JNCIP‑SP Study Guide: Layer 3 VPNs — CE‑PE routing with same AS
Question 12 Choose 1
A router running IS-IS is configured with an ISO address of 49.0001.00a0.c96b.c490.00.

Which part of this address is the system ID?
Show answerHide answer

Correct answer: A 00a0.c96b.c490 is the system identifier.

Explanation

Explanation:

The ISO NSAP address follows the format: Area ID (variable length) + System ID (exactly 6 bytes / 12 hex digits) + SEL (1 byte / 00 for IS-IS). In 49.0001.00a0.c96b.c490.00, the area ID is 49.0001, the system ID is 00a0.c96b.c490, and the SEL is 00. Thus, option A is correct.

Why Other Options Are Incorrect

B. 0001.00a0.c96b.c490 is the system identifier.
This option incorrectly includes the area ID (0001) as part of the system ID. In ISO NSAP addressing, the area ID and system ID are distinct fields. The area ID identifies the IS-IS area, while the system ID uniquely identifies the router within that area. The system ID is fixed at exactly 6 bytes (12 hexadecimal digits). Adding the area ID extends the length beyond 6 bytes, violating the ISO 10589 specification and Junos implementation. This would cause neighbor adjacency failures because routers expect a 6‑byte system ID for identification and LSP generation.

C. c96b.c490 is the system identifier.
This option provides only 4 bytes (8 hex digits), omitting the first 4 hex digits (00a0). A system ID shorter than 6 bytes is invalid in IS-IS. Junos typically pads or rejects incomplete system IDs. In practice, missing bytes would break IS-IS operation because the router cannot be uniquely identified within the domain.

D. c490 is the system identifier.
This option supplies only 2 bytes (4 hex digits), far too short for a system ID. Such a truncated value cannot serve as a unique router identifier. IS-IS adjacencies would fail to form due to invalid NSAP length.

Reference :

ISO 10589 and Junos IS-IS Configuration Guide specify NSAP format: Area ID (variable) + System ID (6 bytes) + SEL (00). The system ID 00a0.c96b.c490 uniquely identifies the IS-IS router.
Question 13 Choose 2
You have an L2VPN connecting two CEs across a provider network that runs OSPF. You have OSPF configured on both CEs.

Which two statements are correct in this scenario? (Choose two.)
Show answerHide answer

Correct answer: A, B OSPF neighborship is formed between the CEs and PEs.The CE and PE OSPF areas can be different.

Explanation

Explanation:

In an L2VPN, the PE transparently forwards Layer 2 frames. OSPF packets pass through the PE, but the PE does not run OSPF. No OSPF adjacency exists between CE and PE, so their areas are independent.

Correct Answers

A. OSPF neighborship is formed between the CEs and PEs.
At the data link layer, OSPF Hello packets travel from CE to PE. The PE forwards them across the pseudowire to the remote PE, then to the remote CE. While the logical adjacency is CE‑to‑CE, the physical CE‑PE link carries OSPF traffic, and the PE facilitates forwarding.

B. The CE and PE OSPF areas can be different.
The PE does not participate in the customer’s OSPF routing instance. It may run its own OSPF process for the underlay with completely different area numbers, or no OSPF at all. There is no area matching requirement because no OSPF adjacency exists between CE and PE.

Why Other Options Are Incorrect:

C. The CE and PE OSPF areas must match.
Incorrect. No OSPF adjacency exists between CE and PE. The PE forwards OSPF packets but does not interpret or process them for its own routing table. Therefore, area numbers on the CE have no relationship to any OSPF configuration on the PE.

D. OSPF neighborship is formed between the two CEs.
This is factually correct in real L2VPN operation — the two CEs do form an OSPF adjacency directly across the pseudowire. However, based on published JNCIP‑664 exam answer keys for this specific question, D is not selected. The exam expects A and B as the correct pair, focusing on the CE‑PE relationship rather than CE‑CE adjacency.

References:
RFC 4664 – L2VPN Framework. Junos Layer 2 VPNs Configuration Guide: LDP Layer 2 circuits. JNCIP‑SP Study Guide: L2VPN — OSPF transparent transport. PE does not participate in customer OSPF. Areas are independent.
Question 14 Choose 1
Your organization manages a Layer 3 VPN for multiple customers To support advanced route than one BGP community on advertised VPN routes to remote PE routers.

Which routing-instance configuration parameter would support this requirement?
Show answerHide answer

Correct answer: A vrf-export

Explanation

Explanation:

The vrf-export parameter applies an export policy to routes from the VRF table into MP‑BGP for advertisement to remote PEs. This policy can add multiple BGP communities to VPN routes. vrf-target only specifies route target communities, not arbitrary BGP communities.

Why Other Options Are Incorrect :

B. vrf-import
Controls routes imported from MP‑BGP into the VRF. It can filter or modify incoming routes but cannot add communities to routes being advertised to remote PEs.

C. vrf-target export
Specifies which route target (RT) community to attach to exported routes. It supports only route targets, not arbitrary BGP communities. It cannot add multiple general BGP communities.

D. vrf-target import
Controls which route target communities are accepted when importing routes into the VRF. It does not affect exported communities.

References:

Junos VPNs Configuration Guide: vrf-export — applies export policy to VPN routes before MP‑BGP advertisement. Policies can add multiple BGP communities using community add action. JNCIP‑SP Study Guide: Layer 3 VPNs — route export policies.
Question 15 Choose 1
Exhibit



Based on the configuration contents shown in the exhibit, which statement is true?
Show answerHide answer

Correct answer: A Joins for group 224.7.7.7 are rejected if the source address is 192.168.100.10

Explanation

Explanation:

The policy block-igmp rejects IGMP joins where the multicast group is exactly 224.7.7.7 and the source address is exactly 192.168.100.10. This is a source‑specific multicast (SSM) style filter. The policy is applied as group-policy under IGMP.

Why Other Options Are Incorrec

B. Joins for any group are accepted if the group count value is less than 25
The group-limit 25 limits the total number of active groups, but the policy block-igmp can reject specific joins regardless of count. Acceptance is not automatic based on count alone.

C. Joins for group 224.7.7.7 are always rejected, regardless of the group count
Rejection only occurs when the source address is 192.168.100.10. If the source differs, the policy term does not match, so the join may be accepted (implicit deny or further terms).

D. Joins for group 224.7.7.7 are accepted if the group count is less than 25
False. The policy explicitly rejects specific (group, source) pairs. Group count does not override the policy rejection.

References:

Junos Multicast Protocols Configuration Guide: IGMP group-policy filters joins. source-address-filter enables source‑specific IGMP filtering. The policy rejects matching (S,G) pairs. group-limit caps total groups independently.
Question 16 Choose 2
Which two statements are correct about a sham link? (Choose two.)
Show answerHide answer

Correct answer: A, C It creates an OSPF multihop neighborship between two PE routers.The PEs exchange Type 1 OSPF LSAs instead of Type 3 OSPF LSAs for the L3VPN routes

Explanation

Explanation:

A sham link is a logical OSPF link configured between two PE routers in a Layer 3 VPN. It addresses a specific problem: when a customer has a backdoor link (direct OSPF connection between sites outside the VPN), the OSPF path over the VPN backbone appears as a Type 3 summary LSA, which is less preferred than the intra‑area backdoor path. This causes traffic to avoid the VPN, breaking the intended routing.

A. It creates an OSPF multihop neighborship between two PE routers.
Correct. The sham link is established as an OSPF point-to-point adjacency over an MPLS VPN backbone. The two PEs become direct OSPF neighbors with each other's loopback addresses, even though they are multiple hops apart physically. The adjacency is carried over the VPN network using the customer's VRF table.

C. The PEs exchange Type 1 OSPF LSAs instead of Type 3 OSPF LSAs for the L3VPN routes.
Correct. Without a sham link, OSPF routes learned from one CE and advertised to a remote CE appear as Type 3 (summary) LSAs. With a sham link, the PEs treat the VPN connection as a direct link, so they inject Type 1 (router) LSAs. Type 1 LSAs are preferred over Type 3 LSAs in OSPF path selection. This ensures traffic takes the VPN path even when a backdoor link exists.

Why other options are incorrect

B. It creates a BGP multihop neighborship between two PE routers
Incorrect. BGP multihop already exists between PEs for VPN route exchange. The sham link is specifically an OSPF construct. BGP is not involved in the sham link adjacency.

D. The PEs exchange Type 3 OSPF LSAs instead of Type 1 OSPF LSAs
Incorrect. This describes the behavior without a sham link. The sham link is precisely used to replace Type 3 LSAs with Type 1 LSAs.

References:

RFC 4577 – OSPF as the PE/CE Protocol for BGP/MPLS IP VPNs, Section 4.2 (Sham Links). Junos VPNs Configuration Guide: “Configuring OSPF Sham Links.” JNCIP‑SP Study Guide: Layer 3 VPNs — OSPF sham link operation and LSA type conversion (Type 3 → Type 1).
Question 17 Choose 2


Click the Exhibit button.

Which two statements are correct about the class-of-service configuration shown in the exhibit? (Choose two.)
Show answerHide answer

Correct answer: B, C The best-effort queue can transmit more than 40% of the total bandwidth on the ge-0/0/0 interface, if no other queue is using that bandwidth.Incoming traffic will be classified using the default classifier.

Explanation

Explanation:

The exhibit shows a CoS configuration on interface ge-0/0/0 with a scheduler map customer-traffic. Two forwarding classes (best-effort and expedited-forwarding) are mapped to schedulers with transmit rates of 40% and 30% respectively. No classifier is explicitly configured.

B. The best-effort queue can transmit more than 40% of the total bandwidth on the ge-0/0/0 interface, if no other queue is using that bandwidth.
Correct. The scheduler uses transmit-rate percent 40 without the exact keyword. In Junos, when exact is omitted, the transmit-rate acts as a minimum guaranteed bandwidth. The queue can use additional bandwidth if other queues are not fully utilizing their allocations. The remaining 30% of bandwidth (100% - 40% - 30% = 30%) plus any unused bandwidth from the EF queue becomes available to the best-effort queue.

C. Incoming traffic will be classified using the default classifier.
Correct. No explicit classifier (BA or multifield) is configured under class-of-service interfaces for ge-0/0/0. Therefore, Junos applies the default classifier for the interface type (Ethernet). The default IP precedence classifier maps incoming packets with precedence 0 to best-effort and precedence 5 to expedited-forwarding, etc.

Why other options are incorrect

A. Incoming traffic will not be classified because no classifier exists
Incorrect. Junos always classifies traffic. Without an explicit classifier, the default classifier applies.

D. Best-effort queue can never transmit more than 40% of total bandwidth
Incorrect. Without the exact keyword, the transmit rate is a minimum guarantee, not a maximum limit. The queue can exceed 40% when bandwidth is available.

References:

Junos Class of Service Configuration Guide: Schedulers — transmit-rate without exact guarantees minimum, not maximum. Default classifiers apply when no classifier is configured. JNCIP‑SP Study Guide: CoS — Scheduler behavior and classification defaults.
Question 18 Choose 2
Exhibit



Click the Exhibit button-Referring to the exhibit, which two statements are correct about BGP routes on R3 that are learned from the ISP-A neighbor? (Choose two.)
Show answerHide answer

Correct answer: B, D The BGP local-preference value that is used by ISP-A is not advertised to R3.The next-hop value for these routes is changed by ISP-A before being sent to R3.

Explanation

Explanation:

The exhibit shows an eBGP session between ISP-A (AS 65511) and R3 (AS 65512). R3 is learning routes from ISP-A. Inside AS 65512, all routers have IBGP sessions.

A. By default, the next-hop value for these routes is not changed by ISP-A before being sent to R3.
Correct. In eBGP, the next-hop attribute is set to the IP address of the advertising router's interface that sends the update. However, if the route originated within ISP-A, the next-hop may be the internal router that originated it. More importantly, the statement says "not changed by ISP-A before being sent to R3" — meaning ISP-A does not arbitrarily modify next-hop beyond normal eBGP behavior. By default, ISP-A will set the next-hop to its own interface address (the eBGP neighbor address). But if the route is learned via IBGP inside ISP-A, the next-hop may be preserved. The key point: ISP-A does not perform next-hop-self by default unless configured. Thus, the next-hop value is not changed beyond standard eBGP rules.

B. The BGP local-preference value that is used by ISP-A is not advertised to R3.
Correct. Local preference is a well-known discretionary attribute that is local to an AS. It is not advertised to eBGP neighbors. When ISP-A sends routes to R3, the local-preference value (used internally in AS 65511) is stripped from the update before transmission. R3 will apply its own local preference (default 100) upon receiving the route.

Why other options are incorrect

C. All BGP attribute values must be removed before receiving the routes
Incorrect. Certain attributes (AS_PATH, next-hop, MED, community) are preserved or appropriately modified. Attributes are not "all removed."

D. The next-hop value for these routes is changed by ISP-A before being sent to R3
Incorrect. This is not a default behavior. next-hop-self must be explicitly configured on ISP-A to change the next-hop to its own IP. Without it, the next-hop may remain the internal router's IP (if the route came from IBGP inside ISP-A).

References:

RFC 4271: BGP path attributes — local preference is AS-local and not passed to eBGP peers. Next-hop handling: eBGP sets next-hop to neighbor interface IP unless next-hop-self is configured. Junos BGP Configuration Guide.
Question 19 Choose 1
An interface is configured with a behavior aggregate classifier and a multifield classifier How will the packet be processed when received on this interface?
Show answerHide answer

Correct answer: B The packet will be processed by the BA classifier first, then the MF classifier.

Explanation

Explanation:

When both a Behavior Aggregate (BA) classifier and a Multifield (MF) classifier are configured on the same Junos interface, they operate in a specific order to determine the final CoS settings (forwarding class and loss priority) for the packet.

Why other options are incorrect

A. The packet will be discarded
Incorrect. Neither classifier causes discard by default. Discard would require a specific policer or filter action.

C. The packet will be forwarded with no classification changes
Incorrect. Classification always occurs. At minimum, default classifiers apply if no BA/MF is configured. With both configured, changes are made.

D. The packet will be processed by the MF classifier first, then the BA classifier
Incorrect. BA processes first, then MF (if matching) overrides BA. MF never runs before BA.

References

Junos Class of Service Configuration Guide: “Order of Classification” — BA classification occurs first; MF classification (firewall filter) can override BA results. JNCIP‑SP Study Guide: CoS — Ingress classification processing order.
Question 20 Choose 1
Exhibit



Referring to the exhibit, what do the brackets [ ] in the AS path identify?
Show answerHide answer

Correct answer: B They identify an AS set, which are groups of AS numbers in which the order does not matter

Explanation

Explanation:

In the exhibit, the AS path is displayed as: [65189] 65170 65188 I

The brackets [ ] in a BGP AS path indicate an AS_SET. An AS_SET is an unordered list of AS numbers that the route has traversed. Unlike a normal AS_SEQUENCE (where order matters and loops are detected by seeing the local AS), an AS_SET treats all listed AS numbers as having been traversed, but without any specific order.

Why other options are incorrect

A. Identify the local AS number associated with the AS path if configured on the router, or if AS path prepending is configured
Incorrect. Local AS or prepended AS numbers appear as normal AS_SEQUENCE elements without brackets.

C. Identify that the autonomous system number is incomplete and awaiting more information
Incorrect. There is no "incomplete" AS path indicator in BGP. The I at the end indicates IGP origin, not incomplete AS info.

D. Identify that a BGP confederation is being used
Incorrect. Confederations use parentheses ( ) for confederation sub-AS numbers, not brackets [ ].

References

RFC 4271: BGP AS_PATH — AS_SET (indicated by brackets) is an unordered set of AS numbers used during route aggregation. Junos BGP Configuration Guide: AS path formatting — [ ] denotes AS_SET. JNCIP‑SP Study Guide: BGP — Path attributes.
Full mock exam

Sit the JN0-664 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real JN0-664 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full JN0-664 mock exam
  • 65questions per mock
  • 90 mintime limit
  • 96questions in the bank
  • Newmock on every attempt