You asked
Which single zoom covers landscapes and portraits on a nikon d500?
The single zoom that comes closest on a Nikon D500 is the Nikon AF-S DX 17-55mm f/2.8G IF-ED. The D500 is a DX camera, so this lens frames like 26-82mm on full frame. Its constant f/2.8 aperture gives shallow backgrounds and good subject separation for portraits, and it is sharp enough for landscapes. Its widest setting is not very wide, though. The landscape guide suggests 10-24mm on APS-C for big skies, so expect to compromise on wide scenes.
If you want more reach, the Nikon AF-S DX 16-80mm f/2.8-4E ED VR frames like 24-120mm on full frame. It starts a little wider, which helps landscapes, and reaches far enough for head-and-shoulders portraits. It is only f/2.8 at the wide end, so portraits at the long end need more light. Its VR (vibration reduction) helps handheld shooting in dim conditions, which matters because the D500 has no stabilisation in the body.
The Sigma 17-70mm f/2.8-4 DC Macro OS HSM Contemporary frames like 26-105mm on full frame. It has the longest reach of the three and some close-focus ability. Its aperture narrows as you zoom, so it is the weakest of the three for low-light portraits.
For landscapes, the guide notes that you will usually shoot at f/8 to f/11, so the f/2.8 aperture matters less there than the focal range. For portraits, the portraits guide says the lens matters far more than the camera. If you mostly photograph people, the 17-55mm's constant f/2.8 is the better choice. If you mostly photograph scenery and want one lens for travel, the 16-80mm gives the most range.
The first lenses guide suggests a fast standard prime alongside a zoom for low light and people. The D500 page lists every lens that fits the camera.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.