Courseiva

CCNA OSPF Questions

56 questions · OSPF · All types, answers revealed

1
MCQeasy

What is the OSPF router ID format used by Junos OS when initializing the OSPF routing process if no explicit router ID is configured?

A.A 48-bit MAC address
B.An integer value between 1 and 65535
C.A 128-bit IPv6 address
D.A 32-bit IPv4 address format (dotted quad)
AnswerD

Correct. OSPF router IDs are 32-bit values represented as IPv4 addresses.

Why this answer

OSPF router IDs are formatted as a 32-bit dotted-quad number, identical in structure to an IPv4 address.

2
Multi-Selectmedium

Which TWO features characterize OSPFv3 compared to OSPFv2? (Choose two)

Select 2 answers
A.OSPFv3 exclusively uses MD5 authentication embedded in the OSPF packet header.
B.OSPFv3 router IDs remain 32-bit unsigned integers, formatted identically to IPv4 addresses.
C.OSPFv3 eliminates the need for Area 0 in multi-area topologies.
D.OSPFv3 uses IPv6 link-local addresses for neighbor discovery and adjacency establishment.
E.OSPFv3 requires manual static routing for all inter-area paths.
AnswersB, D

Correct. The router ID format is unchanged between OSPFv2 and OSPFv3.

Why this answer

OSPFv3 is designed for IPv6, runs directly over IPv6 using link-local addresses for neighbor discovery, and decouples router IDs from IPv6 addresses (though they remain 32-bit integers).

3
MCQmedium

You are configuring authentication for OSPF on a Junos router using MD5. Where must the MD5 key ID and password be defined in the configuration hierarchy?

A.[edit protocols ospf area <area> interface <interface> authentication md5]
B.[edit protocols bgp group <group> authentication-key]
C.[edit routing-options autonomous-system]
D.[edit system authentication-order]
AnswerA

Correct. MD5 keys are configured under the specific OSPF interface block in Junos.

Why this answer

OSPF MD5 authentication keys in Junos are defined directly under the interface configuration block using the 'authentication-type md5' and 'authentication-key key-id <id> key <password>' statements.

4
MCQeasy

Which command allows an administrator to view the OSPF link-state database (LSDB) summary on a Junos device?

A.show ospf neighbor
B.show route protocol ospf
C.show ospf database
D.show ospf interface
AnswerC

Correct. This command displays the LSDB entries on a Junos router.

Why this answer

The command 'show ospf database' displays the OSPF link-state database entries, categorized by LSA type, on a Junos device.

5
Multi-Selecteasy

Which TWO packet types are utilized during the OSPF database synchronization process after neighbor adjacencies are established? (Choose two)

Select 2 answers
A.Link-State Acknowledgment (LSAck) packets
B.Routing Information Protocol (RIP) updates
C.Database Description (DBD) packets
D.Hello packets
E.Link-State Request (LSR) packets
AnswersC, E

Correct. DBD packets summarize LSDB headers during synchronization.

Why this answer

Once adjacencies move past the 2-Way state, Database Description (DBD) and Link-State Request (LSR) packets are used to synchronize the link-state databases between neighbors.

6
MCQeasy

An administrator is troubleshooting an OSPF adjacency issue on an interface connecting two Juniper vMX routers. Both routers are stuck in the 2-Way state on a broadcast segment. Which configuration parameter must match on both routers for the adjacency to progress beyond 2-Way?

A.The interface metric must be identical
B.The interface priority must be set to zero on both nodes
C.The router-id must be identical on both routers
D.The hello-interval and dead-interval timers must match
AnswerD

OSPF requires hello and dead intervals to match on an interface for neighbors to establish an adjacency.

Why this answer

On broadcast networks, OSPF routers elected as DR and BDR form adjacencies with all routers, while DROther routers form adjacencies only with the DR and BDR. However, basic OSPF interface parameters like Hello and Dead intervals, area ID, and authentication must match for any adjacency to form. Specifically, the Hello and Dead timers must match across the link.

7
MCQhard

You are troubleshooting an OSPF network where an NSSA area is connected to the backbone via an ABR. External routes are being injected into the NSSA by an ASBR. Which router is responsible for translating Type 7 LSAs into Type 5 LSAs before flooding them into the backbone area?

A.The NSSA ABR
B.The ASBR that originally injected the external route
C.Any internal router residing within the NSSA backbone
D.The designated router (DR) of the NSSA segment
AnswerA

The ABR connected to the NSSA performs the translation of Type 7 LSAs to Type 5 LSAs.

Why this answer

In an OSPF Not-So-Stubby Area (NSSA), the NSSA Area Border Router (ABR) with the highest Router ID (or the configured translator) translates Type 7 LSAs received from the ASBR into Type 5 LSAs for propagation into the OSPF backbone and other standard areas.

8
MCQeasy

Which OSPF packet type is used to acknowledge the receipt of Link-State Updates (LSUs) to ensure reliable flooding?

A.Database Description (Type 2)
B.Link-State Request (Type 3)
C.Hello (Type 1)
D.Link-State Acknowledgment (Type 5)
AnswerD

Correct. LSAck packets provide reliability for OSPF flooding.

Why this answer

Link-State Acknowledgment (LSAck) packets (Packet Type 5) explicitly acknowledge receipt of LSUs to maintain reliable database synchronization.

9
Multi-Selectmedium

Which TWO actions occur during OSPF link-state database flooding on a Junos routing device? (Choose two)

Select 2 answers
A.The router converts the link-state database into BGP path attributes.
B.The router immediately deletes all static routes from the routing table.
C.The router resets all active neighbor adjacencies across the entire device.
D.The router updates its link-state database (LSDB) with the received LSA and acknowledges it.
E.The router floods the LSA out all other OSPF-enabled interfaces belonging to that area.
AnswersD, E

Correct. LSDBs are updated and acknowledged via LSAcks.

Why this answer

When an LSA update is received, the router adds or updates it in its LSDB, schedules an SPF calculation (or runs incremental SPF), and floods the LSA out all other participating OSPF interfaces.

10
MCQhard

An engineer needs to prevent Type 4 and Type 5 LSAs from entering a specific OSPF area while still allowing external routes to be summarized via default routing. Which area type should be configured?

A.Standard OSPF Area
B.Not-So-Stubby Area (NSSA)
C.Totally Stubby Area
D.Standard Stub Area
AnswerC

Correct. A totally stubby area blocks Type 3, 4, and 5 LSAs and uses a default route for external destinations.

Why this answer

A Totally Stubby Area blocks Type 3, Type 4, and Type 5 LSAs, and automatically injects a default route (Type 3) into the area to reach destinations outside the area.

11
MCQmedium

You are configuring an OSPF interface on a Junos router and want to ensure that the interface never participates in DR/BDR election, always acting as a point-to-point connection. Which interface type should you explicitly configure?

A.set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p
B.set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 passive
C.set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 point-to-multipoint
D.set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 no-dr-election
AnswerA

Correct. The interface-type p2p command forces point-to-point behavior and disables DR/BDR elections.

Why this answer

In Junos, setting the OSPF interface type to 'point-to-point' forces the protocol to treat the link as point-to-point, bypassing the DR/BDR election process entirely even if underlying media is broadcast.

12
Multi-Selecteasy

Which TWO OSPF packet types are used for reliable flooding and direct acknowledgment of Link State Advertisements? (Choose two.)

Select 2 answers
A.Database Description (DBD) packets
B.Hello packets
C.Link State Request (LSR) packets
D.Link State Update (LSU) packets
E.Link State Acknowledgment (LSAck) packets
AnswersD, E

LSU packets flood LSAs reliably across the network.

Why this answer

OSPF uses LSU (Link State Update) packets, which contain actual LSAs, and LSAck (Link State Acknowledgment) packets to confirm receipt, ensuring reliable flooding across the network.

13
MCQeasy

What type of LSA is generated by an OSPF Area Border Router (ABR) to advertise networks from one area to another area?

A.Type 2 (Network LSA)
B.Type 1 (Router LSA)
C.Type 3 (Summary LSA)
D.Type 5 (AS-external LSA)
AnswerC

Correct. Type 3 LSAs advertise inter-area routes between areas.

Why this answer

Type 3 LSAs (Network Summary LSAs) are generated by ABRs to advertise networks originating in one area to other areas within the OSPF routing domain.

14
Multi-Selecteasy

Which TWO troubleshooting commands help identify OSPF route installation issues in the Junos routing table? (Choose two)

Select 2 answers
A.clear ospf database
B.show ospf neighbor detail
C.show ospf database summary
D.show route protocol ospf
E.show route terse
AnswersD, E

Correct. Displays active routing table entries learned via OSPF.

Why this answer

Commands like 'show route protocol ospf' and 'show route table inet.0' display routes learned and installed by OSPF.

15
MCQeasy

Which Junos command displays detailed information about OSPF neighbor states, including dead timer countdowns and address bindings?

A.show ospf neighbor detail
B.show ospf statistics
C.show route table inet.0
D.show ospf database detail
AnswerA

Correct. This command displays detailed information regarding OSPF neighbors.

Why this answer

The command 'show ospf neighbor detail' provides comprehensive operational details about OSPF neighbor relationships, state, timers, and interface bindings.

16
Multi-Selecthard

Which THREE types of routers can act as an OSPF Autonomous System Boundary Router (ASBR)? (Choose three)

Select 3 answers
A.An Area Border Router (ABR) redistributing BGP routes into OSPF
B.A router operating exclusively in a totally stubby area
C.A non-backbone internal router redistributing connected routes into OSPF
D.A router running only RIP without OSPF enabled
E.A backbone router inside Area 0 redistributing static routes into OSPF
AnswersA, C, E

Correct. An ABR can also act simultaneously as an ASBR.

Why this answer

An ASBR can be an internal router, an ABR, or a router located in the backbone or stub areas, provided it is configured to redistribute external routes from another protocol (like BGP, static, or local direct routes) into OSPF.

17
MCQeasy

Which command is used on a Junos device to clear the OSPF database and force a re-synchronization with neighbors?

A.restart ospf-protocol
B.clear ospf neighbor
C.clear ospf database
D.reset routing-protocol ospf
AnswerC

Correct. This command clears and resets the OSPF database.

Why this answer

The 'clear ospf database' command clears and refreshes the OSPF link-state database on a Junos device.

18
Multi-Selecteasy

Which TWO states are valid OSPF operational adjacency states seen in Junos operational outputs? (Choose two)

Select 2 answers
A.2-Way
B.Listen
C.Connected
D.Full
E.Active
AnswersA, D

Correct. 2-Way indicates bidirectional communication has been established.

Why this answer

Valid OSPF states include Down, Init, 2-Way, ExStart, Exchange, Loading, and Full.

19
MCQeasy

What is the primary function of the OSPF Designated Router (DR) on a broadcast network segment?

A.To translate Type 7 LSAs into Type 5 LSAs for the backbone
B.To authenticate OSPF hello packets across interfaces
C.To act as the sole exit gateway for all external traffic in the AS
D.To minimize the number of adjacencies and LSA flooding traffic on a multi-access segment
AnswerD

Correct. The DR and BDR limit adjacency bloat and reduce flooding traffic on broadcast/NBMA networks.

Why this answer

The DR reduces network traffic and LSA flooding overhead by acting as a central focal point for exchanging routing information and generating the Network LSA (Type 2) on multi-access segments.

20
MCQhard

An OSPF area contains routers running Junos OS where external routes must be imported into the OSPF domain from a BGP core. However, the area must not accept external AS-external LSAs (Type 5) from other areas, but must allow routers within this area to originate external routes themselves. Which area type fulfills this requirement?

A.Backbone Area (Area 0)
B.Totally Stubby Area
C.Standard Stub Area
D.Not-So-Stubby Area (NSSA)
AnswerD

Correct. NSSA allows external routing information to be injected via Type 7 LSAs without accepting Type 5 LSAs.

Why this answer

A Not-So-Stubby Area (NSSA) blocks Type 5 AS-external LSAs from the backbone, but allows locally redistributed external routes to be translated into Type 7 LSAs and flooded within the NSSA.

21
Multi-Selecthard

An administrator needs to configure an OSPF stub area on a Juniper router. Which THREE characteristics apply to a standard OSPF stub area? (Choose three.)

Select 3 answers
A.Type 3 summary LSAs are blocked from entering the area
B.The ABR injects a default route (0.0.0.0/0) into the area
C.Type 5 AS-external LSAs are blocked from entering the area
D.Virtual links are not permitted to transit through a stub area
E.ASBRs are permitted to reside directly inside the stub area
AnswersB, C, D

Stub ABRs automatically originate a default route to replace external routes.

Why this answer

Standard stub areas block Type 5 AS-external LSAs and Type 4 summary LSAs, using a default route generated by the ABR to reach external destinations instead.

22
MCQeasy

During the establishment of an OSPF adjacency, two routers exchange Database Description (DBD) packets. What is the primary purpose of the DBD packet exchange in the OSPF protocol sequence?

A.To synchronize link-state database summaries between neighbors
B.To discover directly connected neighbors on a shared segment
C.To request specific missing LSAs from a neighbor's database
D.To explicitly acknowledge the receipt of specific LSA updates
AnswerA

DBD packets provide a summary of the LSDB so routers can identify missing entries.

Why this answer

DBD packets contain a summary of the link-state database (LSDB), listing the headers of each LSA. This allows receiving routers to compare their local LSDBs and request missing or more recent LSAs using Link State Request (LSR) packets.

23
MCQhard

An enterprise network has redundant ABRs connecting Area 1 to Area 0. To prevent suboptimal routing and unnecessary Type 3 LSA flooding, an administrator decides to filter inter-area summary routes on the ABR using a Junos policy. Which configuration component is required to apply an export policy to OSPF summary routes on an ABR?

A.set protocols ospf import <policy-name>
B.set routing-options export <policy-name>
C.set protocols ospf area 0.0.0.1 prefix-export <policy-name>
D.set protocols ospf export <policy-name>
AnswerC

Correct. Prefix-export policies control which summarized prefixes are advertised out of or into an area.

Why this answer

Inter-area summarization and export filtering on Junos ABRs are configured using the 'area <name> prefix-export' or range policies under the OSPF hierarchy.

24
MCQeasy

An administrator is configuring OSPF on a Junos device and notices that two routers on a broadcast segment are stuck in the 2-Way state. What is the most likely cause of this behavior on a broadcast network?

A.There is a mismatch in the OSPF hello interval configuration.
B.The routers are neither the DR nor the BDR on a multi-access network.
C.Authentication keys differ between the neighboring interfaces.
D.The area type is incorrectly configured as a totally stubby area.
AnswerB

Correct. DROther routers only form full adjacencies with the DR and BDR, remaining in 2-Way with other DROther routers.

Why this answer

On broadcast networks, OSPF establishes full adjacencies only with the Designated Router (DR) and Backup Designated Router (BDR). Routers that are neither DR nor BDR remain in the 2-Way state with each other to reduce traffic and LSA flooding.

25
MCQmedium

An administrator needs to modify the OSPF cost on a specific Junos interface to influence traffic engineering without changing the reference bandwidth globally. Which command accomplishes this?

A.set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 cost 50
B.set protocols ospf reference-bandwidth 10g
C.set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 metric 50
D.set interfaces ge-0/0/2.0 ospf-cost 50
AnswerC

Correct. The metric statement overrides the calculated cost for that specific interface.

Why this answer

OSPF interface cost can be explicitly overridden on a per-interface basis using the 'metric' parameter under the interface configuration hierarchy.

26
MCQhard

When calculating OSPF path costs in a network containing high-speed links (such as 10Gbps and 40Gbps interfaces), what default reference bandwidth does Junos use, and what configuration adjustment is typically required to differentiate costs accurately?

A.100 Mbps default; reference bandwidth must be increased to accurately cost high-speed links.
B.100 Gbps default; reference bandwidth must be decreased for legacy interfaces.
C.10 Gbps default; no adjustment is needed for modern networks.
D.1 Gbps default; interfaces above 1 Gbps are automatically assigned fractional costs.
AnswerA

Correct. The default reference bandwidth is 100 Mbps, which causes high-speed links to share a minimum cost of 1 unless adjusted.

Why this answer

Junos uses a default OSPF reference bandwidth of 100 Mbps (10^8). Because 100 Mbps results in a cost of 1 for any link 100 Mbps or faster, administrators must increase the reference bandwidth (e.g., to 100 Gbps) so that 10G, 40G, and 100G interfaces have distinct, meaningful integer costs.

27
MCQhard

In an OSPF NSSA configuration on a Junos device, which router is specifically responsible for translating Type 7 LSAs into Type 5 LSAs when propagating routes out of the NSSA into the backbone?

A.The OSPF Designated Router (DR) on the NSSA segment
B.The NSSA ABR with the highest router ID
C.The ASBR that originated the external route
D.Any internal NSSA router running Junos OS
AnswerB

Correct. The NSSA ABR performs the translation of Type 7 to Type 5 LSAs.

Why this answer

The NSSA Area Border Router (ABR) that has the highest router ID acts as the NSSA translator, converting Type 7 LSAs to Type 5 LSAs for the backbone area.

28
MCQmedium

You are troubleshooting an OSPF network and notice that a router's OSPF state is stuck in 'ExStart'. What is the most common reason for this adjacency state issue?

A.Duplicate OSPF router IDs in the network
B.Different authentication passwords on the links
C.An MTU mismatch between the neighboring OSPF interfaces
D.A mismatch in the OSPF area ID configuration
AnswerC

Correct. MTU mismatches prevent DBD packet exchange, leaving routers stuck in ExStart.

Why this answer

Being stuck in the ExStart/Exchange state is typically caused by an MTU mismatch between the neighboring interfaces, or a mismatch in the master/slave negotiation parameters.

29
MCQhard

An enterprise network runs OSPF across multiple areas. A Junos routing device receives an LSA with an aging timer approaching MaxAge (3600 seconds). Under what condition does a router purge or flush an LSA from its link-state database?

A.When the SPF algorithm recalculates the routing table
B.When a hello packet is missed three times consecutively
C.When the LSA reaches 3600 seconds (MaxAge) and is flooded across the area to flush it
D.When the OSPF dead timer expires on the local interface
AnswerC

Correct. LSA MaxAge is 3600 seconds, at which point it is flushed from the database.

Why this answer

When an LSA reaches its MaxAge of 3600 seconds without being refreshed by its originator, or when an explicit max-age update is received indicating the route has gone down, routers flood the MaxAge LSA to flush it from the LSDB.

30
MCQmedium

You are tasked with tuning OSPF convergence times on a Juniper EX Series switch. Which configuration command hierarchy allows you to modify the OSPF Hello and Dead intervals on a specific interface?

A.set routing-options ospf interface <name> interval <seconds>
B.set protocols ospf area <name> interface <name> hello-interval <seconds>
C.set interfaces <name> unit 0 family inet ospf hello-timer <seconds>
D.set system ospf interface <name> timer hello <seconds>
AnswerB

The hello-interval and dead-interval commands are nested under the OSPF interface hierarchy.

Why this answer

In Junos OS, OSPF interface-specific parameters such as hello-interval and dead-interval are configured under the [edit protocols ospf area <area-id> interface <interface-name>] hierarchy.

31
Multi-Selecthard

Which THREE LSA types are blocked from entering a standard OSPF Stub Area? (Choose three)

Select 3 answers
A.Type 4 (ASBR summary LSAs)
B.Type 1 (Router LSAs)
C.Type 5 (AS-external LSAs)
D.Type 2 (Network LSAs)
E.Type 7 (NSSA external LSAs)
AnswersA, C, E

Correct. Stub areas block Type 4 LSAs since external ASBRs reside outside the stub.

Why this answer

A standard Stub Area blocks Type 5 AS-external LSAs, Type 4 ASBR summary LSAs, and depending on implementation nuances, summarizes inter-area traffic via default routes while blocking external information. Specifically, standard stub areas block Type 4 and Type 5 LSAs, and replace external routes with a default route (often via Type 3 summarization behavior). Wait, let's look closely at standard stub areas: they block Type 4 and Type 5 LSAs.

Totally stubby areas also block Type 3 inter-area LSAs. Let's frame the options correctly for a standard stub area blocking Type 4, Type 5, and external routing features.

32
MCQmedium

You are troubleshooting an OSPF network where an ASBR is injecting external routes. Routers in other areas need to reach this ASBR. Which LSA type provides the reachability information to the ASBR itself?

A.Type 2 (Network LSA)
B.Type 7 (NSSA External LSA)
C.Type 4 (ASBR Summary LSA)
D.Type 5 (AS-external LSA)
AnswerC

Correct. Type 4 LSAs advertise the location of the ASBR to other areas.

Why this answer

Type 4 LSAs (ASBR Summary LSAs) are generated by an ABR to advertise the router ID of an ASBR to areas other than the one where the ASBR resides.

33
MCQmedium

You need to verify the router ID elected by OSPF on a Junos routing device. Which operational command provides this information quickly?

A.show system router-id
B.show route summary
C.show ospf interface detail
D.show ospf overview
AnswerD

Correct. This command displays the OSPF router ID and general protocol statistics.

Why this answer

The 'show ospf overview' command displays general OSPF parameters including the router ID, area count, and process statistics on a Junos device.

34
MCQhard

You are configuring OSPF route summarization on an ABR in a Junos environment. You want to summarize routes from Area 1 into Area 0. Which Junos configuration hierarchy is used to define this summary?

A.set routing-options static route 192.168.0.0/16 discard
B.set protocols ospf summary-prefix 192.168.0.0/16
C.set protocols ospf export summarize-policy
D.set protocols ospf area 0.0.0.1 range 192.168.0.0/16
AnswerD

Correct. The area range statement under the source area is used on an ABR to summarize prefixes entering the backbone.

Why this answer

Area summarization on an OSPF Area Border Router (ABR) in Junos is configured under the [edit protocols ospf area <area-name> prefix-export] or area range statement depending on Junos version, specifically using 'area <id> range <prefix>' under OSPF protocols.

35
Multi-Selectmedium

Which TWO packet types are sent reliably (requiring acknowledgment) by OSPF routers during communication? (Choose two)

Select 2 answers
A.Type 0 heartbeat packets
B.Hello packets
C.Link-State Update (LSU) packets
D.Link-State Request (LSR) packets
E.Link-State Acknowledgment (LSAck) packets
AnswersC, D

Correct. LSUs require LSAck acknowledgments.

Why this answer

Reliable OSPF packets include Database Description (DBD), Link-State Request (LSR), and Link-State Update (LSU) packets, all of which require explicit or implicit acknowledgments to ensure reliable delivery. Hello and LSAck packets do not require acknowledgments.

36
MCQhard

An OSPF network running on Junos has multiple equal-cost paths to a destination. By default, how many equal-cost paths does Junos OSPF install into the forwarding table (inet.0)?

A.1
B.16
C.32
D.4
AnswerB

Correct. The default maximum ECMP paths for OSPF in Junos is 16.

Why this answer

By default, Junos supports up to 16 equal-cost multi-path (ECMP) routes for OSPF, though this can be tuned via routing-options.

37
Multi-Selectmedium

When examining an OSPF link-state database on a Junos device, which THREE LSA types are flooded exclusively within the local area and do not cross Area Border Routers (ABRs) into other areas? (Choose three.)

Select 3 answers
A.Type 2 Network LSA
B.Type 7 NSSA LSA
C.Type 4 Summary LSA
D.Type 1 Router LSA
E.Type 3 Summary LSA
AnswersA, B, D

Type 2 LSAs describe multi-access networks and stay within the local area.

Why this answer

Type 1 (Router LSAs) and Type 2 (Network LSAs) describe the topology within a single area and do not cross ABRs. Type 7 (NSSA external LSAs) are also constrained within an NSSA area until translated by the ABR.

38
MCQeasy

Which LSA type is originated by a Designated Router (DR) on a broadcast or NBMA network to describe all the routers attached to that multi-access segment?

A.Type 3 (Summary LSA)
B.Type 4 (ASBR Summary LSA)
C.Type 2 (Network LSA)
D.Type 1 (Router LSA)
AnswerC

Correct. Type 2 LSAs describe multi-access network connections and attached routers.

Why this answer

Type 2 LSAs (Network LSAs) are generated by the DR to list all routers attached to a multi-access network segment.

39
MCQmedium

A network engineer wants to inject external routes into an OSPF domain using Junos OS. The routes originate from an external BGP process. Which OSPF LSA type is generated by the ASBR to describe these external destinations?

A.Type 7 NSSA LSA
B.Type 3 Summary LSA
C.Type 4 Summary LSA
D.Type 5 AS-external LSA
AnswerD

Type 5 LSAs carry routing information for destinations external to the OSPF domain.

Why this answer

Type 5 LSAs, also known as AS-external-LSAs, are originated by the Autonomous System Boundary Router (ASBR) to advertise destinations external to the OSPF autonomous system.

40
MCQeasy

Which OSPF area is mandatory in any multi-area OSPF routing architecture?

A.Area 1
B.Area 0 (Backbone Area)
C.A totally stubby area
D.An NSSA area
AnswerB

Correct. Area 0 is the required backbone transit area in OSPF.

Why this answer

Area 0, also known as the backbone area, is mandatory in multi-area OSPF architectures. All other areas must connect directly or via virtual links to Area 0.

41
Multi-Selectmedium

Which TWO statements correctly describe OSPF Area Border Routers (ABRs) in a Junos environment? (Choose two)

Select 2 answers
A.An ABR is prohibited from generating Type 3 summary LSAs.
B.An ABR maintains a separate link-state database for each area to which it connects.
C.An ABR automatically converts all Type 5 LSAs into Type 1 LSAs.
D.An ABR must have at least one interface connected to Area 0 (the backbone).
E.An ABR functions exclusively as an Autonomous System Boundary Router (ASBR).
AnswersB, D

Correct. OSPF maintains distinct LSDBs per area on routers connected to multiple areas.

Why this answer

ABRs connect non-backbone areas to the backbone (Area 0) and maintain separate link-state databases for each area they belong to. They are also responsible for generating Type 3 summary LSAs between areas.

42
Multi-Selecteasy

Which TWO LSA types are flooded throughout a single OSPF area and do not cross ABRs into other areas? (Choose two)

Select 2 answers
A.Type 5 (AS-external LSA)
B.Type 1 (Router LSA)
C.Type 4 (ASBR Summary LSA)
D.Type 3 (Summary LSA)
E.Type 2 (Network LSA)
AnswersB, E

Correct. Type 1 LSAs stay within their originating area.

Why this answer

Type 1 (Router) and Type 2 (Network) LSAs describe the internal topology of a single area and are strictly contained within that area, whereas Type 3 LSAs cross ABRs.

43
MCQhard

An administrator implements OSPF on a Junos router with virtual links to span a disconnected non-backbone area across a non-backbone transit area to reach Area 0. What is a key design best practice regarding OSPF virtual links in enterprise networks?

A.They must be configured with a metric of 1 to ensure primary path selection.
B.They should be avoided in permanent designs due to troubleshooting complexity and lack of stability.
C.They automatically convert the transit area into an extension of the backbone.
D.They require the transit area to be configured as a totally stubby area.
AnswerB

Correct. Virtual links are considered a design workaround and are best avoided in stable, well-architected networks.

Why this answer

Virtual links should be used strictly as temporary or fallback solutions because troubleshooting them is complex, and they introduce fragility into the OSPF backbone topology.

44
Multi-Selectmedium

Which TWO criteria are used by Junos OS to select the OSPF router ID if no explicit router ID is configured under [edit routing-options]? (Choose two)

Select 2 answers
A.The highest IPv4 address configured on any active physical interface
B.The highest IPv4 address configured on any active loopback interface (lo0)
C.The lowest IPv4 address configured on a transit interface
D.The lowest MAC address assigned to the management interface (fxp0)
E.The router's configured BGP Autonomous System number
AnswersA, B

Correct. If no loopback has an IPv4 address, the highest physical interface IP is chosen.

Why this answer

When no explicit router ID is configured, Junos picks the highest IPv4 address configured on any loopback interface (lo0), and failing that, the highest IPv4 address on any active physical interface.

45
MCQeasy

Which OSPF packet type is responsible for discovering neighbors and maintaining adjacencies on a Junos device?

A.Link-State Update (Type 4)
B.Hello (Type 1)
C.Link-State Request (Type 3)
D.Database Description (Type 2)
AnswerB

Correct. Hello packets discover neighbors and maintain adjacencies.

Why this answer

OSPF Hello packets (Packet Type 1) are sent periodically to discover neighbors, establish bidirectional communication, and maintain adjacencies.

46
MCQhard

During OSPF database synchronization, two Junos routers exchange Database Description (DBD) packets. One router repeatedly sends DBD packets with the master/slave bit set incorrectly or encounters sequence number mismatches, causing the adjacency to loop in the Exchange state. Which OSPF packet type is immediately sent by a router to request missing link-state information once the ExStart/Exchange transition completes?

A.Link-State Request (Type 3)
B.Hello (Type 1)
C.Database Description (Type 2)
D.Link-State Update (Type 4)
AnswerA

Correct. LSR packets are used to request specific LSAs identified during the DBD exchange phase.

Why this answer

Once DBD exchange completes and master/slave negotiation finishes, routers transition to the Loading state and use Link-State Request (LSR) packets (Type 3) to request more detailed or missing LSAs from their neighbor.

47
MCQeasy

What information is contained within an OSPF Type 1 (Router LSA)?

A.Summary prefixes imported from external autonomous systems
B.The router's active interfaces, interface types, costs, and neighbor states within an area
C.Inter-area summary routes generated by ABRs
D.Networks attached to a designated router on a broadcast segment
AnswerB

Correct. Type 1 LSAs describe local links and states for a router inside its area.

Why this answer

Type 1 LSAs describe the state of the router's links (interfaces) that connect to a given area, including their costs and neighbor relationships.

48
MCQmedium

You are configuring OSPF on a Junos device and notice that Type 3 LSAs are not being generated or propagated into a specific area. When examining the configuration under protocols ospf, you see that the area is defined with the no-summaries parameter. Which area type has been configured?

A.Not-So-Stubby Area (NSSA)
B.Transit Area
C.Standard OSPF Area
D.Totally Stubby Area
AnswerD

The 'no-summaries' option configures a totally stubby area, blocking Type 3, 4, and 5 LSAs.

Why this answer

In Junos OS, the 'no-summaries' parameter under 'set protocols ospf area' defines a Stub area as a totally stubby area, which suppresses Type 3 summary LSAs from being injected into the area by the ABR.

49
Multi-Selecteasy

Which TWO commands can an administrator use on a Junos device to verify OSPF interface configurations and operational status? (Choose two)

Select 2 answers
A.show ospf bgp-neighbors
B.show interfaces terse
C.show route protocol bgp
D.show ospf interface
E.show ospf interface detail
AnswersD, E

Correct. Displays OSPF interface summary status.

Why this answer

Commands like 'show ospf interface' and 'show ospf interface detail' provide detailed operational statistics and configurations for OSPF-enabled interfaces.

50
MCQmedium

You are configuring OSPF redistribution on a Junos router and want to ensure that external routes imported from a static routing table retain an escalating external metric. Which external route metric type (E1 or E2) should you choose if you want the internal cost to be added to the external cost during path selection?

A.Type 7 (NSSA)
B.Type 1 (E1)
C.Type 3 (E3)
D.Type 2 (E2)
AnswerB

Correct. E1 metrics incorporate both the external cost and the internal OSPF cost to the ASBR.

Why this answer

External Type 1 (E1) routes add the internal OSPF cost to the external redistribution cost, whereas External Type 2 (E2) routes use only the external cost, ignoring internal path costs.

51
MCQmedium

You are troubleshooting an OSPF adjacency issue between two Juniper EX Series switches. One switch logs an error stating 'OSPF packet received with mismatched area ID'. Where in the Junos CLI should you check and correct this parameter?

A.[edit protocols ospf area <area-id> interface <interface-name>]
B.[edit system services ospf]
C.[edit protocols ospf area <area-id> stub]
D.[edit routing-options router-id <ip-address>]
AnswerA

Correct. Area assignments are applied directly to interfaces or under the area hierarchy block.

Why this answer

OSPF area IDs are configured under the [edit protocols ospf area <area-id>] hierarchy level in Junos. Mismatched area IDs between connected interfaces prevent the Hello protocol from establishing neighbors.

52
MCQhard

An operator executes the 'show ospf database' command on a Junos device and notices multiple Type 2 Network LSAs. Under which specific network topology condition are Type 2 LSAs generated?

A.Stub areas filtering out external LSA advertisements
B.Virtual links traversing a non-backbone transit area
C.Point-to-point links between two directly connected routers
D.Multi-access broadcast segments with an active Designated Router
AnswerD

Type 2 Network LSAs are generated by the DR for multi-access networks.

Why this answer

Type 2 Network LSAs are generated by the Designated Router (DR) on multi-access broadcast or non-broadcast multi-access (NBMA) networks to describe all routers attached to that specific network segment.

53
Multi-Selecthard

An administrator wants to configure an OSPF Not-So-Stubby Area (NSSA) on a Junos router. Which THREE characteristics distinguish an NSSA from a standard OSPF Stub Area? (Choose three)

Select 3 answers
A.An NSSA blocks incoming Type 5 AS-external LSAs from the backbone area.
B.An NSSA automatically converts all internal links into broadcast point-to-multipoint networks.
C.An NSSA allows local routers to originate external routes using Type 7 LSAs.
D.An NSSA ABR translates Type 7 LSAs into Type 5 LSAs for flooding into the backbone.
E.An NSSA is prohibited from supporting multiple ABRs.
AnswersA, C, D

Correct. Like stub areas, NSSAs block external Type 5 LSAs from outside.

Why this answer

NSSAs allow injection of external routes via Type 7 LSAs, require an NSSA ABR to translate Type 7 to Type 5 LSAs, and block external Type 5 LSAs from the backbone while permitting local external origins.

54
MCQmedium

You are configuring OSPF on a Junos device and need to ensure that the router prefers internal OSPF intra-area paths over inter-area paths, and inter-area paths over external paths. According to OSPF route preference rules, what is the evaluation order?

A.Intra-area > Inter-area > External Type 1 > External Type 2
B.Inter-area > Intra-area > External Type 2 > External Type 1
C.External Type 1 > Intra-area > Inter-area > External Type 2
D.External Type 2 > External Type 1 > Inter-area > Intra-area
AnswerA

Correct. Intra-area routes are preferred over inter-area, which are preferred over external types.

Why this answer

OSPF path preference order is strictly: Intra-area (Type 1/2), Inter-area (Type 3), External Type 1 (E1), and External Type 2 (E2).

55
Multi-Selecthard

An administrator is reviewing OSPF link-state database entries using the Junos command 'show ospf database'. Which THREE LSA types appear in the output of a standard non-backbone area router? (Choose three)

Select 3 answers
A.Type 1 (Router LSA)
B.Type 3 (Summary LSA)
C.Type 8 (OSPFv3 Inter-Area Prefix LSA)
D.Type 7 (NSSA LSA)
E.Type 5 (AS-external LSA)
AnswersA, B, E

Correct. Present in all areas.

Why this answer

A standard non-backbone area router contains Type 1 (Router), Type 2 (Network if multi-access), Type 3 (Summary), Type 4 (ASBR Summary), and Type 5 (AS-external) LSAs in its database.

56
MCQhard

A Junos router running OSPF is configured with graceful restart helper mode enabled. What is the primary role of an OSPF graceful restart helper router during a control plane restart of a neighboring router?

A.To translate Type 7 LSAs into Type 5 LSAs during the helper window
B.To maintain neighbor adjacencies and continue forwarding packets without recalculating the SPF tree while the neighbor restarts
C.To purge all LSAs originated by the restarting router from the LSDB
D.To take over the role of Designated Router immediately upon detecting control plane failure
AnswerB

Correct. Helper mode maintains forwarding and holds adjacency state during a peer's restart.

Why this answer

Helper routers continue forwarding traffic based on existing routes and assist the restarting router by maintaining adjacencies and suppressing LSA re-origination until the restarting control plane recovers.

Ready to test yourself?

Try a timed practice session using only OSPF questions.