Question 1,603 of 1,420
mediumMultiple ChoiceObjective-mapped
350-401 Practice Question: Given the following configuration on a Cisco…
Given the following configuration on a Cisco IOS-XE device:
router ospf 1 network 10.0.0.0 0.255.255.255 area 0
!
interface GigabitEthernet0/0 ip address 10.1.1.1 255.255.255.0 ip ospf cost 10
!
interface GigabitEthernet0/1 ip address 10.2.2.1 255.255.255.0
!
Which statement is true about OSPF operation?
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
✓
GigabitEthernet0/0 will have an OSPF cost of 10, and GigabitEthernet0/1 will have a default cost based on its bandwidth.
The 'ip ospf cost' command overrides the default cost calculation based on bandwidth. The network command matches both interfaces because they fall under 10.0.0.0/8.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Both interfaces will have an OSPF cost of 10.
Why it's wrong here
Incorrect. Only GigabitEthernet0/0 has the explicit cost of 10. GigabitEthernet0/1 will use the default cost based on its bandwidth (e.g., 1 for GigabitEthernet).
- ✓
GigabitEthernet0/0 will have an OSPF cost of 10, and GigabitEthernet0/1 will have a default cost based on its bandwidth.
Why this is correct
Correct. The explicit cost applies only to the interface it is configured on. The other interface uses the default cost.
- ✗
Both interfaces will have the same OSPF cost because they are in the same area.
Why it's wrong here
Incorrect. OSPF cost is interface-specific and not determined by area membership alone.
- ✗
OSPF will not run on either interface because the network command uses a wildcard mask of 0.255.255.255.
Why it's wrong here
Incorrect. The wildcard mask 0.255.255.255 matches all addresses starting with 10.x.x.x, so both interfaces are included.
Visual reference
Quick reference
Routing Protocol Comparison
| Protocol | Metric | Max Hops | Algorithm | Type |
|---|---|---|---|---|
| RIP v2 | Hop count | 15 | Bellman-Ford | Distance vector |
| OSPF | Cost (bandwidth) | Unlimited | Dijkstra (SPF) | Link state |
| EIGRP | Composite metric | Unlimited | DUAL | Hybrid |
| IS-IS | Cost | Unlimited | Dijkstra | Link state |
| BGP | Policy / attributes | Unlimited | Path vector | Path vector |
RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 18, 2026
This 350-401 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-401 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.