Courseiva

CCNA Class OF Service Questions

35 questions · Class OF Service · All types, answers revealed

1
MCQeasy

Which standard Junos forwarding class is reserved for control plane traffic such as routing protocols and management traffic?

A.expedited-forwarding
B.assured-forwarding
C.best-effort
D.network-control
AnswerD

network-control is the default class for high-priority control plane traffic.

Why this answer

In Junos, the network-control forwarding class is reserved for control plane traffic to ensure it receives priority handling.

2
MCQhard

You are troubleshooting a scenario where multi-field classifiers and behavior aggregate classifiers are both configured on the same ingress interface. In what order does Junos process classification?

A.Junos rejects configurations where both BA and MF classifiers are applied to the same interface
B.Both classifiers are executed simultaneously in hardware without precedence
C.Behavior aggregate classification is evaluated first, and multi-field classification can override the result
D.Multi-field classification is evaluated first, followed by behavior aggregate classification
AnswerC

BA classifies based on CoS bits; MF filters can subsequently override the class.

Why this answer

Junos processes Behavior Aggregate (BA) classification first, followed by Multi-Field (MF) classification which can override the BA result.

3
MCQmedium

What is the default number of forwarding classes available on Juniper MX Series routers equipped with Modular Port Concentrators (MPCs)?

A.4
B.8
C.64
D.16
AnswerC

Junos supports a maximum of 64 forwarding classes on MPC hardware.

Why this answer

Junos supports up to 64 forwarding classes on modern MPC-based hardware platforms, though default configurations typically use a subset.

4
MCQmedium

You need to configure a classifier that inspects the Multiprotocol Label Switching (MPLS) experimental (EXP) bits. Which classifier type must you specify?

A.exp
B.fec
C.ieee-802.1
D.dscp
AnswerA

exp specifies the MPLS experimental bits classifier.

Why this answer

The MPLS EXP bits are classified using the exp classifier type in Junos CoS configurations.

5
MCQeasy

In Junos CoS architecture, what role does a forwarding class play?

A.It represents an internal queue abstraction used to group and process packets
B.It specifies the egress interface physical speed
C.It provides static IP routing table entries
D.It defines the physical queue index directly on the ASIC
AnswerA

Forwarding classes group packets for queue scheduling and drop profiles.

Why this answer

Forwarding classes act as internal labels used by the router to group traffic into specific queues for scheduling and drop treatment.

6
MCQhard

When applying a rewrite rule on an interface, you notice that packets are being remarked incorrectly. You realize that both a DSCP rewrite rule and an IEEE 802.1p rewrite rule are configured on the same physical interface. What is the rule regarding multiple rewrite rules on a single interface in Junos?

A.Applying multiple rewrite rules causes an automatic system kernel crash
B.Only one rewrite rule total can be applied per logical interface regardless of type
C.Different rewrite rule types (such as DSCP and ieee-802.1) can be applied simultaneously on the same logical interface
D.Only Layer 2 rewrite rules are permitted on trunk ports
AnswerC

Multiple distinct header rewrite rules can coexist on an interface.

Why this answer

Junos allows only one rewrite rule per packet header type (e.g., one DSCP, one 802.1p) per logical interface, but you can have different header types applied simultaneously if they map to different packet layers.

7
MCQhard

An administrator needs to implement a traffic conditioning profile on a Juniper MX Series router to limit traffic to a specific burst size and drop packets exceeding the rate. Which policing action parameter is required to ensure that exceeding traffic is dropped immediately without coloring?

A.forwarding-class
B.transmit
C.mark-action
D.discard
AnswerD

The discard action drops the packet immediately.

Why this answer

A policer in Junos uses policer action statements like loss-priority or discard. To drop non-compliant traffic immediately, the action discard is configured.

8
MCQeasy

Which statement describes the function of a drop-profile in Junos CoS?

A.It maps incoming CoS bits to internal forwarding classes
B.It defines how traffic is shaped to a specific peak rate
C.It rewrites outer VLAN tags on trunk interfaces
D.It determines when and how many packets to drop based on buffer occupancy
AnswerD

Drop-profiles implement Random Early Detection (RED) based on queue fill levels.

Why this answer

A drop-profile defines the packet drop probability as a function of buffer occupancy to implement RED or WRED congestion avoidance.

9
MCQhard

When configuring a hierarchical scheduler map on an MX Series router, what is the primary purpose of the aggregate level shaping?

A.To dynamically assign forwarding classes based on IP headers
B.To ensure absolute priority for best-effort traffic
C.To limit the total traffic across all queues associated with the scheduler map
D.To rewrite CoS bits on egress frames
AnswerC

Aggregate shaping controls the sum of all traffic belonging to the child schedulers.

Why this answer

Aggregate level shaping controls the total bandwidth allocated to a group of queues or sub-interfaces, ensuring overall traffic limits are respected.

10
MCQeasy

Which command allows you to view the configured drop-profile statistics and monitor packet drop counts on an MX Series router?

A.show class-of-service drop-profile
B.show firewall log
C.show interfaces drop-rate
D.show system drop-stats
AnswerA

This command shows drop-profile states and drop counters.

Why this answer

The show class-of-service drop-profile command displays drop-profile utilization and drop statistics.

11
MCQhard

An engineer configures a two-color policer on an MX router. What are the two states or outcomes for evaluated packets in a standard two-color policer?

A.In-profile and Out-of-profile only with temporal buffers
B.Green and Red
C.Green, Yellow, and Red
D.Discard and Forward without loss priority marking
AnswerB

Two-color policers classify traffic into conforming (green) and non-conforming (red).

Why this answer

A two-color policer evaluates packets as either conforming (within the rate limit) or non-conforming (exceeding the rate limit).

12
Multi-Selecthard

Which TWO parameters can be configured within a Junos scheduler definition? (Choose two)

Select 2 answers
A.rewrite-rule
B.bandwidth-limit
C.transmit-rate
D.drop-profile-map
E.policer-action
AnswersC, D

transmit-rate defines the minimum bandwidth guarantee.

Why this answer

Schedulers include parameters such as transmit-rate, buffer-size, priority, and drop-profile-map.

13
MCQhard

You are configuring traffic shaping on an egress interface and need to ensure that the shaper accounts for Layer 2 framing overhead (such as Ethernet headers and preambles). Which configuration statement achieves this?

A.set routing-options forwarding-table l2-accounting
B.set firewall family inet filter <filter> overhead-accounting
C.set class-of-service traffic-control-profiles <profile> shaping-rate ... layer-2-overhead
D.set class-of-service interfaces <interface> encapsulation-overhead
AnswerC

layer-2-overhead ensures framing bytes are included in shaping calculations.

Why this answer

The explicit specification of accounting for layer 2 overhead in Junos CoS shaping is done via the explicit-tracking or layer-2-overhead options under the traffic-control-profile or scheduler.

14
Multi-Selecthard

Which TWO statements describe the characteristics of Random Early Detection (RED) and drop profiles in Junos? (Choose two)

Select 2 answers
A.Drop profiles are configured under the forwarding-classes hierarchy
B.Drop profiles drop 100% of packets immediately once the queue fill level reaches the start point
C.Drop profile curves plot drop probability against queue buffer fill level
D.Drop profiles help prevent TCP global synchronization by dropping packets before buffers are completely full
E.Drop profiles operate exclusively on Layer 2 control frames
AnswersC, D

The graph maps drop probability versus fill level percentage.

Why this answer

Drop profiles define drop probability against fill level, helping prevent TCP global synchronization.

15
Multi-Selectmedium

Which THREE types of classifiers are natively supported in Junos Class of Service? (Choose three)

Select 3 answers
A.exp
B.dscp
C.ieee-802.1
D.tcp-port
E.mac-address
AnswersA, B, C

exp is used for MPLS experimental bits classification.

Why this answer

Junos supports multiple classifier types including dscp, exp, and ieee-802.1.

16
Multi-Selectmedium

Which THREE components are required to fully configure a custom Class of Service scheme on an MX Series router? (Choose three)

Select 3 answers
A.schedulers
B.dynamic-profiles
C.forwarding-classes
D.classifiers
E.bgp-routes
AnswersA, C, D

Schedulers define queue scheduling and drop profiles.

Why this answer

Implementing custom CoS requires forwarding classes, classifiers, and schedulers.

17
Multi-Selecthard

Which TWO statements are correct regarding hierarchical scheduling (H-QoS) on Juniper MX Series routers? (Choose two)

Select 2 answers
A.H-QoS eliminates the need for physical interface drop profiles
B.H-QoS is configured exclusively under the system routing-options hierarchy
C.Subscriber management frameworks often utilize hierarchical scheduler maps
D.H-QoS allows shaping and scheduling at multiple levels such as aggregate and queue levels
E.H-QoS requires disabling all hardware-based forwarding ASICs
AnswersC, D

Subscriber access relies heavily on H-QoS.

Why this answer

Hierarchical schedulers allow multi-level bandwidth allocation and tenant sub-rate shaping.

18
MCQeasy

What is the primary function of a behavior aggregate (BA) classifier in Junos CoS?

A.It classifies packets based exclusively on header CoS bits such as DSCP or EXP
B.It drops packets exceeding a predefined bandwidth rate
C.It rewrites VLAN tags on egress interfaces
D.It classifies packets based on Layer 4 port numbers and source IP addresses
AnswerA

BA classifiers use header bits to assign forwarding classes.

Why this answer

A Behavior Aggregate (BA) classifier classifies packets based solely on the CoS bits in the packet header (such as DSCP, EXP, or IEEE 802.1p).

19
Multi-Selectmedium

Which TWO statements are correct regarding the behavior of policers in Junos? (Choose two)

Select 2 answers
A.Policers buffer exceeding packets in temporal memory queues until transmission capacity opens
B.Policers can mark the loss priority of exceeding packets
C.Policers are always applied to egress interfaces only
D.Policers guarantee a minimum bandwidth allocation for best-effort traffic
E.Policers use a token bucket algorithm to measure traffic rates
AnswersB, E

Exceeding traffic can have its loss priority remarked rather than being dropped.

Why this answer

Policers can drop traffic or mark loss priority, and they operate based on token bucket algorithms.

20
MCQmedium

You want to map three loss priorities (low, medium-low, high) to different drop profiles within a specific forwarding class. Which statement should you use inside the scheduler configuration?

A.classifier-map
B.drop-profile-map
C.loss-priority-mapping
D.queue-drop-profile
AnswerB

drop-profile-map links loss priorities to drop profiles.

Why this answer

In Junos scheduler configurations, drop-profile-map associates a loss priority and forwarding class with a specific drop profile.

21
MCQeasy

Which configuration stanza is used to define custom forwarding classes in Junos?

A.[edit class-of-service drop-profiles]
B.[edit class-of-service classifiers]
C.[edit class-of-service forwarding-classes]
D.[edit class-of-service schedulers]
AnswerC

Forwarding classes are created under this hierarchy.

Why this answer

Custom forwarding classes are defined under the [edit class-of-service forwarding-classes] hierarchy.

22
MCQmedium

You are configuring a policer and want to specify the rate in terms of bits per second. Which keyword is used to define the bandwidth limit in the policer configuration?

A.peak-rate
B.rate-limit
C.transmit-rate
D.bandwidth-limit
AnswerD

bandwidth-limit specifies the committed rate in bits per second.

Why this answer

Policer bandwidth limits in Junos are defined using the bandwidth-limit or burst-size-limit keywords.

23
MCQmedium

Which component of a scheduler configuration determines how memory resources are allocated among different queues?

A.buffer-size
B.drop-profile-map
C.transmit-rate
D.priority
AnswerA

buffer-size allocates memory queue space.

Why this answer

The buffer-size parameter determines memory buffer allocation for each queue in a scheduler configuration.

24
Multi-Selectmedium

Which THREE methods are valid for marking packet headers using CoS rewrite rules in Junos? (Choose three)

Select 3 answers
A.exp
B.ieee-802.1
C.dscp
D.vlan-id
E.mpls-ttl
AnswersA, B, C

exp rewrite rules modify MPLS EXP bits.

Why this answer

Rewrite rules can modify DSCP, EXP, and IEEE 802.1p fields.

25
MCQmedium

Which command displays the configured scheduler maps and their association with forwarding classes on a Junos device?

A.show class-of-service queue
B.show class-of-service scheduler-map
C.show class-of-service forwarding-class
D.show configuration class-of-service schedulers
AnswerB

This command displays scheduler map configurations.

Why this answer

The show class-of-service scheduler-map command displays details of scheduler maps and queue associations.

26
Multi-Selecthard

Which TWO statements are true regarding traffic shapers versus policers in Junos? (Choose two)

Select 2 answers
A.Shapers are typically implemented on egress interfaces
B.Policers are primarily configured on egress interfaces for shaping purposes
C.Shapers buffer exceeding traffic to smooth out bursts over time
D.Policers buffer exceeding traffic in dedicated memory queues
E.Shapers operate without drop profiles or buffer allocation
AnswersA, C

Shaping is an egress traffic conditioning mechanism.

Why this answer

Shapers buffer excess traffic to smooth out bursts, whereas policers drop or mark exceeding traffic immediately.

27
MCQhard

When configuring a hierarchical policer on a Juniper MX Series router, what is the significance of the logical-interface-policer setting?

A.It separates policing actions strictly for Layer 2 control frames
B.It shares a single policer bucket across all forwarding classes on the logical interface
C.It disables hardware-based policing and falls back to RE software rate-limiting
D.It applies the policer globally across all physical interfaces on the Routing Engine
AnswerB

It enforces rate limits across the entire logical interface aggregate.

Why this answer

A logical-interface-policer applies a single policer instance shared across all queues or forwarding classes on that specific logical interface.

28
MCQeasy

Which command is used to verify the operational state of forwarding classes and their assigned queues on a specific interface on Junos?

A.show route forwarding-table
B.show class-of-service interface
C.show interfaces extensive
D.show firewall
AnswerB

This command displays CoS settings and queue mappings for interfaces.

Why this answer

The show class-of-service interface command displays operational CoS details, including queue mappings, for specified interfaces.

29
Multi-Selectmedium

Which THREE actions can be executed by a firewall filter policer when traffic exceeds the specified rate? (Choose three)

Select 3 answers
A.discard
B.loss-priority high
C.reroute-lsp
D.forward
E.queue-switch
AnswersA, B, D

discard drops non-conforming packets.

Why this answer

Junos policers can discard packets, forward packets with changed loss priority, or transmit them without modification.

30
MCQmedium

You need to ensure that delay-sensitive voice traffic is serviced before all other queues on an egress interface. Which scheduler property should you configure for the voice forwarding class?

A.buffer-size
B.transmit-rate
C.drop-profile
D.priority high
AnswerD

Setting priority to high enables strict priority queuing for the queue.

Why this answer

In Junos, priority high or priority low is used to designate strict priority queuing for a forwarding class in a scheduler.

31
Multi-Selectmedium

Which THREE types of information can be examined using the command 'show class-of-service interface' on a Junos device? (Choose three)

Select 3 answers
A.Active scheduler maps
B.Configured rewrite rules
C.Current BGP peer states
D.Assigned classifiers
E.Routing table packet forwarding counts
AnswersA, B, D

Shows scheduler maps bound to the interface.

Why this answer

The show class-of-service interface command displays assigned scheduler maps, rewrite rules, and active classifiers on the interface.

32
MCQmedium

You have configured a custom scheduler map, but traffic in the best-effort queue is being starved during periods of heavy congestion. Which scheduler parameter should you adjust to guarantee a minimum bandwidth for this queue?

A.drop-profile-map
B.buffer-size temporal
C.priority high
D.transmit-rate
AnswerD

Transmit-rate guarantees a minimum bandwidth allocation.

Why this answer

The transmit-rate parameter in a scheduler definition guarantees a minimum bandwidth allocation for a queue even during congestion.

33
Multi-Selecthard

Which TWO conditions must be met when configuring strict priority queuing for a forwarding class in Junos? (Choose two)

Select 2 answers
A.Behavior aggregate classifiers must be disabled on all egress interfaces
B.A shaping rate should be applied to the priority queue to prevent starvation of other queues
C.The queue must be configured with priority high
D.Buffer sizes must be set to zero for all priority queues
E.The scheduler must have a transmit-rate percentage of exactly 100%
AnswersB, C

Shaping priority traffic is critical to prevent starvation.

Why this answer

Strict priority queues require a priority setting (high) and typically a shaping rate or limit to prevent starvation of other queues.

34
MCQmedium

You want to apply a rewrite rule on an outgoing interface to remark the DSCP bits of packets leaving your Juniper router. Where must this rewrite rule be applied within the CoS hierarchy?

A.[edit firewall]
B.[edit class-of-service interfaces]
C.[edit routing-options]
D.[edit class-of-service classifiers]
AnswerB

Rewrite rules are applied on egress interfaces.

Why this answer

Rewrite rules in Junos are applied on egress interfaces under the interfaces statement within the class-of-service configuration hierarchy.

35
MCQhard

An administrator configures a scheduler map with a transmit-rate of percent 20 for a queue, but the total sum of transmit-rates in the map equals 110%. How does Junos handle this configuration?

A.The commit fails because the sum of percentage transmit-rates exceeds 100%
B.Traffic exceeding 100% is dropped by the Routing Engine
C.Junos normalizes the percentages proportionally during commit time
D.The excess 10% is automatically assigned to the best-effort queue
AnswerA

Percentage transmit rates must total 100% or less.

Why this answer

Junos requires the sum of transmit-rates defined as percentages in a scheduler map to not exceed 100%. If it exceeds 100%, the configuration commit will fail.

Ready to test yourself?

Try a timed practice session using only Class OF Service questions.