350-501 Networking Practice Question
Exhibit
Refer to the exhibit. interface GigabitEthernet0/0 ip address 192.168.1.1 255.255.255.252 mpls ip mpls mtu 1500 no shutdown interface GigabitEthernet0/1 ip address 192.168.2.1 255.255.255.252 mpls ip mpls mtu 1500 no shutdown router ospf 1 network 192.168.1.0 0.0.0.3 area 0 network 192.168.2.0 0.0.0.3 area 0 mpls label protocol ldp mpls ldp router-id Loopback0 force mpls ldp neighbor 192.168.1.2 password cisco mpls ldp neighbor 192.168.2.2 password cisco
Based on the exhibit, what is the purpose of the 'mpls ldp neighbor ... password cisco' commands?
⚠ Common exam trap
Cisco often tests the distinction between LDP authentication (password) and LDP session protection (holdtime/graceful restart), so the trap here is confusing the 'password' keyword with session protection features that maintain adjacency state.
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
✓
To authenticate the LDP session using MD5.
The 'mpls ldp neighbor ... password cisco' command configures a Message Digest 5 (MD5) authentication password for the LDP session with a specific neighbor. This ensures that the TCP connection used for LDP exchanges is authenticated, preventing spoofed or unauthorized LDP messages from being accepted, as defined in RFC 5036.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
To synchronize LDP and IGP convergence.
Why it's wrong here
LDP-IGP synchronization is configured with 'mpls ldp igp sync'.
- ✗
To control the label allocation for prefixes from that neighbor.
Why it's wrong here
Label allocation is controlled by label policies, not authentication.
- ✓
To authenticate the LDP session using MD5.
Why this is correct
The password command enables MD5 authentication for the LDP session.
- ✗
To enable LDP session protection for the neighbor.
Why it's wrong here
Session protection is configured with a different command.
Visual reference
Go deeper
Related to this question
About these practice questions
Courseiva writes every 350-501 question from scratch — 971 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 350-501 practice question is part of Courseiva's free Cisco 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 350-501 exam.