be a slam dunk

be a ˈslam dunk

(American English) be something that is certain to be successful: The case looked like a slam dunk for the prosecution.
In basketball, a slam dunk is the act of jumping up and putting the ball through the net with a lot of force.
See also: dunk, slam