The primary reason for rural-to-urban migration in Andhra Pradesh is often:

Lack of economic opportunities in rural areas
Better educational facilities in cities
Attraction of urban lifestyles
All of the above

The correct answer is: d) All of the above

Lack of economic opportunities in rural areas is a major reason for rural-to-urban migration. In rural areas, there are often fewer jobs available, and the wages are lower than in cities. This can make it difficult for people to make a living in rural areas, and can lead them to move to cities in search of better opportunities.

Better educational facilities in cities are another reason for rural-to-urban migration. In cities, there are often more schools and universities, and the quality of education is often higher. This can make it easier for people to get a good education in cities, which can lead to better job opportunities in the future.

Attraction of urban lifestyles is also a reason for rural-to-urban migration. Cities offer a variety of amenities and attractions that are not available in rural areas. This can include things like restaurants, shops, entertainment, and cultural activities. For some people, the appeal of these amenities is enough to outweigh the benefits of living in a rural area.

In conclusion, there are a number of reasons why people migrate from rural to urban areas. Lack of economic opportunities, better educational facilities, and attraction of urban lifestyles are all major factors.