When parking uphill next to a curb, set the parking brake and:
When parking facing uphill on a street that has a curb, set your parking brake and turn your steering wheel away from the curb. This way, if your vehicle starts to roll, it will roll into the curb.
This questions appears in the following tests: