Serial integers provide the perfect choice for a hash map, but it has only one problem, as it does not have multithread access by default. Also, since Amazon is mentioned in your question, I might think that you need to consider compatibility issues and RAM limitations.
What you can do in response to such a question is to explain that you do not allow any built-in data storage schemes, all you can do is imitate one.
So, let's say you have M = 10 ^ 20 products with their numbers and descriptions. You can split this set into groups of N subsets. You can then organize the M / N containers, which greatly reduced the number of items. Using this idea recursively will give you a way to save the entire set in containers with this property so that access to them takes the speed of work.
To illustrate this idea, consider a smaller example of 20 elements. I would like you to introduce a file system with the directories "1", "2", "3", "4". In each directory, you save product descriptions as files as follows:
folder 1: files 1 to 5 folder 2: files 6 to 10 ... folder 4: files 16 to 20
Then it takes only two steps to find the file. First, you are looking for the right folder, dividing 20/5 (your M / N). Then you use this identifier to read the description of the product stored in the file.
This is just a very crude description, but the idea is very intuitive. So perhaps this is what your interviewer wanted to hear about.
As for myself, when I come across such questions at an interview, even if I cannot ask the question correctly (this is the worst case :)), I always try to get the right answer from the interviewer.