The key word is longest. It is about length only, not weight or bulk.
The reticulated python (Malayopython reticulatus) of South-East Asia is the longest snake in the world. Reliably measured snakes are more than 6–7 metres long. Record specimens are reported at about 9–10 metres. Its name comes from the net-like (reticulated) pattern on its skin.
Questions of this type often pair "longest" with "heaviest". Different snakes hold these two records. Learn both facts together, and the options will no longer confuse you.
Key Points
Longest snake in the world: reticulated python (South-East Asia).
Heaviest snake: green anaconda (South America).
"Reticulated" means having a net-like pattern.
Vipers are venomous and mostly small. Boas are large but shorter than big pythons.
Why the other options are incorrect
A
vipers→Vipers are a family of venomous snakes, such as Russell's viper and the saw-scaled viper. They are known for their fangs and venom, not for size. Most are well under 2 metres. They are nowhere near any length record.
B
anacondas→The green anaconda of South America is the heaviest and bulkiest snake. It weighs far more than a python. But it is usually shorter than a large reticulated python. Heaviest and longest are separate titles. This question asks for length.
C
boas→Boas, like the boa constrictor, are large non-venomous constrictors. But they usually reach only about 3–4 metres. That is shorter than the big pythons.