Both technicians are partially correct, but they are referring to different types of parking brakes.
Technician A is describing a type of parking brake called an "in-hat" or "integral" parking brake. This type of parking brake is built into the rear disc brake rotor and has a separate drum brake assembly located inside the rotor. When the parking brake is applied, the drum brake assembly clamps down on the rotor to hold the vehicle in place. So, Technician A is correct.
Technician B is referring to a different type of parking brake, which is a separate drum brake assembly located inside the rear brake drum. This type of parking brake is commonly used with rear standard drum brakes. So, Technician B is also correct.
Therefore, both technicians are partially correct, but they are referring to different types of parking brakes.