To achieve a black BG is quite technical. Thru my observations, it all voice down to these few points
1. how close is the subject and the Bg from you
2. Lighting condition of the environment
3. High aperture size (F16 and above) with high shutterspeed on low ISO
4. Flash with diffuser is recommended
The closer your subject with the furthest BG, high F.stop, high shutterspeed, low ISO and dim lighting condition with flash (with diffuser - just to light up the subject) will get you a dark or black BG.
Under bright sunny day, it is more difficult to achieve a black BG unless the BG is already black in colour or the BG is extremely far away (or no BG). If your BG is the sky, worst still. Instead of getting a black BG, you get a blue BG.
If you are far from the subject and the BG is close to it, with the correct camera setting, you still may not be able to get the black BG. That would depend on where is your flash facing and how close is your flash to the subject. Your flash may brighten up the BG without you knowing.
That's my observation. Please correct me if I'm wrong.