You need to enforce a specific codec for calls traversing a CUBE. Where is the most appropriate place to apply this configuration?
A voice class codec defines the codec preference list, and binding it to the dial-peer governs codec negotiation for calls matching that peer. This satisfies the requirement to enforce a specific codec on CUBE traffic without affecting unrelated peers.
Why this answer
Codec enforcement on CUBE is applied via a voice class codec that is referenced by the dial-peer handling the call. The dial-peer is where media capabilities are negotiated for that call leg, so binding the codec class there gives per-destination control. Global voice service, SIP profiles, and interface configs do not enforce codecs.
Exam trap
CLCOR often tests whether candidates place codec enforcement on the dial-peer via voice class codec rather than globally or on the SIP profile — codecs are per-call-leg media decisions.
How to eliminate wrong answers
Option A is wrong because global voice service configures signaling and media parameters (e.g., SIP, media flow-around) but does not select codecs per call. Option B is wrong because SIP profiles manipulate signaling headers/SDP text, not codec negotiation. Option C is wrong because interface configuration handles IP transport, not media codec selection.