The most cost-effective way to store data that is infrequently accessed is typically an off-site storage service, often referred to as cold or archival storage. This type of storage is designed for data that is rarely accessed, providing lower storage costs.