Until 2019, India had 7 union territories. After the Jammu and Kashmir Reorganization Act (2019), J&K was bifurcated into two UTs, making the total 8. This question likely dates from when the answer was 7 UTs (Delhi, Andaman & Nicobar, Chandigarh, Dadra & Nagar Haveli, Daman & Diu, Lakshadweep, Puducherry).