Question 402 of 500
NetworkingmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to define administrative groups for link inclusion or exclusion in MPLS TE path selection. This attribute, also known as link colors, allows you to assign user-defined properties to interfaces and then configure a tunnel to include or exclude links matching those properties, regardless of the IGP metric. On the Cisco SPCOR 350-501 exam, this concept tests your understanding of how to enforce traffic engineering policies beyond simple shortest-path routing, such as forcing traffic away from congested or politically restricted links. A common trap is confusing affinity with link bandwidth or TE metric; remember that affinity controls *which* links are eligible, not *how much* traffic they carry. For the exam, think of affinity as a "color filter" for your network map—you paint links with colors (administrative groups) and tell the tunnel to only use blue links or to avoid red ones. A useful memory tip: "Affinity = Allowed or Forbidden, Filtering Interfaces by Named Tags Yours."

350-501 Networking Practice Question

This 350-501 practice question tests your understanding of networking. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

When implementing MPLS TE tunnels in a service provider core, what is the purpose of the 'affinity' attribute?

Question 1mediummultiple choice
Read the full MPLS explanation →

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 define administrative groups for link inclusion/exclusion

The 'affinity' attribute in MPLS TE is used to define administrative groups (also known as link colors) that allow you to include or exclude specific links from a TE tunnel path based on user-defined properties. This enables traffic engineering policies such as forcing traffic to avoid certain links or preferring links with specific characteristics, without modifying the underlying IGP metric.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 set the color of the tunnel

    Why it's wrong here

    Color is a different attribute for identifying tunnels.

  • To adjust the cost of TE tunnels

    Why it's wrong here

    Cost adjustment is done via link metric or setup priority.

  • To define administrative groups for link inclusion/exclusion

    Why this is correct

    Affinity allows tunnels to restrict links based on administrative group membership.

    Related concept

    Read the scenario before looking for a memorised answer.

  • To bind tunnels to specific interfaces

    Why it's wrong here

    Binding is done via explicit path objects.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Cisco often tests the confusion between 'affinity' (administrative groups for link inclusion/exclusion) and 'color' (a separate attribute used in Segment Routing or for visual identification), leading candidates to mistakenly choose Option A.

Detailed technical explanation

How to think about this question

Under the hood, the affinity attribute uses a 32-bit mask (configured via 'affinity' and 'mask' under the MPLS TE tunnel) that is compared against the administrative-group bits set on each link (via 'mpls traffic-eng administrative-group'). A tunnel will only use a link if the link's group bits match the tunnel's affinity mask according to the configured include-any, include-all, or exclude-all constraints. In real-world deployments, this allows operators to segregate traffic (e.g., low-latency links vs. high-bandwidth satellite links) without altering IGP metrics, enabling fine-grained path selection.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related 350-501 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free 350-501 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 350-501 question test?

Networking — This question tests Networking — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: To define administrative groups for link inclusion/exclusion — The 'affinity' attribute in MPLS TE is used to define administrative groups (also known as link colors) that allow you to include or exclude specific links from a TE tunnel path based on user-defined properties. This enables traffic engineering policies such as forcing traffic to avoid certain links or preferring links with specific characteristics, without modifying the underlying IGP metric.

What should I do if I get this 350-501 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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 →

How Courseiva writes practice questions · Editorial policy

Keep practising

More 350-501 practice questions

Last reviewed: Jun 25, 2026

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.

Loading comments…

Sign in to join the discussion.

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.