When entering a roadway from an alley:

When entering a road from an alley or driveway, you must stop before reaching the sidewalk.
DMV Writen Test