The provided answer is correct.
B. Policy map
In this scenario, you would use a policy map to specify the actions to be taken on the traffic, such as setting or preserving DSCP values, which can be used for prioritization in Layer 3 networks.
Given that you need a policy map to use QoS groups, and QoS groups themselves can only affect the ingress interface (whereas policy maps can be placed on the egress as well), I think B makes more sense, even if QoS groups can influence how the policy map treats the traffic.
"A policy map containing the set qos-group command can only be attached as an input traffic policy. QoS group values are not usable for traffic leaving a device."
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_classn/configuration/xe-16/qos-classn-xe-16-book/qos-classn-grp-mtch-set.html
How is this B ??? The question is "what gives priority?" right ? how policy map gives priority ? it' just applies schedule, this is what it's purpose , it is QoS group that actually gives gives priority
You can create a policy map to identify database traffic based on Layer 3 characteristics such as source and destination IP addresses, TCP or UDP port numbers.
A. QoS group
The QoS group is a mechanism that allows you to assign a specific level of service to a particular type of traffic. It enables the network to prioritize traffic based on QoS group settings without necessarily modifying the CoS value. This helps in giving priority to specific types of traffic, such as database traffic, on the egress interface.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
teems5uk
Highly Voted 11 months, 3 weeks agoMistwalker
Highly Voted 11 months, 3 weeks agozbeugene7
Most Recent 2 months, 3 weeks agozbeugene7
4 days, 21 hours agozbeugene7
3 days, 5 hours agochiacche
3 months, 3 weeks ago[Removed]
7 months, 1 week ago[Removed]
7 months, 3 weeks agoAdalberto
8 months, 2 weeks agoMizuchan
11 months, 3 weeks ago