The answer depends on an exception for
and
. As a rule, a warning sign is placed in advance, before the dangerous section, so the driver has time to prepare. But if uphill and downhill sections alternate, you can't warn about each one in advance: the next slope begins right after the previous one. So in that case, the signs may be placed right before the start of the downhill or uphill section